/* ==========================================================================
   Ragavan Kannan — Portfolio
   Design system: palette, typography, layout, components, animations
   ========================================================================== */

:root {
  /* Palette */
  --midnight: #0b1f3a;
  --navy: #13294b;
  --gold: #d4af37;
  --gold-soft: #e9cf7a;
  --sky: #4fa3ff;
  --charcoal: #121212;
  --charcoal-2: #181818;
  --white: #f5f6f8;
  --gray-light: #c9cdd6;
  --gray-mid: #8b93a3;
  --line: rgba(212, 175, 55, 0.18);

  /* Gradients */
  --grad-gold: linear-gradient(120deg, #f4e2a1 0%, #d4af37 45%, #a7802a 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79, 163, 255, 0.18), transparent 60%),
               radial-gradient(ellipse 60% 50% at 90% 10%, rgba(212, 175, 55, 0.14), transparent 60%),
               linear-gradient(180deg, var(--midnight) 0%, var(--navy) 55%, var(--charcoal) 100%);
  --grad-panel: linear-gradient(155deg, rgba(19, 41, 75, 0.65) 0%, rgba(18, 18, 18, 0.85) 100%);

  /* Type */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Metrics */
  --container: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--gray-light); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--gold); color: var(--midnight); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--navy)); border-radius: 10px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--charcoal-2); }
.section-head { max-width: 720px; margin: 0 0 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }

h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--gray-light); }

.text-gold { color: var(--gold); }
.text-sky { color: var(--sky); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider {
  width: 84px; height: 3px; border-radius: 3px;
  background: var(--grad-gold);
  margin: 22px 0 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-gold);
  color: var(--midnight);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(212, 175, 55, 0.75); }
