/* ============================================================
   Resona — tokens (DESIGN.md)
   ============================================================ */

/* Metric-matched fallback: text holds its layout while Archivo loads */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 84%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #171717;
  --ink-muted: #5C5C5B;
  --primary: #1B3A6B;
  --primary-deep: #0F2547;
  --accent: #9DBBEA;
  --on-dark: #FAFAF8;
  --on-dark-muted: #C7D2E6;
  --hairline: #E4E4E1;

  --r-sm: 6px;
  --r-lg: 20px;

  --gutter: clamp(1.5rem, 6vw, 4.5rem);
  --measure: 65ch;
  --measure-copy: 58ch;
  --measure-tight: 42ch;

  /* type ramp — brand page, fluid headings, fixed readable body */
  --text-xs: 0.75rem;      /* tags, kickers, price notes */
  --text-label: 0.8125rem; /* standalone tracked labels */
  --text-sm: 0.875rem;     /* meta, small UI */
  --text-list: 0.9375rem;  /* feature lists, quiet actions */
  --text-support: 1rem;    /* supporting prose inside cards */
  --text-body: 1.0625rem;
  --text-lead: clamp(1.125rem, 1.02rem + 0.55vw, 1.25rem);
  --text-card: 1.25rem;    /* card headings */
  --text-h3: 1.375rem;     /* row terms, plan names */
  --text-h2: clamp(2.25rem, 3.8vw + 0.6rem, 3.375rem);
  --text-display: clamp(2.625rem, 5.6vw + 0.6rem, 5.5rem);
  --weight-display: 760;
  --weight-heading: 720;
  --track-caps: 0.14em;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.85s;
  --dur-fast: 0.18s;
  --dur-medium: 0.45s;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Archivo Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--text-body);
  line-height: 1.62;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, a { overflow-wrap: break-word; }
main { min-width: 0; }

::selection { background: var(--primary); color: var(--on-dark); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
/* primary outline vanishes on navy/ink surfaces — swap to accent there */
.exclusive :focus-visible,
.tone-primary :focus-visible,
.tone-deep :focus-visible,
.tone-ink :focus-visible {
  outline-color: var(--accent);
}

/* ============================================================
   Shared voice
   ============================================================ */
.word-mark { font-style: normal; color: var(--primary); }
.word-accent { font-style: normal; color: var(--accent); }

.section-title {
  max-width: 11em;
  font-size: var(--text-h2);
  font-weight: var(--weight-display);
  font-stretch: 106%;
  line-height: 1.06;
  letter-spacing: -0.024em;
}

.section-lead {
  max-width: var(--measure-copy);
  margin-top: 1.5rem;
  font-size: var(--text-lead);
  line-height: 1.58;
  color: var(--ink-muted);
}

.brand-label {
  font-size: var(--text-label);
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: var(--gutter);
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 1rem));
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); outline-color: var(--accent); }

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform var(--dur-medium) var(--ease-out), background-color var(--dur-medium) var(--ease-out), color var(--dur-medium) var(--ease-out), box-shadow var(--dur-medium) var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute;
  left: 1.1em;
  right: 1.1em;
  bottom: 0.58em;
  height: 2px;
  border-radius: var(--r-sm);
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: opacity var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); will-change: transform; }
.btn:hover::after, .btn:focus-visible::after { opacity: 0.3; transform: scaleX(1); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: var(--dur-fast); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 rgb(27 58 107 / 0); }
.btn-primary::after { background: var(--accent); }
.btn-primary:hover { background: var(--primary); box-shadow: 0 8px 14px rgb(27 58 107 / 0.14); }

.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.link-quiet {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-medium) var(--ease-out), text-decoration-color var(--dur-medium) var(--ease-out);
}
.link-quiet:hover { color: var(--primary); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem var(--gutter);
  z-index: 2;
}
html.entrance .site-header { animation: header-settle 0.7s var(--ease-out) both; }

.wordmark {
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 900;
  font-stretch: 122%;
  letter-spacing: 0.01em;
  font-size: 1.375rem;
  line-height: 1;
}
.wordmark-sm { font-size: 1.05rem; }
.wm-res { color: var(--ink); }
.wm-ona { color: var(--primary); }

.header-right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
}
.lang-toggle button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.75rem 0.5rem;
  margin: -0.5rem -0.15rem;
  font: inherit;
  color: var(--ink-muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}
.lang-toggle button:hover { color: var(--primary); transform: translateY(-1px); }
.lang-toggle button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary);
}
.lang-sep { color: var(--hairline); }

.header-cta {
  font-weight: 600;
  font-size: var(--text-list);
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  transition: color var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}
.header-cta:hover { color: var(--primary); transform: translateY(-1px); }

