/* ==========================================================================
   Ladea — styles.css
   --------------------------------------------------------------------------
   1. Fonts            5. Header & nav       9. Principles (dark band)
   2. Tokens           6. Hero              10. Timeline
   3. Base             7. Sections          11. Contact form
   4. Utilities        8. Lists & steps     12. Footer / motion / print
   Colours come from the logo: navy #101C32, gold #C4A070.
   Gold is decorative on light backgrounds (low contrast); use --gold-text
   for any gold-coloured text on paper.
   ========================================================================== */

/* 1. Fonts — self-hosted, SIL Open Font License (see fonts/OFL-*.txt) ----- */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --paper: #F8F6F1;
  --paper-alt: #F0EDE5;
  --white: #FFFFFF;
  --ink: #131B28;          /* body text          16.0:1 on paper */
  --navy: #101C32;         /* brand navy         15.8:1 on paper */
  --navy-deep: #1E2D4A;     /* hover: lighter than navy so it shows on a near-black button */
  --muted: #4A5D66;        /* secondary text      6.4:1 on paper */
  --gold: #C4A070;         /* brand gold — decorative on paper; 7.0:1 on navy */
  --gold-text: #7F6034;    /* gold for text on paper, 5.4:1 */
  --on-dark: #F8F6F1;
  --on-dark-muted: #B9C8CE; /* 9.9:1 on navy */
  --line: rgba(16, 28, 50, 0.14);
  --line-strong: rgba(16, 28, 50, 0.28);
  --line-dark: rgba(248, 246, 241, 0.16);
  --error: #A12A1F;

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 72px;
  --radius: 4px;
  /* Serif sizes shared across components, so similar roles look identical */
  --fs-serif-sub: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);    /* 22→26px: step, principle, legal and success titles */
  --fs-serif-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);  /* 19→22px: serif lead lines and question list */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
/* Make the hidden attribute win over component display rules (e.g. .contact-form { display: grid }). */
[hidden] { display: none !important; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
p { text-wrap: pretty; }
em { font-style: italic; }

a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: rgba(196, 160, 112, 0.35); }

/* 4. Utilities ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.button {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0.8em 1.5em;
  background: var(--navy); color: var(--on-dark);
  border: 1px solid var(--navy); border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.button::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.button:hover { background: var(--navy-deep); }
.button:active { background: #0A1222; }
.button:hover::after { transform: translateX(3px); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.button-small { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.9375rem; }

.text-link {
  color: var(--navy); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease);
}
.text-link:hover { text-decoration-color: var(--navy); }
.text-link:active { color: var(--navy-deep); }

/* Inline links (privacy, email, footer, language switch): one shared style */
.form-privacy a, .contact-email a, .legal-section a, .footer-meta a:not(.text-link) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.2s var(--ease);
}
.form-privacy a:hover, .contact-email a:hover, .legal-section a:hover, .footer-meta a:not(.text-link):hover {
  text-decoration-color: var(--gold);
}
.form-privacy a:active, .contact-email a:active, .legal-section a:active, .footer-meta a:active { color: var(--navy-deep); }

/* 5. Header & nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.brand { display: inline-flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.brand-mark { height: 34px; width: auto; }
.brand-word { height: 19px; width: auto; margin-bottom: 1px; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a:not(.button) {
  font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s var(--ease);
}
.site-nav a:not(.button):hover,
.site-nav a[aria-current] { color: var(--navy); }
.lang-switch { display: flex; gap: 12px; }
.lang-switch a, .footer-meta a, .site-nav ul a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.hero-actions .text-link, .closing-inline .text-link { padding-block: 10px; margin-block: -10px; }
.form-privacy a { padding-block: 8px; } /* inline: enlarges the tap area without moving text */
.lang-switch a[aria-current] { font-weight: 700; }
.site-nav a { white-space: nowrap; } /* nav labels and the header button never break mid-phrase */
.lang-switch-bar { display: none; } /* shown in the header bar only when the nav collapses (≤1080px) */

.nav-toggle { display: none; }

