/* ==========================================================================
   Inzage — main.css
   Aurora Ink design system, v2. Dark ink + warm paper, teal accent.
   No frameworks, no CDNs.
   ========================================================================== */

/* ---- Fonts (self-hosted, variable, latin subset) ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---- Tokens ----
   Raw palette first, then semantic tokens. Dark is the default theme;
   `.theme-light` re-maps the semantic tokens for paper sections. */
:root {
  /* raw */
  --ink: #0a0f0e;
  --ink-2: #0e1514;
  --ink-surface: #101817;
  --paper: #faf9f6;
  --paper-2: #f2f1ec;
  --teal: #2dd4bf;
  --teal-ink: #0f766e;   /* AA-safe teal for text on paper */
  --teal-deep: #134e48;
  --bone: #f2f1ec;
  --slate: #97a8a5;
  --slate-ink: #51605d;  /* muted text on paper */

  /* semantic (dark defaults) */
  --bg: var(--ink);
  --bg-alt: var(--ink-2);
  --text: var(--bone);
  --muted: var(--slate);
  --accent: var(--teal);
  --card-bg: var(--ink-surface);
  --card-shadow: none;
  --line: rgba(242, 241, 236, 0.09);

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --w-content: 1200px;
  --radius: 12px;
  color-scheme: dark;
}
.theme-light {
  --bg: var(--paper);
  --bg-alt: var(--paper-2);
  --text: #101817;
  --muted: var(--slate-ink);
  --accent: var(--teal-ink);
  --card-bg: #ffffff;
  --card-shadow: 0 1px 2px rgba(16, 24, 23, 0.05), 0 10px 28px rgba(16, 24, 23, 0.07);
  --line: rgba(16, 24, 23, 0.11);
  color-scheme: light;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-weight: 500; font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--w-content); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* Sections carry their theme. Default = dark ink; add .theme-light for paper. */
section { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--bg); color: var(--text); }
section.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: var(--ink); transition: background-color 160ms ease, box-shadow 260ms ease, transform 160ms ease; }
.btn-primary:hover { background: #57e0cf; box-shadow: 0 0 28px rgba(45, 212, 191, 0.35); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Arrow links (card / section "read more") */
.arrow-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.arrow-link::after { content: '→'; transition: transform 180ms ease; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---- Aurora backdrop (dark sections) ---- */
.has-aurora { position: relative; overflow: hidden; }
.has-aurora > .container { position: relative; z-index: 1; }
.aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38rem 24rem at 82% -10%, rgba(45, 212, 191, 0.16), transparent 65%),
    radial-gradient(30rem 22rem at 8% 108%, rgba(19, 78, 72, 0.55), transparent 70%);
}
.aurora::after {
  content: '';
  position: absolute;
  width: 44rem;
  height: 44rem;
  left: 50%;
  top: -24rem;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.13), transparent);
  animation: aurora-drift 13s ease-in-out infinite alternate;
}
.aurora::before {
  content: '';
  position: absolute;
  width: 36rem;
  height: 36rem;
  left: -14rem;
  bottom: -20rem;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.08), transparent);
  animation: aurora-drift-2 17s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translateX(-62%) translateY(0) scale(1); }
  to   { transform: translateX(-38%) translateY(3.5rem) scale(1.12); }
}
@keyframes aurora-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(7rem, -4rem) scale(1.15); }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 241, 236, 0.09);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--slate); font-size: 0.95rem; }
.site-nav a:hover { color: var(--bone); text-decoration: none; }
.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--bone); }
.site-nav a[aria-current='page']:not(.btn)::after { transform: scaleX(1); }
.site-nav .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; color: var(--ink); }
.nav-toggle { display: none; }

/* ---- Entrance choreography (heroes, on load) ---- */
@keyframes enter {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.js .hero .container > *,
.js .page-hero .container > * {
  opacity: 0;
  animation: enter 750ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js .hero .container > :nth-child(2), .js .page-hero .container > :nth-child(2) { animation-delay: 120ms; }
.js .hero .container > :nth-child(3), .js .page-hero .container > :nth-child(3) { animation-delay: 240ms; }
.js .hero .container > :nth-child(4), .js .page-hero .container > :nth-child(4) { animation-delay: 360ms; }
.js .hero .container > :nth-child(5), .js .page-hero .container > :nth-child(5) { animation-delay: 480ms; }

/* Teal highlight sweep on a key phrase */
.hl {
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.32), rgba(45, 212, 191, 0.32)) no-repeat 0 86%;
  background-size: 100% 0.32em;
}
.js .hl {
  background-size: 0% 0.32em;
  animation: hl-sweep 800ms cubic-bezier(0.22, 1, 0.36, 1) 850ms forwards;
}
@keyframes hl-sweep { to { background-size: 100% 0.32em; } }

