/* Hearth: SudoAgentic homepage and privacy page, Slate colours. "The human side of better"
   Independent of main.css / route-b.css / concept-f.css. Self-hosted Newsreader (hearth-fonts.css); no frameworks. */

/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;        /* true white: no warm cast */
  --ink: #0F1B26;          /* deep ink, close to the logo navy */
  --ink-2: #4A5561;        /* secondary text: 6.5:1 or better on every band */
  --rule: #CDD5DC;
  --night: #2E3D4A;        /* contact panel: Slate */
  --night-text: #F5F5F5;
  --night-2: #C9D2D9;

  /* Accent: the logo's cyan. Deepened for text; the brand value itself for marks and lines. */
  --accent: #1A6F86;         /* text-safe on every light band (4.9:1+) */
  --accent-mark: #48ABC4;    /* 10/26 logo dot cyan (was #46A7C0): strokes, dots, rules (non-text) */
  --accent-bright: #8ED0E0;  /* lit cyan on the Slate panel (6.5:1) */
  --tint: #EEF1F4;           /* page background and How we work (Slate) */
  --muted: #E2E7EC;          /* What you can expect: ink-2 6.1:1, accent text 4.6:1 */
  --accent-glow: rgba(142, 208, 224, 0.14);
  --selection: #D3E9EF;
  --hairline: rgba(15, 27, 38, 0.22); /* the hero rule */
  --edge: rgba(8, 24, 34, 0.05);      /* top edge of each sheet */

  --serif: "Newsreader", "Iowan Old Style", Charter, "Sitka Text", Cambria, Georgia, serif; /* self-hosted, see /assets/fonts/ */
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --section: clamp(5rem, 9.5vw, 8.5rem); /* desktop tightened 2026-10-20 (was 11vw, 10rem max); phones unchanged */

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.1875rem, 1.08rem + 0.45vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --step-3: clamp(2.125rem, 1.6rem + 2.3vw, 3.75rem);
  --step-4: clamp(2.6rem, 1.65rem + 4.4vw, 5.75rem);
  /* Major section headings: ~13-14% above --step-3 at every width (2026-10-20) */
  --step-section: clamp(2.375rem, 1.8rem + 2.65vw, 4.25rem);
  /* Supporting text, 2026-10-20: small labels/notes 15-16px (was 14-15), descriptions 18-20px (was 17-19) */
  --step-label: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
  --step-support: clamp(1.125rem, 1.06rem + 0.27vw, 1.25rem);
}



/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--tint);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--selection); color: var(--ink); }
html { scroll-padding-top: 5.5rem; } /* anchors and keyboard focus land below the sticky menu */

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Shared type ---------- */
.label {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent);
}
.label::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }

.section { padding-block: var(--section); }
.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--step-section); line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance; max-width: 18ch;
}
.section__lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }

.button {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.85rem 1.5rem;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: var(--step-0); line-height: 1.2;
  text-decoration: none; border-radius: 999px;
  transition: background-color 0.2s ease;
}
.button:hover { background: var(--accent); }
.button .arrow { transition: transform 0.2s ease; }
.button:hover .arrow { transform: translateX(3px); }
.button--light { background: var(--night-text); color: var(--night); }
.button--light:hover { background: var(--accent-bright); color: var(--night); }

/* ---------- Masthead: always on screen ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  padding-block: clamp(0.7rem, 1.3vw, 1rem);
  background: var(--tint); transition: box-shadow .25s ease;
}
.masthead.is-scrolled { box-shadow: 0 1px 0 rgba(15, 27, 38, 0.07), 0 10px 28px -18px rgba(8, 24, 34, 0.35); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; flex-wrap: wrap; }
/* Logo: Concept F's header size (62px tall), used in the footer too. The artwork has 4% clear space on its left
   (38 of 942 units), so a matching negative margin lines the mark up with the text edge. */