/* ============================================================
   1 · Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: 82rem;
  margin-inline: auto;
}

.hero-title {
  margin-top: 1.25rem;
  max-width: 15em;
  font-size: var(--text-display);
  font-weight: var(--weight-display);
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.028em;
  overflow-wrap: anywhere;
}
.hero-line { display: block; }

.hero-sub {
  margin-top: 2rem;
  max-width: var(--measure-tight);
  font-size: var(--text-lead);
  line-height: 1.58;
  color: var(--ink-muted);
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-ghost {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, 6vh, 4rem);
  display: block;
  width: clamp(150px, 22vw, 300px);
  height: auto;
  opacity: 0.16;
  mix-blend-mode: multiply;
  transform: rotate(6deg);
  transform-origin: 50% 54%;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
html.entrance .hero-ghost { animation: ghost-settle 1.1s var(--ease-out) 0.18s both; }
.hero:has(.hero-actions:hover) .hero-ghost,
.hero:has(.hero-actions:focus-within) .hero-ghost {
  opacity: 0.22;
  transform: translate3d(0, -8px, 0) rotate(3deg);
}

/* Hero entrance — runs only under html.entrance, which script.js removes
   after the first run so language toggles never replay it.
   Final state is the default (no-JS, reduced-motion, post-entrance). */
html.entrance .hero .brand-label,
html.entrance .hero-line,
html.entrance .hero-sub,
html.entrance .hero-actions {
  animation: rise var(--dur) var(--ease-out) both;
}
html.entrance .hero-line:nth-child(2) { animation-delay: 0.12s; }
html.entrance .hero-sub { animation-delay: 0.28s; }
html.entrance .hero-actions { animation-delay: 0.4s; }

.hero .word-mark {
  position: relative;
  display: inline-block;
}
.hero .word-mark::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.08em;
  height: 0.07em;
  border-radius: var(--r-sm);
  background: currentColor;
  opacity: 0.22;
  transform: scaleX(0.18);
  transform-origin: left center;
}
html.entrance .hero .word-mark {
  animation: ink-to-primary 0.55s var(--ease-out) 0.82s both;
}
html.entrance .hero .word-mark::after {
  animation: voice-underline 0.62s var(--ease-out) 1s both;
}

@keyframes header-settle {
  from { opacity: 0; transform: translate3d(0, -12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ghost-settle {
  from { opacity: 0; transform: translate3d(16px, 14px, 0) rotate(3deg) scale(0.96); }
  to { opacity: 0.16; transform: translate3d(0, 0, 0) rotate(6deg) scale(1); }
}
@keyframes ink-to-primary {
  0%, 45% { color: var(--ink); }
  100% { color: var(--primary); }
}
@keyframes voice-underline {
  0% { opacity: 0; transform: scaleX(0); }
  70% { opacity: 0.28; }
  100% { opacity: 0.22; transform: scaleX(0.18); }
}

/* ============================================================
   2 · Value props
   ============================================================ */
.props {
  padding: clamp(4.5rem, 9vh, 7rem) var(--gutter);
  max-width: 82rem;
  margin-inline: auto;
}

.prop-row {
  display: grid;
  grid-template-columns: 6rem minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: baseline;
  padding-block: 2.5rem;
  border-top: 1px solid var(--hairline);
}
.prop-row > * { min-width: 0; }
.prop-row:last-child { border-bottom: 1px solid var(--hairline); }

/* oversized deck numerals — expanded width echoes the wordmark lockup */
.prop-num {
  font-size: clamp(2.25rem, 3.2vw, 3.5rem);
  font-weight: var(--weight-display);
  font-stretch: 122%;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}
/* crescendo: lighter → full navy (lightest step ≈3.7:1, comfortable margin over the 3:1 large-text bar) */
.prop-row:nth-child(1) .prop-num { opacity: 0.62; }
.prop-row:nth-child(2) .prop-num { opacity: 0.8; }

.prop-term {
  font-size: var(--text-h3);
  font-weight: var(--weight-heading);
  letter-spacing: -0.012em;
  line-height: 1.22;
}

.prop-desc {
  max-width: var(--measure-copy);
  color: var(--ink-muted);
  line-height: 1.66;
}

@media (max-width: 760px) {
  .prop-row {
    grid-template-columns: 4rem 1fr;
    grid-template-areas: "num term" "num desc";
    row-gap: 0.75rem;
  }
  .prop-num { grid-area: num; }
  .prop-term { grid-area: term; }
  .prop-desc { grid-area: desc; }
}

/* ============================================================
   3 · Primero, escuchamos
   ============================================================ */
.listen {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 11vh, 8.5rem) var(--gutter);
  max-width: 82rem;
  margin-inline: auto;
}

.listen-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.75rem;
}
.listen-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: var(--hairline);
}