/* ---- Home hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 14vw, 11rem);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: -14% 0; z-index: -1; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-bg video.is-playing { opacity: 1; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 15, 14, 0.6) 0%, rgba(10, 15, 14, 0.28) 55%, rgba(10, 15, 14, 0.68) 100%);
}
.hero h1 { max-width: 12em; }
.hero .lede { margin-bottom: 2.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 14em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .contact-grid .lede { margin-bottom: 1.25rem; }

/* ---- Ticker (what we automate) ---- */
.ticker {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker-scroll 36s linear infinite; }
.ticker ul {
  display: inline-flex;
  gap: 2.75rem;
  padding: 0 1.375rem 0 1.375rem;
  margin: 0;
  list-style: none;
}
.ticker li {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 2.75rem;
}
.ticker li::after { content: '·'; color: var(--teal); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Problem strip ---- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2.5rem;
}
.problem h3 { color: var(--text); }
.problem p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.problem .marker { display: block; width: 2.4rem; height: 2px; background: var(--accent); margin-bottom: 1.1rem; }
.js .problem .marker { transform: scaleX(0); transform-origin: left; transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1) 250ms; }
.js .problem.is-visible .marker { transform: scaleX(1); }

/* ---- Service cards (home + services page) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
}
.card:hover {
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(45, 212, 191, 0.09), var(--card-shadow, 0 0 0 transparent);
}
.card .media-frame { border-bottom: 1px solid var(--line); }
.card img {
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 350ms ease;
}
.card:hover img { filter: saturate(1.18) brightness(1.07); }

/* ---- Scroll-scrub media parallax ----
   Media sits over-zoomed inside a clipping frame; JS pans the frame's
   --py as it crosses the viewport (children inherit it). */
.media-frame { overflow: hidden; position: relative; }
.js .media-frame > img,
.js .media-frame > video,
.js .media-frame > svg,
.js .process-visual > img {
  transform: translateY(var(--py, 0px)) scale(1.15);
  will-change: transform;
}

/* Ambient video loops over card creatives (progressive enhancement) */
.media-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}
.media-frame > video.is-playing { opacity: 1; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card h3 { margin: 0; }
.card .outcome { color: var(--accent); font-size: 0.95rem; font-weight: 500; margin: 0; }
.card .desc { color: var(--muted); font-size: 0.95rem; margin: 0.35rem 0 0; }
.card .arrow-link { margin-top: 0.85rem; }

/* ---- Service deep-dive (services page) ---- */
.service-detail .service-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.service-detail.flip .service-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.service-detail.flip .service-media { order: 2; }
.service-media .media-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: sticky;
  top: 6rem;
}
.service-copy h2 { margin-top: 0; }
.service-copy .outcome { color: var(--accent); font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin-bottom: 1rem; }
.service-copy p { color: var(--muted); }
.service-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.service-lists h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); font-weight: 600; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: 0.96rem; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.service-detail .arrow-link { margin-top: 1.75rem; }

/* Anchor pills (services page jump nav) */
.pill-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.pill-nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  transition: border-color 160ms ease, color 160ms ease;
}
.pill-nav a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---- Process ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 3rem;
  counter-reset: step;
}
.step { counter-increment: step; position: relative; padding-top: 1.5rem; }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.js .step::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 150ms; }
.js .step.is-visible::before { transform: scaleX(1); }
.step h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.process-visual { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--card-shadow); }

/* ---- Process moons (hand-animated SVG scene) ----
   Waxing phase + spin cue travel from the first moon to the last
   via staggered --wd delays. --wax is each moon's terminator sweep. */
