/* Tassel web V1a (gettassel.app).
   Tokens, type roles, W1 and motion follow design/tassel/DESIGN-LANGUAGE.md ("DL"; version sha256 f5e437a5ed244a57).
   Web adaptations are marked. The signature crimson is deliberately absent: it is not approved for the web. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, see /fonts/OFL.txt) ---------- */
@font-face {
  font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/InstrumentSerif-Regular.v1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/InstrumentSerif-Italic.v1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Web adaptation: a metric-matched fallback, so the swap to Instrument Serif doesn't shift layout.
   Values computed from InstrumentSerif-Regular.ttf against Times New Roman. */
@font-face {
  font-family: 'Instrument Serif Fallback';
  src: local('Times New Roman'), local('TimesNewRomanPSMT');
  size-adjust: 82.09%; ascent-override: 120.61%; descent-override: 37.77%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Serif Fallback'; font-style: italic;
  src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT');
  size-adjust: 91.43%; ascent-override: 108.28%; descent-override: 33.91%; line-gap-override: 0%;
}

/* ---------- Tokens (DL §3.4; paper = Light, night = Dark, .ink fixed) ---------- */
:root {
  color-scheme: light dark;
  --tassel-bg: #F5F0E6;
  --tassel-surface: #EDE6D8;
  --tassel-raised: #FBF8F2;
  --tassel-line: #D9CFBC;
  --tassel-text: #1D1B18;
  --tassel-text-2: #4F4A43;
  --tassel-text-3: #6B645A;
  --tassel-thread: #C9381F;        /* lines and marks only; never text */
  --tassel-accent: #A92E1A;        /* red text */
  --tassel-primary: #1D1B18;
  --tassel-on-primary: #F5F0E6;
  --tassel-field: #FBF8F2;
  --tassel-danger: #A8261B;
  --tassel-grain: radial-gradient(rgba(29,27,24,.035) 1px, transparent 1px);
  --tassel-draft-bg: #F7E3C8;
  --tassel-draft-fg: #6A4410;

  --tassel-serif: 'Instrument Serif', 'Instrument Serif Fallback', 'Iowan Old Style', 'Times New Roman', serif;
  --tassel-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;

  --tassel-gutter: clamp(20px, 9.6px + 2.67vw, 48px);
  --tassel-edge: max(var(--tassel-gutter), calc((100% - 1440px) / 2 + var(--tassel-gutter)));

  --ease-stroke: cubic-bezier(.65,0,.35,1);
  --ease-copy: cubic-bezier(.2,.8,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --tassel-bg: #12110F;
    --tassel-surface: #1C1A17;
    --tassel-raised: #25221E;
    --tassel-line: #33302B;
    --tassel-text: #EFE8DC;
    --tassel-text-2: #BAB0A2;
    --tassel-text-3: #93897C;
    --tassel-thread: #E0263F;
    --tassel-accent: #FF7A6B;
    --tassel-primary: #EFE8DC;
    --tassel-on-primary: #12110F;
    --tassel-field: #1C1A17;
    --tassel-danger: #FF8A80;
    --tassel-grain: none;
  }
}
/* Ink: the cinematic stage. Fixed in both schemes. */
.ink {
  color-scheme: dark;
  --tassel-bg: #0B0A0A;
  --tassel-surface: #161413;
  --tassel-raised: #201D1B;
  --tassel-line: #2E2A27;
  --tassel-text: #F3EEE9;
  --tassel-text-2: #BDB4AD;
  --tassel-text-3: #958C85;
  --tassel-thread: #E0263F;
  --tassel-accent: #FF6F7D;
  --tassel-primary: #F3EEE9;
  --tassel-on-primary: #0B0A0A;
  --tassel-field: #161413;
  --tassel-danger: #FF8A80;
  --tassel-grain: none;
}
/* Reading band inside an ink page: paper in Light, night in Dark (web adaptation). */
.band-read {
  color-scheme: light;
  --tassel-bg: #F5F0E6;
  --tassel-surface: #EDE6D8;
  --tassel-raised: #FBF8F2;
  --tassel-line: #D9CFBC;
  --tassel-text: #1D1B18;
  --tassel-text-2: #4F4A43;
  --tassel-text-3: #6B645A;
  --tassel-thread: #C9381F;
  --tassel-accent: #A92E1A;
  --tassel-grain: radial-gradient(rgba(29,27,24,.035) 1px, transparent 1px);
  background-color: var(--tassel-bg);
  background-image: var(--tassel-grain);
  background-size: 3px 3px;
  color: var(--tassel-text);
}
@media (prefers-color-scheme: dark) {
  .band-read {
    color-scheme: dark;
    --tassel-bg: #12110F;
    --tassel-surface: #1C1A17;
    --tassel-raised: #25221E;
    --tassel-line: #33302B;
    --tassel-text: #EFE8DC;
    --tassel-text-2: #BAB0A2;
    --tassel-text-3: #93897C;
    --tassel-thread: #E0263F;
    --tassel-accent: #FF7A6B;
    --tassel-grain: none;
    /* Ink against night is 1.05:1, so mark the band edges with a hairline in Dark. */
    box-shadow: inset 0 1px 0 var(--tassel-line), inset 0 -1px 0 var(--tassel-line);
  }
}
@media (prefers-contrast: more) {
  :root, .ink, .band-read { --tassel-text-2: var(--tassel-text); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body {
  margin: 0;
  background-color: var(--tassel-bg);
  background-image: var(--tassel-grain);
  background-size: 3px 3px;
  color: var(--tassel-text);
}
body {
  font-family: var(--tassel-sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
}
main { flex: 1; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tassel-text); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: var(--tassel-gutter); top: 8px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--tassel-primary); color: var(--tassel-on-primary);
  font-weight: 600; text-decoration: none;
  transform: translateY(-150%);
}
.skip:focus-visible { transform: none; box-shadow: 0 0 0 12px var(--tassel-bg); }

/* ---------- Type roles (DL §4.2) ---------- */
h1, h2, h3, .t-hero, .t-display, .t-title, .t-head, .t-quote {
  font-family: var(--tassel-serif); font-weight: 400; font-style: normal; font-synthesis: none; text-wrap: balance;
}
.t-hero    { font-size: clamp(58px, 40.91px + 4.38vw, 104px); line-height: .92; letter-spacing: -0.019em; }
.t-display { font-size: clamp(34px, 29.54px + 1.14vw, 46px); line-height: .98; letter-spacing: -0.5px; }
.t-title   { font-size: 42px; line-height: 1; letter-spacing: -0.6px; }
.t-head    { font-size: clamp(28px, 25.77px + 0.57vw, 34px); line-height: 1.04; letter-spacing: -0.4px; }
.t-quote   { font-size: 24px; line-height: 1.14; letter-spacing: -0.2px; }
.t-lead    { font-size: clamp(17px, 16.26px + 0.19vw, 19px); line-height: 1.5; color: var(--tassel-text-2); max-width: 520px; text-wrap: pretty; }
.t-body    { font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.t-eyebrow { font: 700 13px/1.2 var(--tassel-sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--tassel-accent); }
.t-eyebrow--cased { text-transform: none; letter-spacing: .4px; }   /* product names as written (Apple: never all caps) */
.t-label   { font: 600 12px/1.3 var(--tassel-sans); letter-spacing: 1.3px; text-transform: uppercase; color: var(--tassel-text-3); }
.t-note    { font-size: 14px; color: var(--tassel-text-3); }
.t-italic  { font-style: italic; }

/* ---------- Wordmark W1 (DL §5.1) ---------- */
.tassel-wm {
  --wm-letter: var(--tassel-text);
  --wm-thread: var(--tassel-thread);
  position: relative; display: inline-flex; align-items: baseline;
  padding-left: .42em;
  font-family: 'Instrument Serif', 'Instrument Serif Fallback', 'Iowan Old Style', 'Times New Roman', serif;
  font-weight: 400; font-style: normal; font-size: 30px; line-height: 1;
  letter-spacing: .015em; color: var(--wm-letter); white-space: nowrap; text-decoration: none;
}
.tassel-wm__thread { position: absolute; left: 0; top: .29em; width: .62em; height: .3em; overflow: visible; pointer-events: none; }
.tassel-wm__thread path { fill: none; stroke: var(--wm-thread); stroke-linecap: round; }
@supports (vector-effect: non-scaling-stroke) and (stroke-width: max(1px, 1em)) {
  .tassel-wm__thread path { vector-effect: non-scaling-stroke; stroke-width: max(1.4px, calc(1em / 38)); }
}
/* The bare word: W1 without its thread (DL §5.1). Used in the home header, where the hero draws the page's
   one thread (DL §5.4), and as the footer sign-off on reading pages, where the header carries the thread (DL §6.10). */
.tassel-wm--bare { padding-left: 0; }

/* ---------- Header ---------- */
.site-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px var(--tassel-edge);
}
.site-logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-logo .tassel-wm { font-size: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--tassel-text-2); }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-nav a[aria-current="page"] { color: var(--tassel-text); }
.nav-note { color: var(--tassel-text-3); font-size: 13px; }

/* ---------- Hero (home; ink) ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: clamp(680px, calc(100vh - 88px), 960px);
  min-height: clamp(680px, calc(100svh - 88px), 960px);
  padding: 24px var(--tassel-edge) 120px;
  overflow: hidden;
}
/* The page's one thread: the app's Welcome thread (DL §8), entering left and leaving right,
   set as a horizon just above the headline. Full-bleed at every width. */
.hero-thread {
  grid-row: 1; align-self: end;
  width: 100vw; margin-inline: calc(50% - 50vw);
  height: clamp(64px, 8vw, 160px);
  margin-bottom: clamp(40px, 7vh, 72px);
  overflow: visible; pointer-events: none;
}
.hero-thread path { fill: none; stroke: var(--tassel-thread); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-copy { grid-row: 2; max-width: 800px; }
.hero > .hero-thread { grid-column: 1 / -1; }
.hero h1 { margin: 18px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }

/* ---------- Signup (V1b, G9 only). Hidden until the email-list script opens it. ---------- */
.signup { grid-row: 3; max-width: 520px; margin-top: 56px; }
.signup[hidden], .signup-done[hidden], .signup-form[hidden], [data-waitlist-cta][hidden] { display: none; }
@media (min-width: 1100px) {
  .hero:has(.signup:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); column-gap: clamp(56px, 6vw, 112px); }
  .signup { grid-column: 2; grid-row: 2; align-self: end; margin-top: 0; }
}
.signup-title { margin: 0; }
.signup-title:focus { outline: none; }
.signup-lead { margin-top: 10px; color: var(--tassel-text-2); text-wrap: pretty; }
.signup-form { margin-top: 24px; display: grid; gap: 14px; }
.field-label { font: 600 13px/1.3 var(--tassel-sans); color: var(--tassel-text-2); margin-bottom: -6px; }
.field {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 12px;
  background: var(--tassel-field); color: var(--tassel-text);
  font: 400 17px/1.3 var(--tassel-sans);
  box-shadow: inset 0 0 0 1px var(--tassel-text-3);         /* ≥ 3:1 boundary (DL §6.4 note; WCAG 1.4.11) */
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--tassel-text-3); opacity: 1; }
.field[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--tassel-danger); }
.field:focus-visible { outline: 2px solid var(--tassel-text); outline-offset: 2px; }
.field-error { margin: -4px 0 0; font-size: 15px; color: var(--tassel-danger); }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; min-height: 44px; padding-top: 2px; }
.consent input {
  -webkit-appearance: none; appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--tassel-text-3); background: transparent; display: grid; place-content: center; cursor: pointer;
}
.consent input::after { content: ''; width: 6px; height: 11px; border: solid var(--tassel-on-primary); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); opacity: 0; }
.consent input:checked { background: var(--tassel-primary); box-shadow: none; }
.consent input:checked::after { opacity: 1; }
.consent input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--tassel-danger); }
.consent label { font-size: 15px; line-height: 1.45; color: var(--tassel-text-2); cursor: pointer; }
.signup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.turnstile-slot + .signup-actions { margin-top: -10px; }   /* the invisible bot check (D8) mustn't add a grid gap */
.signup-fine { font-size: 13px; line-height: 1.5; color: var(--tassel-text-3); }
.signup-fine a { color: var(--tassel-text-2); text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 15px; color: var(--tassel-danger); min-height: 0; }
.form-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* stays in the accessibility tree so Safari/VoiceOver announce its first message */
.signup-done { margin-top: 24px; }
.signup-done h3 { margin: 0; }
.signup-done h3:focus { outline: none; }
.signup-done p { margin-top: 10px; color: var(--tassel-text-2); }
.signup-done .done-email { color: var(--tassel-text); font-weight: 600; overflow-wrap: anywhere; }
.mutual-cta { margin-top: 48px; }

