/* AllCents Consulting: lead-magnet site. Growth18 structure, AllCents brand colors. */

@font-face {
  font-family: 'Epilogue';
  src: url('fonts/epilogue-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hankengrotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1d33;          /* deep navy text, from brand navy #1e2a44 */
  --navy: #0d1f36;         /* dark bands */
  --navy-2: #13294a;
  --blue: #005886;         /* AllCents primary (site CSS) */
  --blue-deep: #00476d;
  --sky: #9ad3f2;          /* accent on dark */
  --gold: #c8a77c;         /* from brand gold #bf9e77, lifted for navy text contrast */
  --gold-hover: #d6b68b;
  --bg: #f3f4f6;
  --tile: #eaedf1;
  --card: #ffffff;
  --line: #dfe3e9;
  --muted: #4d5a6d;
  --muted-light: #c3cedb;
  --gutter: 30px;
  --maxw: 1440px;
  --header-h: 76px;
  --r-btn: 8px;
  --r-pill: 6px;
  --r-card: 8px;
  --r-panel: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Epilogue', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.has-smoothscroll { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .reviews :focus-visible, .contact-copy :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 20px;
}
.eyebrow-mark {
  flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 2px;
  background: var(--gold); box-shadow: 4px 4px 0 0 rgba(0, 88, 134, .4);
}
.eyebrow-light { color: #e3ebf3; }
.eyebrow-light .eyebrow-mark { box-shadow: 4px 4px 0 0 rgba(154, 211, 242, .45); }
.center .eyebrow { justify-content: center; }

.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 3.75vw, 60px); line-height: 1.08; letter-spacing: -.04em; color: var(--ink);
}
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: var(--r-btn);
  font-family: var(--body); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 10px 24px -12px rgba(200, 167, 124, .95); }