.moons { display: block; width: 100%; height: auto; }
.moon.m1 { --wd: 0s;    --wax: -70px; }
.moon.m2 { --wd: 0.9s;  --wax: -150px; }
.moon.m3 { --wd: 1.8s;  --wax: -210px; }
.moon .shade { filter: blur(14px); }
.js .moon .shade { animation: moon-wax 5.5s ease-in-out var(--wd) infinite alternate; }
@keyframes moon-wax { to { transform: translateX(var(--wax)); } }
.js .moon .halo { opacity: 0.45; animation: halo-pulse 5.5s ease-in-out var(--wd) infinite alternate; }
@keyframes halo-pulse { from { opacity: 0.35; } to { opacity: 0.9; } }
.js .moon .surface { animation: surface-drift 8s ease-in-out var(--wd) infinite alternate; }
@keyframes surface-drift { from { transform: translateX(-45px); } to { transform: translateX(45px); } }
.star { fill: #2dd4bf; opacity: 0.35; }
.js .star { animation: star-twinkle 3.6s ease-in-out var(--sd, 0s) infinite alternate; }
@keyframes star-twinkle { from { opacity: 0.15; } to { opacity: 0.75; } }

/* ---- Results / stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat { position: relative; padding-left: 1.5rem; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.js .stat::before { transform: scaleY(0); transform-origin: top; transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms; }
.js .stat.is-visible::before { transform: scaleY(1); }
.stat .figure {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---- About / mission ---- */
.about .lede { max-width: 40em; }
.about-body { color: var(--muted); max-width: 40em; }

/* Principles (about page) */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: principle;
}
.principle {
  counter-increment: principle;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
}
.principle h3::before {
  content: counter(principle, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.principle p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* Definition callout (about page) */
.definition {
  margin: 2.5rem 0 0;
  border-left: 2px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1.5rem;
}
.definition .term { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.15rem; }
.definition .term em { color: var(--accent); font-style: normal; }
.definition p { color: var(--muted); margin: 0; max-width: 36em; }

/* ---- FAQ ---- */
.faq-list { margin-top: 2.5rem; max-width: 46em; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0.25rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  flex: none;
  transition: transform 200ms ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 2.5rem 1.35rem 0.25rem; margin: 0; max-width: 42em; }
.faq-list details[open] p { animation: faq-open 320ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Final CTA / contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: 1rem;
}
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.field input, .field textarea {
  font: inherit;
  color: var(--bone);
  background: var(--ink-surface);
  border: 1px solid rgba(242, 241, 236, 0.12);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.field textarea { resize: vertical; min-height: 8rem; }
.form-status { font-size: 0.95rem; min-height: 1.5em; margin: 0; }
.form-status[data-state='ok'] { color: var(--teal); }
.form-status[data-state='error'] { color: #f2a08f; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* "What happens next" mini-steps (contact page) */
.next-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.35rem; counter-reset: next; }
.next-steps li { counter-increment: next; position: relative; padding-left: 3rem; color: var(--muted); font-size: 0.98rem; }
.next-steps li strong { display: block; color: var(--text); font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---- CTA band (inner pages) ---- */
.cta-band { text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { max-width: 16em; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; margin-bottom: 2.25rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid rgba(242, 241, 236, 0.09); padding-block: 3rem; background: var(--ink-2); color: var(--bone); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: var(--slate); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--bone); }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--slate); display: inline-flex; }
.social-links a:hover { color: var(--teal); }
.social-links svg { width: 20px; height: 20px; }
.footer-meta { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--slate); font-size: 0.88rem; margin-top: 1.5rem; border-top: 1px solid rgba(242, 241, 236, 0.09); padding-top: 1.5rem; }
.footer-meta a { color: var(--slate); }
.footer-meta a:hover { color: var(--bone); }

/* ---- Privacy page ---- */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

/* ---- Scroll reveal (scoped to .js so content is never hidden without JS) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .card, .btn { transition: none; }
  .ticker-track { animation: none; }
  .aurora::before, .aurora::after { animation: none; }
  .js .hero .container > *, .js .page-hero .container > * { animation: none; opacity: 1; }
  .js .hl { animation: none; background-size: 100% 0.32em; }
  .js .problem .marker, .js .step::before, .js .stat::before { transform: none; transition: none; }
  .faq-list details[open] p { animation: none; }
  .js .hero-bg { transform: none !important; }
  .js .media-frame > img, .js .media-frame > video, .js .media-frame > svg, .js .process-visual > img { transform: none; will-change: auto; }
  .js .moon .shade, .js .moon .halo, .js .moon .surface, .js .star { animation: none; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .service-detail .service-grid,
  .service-detail.flip .service-grid { grid-template-columns: 1fr; }
  .service-detail.flip .service-media { order: 0; }
  .service-media .media-frame { position: static; max-width: 480px; }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(242, 241, 236, 0.12);
    border-radius: 8px;
    color: var(--bone);
    width: 2.6rem;
    height: 2.6rem;
    cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid rgba(242, 241, 236, 0.09);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(242, 241, 236, 0.09); }
  .site-nav a[aria-current='page']:not(.btn) { box-shadow: none; color: var(--teal); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .btn { margin-top: 0.75rem; text-align: center; }
  .hero-bg img { object-position: 30% bottom; }
}
