/* =========================================================
   LUCIDAE CONSULTING — styles.css
   Brand: Modern · Clean · Progressive · Bright · Optimistic
   Font: Lucida Sans → Roboto (Google Fonts fallback)
   Palette: Deep Navy · Warm Gold · Clean White
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

/* ─── DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy:          #0C1E35;
  --navy-700:      #17304F;
  --navy-600:      #1E4370;
  --gold:          #C8922A;
  --gold-light:    #F0B330;
  --gold-pale:     #FEF7E6;
  --gold-glow:     rgba(200, 146, 42, 0.14);

  /* Neutrals */
  --white:         #FFFFFF;
  --gray-50:       #F8FAFC;
  --gray-100:      #F1F5F9;
  --gray-200:      #E2E8F0;
  --gray-400:      #94A3B8;
  --gray-600:      #475569;

  /* Semantic */
  --text:          #1A2B45;
  --text-muted:    #5B6E87;
  --border:        #DDE4EE;
  --surface:       #F4F7FB;

  /* Typography Stack — Lucida Sans first, Roboto fallback */
  --font: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode',
          'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w:         1200px;
  --pad-v:         5rem;
  --pad-h:         1.5rem;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   9999px;

  /* Elevation */
  --shadow-xs:  0 1px 3px rgba(12, 30, 53, 0.07);
  --shadow-sm:  0 2px 8px rgba(12, 30, 53, 0.09);
  --shadow:     0 6px 24px rgba(12, 30, 53, 0.11);
  --shadow-lg:  0 16px 48px rgba(12, 30, 53, 0.16);
  --shadow-gold: 0 8px 32px rgba(200, 146, 42, 0.28);

  /* Motion */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --fast:  160ms var(--ease);
  --base:  260ms var(--ease);
  --slow:  420ms var(--ease);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.star-mark { color: var(--gold); line-height: 1; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-top: 0.85rem;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── SCROLL ANIMATIONS ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--slow), transform var(--slow);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 90ms; }
.fade-up:nth-child(3) { transition-delay: 180ms; }
.fade-up:nth-child(4) { transition-delay: 270ms; }
.fade-up:nth-child(5) { transition-delay: 360ms; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition: all var(--base);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(200, 146, 42, 0.38);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn--outline-white:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn--nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}
.btn--nav:hover { background: var(--gold-light); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad-h);
  transition: all var(--base);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
  padding: 0.85rem var(--pad-h);
}
/* White nav text when transparent (over dark hero) */
/* Default (at top, over dark hero) */
.nav:not(.scrolled) .nl-name { fill: var(--white); }
.nav:not(.scrolled) .nl-sub  { fill: rgba(255,255,255,0.45); }
.nav:not(.scrolled) .nav__links > li > a:not(.btn--nav) { color: rgba(255,255,255,0.75); }
.nav:not(.scrolled) .nav__links > li > a:not(.btn--nav):hover { color: var(--white); }
.nav:not(.scrolled) .nav__links > li > a:not(.btn--nav)::after { background: var(--gold-light); }
.nav:not(.scrolled) .nav__toggle span { background: var(--white); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-svg {
  width: auto;
  height: 66px;
  display: block;
  overflow: visible;
}
/* SVG text color tokens — controlled by nav scroll state */
.nl-name {
  fill: var(--white);
  transition: fill var(--base);
}
.nl-sub {
  fill: rgba(255,255,255,0.45);
  transition: fill var(--base);
}
.nav.scrolled .nl-name { fill: var(--navy); }
.nav.scrolled .nl-sub  { fill: rgba(12,30,53,0.58); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links > li > a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--fast);
  position: relative;
}
.nav__links > li > a:not(.btn--nav)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--base);
}
.nav__links > li > a:not(.btn--nav):hover { color: var(--navy); }
.nav__links > li > a:not(.btn--nav):hover::after { transform: scaleX(1); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--base);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--pad-h) 5rem;
  background-color: var(--navy);
  overflow: hidden;
}
/* Real starfield photo — right-anchored so Milky Way stays on right */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: 72% center;
  transform: scaleX(-1);
  z-index: 0;
}
/* Right-side overlay — darkens the copy column, stars visible on left */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(6, 14, 30, 0.85) 0%,
    rgba(6, 14, 30, 0.60) 30%,
    rgba(6, 14, 30, 0.20) 55%,
    rgba(6, 14, 30, 0.00) 75%
  );
  z-index: 1;
  pointer-events: none;
}
.hero__bottom-fade { display: none; }
.hero__inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
}
/* Two-column layout: stars left, copy right */
.hero__inner--b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero__spacer { /* left column — intentionally empty, shows constellation */ }
.hero__content--b {
  max-width: 560px;
  justify-self: end;
}
.hero__content {
  max-width: 600px;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
  position: relative;
}
.hero__sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.25rem;
}
/* Ghost button override — white outline on dark bg */
.hero__btn-ghost {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}
.hero__btn-ghost:hover {
  border-color: var(--gold-light) !important;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}
