/* ==========================================================================
   GBN Agency — stylesheet
   Palette: deep navy surfaces + gold accent. Space Grotesk / Inter.
   Layout and component structure follow the digitaltabby.com reference build,
   rewritten as plain CSS (the reference is Tailwind-generated).

   Contrast note: gold is a light hue, so it is never used as text on white and
   never carries white text. Text ON gold is navy (5.8:1–9.9:1); gold-as-text on
   light surfaces uses the darkened --accent-ink / --grad-text-light instead.
   ========================================================================== */

:root {
  /* Surfaces */
  --navy-900:  #0a1428;   /* hero, dark sections */
  --navy-800:  #101c36;   /* footer */
  --navy-700:  #14213d;   /* cards on dark */
  --navy-600:  #1b2f57;   /* raised detail on dark */
  --paper:     #ffffff;
  --cream:     #faf8f3;
  --rule:      #e7e1d4;
  --rule-soft: #f2ede2;

  /* Text */
  --ink:       #0f1b30;
  --ink-soft:  #33425c;
  --ink-dim:   #4b5a70;
  --star:      #f7f6f2;
  --star-dim:  #9aa8bf;
  --star-body: #d5dcea;

  /* Accent */
  --gold:       #f0b429;
  --gold-light: #f7d774;
  --gold-deep:  #d97706;
  --gold-star:  #f5b820;
  --accent-ink: #a1620a;   /* gold darkened until it passes 4.9:1 on white */
  --sky:        #3b82f6;   /* cool counter-glow on the navy hero */

  --grad:   linear-gradient(135deg, #f7d774, #f0b429 45%, #d97706);
  --grad-2: linear-gradient(135deg, #f7d774, #d97706);
  --grad-3: linear-gradient(135deg, #f0b429, #d97706);
  --grad-text-light: linear-gradient(135deg, #c2610c, #92400e);

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; }

/* ------------------------------------------------------------- utilities */
.wrap-7 { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.wrap-6 { max-width: 1152px; margin-inline: auto; padding-inline: 24px; }
.wrap-5 { max-width: 1024px; margin-inline: auto; padding-inline: 24px; }
.wrap-3 { max-width: 768px;  margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.border-t { border-top: 1px solid var(--rule); }
.border-b { border-bottom: 1px solid var(--rule); }
.border-y { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Default is the darkened gradient, for headings on paper and cream. */
.gradient-text {
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* On navy or gold surfaces the bright gold reads correctly. */
.hero .gradient-text,
.page-hero .gradient-text,
.cta-band .gradient-text {
  background: var(--grad-2);
  -webkit-background-clip: text; background-clip: text;
}

.eyebrow {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.eyebrow-sm { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; display: inline-block; }
/* Secondary eyebrow — deep navy, so it reads as a second accent next to gold. */
.eyebrow-alt, .eyebrow-nebula { color: var(--navy-600); }

.section-intro { text-align: center; max-width: 768px; margin: 0 auto 56px; }
.section-intro h2 { font-size: 30px; line-height: 1.1; color: var(--ink); }
.section-intro p.lede { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin-top: 20px; }

.star-rating { color: var(--gold-star); letter-spacing: 2px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: .15s;
  text-align: center;
  white-space: nowrap;
}

/* Navy on gold, never white on gold. */
.btn-primary {
  color: var(--navy-900);
  background: var(--grad);
  box-shadow: 4px 4px 0 rgba(15, 27, 48, .22), 0 6px 24px rgba(240, 180, 41, .32);
}
.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(15, 27, 48, .22), 0 8px 36px rgba(240, 180, 41, .5);
}

.btn-primary-dark {
  color: var(--navy-900);
  background: var(--grad);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .55), 0 0 26px rgba(240, 180, 41, .35);
}
.btn-primary-dark:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .55), 0 0 40px rgba(240, 180, 41, .55);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--accent-ink); border-color: var(--gold-deep); }

.btn-ghost-dark {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  font-weight: 500;
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .09); border-color: rgba(247, 215, 116, .5); }

/* Sits on the gold CTA band. */
.btn-navy {
  background: var(--navy-900); color: #fff;
  font-weight: 700; font-size: 18px;
  padding: 20px 48px;
  box-shadow: 0 18px 26px -8px rgba(10, 20, 40, .45);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 24px 34px -8px rgba(10, 20, 40, .55); }

.btn-nav  { font-size: 14px; padding: 10px 20px; }
.btn-hero { font-size: 16px; padding: 16px 36px; }
.btn-md   { font-size: 15px; padding: 12px 24px; }

/* -------------------------------------------------------- gradient border */
.gradient-border {
  background: var(--grad-2);
  border-radius: 16px;
  padding: 1px;
  display: block;
}
.gradient-border-inner-light { background: #fff;  border-radius: 15px; height: 100%; }
.gradient-border-inner-dark  { background: var(--navy-700); border-radius: 15px; height: 100%; }
.gradient-border-inner       { background: var(--cream); border-radius: 15px; height: 100%; }

.glow-box { box-shadow: 0 0 40px rgba(240, 180, 41, .22), 0 0 90px rgba(59, 130, 246, .12); }
.glow-text { text-shadow: 0 0 50px rgba(247, 215, 116, .35); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 248, 243, .9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1280px; margin-inline: auto; padding-inline: 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(240, 180, 41, .35);
}
.nav-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 19px;
  line-height: 1.05; color: var(--ink); letter-spacing: -.02em;
}
.nav-name small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }

.nav-menu { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav-menu > a:hover, .nav-drop > button:hover { color: var(--accent-ink); }
.nav-menu > a, .nav-drop > button { transition: color .15s; }

.nav-drop { position: relative; }
.nav-drop > button {
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 4px; padding: 8px 0;
}
.nav-drop > button svg { width: 14px; height: 14px; }
.nav-drop-panel {
  position: absolute; top: 100%; left: 0; padding-top: 8px;
  min-width: 260px; z-index: 50;
  visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { visibility: visible; opacity: 1; }
.nav-drop-panel > div {
  background: #fff; border: 1px solid var(--rule);
  border-radius: 12px; padding: 8px 0;
  box-shadow: 0 20px 25px -5px rgba(15, 27, 48, .12), 0 8px 10px -6px rgba(15, 27, 48, .08);
}
.nav-drop-panel a {
  display: block; padding: 10px 18px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.nav-drop-panel a:hover { background: var(--cream); color: var(--accent-ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: var(--accent-ink); padding: 8px; margin-right: -8px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  background-color: var(--navy-900);
  color: var(--star);
  padding: 160px 0 112px;
  overflow: hidden;
}
.aurora-glow {
  background-image:
    radial-gradient(60% 80% at 15% 0, rgba(240, 180, 41, .20), transparent 60%),
    radial-gradient(50% 60% at 85% 20%, rgba(59, 130, 246, .22), transparent 60%),
    radial-gradient(40% 60% at 50% 100%, rgba(240, 180, 41, .12), transparent 60%),
    radial-gradient(2.5px 2.5px at 12% 18%, #fff, transparent 70%),
    radial-gradient(3px 3px at 38% 8%, #fff, transparent 70%),
    radial-gradient(2.5px 2.5px at 68% 22%, #f7d774, transparent 75%),
    radial-gradient(3px 3px at 82% 52%, #fff, transparent 70%),
    radial-gradient(2px 2px at 26% 62%, #fff, transparent 70%),
    radial-gradient(2px 2px at 55% 76%, #f7d774, transparent 70%);
}
.stars-bg {
  background-image:
    radial-gradient(2.5px 2.5px at 12% 18%, #fff, transparent 70%),
    radial-gradient(3px 3px at 38% 8%, #fff, transparent 70%),
    radial-gradient(2.5px 2.5px at 68% 22%, #f7d774, transparent 75%),
    radial-gradient(3px 3px at 82% 52%, #fff, transparent 70%);
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(240, 180, 41, .22);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-1 { width: 640px; height: 640px; top: -240px; right: -240px; opacity: .45; }
.orbit-2 { width: 420px; height: 420px; bottom: 0; left: -160px; opacity: .3; }

.shoot {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff;
  animation: shoot 4s ease-out infinite;
  pointer-events: none;
}
.shoot::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 60px; height: 1px;
  background: linear-gradient(270deg, #fff, transparent);
  transform: rotate(-45deg); transform-origin: 0 0;
}
.shoot-1 { top: 18%; left: 18%; animation-delay: 1s; }
.shoot-2 { top: 8%; left: 62%; animation-delay: 3.5s; }
@keyframes shoot {
  0%   { opacity: 1; transform: translate(0, 0); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(280px, 280px); }
}

.hero-inner { position: relative; z-index: 10; }
.hero-grid { display: grid; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 14px;
}
.hero-badge span:last-child { color: var(--star-dim); }

.hero h1 {
  font-size: 36px; line-height: 1.05;
  margin-bottom: 28px;
  color: var(--star);
}
.hero-lede { font-size: 20px; line-height: 1.625; color: var(--star-dim); margin-bottom: 36px; max-width: 36rem; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.hero-foot { font-size: 14px; color: var(--star-dim); }
.hero-foot strong { color: var(--gold-light); font-weight: 600; }

/* hero showcase panel (stands in for the reference site's video embed) */
.hero-video { position: relative; }
.hero-panel { padding: 4px; }
.hero-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(59, 130, 246, .28), transparent 60%),
    var(--navy-700);
  padding: 22px;
}
.hero-screen-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}
.dot-live { display: inline-flex; align-items: center; gap: 6px; color: #6ee7b7; }
.dot-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  padding: 14px 16px;
}
.metric b { display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.metric span { font-size: 12px; color: var(--star-dim); }
.metric b.up { color: #6ee7b7; }

.util-bar { margin-top: 18px; }
.util-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.util-fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad-2); transition: width 1.6s cubic-bezier(.22, .9, .3, 1); }
.util-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--star-dim); margin-top: 8px; }

/* Both pills sit on the panel's outer edge so they never cover its numbers. */
.stat-pill {
  position: absolute; top: -18px; right: 14px; z-index: 4;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  color: var(--navy-900); background: var(--grad-3);
  border-radius: 999px; padding: 11px 22px;
  box-shadow: 0 12px 32px rgba(240, 180, 41, .45);
}
.org-chip {
  position: absolute; bottom: -14px; right: 18px; z-index: 4;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  color: #fff; background: rgba(10, 20, 40, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px; padding: 6px 14px;
}

/* --------------------------------------------------------------- marquee */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-plate {
  flex-shrink: 0;
  margin: 0 40px;
  height: 56px;
  display: flex; align-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  color: var(--ink-dim);
  opacity: .75;
  transition: color .25s, opacity .25s;
  white-space: nowrap;
}
.logo-plate:hover { color: var(--ink); opacity: 1; }

.trust-label { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-dim); margin-bottom: 24px; }

/* ----------------------------------------------------------------- cards */
.card-light {
  background: #fff;
  border: 1px solid var(--rule);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-light:hover {
  border-color: rgba(217, 119, 6, .38);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(161, 98, 10, .22);
}

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }

.service-card { padding: 32px; text-align: center; display: flex; flex-direction: column; height: 100%; }
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 18px;
  background: rgba(240, 180, 41, .14);
  border: 1px solid rgba(240, 180, 41, .45);
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--accent-ink);
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--ink); }
.service-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.service-card .more { color: var(--accent-ink); font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------- process */
.steps-row { display: none; }
.steps-col { display: grid; gap: 24px; }
.step-mobile { display: flex; gap: 16px; align-items: flex-start; }
.step-rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.step-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(240, 180, 41, .14);
  border: 1px solid rgba(240, 180, 41, .45);
  display: grid; place-items: center;
  font-size: 20px;
}
.step-line { width: 1px; flex: 1; background: rgba(240, 180, 41, .35); margin-top: 8px; }
.step-mobile:last-child .step-line { display: none; }
.step-body { padding-bottom: 24px; }
.step-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 4px; }
.step-body h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.step-body p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

.step-cell { flex: 1; text-align: center; padding: 0 8px; position: relative; }
.step-cell .step-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px; font-size: 24px; }
.step-cell .step-kicker { margin-bottom: 8px; }
.step-cell h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.step-cell p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.step-connector {
  position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px);
  height: 1px; background: linear-gradient(90deg, rgba(240, 180, 41, .6), rgba(240, 180, 41, .2));
}
.step-cell:last-child .step-connector { display: none; }

/* ----------------------------------------------------------- case studies */
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.case {
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.case-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-700);
  overflow: hidden;
}
.case-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 80% at 25% 15%, rgba(240, 180, 41, .42), transparent 62%),
    radial-gradient(60% 70% at 80% 80%, rgba(59, 130, 246, .40), transparent 60%),
    var(--navy-700);
  transition: transform .5s;
}
.case:hover .case-art { transform: scale(1.03); }
.case-art::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.case-logo-pill {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  background: #fff; border-radius: 12px; padding: 7px 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  color: var(--ink); letter-spacing: -.01em;
}
.case-stat-pill {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  color: var(--navy-900); background: var(--grad-3);
  border-radius: 999px; padding: 5px 12px;
  box-shadow: 0 6px 18px rgba(240, 180, 41, .45);
}
.case-chip {
  position: absolute; bottom: 12px; left: 12px; z-index: 5;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  color: #fff; background: rgba(10, 20, 40, .82);
  border-radius: 999px; padding: 6px 14px;
}
.case-title-on-art {
  position: absolute; left: 16px; right: 16px; bottom: 52px; z-index: 4;
  font-family: var(--font-heading); font-weight: 700; font-size: 24px;
  line-height: 1.1; color: rgba(255, 255, 255, .96);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}
.case-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 24px; margin-bottom: 12px; color: var(--ink); }
.case-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.625; margin-bottom: 16px; flex: 1; }
.case-body .more { color: var(--accent-ink); font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------ industries */
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.industry { border-radius: 12px; padding: 24px; text-align: center; display: block; }
.industry .ico { font-size: 30px; margin-bottom: 12px; }
.industry h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.industry p { font-size: 12px; color: var(--ink-dim); line-height: 1.5; }

/* ----------------------------------------------------------- testimonials */
.review-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 16px;
  font-size: 14px; color: var(--ink-soft);
}
.reviews-stack { max-width: 768px; margin-inline: auto; display: grid; gap: 16px; }
.review-card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform .2s, border-color .2s;
}
.review-card:hover { border-color: rgba(240, 180, 41, .35); transform: translateY(-2px); }
.review-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-2);
  box-shadow: 0 0 0 2px rgba(240, 180, 41, .3);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--navy-900);
}
.review-head .who { display: block; font-weight: 600; color: #fff; font-size: 15px; }
.review-head .meta { display: block; font-size: 12px; color: var(--star-dim); }
.review-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.review-stars .ago { color: var(--star-dim); }
.review-card .body { color: var(--star-body); font-size: 15px; line-height: 1.625; }

/* -------------------------------------------------------------- the list */
.list-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
}
.list-grid { display: grid; grid-template-columns: 1fr; gap: 12px 48px; font-size: 15px; color: var(--ink-soft); }
.checkitem { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.checkitem::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1620A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

/* ------------------------------------------------------------- stat cards */
.stat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 24px; }
.stat-num {
  font-family: var(--font-heading); font-weight: 700; font-size: 2.25rem; line-height: 1;
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.stat-label { color: var(--ink-dim); font-size: .875rem; line-height: 1.4; }

/* ---------------------------------------------------------------- founder */
/* width:100% is required — an auto inline margin cancels a grid item's default
   stretch, which would otherwise shrink this box to its content width. */
.founder-portrait { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; }
.founder-face {
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(240, 180, 41, .45), transparent 60%),
    radial-gradient(60% 60% at 75% 85%, rgba(59, 130, 246, .45), transparent 60%),
    var(--navy-700);
  display: grid; place-items: center;
}
.founder-face svg { width: 42%; height: auto; }
.founder-tag {
  position: absolute; right: -16px; bottom: -16px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 12px; padding: 12px 20px;
  box-shadow: 0 20px 25px -5px rgba(15, 27, 48, .14);
}
.founder-tag b { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--ink); }
.founder-tag span { font-size: 12px; color: var(--ink-dim); }
.founder-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }

/* ------------------------------------------------------------ post cards */
.posts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--rule);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: .2s;
}
.post-card:hover { border-color: rgba(217, 119, 6, .38); transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(161, 98, 10, .24); }
.post-art {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(70% 90% at 20% 10%, rgba(240, 180, 41, .42), transparent 60%),
    radial-gradient(60% 70% at 85% 90%, rgba(59, 130, 246, .38), transparent 60%),
    var(--navy-700);
}
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-family: var(--font-heading); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.post-card h3 { font-size: 18px; line-height: 1.25; color: var(--ink); margin-bottom: 10px; }
.post-card .excerpt { font-size: 14px; line-height: 1.55; color: var(--ink-dim); flex: 1; margin-bottom: 18px; }
.post-card .meta { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--rule-soft); font-size: 12px; color: var(--ink-dim); }
.post-card .meta .dot { width: 3px; height: 3px; border-radius: 999px; background: #cbd5e1; }

/* -------------------------------------------------------------------- faq */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 20px;
}
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; color: var(--ink); cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex-shrink: 0; width: 18px; height: 18px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B30' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.faq-list details p a { color: var(--accent-ink); font-weight: 600; }

/* -------------------------------------------------------------------- cta */
/* Gold band with navy type — the reverse of the hero, and high contrast. */
.cta-band {
  position: relative; overflow: hidden;
  padding: 96px 0;
  color: var(--navy-900);
  background: linear-gradient(135deg, #f7d774 0%, #f0b429 45%, #d97706 100%);
}
.cta-band .stars-layer { position: absolute; inset: 0; opacity: .22; pointer-events: none; }
.cta-band .inner { position: relative; z-index: 10; text-align: center; }
.cta-band h2 { font-size: 36px; line-height: 1.05; margin-bottom: 20px; color: var(--navy-900); }
.cta-band p { font-size: 18px; color: rgba(10, 20, 40, .78); margin-bottom: 32px; }

/* ------------------------------------------------------------------ form */
.form-panel { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  width: 100%; min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(217, 119, 6, .45); outline-offset: 1px; border-color: var(--gold-deep);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--ink-dim); }
.form-status { font-size: 14px; font-weight: 600; margin-top: 12px; }
.form-status.ok { color: #047857; }

.contact-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: rgba(240, 180, 41, .14); border: 1px solid rgba(240, 180, 41, .45);
  display: grid; place-items: center; color: var(--accent-ink);
}
.contact-list b { display: block; font-size: 15px; color: var(--ink); }
.contact-list span { font-size: 14px; color: var(--ink-soft); }