.listen-step {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
}
.listen-step::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 1.9rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
}

.listen-step h3 {
  font-size: var(--text-card);
  font-weight: var(--weight-heading);
  letter-spacing: -0.012em;
  line-height: 1.24;
}
.listen-step p { margin-top: 0.55rem; font-size: var(--text-support); line-height: 1.62; }

.tone-primary { background: var(--primary); color: var(--on-dark); }
.tone-primary p { color: var(--on-dark-muted); }
.tone-deep { background: var(--primary-deep); color: var(--on-dark); }
.tone-deep p { color: var(--on-dark-muted); }
.tone-surface {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 2px 16px rgb(23 23 23 / 0.05);
}
.tone-surface p { color: var(--ink-muted); }
.tone-ink { background: var(--ink); color: var(--on-dark); }
.tone-ink p { color: var(--on-dark-muted); }

/* light-on-dark reads lighter — compensate leading and tracking */
.listen-step.tone-primary p, .listen-step.tone-deep p,
.method-card.tone-primary p, .method-card.tone-ink p,
.exclusive .section-lead {
  line-height: 1.65;
  letter-spacing: 0.011em;
}

.listen-step.tone-surface::before { background: var(--bg); border: 2px solid var(--primary); left: calc(-1.75rem - 6px); }
.listen-step.tone-deep::before { background: var(--primary-deep); }

@media (max-width: 900px) {
  .listen { grid-template-columns: 1fr; align-items: start; }
}

/* ============================================================
   4 · El método
   ============================================================ */
.method {
  padding: clamp(4.5rem, 9vh, 7.5rem) var(--gutter);
  max-width: 82rem;
  margin-inline: auto;
}

.method-cards {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.method-card {
  min-height: 18rem;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2vw, 1.9rem);
  display: grid;
  grid-template-rows: auto minmax(3.4rem, auto) 1fr;
  align-content: start;
  box-shadow: inset 0 4px 0 var(--accent);
}
.method-card.tone-surface { box-shadow: inset 0 4px 0 var(--primary), 0 2px 16px rgb(23 23 23 / 0.05); }

.card-num {
  display: block;
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  font-weight: var(--weight-display);
  font-stretch: 122%;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
}
.tone-primary .card-num, .tone-ink .card-num { color: var(--accent); }
.tone-surface .card-num { color: var(--primary); opacity: 0.6; }

.method-card h3 {
  margin-top: 1.5rem;
  font-size: var(--text-card);
  font-weight: var(--weight-heading);
  letter-spacing: -0.012em;
  line-height: 1.24;
}
.method-card p {
  align-self: start;
  margin-top: 0.75rem;
  font-size: var(--text-support);
  line-height: 1.62;
}

@media (max-width: 640px) {
  .method-card {
    min-height: 0;
    grid-template-rows: auto auto auto;
  }
}

/* ============================================================
   5 · Exclusividad (drench)
   ============================================================ */
/* the deck's model slide: one statement, one full deep-navy viewport */
.exclusive {
  position: relative;
  background: var(--primary-deep);
  color: var(--on-dark);
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.75rem, 10vh, 8rem) var(--gutter);
  overflow: hidden;
}

.exclusive-inner {
  width: 100%;
  min-width: 0;
  max-width: 82rem;
  margin-inline: auto;
  position: relative;
}

.exclusive .section-title {
  max-width: 9.5em;
  font-size: var(--text-display);
  font-stretch: 108%;
  letter-spacing: -0.028em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.exclusive .section-lead { color: var(--on-dark-muted); margin-top: 2rem; }
.casting {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 650;
  line-height: 1.45;
}
.casting-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.casting-label::before {
  content: "●";
  font-size: 0.6em;
  margin-right: 0.9em;
  vertical-align: 0.2em;
}

.voices-net {
  position: absolute;
  right: -3rem;
  top: 50%;
  translate: 0 -50%;
  width: clamp(280px, 40vw, 640px);
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
}
html.js .voices-net.reveal {
  transform: translate3d(24px, 0, 0) scale(0.98);
}
html.js .voices-net.reveal.in {
  opacity: 0.22;
  transform: translate3d(0, 0, 0) scale(1);
}
html.js .voices-net.reveal.in circle,
html.js .voices-net.reveal.in path {
  transform-box: fill-box;
  transform-origin: center;
  animation: net-mark 0.72s var(--ease-out) both;
}
html.js .voices-net.reveal.in :nth-child(2) { animation-delay: 70ms; }
html.js .voices-net.reveal.in :nth-child(3) { animation-delay: 120ms; }
html.js .voices-net.reveal.in :nth-child(4) { animation-delay: 180ms; }
html.js .voices-net.reveal.in :nth-child(5) { animation-delay: 230ms; }
html.js .voices-net.reveal.in :nth-child(n + 6) { animation-delay: 280ms; }
@keyframes net-mark {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .header-right { gap: 0.9rem; }
  .voices-net { display: none; }
}

/* ============================================================
   6 · Cierre
   ============================================================ */
.close {
  padding: clamp(5rem, 12vh, 8.5rem) var(--gutter) clamp(3.5rem, 7vh, 5.5rem);
  max-width: 82rem;
  margin-inline: auto;
}

.close-quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: var(--weight-heading);
  line-height: 1.42;
  letter-spacing: -0.012em;
}
.close-quote .q2 { color: var(--primary); }