.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero__trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__trust-item { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.hero__trust-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

/* Photo column */
.hero__photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__photo-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.hero__ring--1 {
  width: 370px;
  height: 370px;
  opacity: 0.18;
  animation: ring-pulse 4s ease-in-out infinite;
}
.hero__ring--2 {
  width: 310px;
  height: 310px;
  opacity: 0.12;
  animation: ring-pulse 4s ease-in-out infinite 1.3s;
}
.hero__ring--3 {
  width: 260px;
  height: 260px;
  opacity: 0.08;
  animation: ring-pulse 4s ease-in-out infinite 2.6s;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.05); opacity: 0.08; }
}
.hero__photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 5px var(--white),
    0 0 0 7px var(--gold-pale),
    0 24px 64px rgba(12, 30, 53, 0.22);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Pulls photo slightly warm tones toward brand palette */
  filter: brightness(1.04) saturate(0.88);
}
/* Color screen overlay — navy-to-gold gradient at low opacity */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(12, 30, 53, 0.22) 0%,
    rgba(12, 30, 53, 0.08) 55%,
    rgba(200, 146, 42, 0.10) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.hero__star { position: absolute; color: var(--gold); animation: twinkle 2.5s ease-in-out infinite; }
.hero__star--a { top: 8%; right: 8%; font-size: 1.4rem; animation-delay: 0s; }
.hero__star--b { bottom: 18%; right: 2%; font-size: 0.85rem; animation-delay: 0.9s; }
.hero__star--c { top: 52%; left: -2%; font-size: 0.65rem; animation-delay: 1.8s; }
.hero__star--d { bottom: 35%; left: 8%; font-size: 1rem; animation-delay: 0.4s; }
@keyframes twinkle {
  0%, 100% { opacity: 1;   transform: scale(1); }
  40%       { opacity: 0.35; transform: scale(0.65); }
  70%       { opacity: 0.8; transform: scale(0.9); }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── DEFINITION SECTION ─────────────────────────────────── */
.definition {
  background: var(--navy);
  padding: 4rem var(--pad-h) 20px;
  position: relative;
  overflow: hidden;
}
.definition__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 146, 42, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.definition__bg-star-l {
  position: absolute;
  left: 5%;
  top: 20%;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}
.definition__bg-star-r {
  position: absolute;
  right: 5%;
  bottom: 20%;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}
.definition__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}
.definition__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.definition__word {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.definition__phonetic {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.1em;
  font-style: italic;
  margin-bottom: 0.4rem;
}
.definition__pos {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 1.75rem;
}
.definition__divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto 3.25rem;
  max-width: 380px;
}
.definition__divider::before,
.definition__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 146, 42, 0.35), transparent);
}
.definition__divider-star { color: var(--gold); font-size: 1.1rem; }
.definition__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.def-card {
  padding: 2.75rem 2.25rem;
  transition: background var(--base);
  text-align: left;
}
.def-card:hover { background: rgba(200, 146, 42, 0.06); }
.def-card__icon {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: block;
}
.def-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.def-card__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}
.def-card__text em {
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}

/* ─── PROOF BAR (BATCH FADE) ─────────────────────────── */
.proof {
  padding: 1.5rem var(--pad-h) 1.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.proof__header {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  margin-bottom: 0.85rem;
}
.proof__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.proof__names {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 2.75rem;
  min-height: 2.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.65s ease;
}
.proof__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.65;
  white-space: nowrap;
  transition: opacity var(--fast), color var(--fast);
}
.proof__name:hover { opacity: 1; color: var(--navy); }