:root { --logo-w: 17.6rem; }
.masthead__logo, .footer__logo { display: block; width: var(--logo-w); flex: none; margin-left: calc(var(--logo-w) * -0.04); }
.masthead__logo img, .footer__logo img { width: 100%; height: auto; }
.masthead__nav { display: flex; align-items: center; gap: 0.25rem clamp(1rem, 2.5vw, 2.25rem); }
.masthead__links { display: flex; align-items: center; gap: 0.25rem clamp(1rem, 2.5vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.masthead__nav a, .masthead__toggle {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font: inherit; font-size: var(--step--1); font-weight: 500; text-decoration: none; color: var(--ink);
}
.masthead__nav a:hover { color: var(--accent); }
.masthead__nav .masthead__talk { padding: 0 1.1rem; border: 1px solid var(--ink); border-radius: 999px; }
.masthead__nav .masthead__talk:hover { background: var(--ink); color: var(--paper); }
.masthead__toggle { display: none; gap: 0.5rem; padding: 0 0.25rem; background: none; border: 0; cursor: pointer; }
.masthead__toggle::after { /* two short lines; become a cross when open */
  content: ""; width: 1rem; height: 0.55rem;
  background: linear-gradient(currentColor 0 0) top / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 1.5px no-repeat;
}
.masthead.is-open .masthead__toggle::after {
  height: 1rem;
  background: linear-gradient(45deg, transparent calc(50% - 0.75px), currentColor 0 calc(50% + 0.75px), transparent 0),
              linear-gradient(-45deg, transparent calc(50% - 0.75px), currentColor 0 calc(50% + 0.75px), transparent 0);
}

/* ---------- Hero ----------
   Typographic: a quiet italic premise, then the promise at full scale, resting on a rule that
   starts with a cyan stroke and runs off the right edge of the page. Copy and note hang from the rule. */
.hero { position: relative; z-index: 0; overflow-x: clip; padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(5rem, 9vw, 7.5rem); }
.hero__grid { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem) 2rem; }
.hero__title { position: relative; font-family: var(--serif); font-weight: 400; padding-bottom: clamp(1.25rem, 2.6vw, 2.25rem); }
.hero__line { display: block; text-wrap: balance; }
.hero__line:first-child {
  font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2.1rem); line-height: 1.2;
  letter-spacing: -0.005em; color: var(--ink-2); margin-bottom: clamp(0.6rem, 1.6vw, 1.4rem);
}
.hero__line--second {
  font-size: clamp(3.3rem, 0.9rem + 7.6vw, 8.5rem); line-height: 0.96; letter-spacing: -0.032em; color: var(--ink);
  max-width: 13ch; /* two intentional lines on desktop: "We help make / it work better." */
}
/* The rule: from the headline's left edge to the right edge of the viewport */
.hero__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px;
  right: calc((100% - 100vw) / 2); background: var(--hairline); transform-origin: left center;
}
/* The cyan stroke that starts it, echoing the cyan full stop above */
.hero__title::before {
  content: ""; position: absolute; z-index: 1; left: 0; bottom: -1px;
  width: clamp(3rem, 7vw, 6.5rem); height: 3px; background: var(--accent-mark);
}

/* The full stop is the logo's dot. The glyph stays for screen readers and copy/paste. */
.full-stop { position: relative; display: inline-block; color: transparent; }
.full-stop::after {
  content: ""; position: absolute; left: 0.02em; bottom: 0.215em; /* on Newsreader's baseline, centred on its period (Iowan was 0.04em / 0.1em) */
  width: 0.19em; height: 0.19em; border-radius: 50%; background: var(--accent-mark);
}

.hero__body { max-width: 32rem; }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { margin-top: 1.75rem; }
.hero__aside {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1); line-height: 1.4;
  color: var(--ink); max-width: 21rem; text-wrap: pretty;
}

@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: repeat(12, 1fr); }
  .hero__title { grid-column: 1 / -1; }
  .hero__body { grid-column: 1 / span 5; }
  .hero__aside { grid-column: 9 / -1; align-self: start; padding-top: 0.2rem; }
}
/* Desktop (2026-10-22, Option C): the hero fills the first screen, its lower edge meeting the next sheet's rounded
   top at the fold. Spare height is split 3 : 2 above and below the content, so it settles into the lower two-thirds. */
@media (min-width: 64rem) {
  .hero { --r: clamp(1.5rem, 3.5vw, 3rem); min-height: calc(100svh - 5.875rem + var(--r)); display: flex; flex-direction: column; }
  .hero::before { content: ""; flex: 3 1 0; }
  .hero::after { content: ""; flex: 2 1 0; }
  .hero > .wrap { flex: none; }
}
/* Short laptop screens (704-799px tall): the headline eases down with the screen height, but never by more than
   13%, and the space above and below the content tightens a little so the button sits clearly inside the screen.
   Screens under 704px tall keep the full-size headline and simply scroll. */