.close-title {
  margin-top: 2.5rem;
  font-size: clamp(3rem, 9.5vw, 6rem);
  font-weight: var(--weight-display);
  font-stretch: 108%;
  letter-spacing: -0.032em;
  line-height: 0.98;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.close-title > * { min-width: 0; }

.close-ghost {
  display: block;
  width: clamp(72px, 9vw, 110px);
  height: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
html.js .close .close-ghost { opacity: 0; transform: translate3d(8px, 10px, 0) rotate(4deg); }
html.js .close.in .close-ghost { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
.close-title:hover .close-ghost,
.close:has(.btn-primary:hover) .close-ghost,
.close:has(.btn-primary:focus-visible) .close-ghost,
html.js .close.in .close-title:hover .close-ghost { transform: rotate(-6deg) translateY(-6px) scale(1.03); }

.close-actions {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.close-mail { margin-top: 2rem; font-size: var(--text-list); }

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-block: 6.5rem 4rem;
  }
  .props,
  .listen,
  .method {
    padding-block: 3.75rem;
  }
  .exclusive {
    min-height: auto;
    padding-block: 5rem;
  }
  .close {
    padding-block: 4.25rem 3.25rem;
  }
  .section-lead,
  .hero-sub {
    margin-top: 1.25rem;
  }
  .hero-actions,
  .method-cards,
  .close-actions {
    margin-top: 2rem;
  }
  .prop-row {
    padding-block: 1.75rem;
  }
  .listen-steps {
    gap: 1rem;
  }
  .casting {
    margin-top: 2.5rem;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem var(--gutter) 3rem;
  max-width: 82rem;
  margin-inline: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.site-footer .brand-label { font-size: var(--text-xs); }
.footer-links {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  display: flex;
  gap: 0.75rem;
}

/* ============================================================
   Scroll reveals — default is fully visible; JS opts in
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .prop-row.reveal { transform: translate3d(-16px, 0, 0); }
html.js .listen-step.reveal { transform: translate3d(18px, 0, 0); }
html.js .method-card.reveal { transform: translate3d(0, 22px, 0) scale(0.985); }
html.js .reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* stagger only real sibling sequences, capped at 240ms */
.prop-row:nth-child(2), .listen-step:nth-child(2), .method-card:nth-child(2) { --reveal-delay: 80ms; }
.prop-row:nth-child(3), .listen-step:nth-child(3), .method-card:nth-child(3) { --reveal-delay: 160ms; }
.method-card:nth-child(4) { --reveal-delay: 240ms; }
/* ============================================================
   Print: everything visible, no transforms
   ============================================================ */
@media print {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Forced colors: preserve structure and focus in high contrast
   ============================================================ */
@media (forced-colors: active) {
  .btn-primary,
  .tone-primary,
  .tone-deep,
  .tone-ink,
  .exclusive,
  .skip-link {
    border: 1px solid CanvasText;
  }
  .word-mark,
  .word-accent,
  .close-quote .q2,
  .casting-label {
    color: LinkText;
  }
  .hero-ghost,
  .close-ghost,
  .voices-net {
    forced-color-adjust: none;
    opacity: 0.35;
  }
}

/* ============================================================
   Reduced motion: everything static, final state
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.entrance .site-header,
  html.entrance .hero .brand-label,
  html.entrance .hero-line,
  html.entrance .hero-sub,
  html.entrance .hero-actions,
  html.entrance .hero .word-mark,
  html.entrance .hero .word-mark::after,
  html.entrance .hero-ghost {
    animation: none;
  }
  html.js .reveal { opacity: 1; transform: none; transition-delay: 0ms; }
  html.js .voices-net.reveal { opacity: 0.22; transform: none; }
  html.js .close .close-ghost { opacity: 1; transform: none; }
}