/* ─── METRICS ────────────────────────────────────────────── */
.metrics {
  background: var(--gold-pale);
  padding: 5rem var(--pad-h);
}
.metrics__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200, 146, 42, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.metric {
  background: var(--gold-pale);
  padding: 3rem 2rem;
  text-align: center;
}
.metric__number {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.metric__number .suffix { color: var(--gold); }
.metric__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.45;
  max-width: 180px;
  margin: 0 auto;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services {
  padding: var(--pad-v) var(--pad-h);
  background: var(--white);
}
.services__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.services__header .eyebrow { margin-bottom: 0.85rem; }
.services__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  transition: all var(--base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--base);
  border-radius: 2px 2px 0 0;
}
.service-card:hover {
  border-color: rgba(200, 146, 42, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.service-card:hover::after { transform: scaleX(1); }

/* Grid placement: 3 across top, 2 wider across bottom */
.service-card:nth-child(1) { grid-column: span 4; }
.service-card:nth-child(2) { grid-column: span 4; }
.service-card:nth-child(3) { grid-column: span 4; }
.service-card:nth-child(4) { grid-column: span 6; }
.service-card:nth-child(5) { grid-column: span 6; }
.service-card:nth-child(6) { grid-column: span 4; }
.service-card:nth-child(7) { grid-column: span 4; }
.service-card:nth-child(8) { grid-column: span 4; }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
  flex-shrink: 0;
}
.service-card__number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.service-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.service-card__tagline {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.85rem;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.35rem;
}
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.service-card__price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-100);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.service-card__arrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--fast), color var(--fast);
}
.service-card:hover .service-card__arrow { gap: 0.6rem; }