/* Grid tracks must be allowed to shrink below their content's min-content size,
   or a long unbreakable string widens the whole page on narrow screens. */
.grid-2 > *, .grid-3 > *, .hero-grid > *, .cases-grid > *, .posts-grid > *,
.industries-grid > *, .stat-grid > *, .list-grid > *, .form-grid > *,
.footer-grid > *, .steps-row > * { min-width: 0; }

/* --------------------------------------------------------------- subhero */
.page-hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-900);
  color: var(--star);
  padding: 152px 0 80px;
}
.page-hero .inner { position: relative; z-index: 10; }
.crumbs { font-size: 14px; color: var(--star-dim); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: 36px; line-height: 1.08; margin-bottom: 20px; }
.page-hero p { font-size: 18px; line-height: 1.6; color: var(--star-dim); max-width: 58ch; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-800); color: var(--star); border-top: 1px solid rgba(255, 255, 255, .06); padding: 64px 0 0; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px; padding-bottom: 40px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.footer-cert {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  padding: 12px 20px;
}
.footer-cert b { font-family: var(--font-heading); font-size: 15px; color: #fff; display: block; }
.footer-cert span { font-size: 12px; color: var(--star-dim); }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .nav-name { color: #fff; }
.site-footer .nav-name small { color: var(--star-dim); }
.footer-about { font-size: 14px; color: var(--star-dim); margin: 16px 0 20px; max-width: 34ch; line-height: 1.6; }
.site-footer h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--star-dim); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer ul a { color: var(--star-dim); }
.site-footer ul a:hover { color: #fff; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid; place-items: center;
  color: var(--star-dim);
}
.social-row a:hover { color: var(--gold-light); border-color: rgba(240, 180, 41, .45); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 16px;
  font-size: 14px; color: var(--star-dim);
  padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------- reveal fx */
/* Scoped to .js (set by an inline script in <head>) so that with JavaScript
   disabled or broken every section stays visible instead of blank. */
/* Uses the independent `translate` property, not `transform`. A .reveal on a
   card would otherwise win on specificity and cancel that card's own
   transform — killing every hover lift and the featured plan's scale. */
.js .reveal { opacity: 0; translate: 0 20px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.in { opacity: 1; translate: none; }

/* ------------------------------------------------------------ responsive */
@media (min-width: 520px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .section { padding: 128px 0; }
  .hero { padding: 208px 0 160px; }
  .page-hero { padding: 184px 0 96px; }
  .hero h1 { font-size: 48px; }
  .page-hero h1 { font-size: 48px; }
  .section-intro h2, .cta-band h2 { font-size: 48px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .list-grid { grid-template-columns: 1fr 1fr; }
  .list-box { padding: 48px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-row { display: flex; align-items: flex-start; }
  .steps-col { display: none; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { justify-content: flex-start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-band h2 { font-size: 60px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 64px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 899px) {
  .nav-menu {
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 8px 24px 20px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform .28s ease;
    box-shadow: 0 20px 25px -5px rgba(15, 27, 48, .12);
  }
  .nav-menu.open { transform: none; }
  .nav-menu > a, .nav-drop > button { padding: 14px 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav-drop-panel { position: static; visibility: visible; opacity: 1; padding-top: 0; min-width: 0; }
  .nav-drop-panel > div { border: 0; box-shadow: none; background: transparent; padding: 0 0 10px; }
  .nav-drop-panel a { padding: 8px 0 8px 16px; }
  .nav-burger { display: block; }
  .nav-actions .btn { display: none; }
}

/* A stat grid nested inside a narrow column never goes past two columns. */
.stat-grid.stat-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 520px) {
  .stat-grid.stat-grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .marquee-track, .shoot { animation: none; }
  .btn:hover, .card-light:hover, .post-card:hover, .review-card:hover { transform: none; }
  .case:hover .case-art { transform: none; }
}