.btn-ghost-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 50px; padding: 0 22px; font-size: 15.5px; }
.btn-block { width: 100%; min-height: 64px; }
.btn-arrow { flex: none; transition: transform .2s var(--ease-out); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

.round-btn {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-panel);
  border: 0; cursor: pointer; flex: none; text-decoration: none;
  transition: background-color .2s var(--ease-out), transform .16s var(--ease-out), opacity .2s;
}
.round-btn:active { transform: scale(.95); }
.round-btn:disabled { opacity: .45; cursor: default; }
.round-btn-light { background: #fff; color: var(--ink); }
.round-btn-light:hover:not(:disabled) { background: var(--tile); }
.round-btn-white { background: #fff; color: var(--ink); width: 52px; height: 52px; }
.round-btn-gold { background: var(--gold); color: var(--ink); width: 52px; height: 52px; }
.round-btn-gold:hover:not(:disabled) { background: var(--gold-hover); }
.round-btn-navy { background: var(--ink); color: #fff; }
.round-btn-navy:hover:not(:disabled) { background: var(--navy-2); }
.round-btn-sm { width: 50px; height: 50px; }

/* ---------- header (attached bar, Growth18) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.header-bar {
  pointer-events: auto; position: relative;
  max-width: calc(var(--maxw) - var(--gutter) * 2); margin: 0 auto; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  background: #fff; border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 0 12px 0 16px;
  transition: box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled .header-bar { box-shadow: 0 16px 36px -20px rgba(15, 29, 51, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; min-height: 48px; justify-self: start; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { width: 112px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 16.5px; padding: 12px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.call-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px 0 8px;
  background: var(--ink); color: #fff; border-radius: var(--r-panel); text-decoration: none;
  font-weight: 600; font-size: 16px; white-space: nowrap; transition: background-color .2s;
}
.call-pill:hover { background: var(--navy-2); }
.call-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--gold); color: var(--ink); flex: none; }
.call-icon-lg { width: 52px; height: 52px; border-radius: var(--r-btn); }
.nav-toggle { display: none; }

/* ---------- 1. hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 64% 30%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 24, 44, .9) 0%, rgba(10, 24, 44, .72) 24%, rgba(10, 24, 44, .3) 46%, rgba(10, 24, 44, 0) 64%),
    linear-gradient(to right, rgba(10, 24, 44, .86) 0%, rgba(10, 24, 44, .64) 30%, rgba(10, 24, 44, .2) 50%, rgba(10, 24, 44, 0) 62%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--header-h) + 60px) var(--gutter) 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) 344px; align-items: end; gap: 48px;
}
.hero-copy { max-width: 940px; }
.hero-title {
  font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: 1.04;
  font-size: clamp(46px, calc((100vw - 400px) / 13.2), 86px);
}
.hero-title em { font-style: normal; color: var(--sky); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .07em; text-underline-offset: .14em; }
.hero-line { display: block; white-space: nowrap; }
.hero-lede { margin-top: 26px; font-size: 19px; line-height: 1.55; color: #e3ebf3; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: 8px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); outline: 8px solid rgba(255, 255, 255, .28); outline-offset: 0;
}
.hc-top { padding: 22px 22px 14px; }
.hc-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.hc-value { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -.05em; margin-top: 14px; }
.hc-unit { font-size: 28px; letter-spacing: -.03em; }
.hc-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.hc-chart { display: block; width: 100%; height: 76px; margin-top: 18px; overflow: visible; }
.hc-chart path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hc-line { stroke: var(--gold); }
.hc-line-ghost { stroke: #dfe5ec; }
.hc-quote { border-top: 1px solid var(--line); padding: 18px 22px 16px; }
.hc-quote blockquote p { font-size: 18px; line-height: 1.42; font-weight: 500; text-wrap: balance; margin-top: 12px; }
.hc-quote figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.quote-mark { display: block; height: 30px; overflow: visible; }
.quote-mark::before {
  content: '\201C'; display: block;
  font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .9; color: var(--ink);
}

/* ---------- 2. logos ---------- */
.logos { padding: 34px 0 0; }
.logos-inner { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 40px; align-items: center; }
.logos-title { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.marquee {
  display: flex; overflow: hidden; contain: layout paint;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 20px; padding-right: 20px; flex: none; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  flex: none; width: 190px; height: 96px; display: grid; place-items: center; grid-auto-flow: column; gap: 10px;
  background: var(--tile); border-radius: var(--r-panel); padding: 16px 22px; color: #3a4659;
}
.logo-tile img { max-height: 66px; width: auto; filter: grayscale(1) contrast(1.15) brightness(.85); opacity: .95; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile-clickup span { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.logo-tile-clickup small { display: block; font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logo-tile-text { grid-auto-flow: row; gap: 0; text-align: center; }
.logo-tile-text span { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .02em; line-height: 1; }
.logo-tile-text small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-track[aria-hidden] { display: none; } .marquee { flex-wrap: wrap; } }

/* ---------- 3. about ---------- */
.about-head { max-width: 900px; margin-left: auto; margin-right: 0; padding-left: 12px; width: calc(100% - 485px); }
.about-title { font-size: clamp(32px, 3.6vw, 58px); }
.about-title .w { transition: color .5s var(--ease-out); }
.about-title.is-fading .w { color: #b7bfca; }
.about-title.is-fading .w.on { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 25px; margin-top: 68px; }
.stats-card { background: #fff; border-radius: 22px 10px 10px 10px; border-radius: var(--r-panel); padding: 30px 32px 32px; display: flex; flex-direction: column; }
.stat { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stat:first-child { padding-top: 6px; }
.stat-value { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.stat:last-child .stat-value { font-size: 44px; }
.stat-value sup { font-size: .38em; font-weight: 600; letter-spacing: -.02em; vertical-align: top; position: relative; top: .1em; margin-left: 3px; }
.stat-label { font-size: 16.5px; line-height: 1.45; color: var(--muted); }
.stats-text { margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.stats-card .btn { margin-top: 28px; align-self: flex-start; }
.about-photo { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: 560px; }
.about-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.about-widget {
  position: absolute; right: 32px; bottom: 32px; width: min(380px, calc(100% - 64px));
  background: #fff; border-radius: var(--r-panel); padding: 24px 24px 24px;
  box-shadow: 0 24px 50px -28px rgba(15, 29, 51, .5);
}
.aw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.aw-avatars { display: flex; flex: none; }
.aw-avatars img { width: 44px; height: 44px; border-radius: var(--r-pill); border: 3px solid #fff; object-fit: cover; }
.aw-avatars img + img { margin-left: -10px; }
.aw-badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.aw-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
.aw-title { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.22; letter-spacing: -.03em; }
.aw-text { margin-top: 10px; font-size: 16px; color: var(--muted); line-height: 1.5; }
.about-widget .btn { margin-top: 22px; }

/* ---------- 4. services ---------- */
.services { padding-top: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.service-card {
  background: #fff; border-radius: var(--r-panel); padding: 32px 32px 34px; min-height: 340px;
  display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(15, 29, 51, .45); }
.service-icon { width: 40px; height: 40px; fill: var(--ink); }
.service-title { margin-top: auto; padding-top: 56px; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.service-card p { margin-top: 14px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }

/* ---------- 5. process carousel (Growth18 case studies) ---------- */
.process { padding-top: 40px; overflow: hidden; }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.process-head .h2 { max-width: 620px; }
.carousel-nav { display: flex; gap: 14px; }
.steps-viewport { margin-top: 64px; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); contain: layout paint; }
.steps-track { display: flex; gap: 24px; transition: transform .7s var(--ease-out); }
.step-card {
  flex: 0 0 min(980px, calc(100vw - var(--gutter) * 2 - 120px));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px;
  background: #fff; border-radius: var(--r-panel); padding: 16px 16px 16px 32px;
}
.step-body { display: flex; flex-direction: column; padding: 16px 0 16px; }
.step-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 52px; padding: 0 18px; border-radius: var(--r-btn); background: var(--tile); font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.step-title { margin-top: 32px; font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.24; letter-spacing: -.03em; }
.step-text { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.step-metrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 30px; }
.step-metrics > div { display: flex; flex-direction: column-reverse; gap: 2px; padding-right: 16px; }
.step-metrics > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.step-metrics dt { font-size: 15.5px; color: var(--muted); }
.step-metrics dd { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.035em; line-height: 1.15; white-space: nowrap; }
.step-body .btn { margin-top: 30px; align-self: flex-start; }
.step-photo { border-radius: var(--r-card); overflow: hidden; min-height: 470px; position: relative; }
.step-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- 6. testimonials ---------- */
.reviews { background: var(--navy); color: #fff; overflow: hidden; }
.reviews .h2 { color: #fff; font-size: clamp(34px, 3.4vw, 56px); }
.reviews-viewport { margin-top: 64px; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); contain: layout paint; }
.reviews-track { display: flex; gap: 12px; transition: transform .7s var(--ease-out); align-items: stretch; }
.review-card {
  flex: 0 0 calc((min(100vw, var(--maxw)) - var(--gutter) * 2 - 12px) / 2);
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  background: #fff; color: var(--ink); border-radius: var(--r-panel); min-height: 460px;
}
.review-person { display: flex; flex-direction: column; padding: 32px 26px 30px 32px; border-right: 1px solid var(--line); }
.review-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-pill); background: #e3edf5; color: var(--blue); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.review-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.review-role { font-size: 15px; color: var(--muted); }
.review-company { margin-top: auto; padding-top: 24px; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.03em; color: #3a4659; }
.review-body { display: flex; flex-direction: column; padding: 32px 34px 30px; }
.review-body blockquote { margin-top: 26px; }
.review-body blockquote p { font-family: var(--display); font-weight: 500; font-size: 27px; line-height: 1.32; letter-spacing: -.03em; }
.review-source { margin-top: auto; padding-top: 24px; font-size: 15px; color: var(--muted); }
.reviews-nav { display: flex; justify-content: center; gap: 12px; margin-top: 52px; }

/* ---------- 7. why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; align-items: center; }
.why-photo { position: relative; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 676 / 676; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; }
.quick-contact {
  position: absolute; right: 48px; bottom: 32px; display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: 10px 26px 10px 10px; text-decoration: none;
  box-shadow: 0 18px 40px -20px rgba(15, 29, 51, .5); transition: transform .2s var(--ease-out);
}
.quick-contact:hover { transform: translateY(-2px); }
.qc-label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.qc-number { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.why-copy .h2 { font-size: clamp(34px, 3.6vw, 58px); }
.why-lede { margin-top: 36px; font-size: 18.5px; color: var(--muted); max-width: 48ch; }
.why-list { margin-top: 48px; display: grid; gap: 22px; }
.why-list li { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.025em; line-height: 1.3; }
.why-list svg { flex: none; color: var(--blue); }

/* ---------- 8. faq ---------- */
.faq { padding-top: 20px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 48px); }
.faq-head .h2 { font-size: clamp(34px, 3.75vw, 60px); }
.faq-list { display: grid; gap: 16px; }
.faq-item { background: #fff; border-radius: var(--r-panel); }
.faq-q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 80px; padding: 20px 26px; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 20px; line-height: 1.35; letter-spacing: -.015em; color: var(--ink);
}
.faq-icon { flex: none; position: relative; width: 24px; height: 24px; }
.faq-icon::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -7px 0 0 -5px;
  border-right: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease-out), margin .25s var(--ease-out);
}
.faq-q button[aria-expanded="true"] .faq-icon::before { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 26px 26px; }
.faq-a p { color: var(--muted); max-width: 62ch; font-size: 17px; }

/* ---------- 9. contact ---------- */
.contact { position: relative; background: #0a1628; color: #fff; padding: 132px 0 140px; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #0a1628 0%, rgba(10, 22, 40, .55) 34%, rgba(10, 22, 40, 0) 70%),
    repeating-linear-gradient(90deg, rgba(37, 99, 168, 0) 0 9px, rgba(37, 99, 168, .5) 9px 11px, rgba(37, 99, 168, 0) 11px 22px, rgba(154, 211, 242, .32) 22px 23px, rgba(37, 99, 168, 0) 23px 31px, rgba(0, 88, 134, .55) 31px 35px, rgba(37, 99, 168, 0) 35px 44px),
    linear-gradient(to top, #2b5a8f 0%, #13325a 35%, #0a1628 75%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 584px; gap: 80px; align-items: stretch; }
.contact-copy { display: flex; flex-direction: column; }
.contact .h2 { color: #fff; font-size: clamp(36px, 4vw, 64px); }
.contact-lede { margin-top: 24px; font-size: 18.5px; color: #d6e0ea; max-width: 44ch; }
.expert-card {
  margin-top: auto; padding: 12px; background: #fff; color: var(--ink); border-radius: var(--r-panel);
  display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 18px; max-width: 456px;
}
.expert-card img { width: 152px; height: 176px; object-fit: cover; object-position: 50% 18%; border-radius: var(--r-card); }
.ec-body { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 6px 4px 0; }
.ec-title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.ec-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: 40px 32px 32px; }
.form-title { font-family: var(--display); font-weight: 500; font-size: 27px; letter-spacing: -.035em; }
.form-note { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 28px 0 28px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.req { color: var(--blue); font-weight: 600; }
.opt { color: var(--muted); font-weight: 500; }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 14px 18px; border-radius: var(--r-btn);
  border: 1.5px solid #8e9aab; background: #f2f4f7; font-size: 16.5px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.input-wrap input { padding-left: 48px; }
.field textarea { min-height: 124px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5f6c80; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(0, 88, 134, .25); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.field.has-error input { border-color: #b3261e; background: #fff7f6; }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 600; color: #b3261e; }
.form-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.form-foot svg { flex: none; }
.form-success { padding: 30px 0 10px; }
.form-success:focus { outline: none; }
.success-title { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.035em; margin-bottom: 10px; }
.form-success p:not(.success-title) { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d4e1; padding: 0 0 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, .7fr)); gap: 40px; }
.footer-lead { padding: 80px 64px 60px 0; border-right: 1px solid rgba(255, 255, 255, .12); }
.footer-title { margin-top: 36px; font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -.035em; color: #fff; max-width: 17ch; }
.footer-text { margin-top: 14px; font-size: 17px; color: #c9d4e1; max-width: 36ch; }
.footer-lead .btn { margin-top: 30px; }
.footer-col { padding-top: 84px; }
.footer-heading { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.03em; color: #fff; margin: 0 0 22px; }
.footer-col ul:not(.cert-list):not(.social) { display: grid; gap: 4px; }
.footer-col a { text-decoration: none; display: inline-block; padding: 8px 0; font-size: 16.5px; color: #c9d4e1; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cert-list { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cert-list li { display: grid; place-items: center; height: 74px; padding: 10px 14px; background: rgba(255, 255, 255, .94); border-radius: var(--r-card); }
.cert-list img { max-height: 54px; width: auto; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.footer-line { font-size: 15.5px; line-height: 1.7; }
.footer-line a, .footer-copy a { color: #fff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.fl-sep { margin: 0 10px; color: #6f819a; }
.footer-copy { font-size: 15px; color: #a8b6c7; }

/* ---------- accessibility page ---------- */
.legal { padding: calc(var(--header-h) + 100px) 0 110px; }
.legal-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.legal-head { position: sticky; top: calc(var(--header-h) + 50px); }
.legal-title { font-size: clamp(38px, 4.2vw, 60px); }
.legal-updated { margin-top: 18px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.legal-body { display: grid; gap: 14px; }
.legal-body section { background: #fff; border-radius: var(--r-panel); padding: 34px 36px; }
.legal-body h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.03em; margin-bottom: 12px; }
.legal-body p { color: var(--muted); max-width: 66ch; }
.legal-body p + p, .legal-list + p { margin-top: 14px; }
.legal-list { display: grid; gap: 10px; margin-top: 4px; }
.legal-list li { display: flex; gap: 14px; color: var(--muted); }
.legal-list li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 2px; background: var(--gold); }
.legal-contact { display: grid; gap: 8px; margin-top: 16px; }
.legal-contact li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.lc-label { font-weight: 600; min-width: 60px; }
.page-legal .header-bar { grid-template-columns: 1fr auto; }
.page-legal .site-footer { padding: 40px 0 36px; }
.page-legal .footer-bottom { border-top: 0; padding-top: 0; }
.legal-back { min-height: 52px; background: var(--ink); color: #fff; }
.legal-back:hover { background: var(--navy-2); }

/* ---------- reveal ---------- */
.pre-reveal { opacity: 0; transform: translateY(26px); }
.is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-card { animation: rise .9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-card { animation-delay: .34s; }
  .hc-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .7s var(--ease-out) forwards; }
  .hero-media img { animation: settle 1.6s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .nav-links { gap: 28px; }
  .about-grid { grid-template-columns: 420px minmax(0, 1fr); }
  .about-head { width: calc(100% - 445px); }
  .stat { grid-template-columns: 160px minmax(0, 1fr); }
  .stat-value { font-size: 54px; }
  .stat:last-child .stat-value { font-size: 38px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 280px; }
  .why-grid, .faq-grid { gap: 72px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; }
  .footer-lead { padding-right: 40px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .section { padding: 110px 0; }
  .header-bar { display: flex; justify-content: space-between; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 52px; height: 52px; border: 0; border-radius: var(--r-panel); background: var(--tile); cursor: pointer;
  }
  .nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease-out); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-radius: var(--r-panel); padding: 10px 20px 20px;
    box-shadow: 0 24px 50px -24px rgba(15, 29, 51, .45);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav-cta-mobile { display: block; margin-top: 16px; }
  .nav-cta-mobile .btn { width: 100%; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-copy { max-width: 760px; }
  .hero-title { font-size: clamp(44px, 7.4vw, 78px); }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(10, 24, 44, .94) 0%, rgba(10, 24, 44, .84) 34%, rgba(10, 24, 44, .45) 56%, rgba(10, 24, 44, 0) 74%),
      linear-gradient(to right, rgba(10, 24, 44, .6) 0%, rgba(10, 24, 44, 0) 60%);
  }

  .logos-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-head { width: auto; margin-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 520px; }
  .process-head { align-items: flex-end; }
  .step-card { flex-basis: calc(100vw - var(--gutter) * 2 - 60px); }
  .review-card { flex-basis: calc(100vw - var(--gutter) * 2 - 80px); }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .why-photo { aspect-ratio: 4 / 3; }
  .faq-head { position: static; }
  .expert-card { margin-top: 40px; }
  .form-card { max-width: 680px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 64px 0 48px; }
  .footer-col { padding: 40px 0 44px; }
  .legal-inner { grid-template-columns: 1fr; gap: 40px; }
  .legal-head { position: static; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 16.5px; }
  .section { padding: 84px 0; }
  .header-bar { padding: 0 8px 0 12px; border-radius: 0 0 var(--r-panel) var(--r-panel); }
  .brand-mark { width: 36px; height: 36px; }
  .brand-word { width: 100px; }
  .call-pill { padding: 0; width: 52px; justify-content: center; background: var(--ink); }
  .call-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* width-fit, top-anchored: keeps her face in the upper third instead of scaling it down into the copy */
  .hero-media img { top: -48px; bottom: auto; height: calc(100vw * 1.7917); object-position: 50% 0; }
  .hero-scrim {
    background: linear-gradient(to top, rgba(10, 24, 44, .96) 0%, rgba(10, 24, 44, .92) 38%, rgba(10, 24, 44, .78) 50%, rgba(10, 24, 44, .3) 60%, rgba(10, 24, 44, 0) 70%);
  }
  .hero-inner { padding-bottom: 36px; gap: 0; }
  .hero-line { white-space: normal; }
  .hero-title { font-size: clamp(36px, calc((100vw - 40px) / 8.2), 54px); }
  .hero-lede { font-size: 17px; margin-top: 18px; }
  .lede-more { display: none; }
  .hero-actions { margin-top: 26px; flex-direction: column; gap: 10px; }
  .eyebrow { font-size: 12.5px; white-space: nowrap; }

  .btn { width: 100%; }
  .ec-actions .btn { width: auto; flex: 1; min-width: 0; padding: 0 14px; }

  .logos { padding-top: 28px; }
  .logos-title { font-size: 19px; }
  .logo-tile { width: 150px; height: 80px; padding: 12px 16px; }
  .logo-tile img { max-height: 52px; }
  .marquee-track { gap: 12px; padding-right: 12px; }

  .about-grid { margin-top: 44px; }
  .stats-card { padding: 24px 22px 26px; }
  .stat { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .stat-value { font-size: 50px; }
  .stat:last-child .stat-value { font-size: 40px; }
  .stats-text { font-size: 17px; }
  .stats-card .btn { align-self: stretch; }
  .about-photo { min-height: 0; padding-bottom: 210px; overflow: visible; }
  .about-photo > img { position: static; aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-panel); object-position: 30% 40%; }
  .about-widget { left: 14px; right: 14px; bottom: 0; width: auto; padding: 20px; }

  .services { padding-top: 20px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 44px; gap: 12px; }
  .service-card { min-height: 0; padding: 26px 22px 28px; }
  .service-title { padding-top: 32px; font-size: 21px; }

  .process { padding-top: 20px; }
  .process-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .carousel-nav { gap: 10px; }
  .carousel-nav .round-btn { width: 52px; height: 52px; }
  .steps-viewport { margin-top: 36px; }
  .steps-track { gap: 12px; }
  .step-card { flex-basis: calc(100vw - var(--gutter) * 2); grid-template-columns: 1fr; gap: 0; padding: 10px 10px 22px; }
  .step-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .step-photo img { position: static; height: 100%; }
  .step-body { padding: 20px 12px 0; }
  .step-tag { height: 40px; font-size: 14.5px; padding: 0 14px; }
  .step-title { margin-top: 18px; font-size: 21px; }
  .step-metrics { padding-top: 22px; }
  .step-metrics dd { font-size: 21px; }
  .step-metrics dt { font-size: 14.5px; }
  .step-metrics > div + div { padding-left: 14px; }
  .step-body .btn { align-self: stretch; margin-top: 22px; }

  .reviews-viewport { margin-top: 40px; }
  .review-card { flex-basis: calc(100vw - var(--gutter) * 2); grid-template-columns: 1fr; min-height: 0; }
  .review-person { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px 18px; }
  .review-avatar { grid-row: 1 / 4; margin: 0; width: 48px; height: 48px; align-self: start; }
  .review-company { margin: 0; padding: 0; font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--muted); }
  .review-body { padding: 24px 22px 22px; }
  .review-body blockquote { margin-top: 18px; }
  .review-body blockquote p { font-size: 21px; }

  .why-grid { gap: 40px; }
  .quick-contact { right: 14px; bottom: 14px; left: 14px; }
  .qc-number { font-size: 19px; }
  .why-lede { margin-top: 22px; font-size: 17px; }
  .why-list { margin-top: 30px; gap: 18px; }
  .why-list li { font-size: 18.5px; align-items: flex-start; }

  .faq { padding-top: 0; }
  .faq-grid { gap: 36px; }
  .faq-q button { padding: 16px 18px 16px 20px; font-size: 17.5px; min-height: 68px; }
  .faq-a { padding: 0 20px 20px; }

  .contact { padding: 84px 0 96px; }
  .expert-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .expert-card img { width: 96px; height: 124px; }
  .ec-title { font-size: 18px; }
  .form-card { padding: 28px 20px 24px; }
  .form-fields { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .footer-title { font-size: 28px; }
  .footer-certs { grid-column: 1 / -1; padding-top: 0; }
  .footer-col { padding: 36px 0 32px; }
  .fl-sep { display: none; }
  .footer-line { display: grid; gap: 4px; }
  .legal { padding: calc(var(--header-h) + 64px) 0 80px; }
  .legal-body section { padding: 26px 22px; }
  .legal-back { width: auto; min-height: 48px; padding: 0 16px; font-size: 15px; }
}

@media (max-width: 400px) {
  .header-bar { gap: 8px; }
  .contact .h2 { font-size: 31px; }
  .legal-back { padding: 0 12px; font-size: 14px; }
  .header-actions { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { width: 88px; }
  .expert-card { grid-template-columns: 1fr; }
  .expert-card img { width: 100%; height: 170px; }
  .logo-tile { width: 136px; }
}

/* short desktop viewports: keep the hero inside 100vh */
@media (min-width: 1081px) and (max-height: 820px) {
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 44px; }
  .hero-title { font-size: clamp(44px, min(calc((100vw - 400px) / 13.2), 9.4vh), 80px); }
  .hero-lede { margin-top: 18px; font-size: 18px; }
  .hero-actions { margin-top: 26px; }
  .hc-top { padding: 18px 20px 10px; }
  .hc-value { font-size: 52px; }
  .hc-chart { height: 50px; margin-top: 12px; }
  .hc-quote { padding: 14px 20px 12px; }
  .hc-quote blockquote p { font-size: 16.5px; margin-top: 10px; }
}
@media (min-width: 1081px) and (max-height: 700px) {
  .hero-lede { display: none; }
  .hc-quote { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-lede, .hero .eyebrow { display: none; }
}