@media (min-width: 64rem) and (min-height: 44rem) and (max-height: 49.99rem) {
  .hero__line--second { font-size: max(calc(0.87 * clamp(3.3rem, 0.9rem + 7.6vw, 8.5rem)), min(clamp(3.3rem, 0.9rem + 7.6vw, 8.5rem), 14svh)); }
  .hero { padding-top: 2.75rem; padding-bottom: clamp(3.5rem, 9svh, 5rem); }
  .hero::before, .hero::after { flex-grow: 1; }
}
/* Phones and tablets: a little more air above the opening line */
@media (max-width: 63.99rem) { .hero { padding-top: clamp(2.25rem, 10svh, 5.5rem); } }

/* ---------- Sheets: each section slides up over the last, rounded at the top ---------- */
.hero ~ section { position: relative; z-index: 1; }

/* Stacking cards (with JS, not with reduced motion): each section scrolls normally until its bottom is 60% of
   the way down the screen, then holds while the next sheet slides up over it. --stick = min(header,
   0.6 x viewport - section height), set by hearth.js, so the last lines are read before they are covered. */
.js-stack main > section:not(:last-child) { position: sticky; top: var(--stick, 0px); }
.sheet { /* chapter transitions: each section rises over the one before */
  --r: clamp(1.5rem, 3.5vw, 3rem);
  position: relative; z-index: 1;
  margin-top: calc(var(--r) * -1);
  border-radius: var(--r) var(--r) 0 0;
  box-shadow: 0 -1px 0 var(--edge), 0 -24px 48px -30px rgba(8, 24, 34, 0.28);
}

/* ---------- Recognition ---------- */
.recognition { background: var(--paper); }
.recognition { padding-block: clamp(4rem, 8vw, 7rem); }
.recognition__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.recognition__intro .section__title { margin-top: 1.5rem; }
.recognition__intro .section__lead { margin-top: 1.5rem; }

.voices { border-top: 1px solid var(--rule); }
.voice {
  display: grid; gap: 0.3rem;
  padding-block: clamp(1rem, 2vw, 1.35rem);
  border-bottom: 1px solid var(--rule);
}
.voice__quote {
  font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em;
  text-indent: -0.42em; text-wrap: balance;
}
.voice__note { color: var(--ink-2); max-width: 34rem; text-wrap: pretty; }
.recognition__close { color: var(--ink-2); }
.recognition__close a, .voice__more a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.voice__more { margin-top: 0.15rem; color: var(--ink-2); }
.voice__more a { display: inline-block; padding-block: 0.25rem; } /* 24px+ target */

@media (min-width: 64rem) {
  .recognition__grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .recognition__intro { grid-column: 1 / span 5; align-self: start; position: sticky; top: 3rem; }
  .voices, .recognition__close { grid-column: 7 / -1; }
}