/* ─── CASE STUDIES ───────────────────────────────────────── */
.results {
  padding: var(--pad-v) var(--pad-h);
  background: var(--surface);
}
.results__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.results__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--base);
  box-shadow: var(--shadow-xs);
}
.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(200, 146, 42, 0.2);
}
.case-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 1.1rem;
}
.case-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.case-card__challenge {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.case-card__results {
  border-top: 1px solid var(--border);
  padding-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.case-result {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.case-result__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.case-result__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── WHO I WORK WITH ────────────────────────────────────── */
.clients {
  padding: var(--pad-v) var(--pad-h);
  background: var(--white);
}
.clients__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.clients__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.client-tile {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--base);
  cursor: default;
}
.client-tile:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.client-tile__icon { font-size: 2.2rem; margin-bottom: 0.85rem; }
.client-tile__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}
.client-tile__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  padding: var(--pad-v) var(--pad-h);
  background: var(--surface);
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.about__photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ── Circular orb with pulsing rings ── */
.about__orb {
  position: relative;
  width: 375px;
  height: 375px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about__orb-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.about__orb-ring--1 {
  width: 375px; height: 375px;
  opacity: 0.13;
  animation: ring-pulse 4.2s ease-in-out infinite;
}
.about__orb-ring--2 {
  width: 320px; height: 320px;
  opacity: 0.09;
  animation: ring-pulse 4.2s ease-in-out infinite 1.4s;
}
.about__orb-ring--3 {
  width: 270px; height: 270px;
  opacity: 0.06;
  animation: ring-pulse 4.2s ease-in-out infinite 2.8s;
}
.about__orb-photo {
  width: 263px;
  height: 263px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 7px var(--gold-pale),
    0 12px 40px rgba(12, 30, 53, 0.14);
  background: linear-gradient(135deg, var(--navy), #17304F);
}
.about__orb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about__orb-star {
  position: absolute;
  color: var(--gold);
  animation: twinkle 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.about__orb-star--a { top: 4%;  right: 10%; font-size: 1.1rem; animation-delay: 0.3s; }
.about__orb-star--b { bottom: 18%; right: 2%; font-size: 0.75rem; animation-delay: 1.2s; }
.about__orb-star--c { top: 48%; left: 2%;  font-size: 0.6rem;  animation-delay: 2.0s; }

.about__eyebrow { margin-bottom: 1rem; }
.about__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.35rem;
}
.about__body {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.about__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}
.about__cred {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  background: var(--gray-100);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--fast);
}
.about__cred:hover {
  background: var(--gold-pale);
  border-color: rgba(200, 146, 42, 0.25);
  color: var(--navy);
}

/* ─── CTA / CONTACT ──────────────────────────────────────── */
.cta {
  background: var(--navy);
  padding: 5rem var(--pad-h);
  position: relative;
  overflow: hidden;
}
.cta__glow-r {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 146, 42, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta__glow-l {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 67, 112, 0.5) 0%, transparent 60%);
  pointer-events: none;
}
.cta__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}
.cta__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.cta__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 2.75rem;
}
.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #060F1C;
  padding: 3rem var(--pad-h);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer__logo-svg {
  width: auto;
  height: 60px;
  display: block;
  overflow: visible;
  opacity: 0.92;
  transition: opacity var(--fast);
}
.footer__logo:hover .footer__logo-svg { opacity: 1; }
.footer__tagline {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.footer__tagline strong {
  color: var(--gold-light);
  font-style: normal;
}
.footer__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color var(--fast);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.22);
}
.footer__copy-link {
  color: rgba(200,146,42,0.45);
  text-decoration: none;
  transition: color 160ms ease;
}
.footer__copy-link:hover { color: rgba(200,146,42,0.8); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(6),
  .service-card:nth-child(7),
  .service-card:nth-child(8) { grid-column: span 6; }
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 12; }
  .results__grid { grid-template-columns: 1fr; max-width: 560px; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  /* Orb: scale down so it fits phone viewport without overflow */
  .about__orb {
    width: min(280px, 78vw);
    height: min(280px, 78vw);
  }
  .about__orb-ring--1 { width: min(280px, 78vw); height: min(280px, 78vw); }
  .about__orb-ring--2 { width: min(240px, 67vw); height: min(240px, 67vw); }
  .about__orb-ring--3 { width: min(200px, 56vw); height: min(200px, 56vw); }
  .about__orb-photo   { width: min(196px, 54vw); height: min(196px, 54vw); }
  .about__photo { aspect-ratio: 3/2; max-height: 420px; }
  .about__photo-badge { bottom: -1rem; right: -0.5rem; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__right { justify-content: center; }
}
@media (max-width: 768px) {
  :root { --pad-v: 4rem; }
  /* ── Mobile nav ── */
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    top: 104px;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
    z-index: 99;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
  }
  .nav__links.open { display: flex; }
  .nav__links > li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav__links > li > a { display: block; padding: 1rem 0; font-size: 1.05rem; }
  /* Restore button shape for Book a Call — prevent display:block override */
  .nav__links > li > a.btn--nav {
    display: inline-flex;
    padding: 0.55rem 1.4rem;
    font-size: 0.875rem;
    width: fit-content;
    margin-top: 0.25rem;
  }
  .nav__links > li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav__toggle { display: flex; }
  /* When hamburger is open on transparent nav: give nav bar a solid bg */
  .nav:not(.scrolled):has(.nav__links.open) {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
  }
  .nav:not(.scrolled):has(.nav__links.open) .nav__toggle span { background: var(--navy); }
  .nav:not(.scrolled):has(.nav__links.open) .nl-name { fill: var(--navy); }

  /* ── Mobile hero: the 2.36:1 panoramic photo crops to an unusable
     strip at portrait widths. Swap to a deep navy gradient that keeps
     the dark starfield mood without any image distortion. ── */
  .hero {
    padding: 5.5rem var(--pad-h) 4rem;
    min-height: 90svh;
  }
  .hero__bg {
    background-image: none;
    background: radial-gradient(
      ellipse 130% 70% at 75% 25%,
      rgba(30, 67, 112, 0.6) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 90% 60% at 15% 75%,
      rgba(12, 30, 53, 0.9) 0%,
      transparent 70%
    );
  }
  /* Overlay not needed — gradient background is already dark */
  .hero__overlay { display: none; }
  /* Bottom fade is shorter on mobile */
  .hero__bottom-fade { height: 80px; }

  /* Center all text on mobile */
  /* Two-column hero collapses to single column on mobile */
  .hero__inner--b { grid-template-columns: 1fr; }
  .hero__spacer   { display: none; }
  .hero__content--b { justify-self: start; max-width: 100%; text-align: center; }
  .hero__content    { max-width: 100%; text-align: center; }
  .hero__label      { margin-left: auto; margin-right: auto; }
  .hero__sub        { margin-left: auto; margin-right: auto; }
  .hero__actions    { justify-content: center; }
  .hero__trust      { justify-content: center; gap: 1.5rem; }

  /* ── Rest of mobile layout ── */
  .definition__grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .def-card { }
  .def-card:last-child { }
  .metrics__inner { grid-template-columns: 1fr; background: none; }
  .metric { border: 1px solid rgba(200, 146, 42, 0.15); border-radius: var(--radius-lg); }
  .services__grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { grid-column: span 1; }
  .results__grid { grid-template-columns: 1fr; max-width: 100%; }
  .clients__grid { grid-template-columns: 1fr 1fr; }
  .cta__title { font-size: 1.8rem; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__right { justify-content: center; }
}

@media (max-width: 480px) {
  .clients__grid { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta__actions { flex-direction: column; align-items: center; }
}