@media (max-width: 1080px) { /* header nav collapses here: the French labels need ~1025px on one row */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: var(--navy);
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  /* Without JS the nav stays visible (stacked) so every link is reachable. */
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16, 28, 50, 0.25);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .js .site-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li a:not(.button) {
    display: block; padding: 14px 0; margin: 0; font-size: 1.0625rem; color: var(--navy);
    border-bottom: 1px solid var(--line);
  }
  /* Language switch: always visible in the header bar; the hamburger controls navigation only */
  .site-nav .lang-switch-nav { display: none; } /* beats .site-nav ul { display: flex } */
  .lang-switch-bar {
    display: flex; gap: 4px; margin-left: auto; margin-right: 6px;
    font-size: 0.9375rem;
  }
  .lang-switch-bar a {
    display: inline-block; min-width: 36px; padding: 11px 6px; margin: 0;
    text-align: center; text-decoration: none; color: var(--muted);
  }
  .lang-switch-bar a:hover { color: var(--navy); }
  .lang-switch-bar a[aria-current] { color: var(--navy); }
  .site-nav .button { justify-content: center; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; }
}

/* 6. Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(64px, 8vw, 110px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}
.eyebrow,
.section-label {
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.hero-title {
  margin-top: 28px;
  max-width: 17ch;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
.hero-lead {
  margin-top: 32px;
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 32px; margin-top: 44px;
}
.hero-mark img {
  height: clamp(300px, 36vw, 460px); width: auto;
}
.belief {
  display: flex; align-items: baseline; gap: 20px;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.35; color: var(--navy);
}
.belief-rule { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold); transform: translateY(-2px); }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

/* 7. Sections ------------------------------------------------------------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-alt); }
.section-head h2 { margin-top: 20px; }
.section-head-wide { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-intro { margin-top: 24px; max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.sticky-head { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
}

.lead { font-size: 1.0625rem; color: var(--ink); }
.closing {
  margin-top: 40px; max-width: 48ch;
  font-family: var(--font-serif); font-size: var(--fs-serif-lead);
  line-height: 1.4; color: var(--navy);
}
.closing-inline { max-width: none; margin-top: 56px; }
.closing-inline .text-link { font-family: var(--font-sans); font-size: 1rem; white-space: nowrap; margin-left: 6px; }

/* 8. Lists & steps -------------------------------------------------------- */
.question-list { margin-top: 28px; border-bottom: 1px solid var(--line); }
.question-list li {
  display: grid; grid-template-columns: 28px 1fr; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: var(--fs-serif-lead);
  line-height: 1.35; color: var(--navy);
}
.question-list li::before { content: "—"; content: "—" / ""; color: var(--gold); font-family: var(--font-sans); }

.step-list { border-bottom: 1px solid var(--line-strong); }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px 24px;
  padding: 32px 0; border-top: 1px solid var(--line-strong);
}
.step-num,
.timeline-num {
  font-family: var(--font-serif); font-size: 2rem; line-height: 1;
  color: var(--gold-text); font-variant-numeric: lining-nums tabular-nums;
}
.step h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-serif-sub); line-height: 1.2; }
.step p { margin-top: 10px; color: var(--muted); max-width: 54ch; }
@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; }
}

.friction-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}
.friction-list li {
  display: grid; grid-template-columns: 24px 1fr; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--line);
  font-size: 1.0625rem; color: var(--ink);
}
.friction-list li::before {
  content: ""; width: 7px; height: 7px; background: var(--gold);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .friction-list { grid-template-columns: 1fr; }
  .closing-inline .text-link { display: inline-block; margin: 12px 0 0; }
}

/* 9. Principles (dark band) ----------------------------------------------- */
.section-dark { background: var(--navy); color: var(--on-dark); border-top: 0; }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .section-label { color: var(--gold); }
.section-dark :focus-visible { outline-color: var(--gold); }

.principle-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.principle {
  grid-column: span 2;
  padding: 28px 0 36px; border-top: 1px solid var(--line-dark);
}
.principle h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: var(--fs-serif-sub); line-height: 1.2;
}
.principle p { margin-top: 12px; color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle { grid-column: auto; }
}
@media (max-width: 620px) {
  .principle-grid { grid-template-columns: 1fr; }
}

.philosophy {
  margin-top: clamp(56px, 8vw, 104px);
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 2px solid var(--gold);
  max-width: 900px;
}
.philosophy blockquote p {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.625rem);
  line-height: 1.2; letter-spacing: -0.01em;
}
.philosophy figcaption { margin-top: 20px; color: var(--on-dark-muted); max-width: 56ch; }