/* Buttons (DL §6.4): capsules, 52px, neutral primary fill; red never. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border: 0; border-radius: 999px; font: 600 17px/1.15 var(--tassel-sans); letter-spacing: -0.2px;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn-primary   { background: var(--tassel-primary); color: var(--tassel-on-primary); }
.btn-secondary { background: transparent; color: var(--tassel-text); box-shadow: inset 0 0 0 1.5px var(--tassel-text-3); }
.btn-tertiary  { background: transparent; color: var(--tassel-text); min-height: 44px; padding-inline: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .btn:hover { opacity: .88; } }   /* touch screens keep :hover after a tap */
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.token-form { margin: 8px 0 24px; }   /* the line under the button needs its own gap */

/* ---------- Bands ---------- */
.band { padding: 120px var(--tassel-edge); }

/* How it works (reading band): three centred statements, no numerals (DL §6.10). Same grammar as the
   mutual moment: a label, then display lines. */
.how { text-align: center; }
.steps {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px;
}
.step { display: grid; row-gap: 14px; justify-items: center; align-content: start; }
.step p { color: var(--tassel-text-2); max-width: 30ch; text-wrap: pretty; }

/* The mutual moment (ink): type only, no thread, no knot. One choice, then the other, then the resolution. */
.mutual {
  display: grid; justify-items: center; text-align: center;
  padding-block: clamp(110px, 16vh, 168px) clamp(120px, 18vh, 192px);
}
.mutual-states {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px;
  width: min(100%, 720px); margin-top: 44px;
}
.mutual-states .t-display { color: var(--tassel-text-2); }
.state-a { justify-self: start; text-align: left; }
.state-b { justify-self: end; text-align: right; margin-top: 28px; }
.mutual-result { margin-top: 64px; }
.mutual-lead { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-foot {
  display: grid; gap: 40px;
  padding: 96px var(--tassel-edge) 26px;
  border-top: 1px solid var(--tassel-line);
}
.ink .site-foot { border-top-color: transparent; }
.foot-mark .tassel-wm { font-size: 44px; }
main.read + .site-foot { padding-top: 26px; gap: 0; }   /* reading pages: no sign-off; the header carries W1 */
.foot-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
  font-size: 13px; color: var(--tassel-text-3);
}
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a[aria-current="page"] { color: var(--tassel-text-2); }
.foot-row p { margin: 0; }