.btn-ghost {
  border-color: rgba(245, 246, 248, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.18);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cursor glow ---------- */
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(79,163,255,0.10), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}
@media (max-width: 900px), (hover: none) { #cursor-glow { display: none; } }

/* ---------- Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(11, 19, 33, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.28rem; letter-spacing: 0.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--midnight); font-weight: 700; font-size: 0.95rem;
}
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--gray-light);
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-item { position: relative; }
.nav-item.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item.has-dropdown > a .caret { font-size: 0.6rem; transition: transform 0.3s ease; color: var(--gold); }
.nav-item.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: rgba(11,19,33,0.97); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
}
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 8px; font-size: 0.86rem; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(212,175,55,0.08); color: var(--gold); }
.dropdown a small { display: block; color: var(--gray-mid); font-size: 0.74rem; margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--gold); transition: all 0.3s ease; }

@media (max-width: 980px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; flex-direction: column; justify-content: flex-start; padding: 40px 28px; gap: 4px;
    background: rgba(11, 19, 33, 0.98); backdrop-filter: blur(18px);
    transform: translateX(100%); transition: transform 0.45s var(--ease); overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 16px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-item { width: 100%; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: rgba(255,255,255,0.02); border-color: transparent; padding: 0 0 0 14px;
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
  }
  .nav-item.open .dropdown { max-height: 400px; }
  .nav-item.has-dropdown > a::after { display:none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--grad-hero);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-orbit { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.hero-orbit svg { width: 100%; height: 100%; }
.orbit-ring { fill: none; stroke: rgba(79,163,255,0.22); stroke-width: 1; }
.orbit-ring.gold { stroke: rgba(212,175,55,0.28); }
.orbit-spin { animation: orbitspin 60s linear infinite; transform-origin: center; }
.orbit-spin.rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes orbitspin { to { transform: rotate(360deg); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-kicker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pill {
  padding: 7px 16px; border-radius: 999px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--gold-soft); background: rgba(212,175,55,0.06);
}
.hero h1 { margin-bottom: 20px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; }
.hero-stat .lbl { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.hero-frame img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--grad-panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.hero-badge .ic { font-size: 1.6rem; }
.hero-badge strong { display: block; font-family: var(--font-display); color: var(--gold); }
.hero-badge span { font-size: 0.78rem; color: var(--gray-mid); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gray-mid);
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrolldrop 1.8s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top;} 50%{transform: scaleY(1); transform-origin: top;} 50.01%{transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1); color: var(--gold); font-size: 1.4rem; margin-bottom: 20px;
}

.media-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; border: 1px solid var(--line); background: var(--charcoal-2); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-card:hover img { transform: scale(1.07); }
.media-card .cap { padding: 20px 22px; }
.media-card .cap .tag { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--gold), rgba(212,175,55,0.05)); }
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -40px; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--charcoal); border: 2px solid var(--gold);
}
.timeline-item .period { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; display: block; }

/* ---------- Badges / tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 6px 14px; border-radius: 999px; font-size: 0.76rem; border: 1px solid var(--line); color: var(--gray-light);
  background: rgba(255,255,255,0.02);
}

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-block { text-align: center; padding: 30px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--grad-panel); }
.stat-block .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); }
.stat-block .lbl { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-mid); margin-top: 6px; }

/* ---------- Gallery / Lightbox ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--gray-light); font-size: 0.82rem;
  transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--grad-gold); color: var(--midnight); border-color: transparent; }

.masonry { columns: 3 260px; column-gap: 24px; }
.masonry .media-card { break-inside: avoid; margin-bottom: 24px; cursor: pointer; }
.masonry .media-card img { aspect-ratio: auto; }

.play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11,19,33,0.28); opacity: 0; transition: opacity 0.35s ease;
}
.media-card:hover .play-btn { opacity: 1; }
.play-btn .circle {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(212,175,55,0.92); color: var(--midnight);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transform: scale(0.85);
  transition: transform 0.35s var(--ease);
}
.media-card:hover .play-btn .circle { transform: scale(1); }

#lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
  background: rgba(6, 10, 18, 0.92); backdrop-filter: blur(6px); padding: 30px;
}
#lightbox.open { display: flex; }
.lightbox-inner { max-width: 960px; width: 100%; }
.lightbox-inner .frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.lightbox-inner img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-inner iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--white); font-size: 1.1rem;
}
.lightbox-meta { margin-top: 16px; text-align: center; color: var(--gray-mid); }

/* placeholder tile for future photos */
.placeholder-tile {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 1.5px dashed rgba(212,175,55,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gray-mid); text-align: center; padding: 20px;
}
.placeholder-tile .ic { font-size: 1.8rem; color: var(--gold); }

/* ---------- Forms ---------- */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: var(--white); font-size: 0.95rem; transition: border-color 0.3s ease, background 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.05); }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); border-top: 1px solid var(--line); padding: 80px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 46px; margin-bottom: 60px; }
.footer-grid h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a { color: var(--gray-light); font-size: 0.92rem; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-grid ul li a:hover { color: var(--gold); padding-left: 4px; }

/* 3-column footer: brand+photo | centered menu | contact */
.footer-grid--3 { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; }
.footer-col--brand p { max-width: 320px; }
.footer-photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--gold); box-shadow: 0 10px 30px -12px rgba(212,175,55,0.5);
  margin-bottom: 20px;
}
.footer-photo img { width: 100%; height: 100%; object-fit: cover; }
.footer-col--menu { text-align: center; }
.footer-col--menu h4 { text-align: center; }
.footer-menu-grid { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0 44px; text-align: left; }
.footer-col--contact { justify-self: end; text-align: left; }
.footer-col--contact ul li a { display: inline-flex; align-items: center; gap: 8px; }

.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.social-row a:hover { background: var(--grad-gold); color: var(--midnight); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--gray-mid); flex-wrap: wrap; gap: 14px; }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad-gold); color: var(--midnight);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease); box-shadow: 0 14px 30px -12px rgba(212,175,55,0.6);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 90px) 0 100px;
  background: var(--grad-hero); overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.8rem; color: var(--gray-mid); letter-spacing: 0.06em; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); background: var(--grad-panel); border: 1px solid var(--line);
  padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 70%);
  top: -140px; right: -80px;
}

/* ---------- Quote ---------- */
.quote-block { position: relative; padding-left: 40px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--white); font-style: italic; }

/* ---------- Blog ---------- */
.blog-card .cap { padding: 26px; }
.blog-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--gray-mid); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-meta .tag { padding: 3px 10px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }

@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid--3 { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 44px; }
  .footer-col--menu, .footer-col--contact { text-align: center; justify-self: center; }
  .footer-menu-grid { text-align: left; }
  .footer-col--contact ul { display: inline-block; text-align: left; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2 220px; }
  .cta-band { padding: 40px; flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-menu-grid { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 1 100%; }
  .hero-badge { position: static; margin-top: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