/* 10. About (plain, quotable facts) ------------------------------------ */
.about-lead {
  font-family: var(--font-serif);
  font-size: var(--fs-serif-lead);
  line-height: 1.4; color: var(--navy);
  max-width: 44ch;
}
.fact-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
  margin-top: 40px;
}
.fact { padding: 22px 0 26px; border-top: 1px solid var(--line-strong); }
.fact dt {
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-text);
}
.fact dd { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 620px) {
  .fact-list { grid-template-columns: 1fr; }
}

/* 11. Contact form -------------------------------------------------------- */
.section-contact { background: var(--paper-alt); }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
}
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.field-hint { font-size: 0.875rem; color: var(--muted); margin-top: -4px; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: 400 1rem/1.5 var(--font-sans);   /* 16px prevents iOS zoom on focus */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(196, 160, 112, 0.45);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #FDF7F6; }
.field-error { font-size: 0.875rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }

.form-summary {
  padding: 12px 16px; border-left: 3px solid var(--error);
  background: #FDF7F6; color: var(--error); font-size: 0.9375rem;
}
.form-actions { display: grid; gap: 16px; justify-items: start; margin-top: 6px; }
.form-privacy { font-size: 0.875rem; color: var(--muted); max-width: 52ch; }

.contact-email {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--muted);
}
.contact-email a { font-weight: 600; }

/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: grid; gap: 12px; justify-items: start; padding-block: 24px; }
.form-success[hidden] { display: none; }
.form-success img { height: 44px; width: auto; margin-bottom: 8px; }
.form-success h3 { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-serif-sub); line-height: 1.2; }
.form-success p { color: var(--muted); }
.form-success:focus { outline: none; }

/* Legal pages (privacy) ------------------------------------------------ */
.legal { padding-block: clamp(48px, 8vw, 104px) var(--section-y); }
.legal-inner { max-width: calc(760px + 2 * var(--gutter)); }
.legal-title {
  margin-top: 24px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.05;
}
.legal-updated { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.legal-intro {
  margin-top: 32px;
  font-family: var(--font-serif); font-size: var(--fs-serif-lead);
  line-height: 1.45; color: var(--navy);
}
.legal-section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: var(--fs-serif-sub); line-height: 1.2; }
.legal-section p, .legal-section ul { margin-top: 14px; color: var(--ink); max-width: 64ch; }
.legal-section ul { padding-left: 1.25em; list-style: disc; }
.legal-section li + li { margin-top: 4px; }
.legal-section a { font-weight: 600; }
.legal-back { margin-top: 56px; }

/* 12. Footer -------------------------------------------------------------- */
.site-footer { padding-block: 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-brand { display: flex; align-items: flex-end; gap: 20px; }
.footer-brand img { height: 70px; width: auto; }
.footer-brand p { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; color: var(--navy); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 0.875rem; color: var(--muted); }
.footer-meta .text-link { font-size: 0.875rem; }

/* Motion: content is visible by default. JS marks only elements that start
   below the fold as .is-pending, and reveals them on scroll. Nothing is hidden
   without JS, for crawlers that render the full page, or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-pending {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-pending.is-visible { opacity: 1; transform: none; }

  .js .hero-copy > *, .js .hero-mark {
    animation: rise 0.9s var(--ease) both;
  }
  .js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .js .hero-mark { animation: fade 1.4s var(--ease) 200ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Narrow phones: tighter vertical rhythm so the page doesn't feel endless,
   full-width primary CTAs for an obvious tap target. */
@media (max-width: 480px) {
  :root { --section-y: 60px; }
  .hero { padding-block: 40px 56px; }
  .hero-lead { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .button,
  .form-actions .button { width: 100%; justify-content: center; }
  .hero-actions .text-link { margin-inline: auto; }
  .belief { margin-top: 48px; padding-top: 22px; gap: 14px; }
  .section-head-wide { margin-bottom: 36px; }
  .step { padding: 24px 0; }
  .closing { margin-top: 28px; }
  .closing-inline { margin-top: 36px; }
  .philosophy { margin-top: 48px; }
  .fact-list { margin-top: 28px; }
  .site-footer { padding-block: 40px; }
}

@media print {
  .site-header, .hero-actions, .form-wrap, .skip-link { display: none !important; }
  .section-dark { background: none; color: var(--ink); }
  .section-dark h2, .section-dark h3 { color: var(--ink); }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