/* ---------- Reading pages (privacy, support, 404) ---------- */
main.read {
  width: 100%; max-width: calc(640px + 2 * var(--tassel-gutter)); margin: 0 auto;
  padding: 40px var(--tassel-gutter) 120px;
}
main.read > h1 { margin: 0 0 20px; }
main.read > h2 { margin: 36px 0 8px; }   /* section heads on privacy: clear of the paragraph above, close to their own */
main.read > p, main.read > ul { margin: 0 0 16px; }
main.read a { text-decoration: underline; text-underline-offset: 3px; }
.solo a { display: inline-flex; align-items: center; min-height: 44px; }
.notice {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px;
  background: var(--tassel-raised); box-shadow: inset 0 0 0 1px var(--tassel-line);
  margin: 18px 0 28px;
}
.notice p { margin: 0; font-size: 15px; color: var(--tassel-text-2); text-wrap: pretty; }
.mock-mail { display: block; }   /* local dev mock mailbox only */
.mock-mail pre { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.5 var(--tassel-sans); color: var(--tassel-text); }
.draft-flag {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--tassel-draft-bg); color: var(--tassel-draft-fg);
  font: 700 12px/1.4 var(--tassel-sans); letter-spacing: .4px;
}

/* ---------- Narrow screens (one breakpoint, ≤ 860px) ---------- */
@media (max-width: 860px) {
  .site-head { padding-block: 16px; }
  .site-logo .tassel-wm { font-size: 26px; padding-left: 0; }   /* the bare word below 30px (DL §5.1) */
  .site-logo .tassel-wm__thread { display: none; }
  .site-nav .nav-how { display: none; }                          /* the footer carries "How it works" */

  .hero {
    min-height: max(480px, min(calc(100vh - 76px), 760px));
    min-height: max(480px, min(calc(100svh - 76px), 760px));
    padding: 16px var(--tassel-edge) 48px;
  }
  .hero-thread { margin-bottom: clamp(28px, 5vh, 48px); }
  .signup { margin-top: 44px; max-width: none; }
  .signup-actions .btn, .token-form .btn { width: 100%; }

  .band { padding-block: 80px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 32px; }

  .mutual { padding-block: 96px 112px; }
  .mutual-states { grid-template-columns: minmax(0, 1fr); row-gap: 10px; margin-top: 32px; }
  .state-a, .state-b { justify-self: center; text-align: center; margin-top: 0; }
  .mutual-result { margin-top: 44px; }

  .foot-mark .tassel-wm { font-size: 36px; }
  main.read + .site-foot { padding-top: 20px; }
  main.read > h2 { margin-top: 28px; }
  .site-foot { padding-top: 64px; gap: 28px; }
  .foot-row { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot-links { gap: 0 22px; }
}
/* Landscape phones: let the hero follow its content so the headline isn't cut by the fold. */
@media (max-height: 500px) and (max-width: 1000px) {
  .hero { min-height: 0; padding-top: 8px; }
  .hero-thread { height: 56px; margin-bottom: 20px; }
}

/* ---------- Motion (DL §8): plays once, never loops ---------- */
@keyframes tassel-reveal { from { clip-path: inset(-50% 100% -50% -10%); } to { clip-path: inset(-50% -10% -50% -10%); } }
@keyframes tassel-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tassel-fade { from { opacity: 0; } to { opacity: 1; } }

/* Hero, on load, with the DL timings: the thread leads, then the copy rises. */
.hero-thread { animation: tassel-reveal 1400ms var(--ease-stroke) 200ms both; }
.hero-rise > * { animation: tassel-rise 520ms var(--ease-copy) both; }
.hero-rise > :nth-child(1) { animation-delay: 700ms; }
.hero-rise > :nth-child(2) { animation-delay: 810ms; }
.hero-rise > :nth-child(3) { animation-delay: 920ms; }
.hero-rise > :nth-child(4) { animation-delay: 1030ms; }

/* The mutual moment, once, when it scrolls into view. The script marks it .is-pending only if it starts
   below the fold; without the script it is static. */
[data-reveal].is-pending [data-step] { opacity: 0; }
[data-reveal].is-in [data-step] { animation: tassel-rise 520ms var(--ease-copy) both; }
[data-reveal].is-in .state-b { animation-delay: 260ms; }
[data-reveal].is-in .mutual-result { animation-delay: 760ms; }
[data-reveal].is-in .mutual-lead { animation-delay: 900ms; }
@media print { [data-reveal].is-pending [data-step] { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-thread, .hero-rise > * { animation: none; }
  .hero { animation: tassel-fade 300ms var(--ease-copy) both; }
  [data-reveal].is-in [data-step] { animation: tassel-fade 300ms var(--ease-copy) both; }
}

/* ---------- Forced colours ---------- */
@media (forced-colors: active) {
  .hero-thread path, .tassel-wm__thread path { stroke: CanvasText; }
  .draft-flag, .notice { border: 1px solid CanvasText; }
  .skip:focus-visible + .site-head .site-logo { opacity: 0; }
  .consent input { border: 1.5px solid CanvasText; }
  .consent input:checked { background: Highlight; }
  .field { border: 1px solid CanvasText; }   /* box-shadow masks are dropped in forced colours */
  .consent input:checked::after { border-color: HighlightText; }
  .btn { border: 2px solid ButtonText; }
  .btn-secondary { border-color: LinkText; }
  .btn-tertiary { border: 0; }
  .btn[aria-disabled="true"] { border-color: GrayText; color: GrayText; }
}