/* ---------- Philosophy ---------- */
.philosophy { background: var(--tint); }
.philosophy__grid { display: grid; gap: 1.5rem 2rem; margin-top: 1.5rem; }
.philosophy__title { max-width: 14ch; }
@media (min-width: 64rem) {
  .philosophy__grid { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .philosophy__title { grid-column: 1 / span 6; }
  .philosophy__body { grid-column: 7 / -1; }
}

/* Expectation vs answer */
.simpler { display: grid; gap: 2.5rem 2rem; margin-block: clamp(3rem, 7vw, 6rem); padding-block: clamp(2rem, 4vw, 3rem); border-block: 1px solid var(--rule); }
.simpler__kicker { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
.simpler__list { margin-top: 1rem; display: grid; gap: 0.35rem; }
.simpler__list li { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; color: var(--ink-2); }
.simpler__list s { position: relative; text-decoration: none; }
.simpler__list s::after {
  content: ""; position: absolute; left: -0.1em; right: -0.1em; top: 55%;
  height: 2px; background: var(--accent-mark); transform-origin: left center;
}
.simpler__answer {
  margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--ink); max-width: 22ch; text-wrap: balance;
}
@media (min-width: 64rem) {
  .simpler { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .simpler__expected { grid-column: 1 / span 5; }
  .simpler__actual { grid-column: 7 / -1; }
}

.options { display: grid; gap: 1.5rem 2rem; }
.options__intro { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--ink-2); }
.options__list { display: grid; gap: 0; }
.options__list li {
  padding-block: 1.25rem; border-top: 1px solid var(--rule);
  color: var(--ink-2); max-width: 40rem; text-wrap: pretty;
}
.options__list strong { color: var(--ink); font-weight: 600; }
.options__honest {
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; text-wrap: balance;
  padding-top: 1.25rem; border-top: 2px solid var(--accent-mark); max-width: 26ch;
}
@media (min-width: 64rem) {
  .options { grid-template-columns: repeat(12, 1fr); }
  .options__intro { grid-column: 1 / span 3; padding-top: 1.1rem; }
  .options__list { grid-column: 4 / span 6; }
  .options__honest { grid-column: 4 / span 7; margin-top: 1.5rem; }
}

/* ---------- Delivery ---------- */
.delivery { background: var(--paper); }
.delivery__head { display: grid; gap: 1.5rem 2rem; margin-top: 1.5rem; }
.delivery__sentence {
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; color: var(--ink-2);
  max-width: 34ch; text-wrap: pretty;
}
.delivery__sentence em { font-style: italic; color: var(--ink); }
@media (min-width: 64rem) {
  .delivery__head { grid-template-columns: repeat(12, 1fr); }
  .delivery__head .section__title { grid-column: 1 / span 5; }
  .delivery__sentence { grid-column: 7 / -1; padding-top: 0.4rem; }
}

/* The steps: four plain columns, a cyan rule above each */
.path { display: grid; gap: 1.75rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.path__stop { padding-top: 1rem; border-top: 2px solid var(--accent-mark); }
.path__verb { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-1); line-height: 1.25; }
.path__stop p { margin-top: 0.4rem; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 48rem) { .path { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .path { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Reassurance ---------- */
.reassurance { background: var(--muted); } /* quieter than the cyan; one step deeper than the tint */
.reassurance__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem) 2rem; }
.reassurance__title { max-width: none; }
.reassurance__label { margin-bottom: calc(-1 * clamp(2.5rem, 5vw, 4rem) + 1.5rem); } /* sits tight above the title */
.reassurance__title > span { display: block; }
.reassurance__soft { font-style: italic; color: var(--accent); }
.promises { display: grid; gap: 2rem; }
.promise { padding-top: 1.25rem; border-top: 2px solid var(--accent-mark); }
.promise dt { font-family: var(--serif); font-size: calc(var(--step-1) * 1.12); line-height: 1.3; } /* +12% (2026-10-20) */
.promise dd { margin-top: 0.6rem; color: var(--ink-2); text-wrap: pretty; }
.reassurance__note { font-size: var(--step--1); color: var(--ink-2); }
@media (min-width: 48rem) {
  .promises { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 64rem) {
  .reassurance__grid { grid-template-columns: repeat(12, 1fr); }
  .reassurance__label { grid-column: 1 / -1; }
  .reassurance__title { grid-column: 1 / span 8; }
  .promises { grid-column: 1 / -1; gap: 3rem; }
  .reassurance__note { grid-column: 1 / -1; }
}

/* ---------- Contact: the warm room ---------- */
.talk {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--night-text);
  padding-block: var(--section);
}
.talk::before { /* a single low glow: the hearth */
  content: ""; position: absolute; z-index: -1;
  width: min(70rem, 140vw); aspect-ratio: 1; left: -18rem; bottom: -38rem;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.talk :focus-visible { outline-color: var(--accent-bright); }
.talk a:hover { text-decoration-color: var(--accent-bright); }
.talk__grid { display: grid; gap: 3.5rem 2rem; }
.talk__title {
  font-family: var(--serif); font-weight: 400; font-size: var(--step-4);
  line-height: 1.03; letter-spacing: -0.022em; text-wrap: balance;
}
.talk__lead { margin-top: 1.75rem; font-size: var(--step-1); line-height: 1.55; color: var(--night-2); max-width: 34rem; text-wrap: pretty; }
.talk__actions { margin-top: 2.25rem; }
.talk__promise { text-wrap: balance; margin-top: 1.25rem; font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--night-text); }
.talk__aside { align-self: end; border-top: 1px solid rgba(245, 245, 245, 0.25); padding-top: 1.5rem; max-width: 24rem; }
.talk__aside-title { font-size: var(--step--1); font-weight: 600; color: var(--accent-bright); }
.talk__aside ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; color: var(--night-2); }
.talk__aside li { position: relative; padding-left: 1.6rem; }
.talk__aside li::before { content: "—"; position: absolute; left: 0; color: rgba(245, 245, 245, 0.45); }
.talk__email { margin-top: 1.75rem; color: var(--night-2); font-size: var(--step--1); }
.talk__email a { color: var(--night-text); font-size: var(--step-0); overflow-wrap: anywhere; }
@media (min-width: 64rem) {
  .talk__grid { grid-template-columns: repeat(12, 1fr); }
  .talk__main { grid-column: 1 / span 7; }
  .talk__aside { grid-column: 9 / -1; }
}

/* ---------- Footer ---------- */
.footer { padding-block: 2.5rem 3rem; font-size: var(--step--1); color: var(--ink-2); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer__logo { margin-right: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- Mobile header ----------
   Without JS: links wrap onto a second row. With JS: one compact row (logo, Let's talk, Menu),
   and the two section links open in a panel under the bar. */
@media (max-width: 47.99rem) {
  /* Phones: the logo takes all the room Let's talk + Menu leave (12rem incl. the 1.5rem gap),
     up to Concept F's phone size (238px). Footer matches. 375px wide: 143px; 414px: 182px. */
  :root { --logo-w: clamp(7rem, calc(100vw - 2 * var(--gutter) - 12rem), 14.875rem); }
  .js-menu .masthead__inner { column-gap: 1.5rem; }
  .masthead__nav { width: 100%; justify-content: space-between; }
  .js-menu .masthead__inner { flex-wrap: nowrap; }
  .js-menu .masthead__nav { width: auto; gap: 0.5rem; }
  .js-menu .masthead__toggle { display: inline-flex; }
  /* Narrow screens: the logo gives way first (down to 5rem); only then does Let's talk wrap, onto two centred lines.
     hearth.js places Let's talk before Menu here, so the keyboard order matches what is on screen. */
  .js-menu .masthead__logo { flex: 0 1 auto; min-width: 5rem; }
  .js-menu .masthead__nav { flex: none; max-width: calc(100% - 6.5rem); }
  .masthead__nav .masthead__talk { justify-content: center; text-align: center; line-height: 1.2; }
  .js-menu .masthead__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.25rem var(--gutter) 1rem; background: var(--tint);
    box-shadow: 0 14px 28px -18px rgba(8, 24, 34, 0.35);
  }
  .js-menu .masthead.is-open .masthead__links { display: flex; }
  .js-menu .masthead__links li + li { border-top: 1px solid var(--rule); }
  .js-menu .masthead__links a { width: 100%; min-height: 3.25rem; font-size: var(--step-0); }
}
@media (max-width: 25rem) {
  .masthead__nav a, .masthead__toggle { font-size: 0.875rem; }
  .masthead__nav .masthead__talk { padding: 0 0.85rem; }
}
@media (max-width: 22.5rem) { .js-menu .masthead__inner { column-gap: 1rem; } }

/* ---------- Motion (only with JS and without reduced-motion; default state is fully drawn) ---------- */
.motion .simpler[data-draw] s::after { transform: scaleX(0); }
.motion .simpler[data-draw] .simpler__actual { opacity: 0; }
.motion .simpler[data-draw].is-drawn s::after { transform: scaleX(1); transition: transform .5s cubic-bezier(.6, .1, .3, 1); }
.motion .simpler[data-draw].is-drawn li:nth-child(1) s::after { transition-delay: .3s; }  /* strikes 0.3 / 0.8 / 1.3s (was 0.9, 1.5) */
.motion .simpler[data-draw].is-drawn li:nth-child(2) s::after { transition-delay: .8s; }
.motion .simpler[data-draw].is-drawn li:nth-child(3) s::after { transition-delay: 1.3s; }
.motion .simpler[data-draw].is-drawn .simpler__actual { opacity: 1; transition: opacity .7s ease 1.9s; } /* answer from 1.9s, complete 2.6s (was 2.2s to 3.1s) */
.motion .hero__title::after { animation: rule-draw 1.1s cubic-bezier(.6, .1, .2, 1) .2s both; }
@keyframes rule-draw { from { transform: scaleX(0); } }
.motion .full-stop::after { animation: dot-land .9s cubic-bezier(.3, 1.5, .5, 1) .5s both; }
@keyframes dot-land { from { transform: translateY(-1.2em) scale(0.4); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@supports (animation-timeline: scroll()) {
  @media (min-width: 64rem) and (min-height: 50rem) and (prefers-reduced-motion: no-preference) {
    .hero > .wrap { animation: hero-recede linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes hero-recede { to { opacity: 0.35; transform: scale(0.97) translateY(-2rem); } }
  }
}
.motion .voice[data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.motion .voice[data-reveal].is-drawn { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Privacy page ---------- */
.doc { padding-block: clamp(3rem, 8vw, 6rem) var(--section); }
.doc__title { margin-top: 1.5rem; font-family: var(--serif); font-weight: 400; font-size: var(--step-3); line-height: 1.08; }
.doc__meta { margin-top: 0.75rem; font-size: var(--step--1); color: var(--ink-2); }
.doc__body { margin-top: 3rem; max-width: 38rem; }
.doc__body h2 { margin-top: 2.5rem; font-family: var(--serif); font-weight: 400; font-size: var(--step-1); }
.doc__body p { margin-top: 0.75rem; color: var(--ink-2); }
.doc__body p:first-child { margin-top: 0; font-size: var(--step-1); color: var(--ink); }
.doc__address { margin-top: 2.5rem !important; }

/* Newsreader's word space is narrower than Iowan Old Style's (0.232em vs 0.278em). Restore the
   original word rhythm on the large display headings only; letterforms and body copy are untouched. */
.hero__title, .section__title, .talk__title, .doc__title { word-spacing: 0.045em; }

/* 404 */
.doc__actions { margin-top: 2rem; }

/* Header alignment: the logo artwork reserves room for the "g" descender, so its optical centre
   (mark and capitals) sits at ~44% of the image height. Nudge it down 5.8% of its own height so it
   shares a centre line with the nav labels and Let's talk. Size, proportions and header height unchanged. */
.masthead__logo img { transform: translateY(5.8%); }

/* Supporting typography (2026-10-20): modest increases where text sat too small beside the headings.
   Headings, hero, navigation and buttons keep their sizes. */
.label, .simpler__kicker, .talk__aside-title, .reassurance__note, .talk__email { font-size: var(--step-label); }
.voice__note, .voice__more, .recognition__close, .options__list li, .path__stop p, .promise dd, .talk__aside ul { font-size: var(--step-support); }
.options__intro { font-size: calc(var(--step-1) * 1.08); }

/* AI links (2026-10-20): two contextual links to /ai/, styled as editorial text links */
.voice__action { margin-top: 0.85rem; }
/* AI button: same shape, padding and type as the hero button; logo cyan with navy text (6.8:1) */
.button--ai { background: #48ABC4; color: #081822; }
.button--ai:hover { background: var(--accent-bright); color: #081822; } /* lighter Slate cyan, 10.5:1 */
.options__more {
  display: block; width: fit-content; margin-top: 0.5rem; padding-block: 0.25rem;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em;
}
.options__more:hover { text-decoration-color: var(--ink); }

/* Mobile menu panel (2026-10-20): a finished lower edge (rounded like the page's sheets, a hairline,
   a little more room) and a light veil over the page beneath, so the panel reads as a layer above it.
   Tapping the veil closes the menu (existing outside-click behaviour). */
@media (max-width: 47.99rem) {
  .js-menu .masthead__links {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 18px 32px -18px rgba(8, 24, 34, 0.35);
  }
  .js-menu body:has(.masthead.is-open)::after {
    content: ""; position: fixed; inset: 0; z-index: 30;
    background: rgba(15, 27, 38, 0.18);
  }
}

/* LinkedIn footer link (2026-10-22): a 16px monochrome "in" mark in the footer link colour, with a 44px square
   click area; the negative side margin keeps the spacing between footer links as it was. */
.link-in { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; margin-inline: -0.625rem; text-decoration: none; }
.link-in svg { width: 1.05em; height: 1.05em; fill: currentColor; }
