/* Home, version D (owner, 18 Nov 2026): "the proof wall". Since D everywhere (19 Nov 2026) D is the website's design
   system: its tokens (Paper, Ink, Slate, the hairline, Lime as a pen, the crop marks, the highlighter), the main button,
   the focus ring, the changing word's highlighter, the footer's Paper slug line and wordmark tone, and the viewer on
   Paper live in site.css for every page. This file keeps only what is the home page's own: the hero with one brand in
   five formats, the spreads of work by kind, Why, How, When, the closing sheet and the folded questions. Loaded on the
   English home only when it shows version D; every rule is under .hd-on (the page's body) or an hd- class. */
.hd-on { --hd-w: var(--site-text); --hd-pad: var(--site-pad); } /* the site's container (site.css), so D and the header agree */
.site.hd-on section[class^="hd-"] { max-width: none; width: 100%; margin: 0; padding: 0 var(--hd-pad); box-sizing: border-box; }
.hd-in, .hd-hero-in { max-width: var(--hd-w); margin: 0 auto; }

/* ---------- the hero: the words on the left, one brand in five formats on the right ---------- */
.site.hd-on section.hd-hero { padding-top: clamp(28px, 4.5vh, 64px); padding-bottom: clamp(40px, 7vh, 96px); border-bottom: 1px solid var(--wn-line); }
.hd-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hd-kick { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--wn-slate); font: 500 0.75rem/1.3 var(--wn-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hd-kick::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--wn-lime); box-shadow: inset 0 0 0 1px var(--wn-ink); }
.site .hd-hero h1 { margin: 22px 0 0; max-width: none; color: var(--wn-ink); font-size: clamp(2.75rem, 1rem + 4.6vw, 5.5rem); line-height: 0.96; letter-spacing: -0.04em; font-weight: 600; }
/* the changing word (its highlighter is site.css's): set tight to the headline's lines */
.hd-hero .flip { padding: 0 0.06em 0.06em; margin: 0 0 -0.06em -0.06em; line-height: 1.04; }
.hd-line { margin: 26px 0 0; max-width: 36ch; color: var(--wn-ink); font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); line-height: 1.45; text-wrap: pretty; }
.hd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
/* the main button is site.css's (Ink, the Lime block and its arrow), a size larger here */
.site.hd-on .hd-acts .btn.primary { min-height: 56px; padding: 0 8px 0 22px; gap: 18px; font-size: 1rem; font-weight: 600; }
.site.hd-on .hd-acts .btn.primary::after { width: 40px; height: 40px; font-size: 1.125rem; }
.hd-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wn-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hd-link:hover { text-decoration-thickness: 2px; }
.hd-offer { margin: 18px 0 0; color: var(--wn-slate); font: 500 0.8125rem/1.4 var(--wn-mono); letter-spacing: 0.02em; }

/* the stage: a white proof sheet with crop marks at its corners */
.hd-stage { position: relative; background: var(--wn-white); padding: 18px 20px 16px; box-shadow: inset 0 0 0 1px var(--wn-line); }
.hd-stage::before { content: ''; position: absolute; inset: -12px; pointer-events: none; background: var(--d-crop); }
.hd-stage-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.hd-stage-k { margin: 0; color: var(--wn-slate); font: 500 0.75rem/1.3 var(--wn-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hd-tabs { display: none; gap: 0; box-shadow: inset 0 0 0 1px var(--wn-ink); }
.js .hd-tabs { display: inline-flex; }
.hd-tabs button { position: relative; min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: var(--wn-ink); font: 600 0.875rem/1 var(--wn-font); cursor: pointer; white-space: nowrap; }
.hd-tabs button + button { box-shadow: inset 1px 0 0 var(--wn-ink); }
.hd-tabs button:hover { background: var(--wn-paper); }
.hd-tabs button[aria-selected="true"] { background: var(--wn-ink); color: var(--wn-paper); }
.hd-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; background: var(--wn-lime); }
.hd-tabs button:focus-visible { outline: 3px solid var(--wn-ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--wn-lime); z-index: 1; }
.hd-board[hidden] { display: none; }
/* the pieces: the tallest on the left, the presentation across the top right, three under it; shares from the shapes */
.hd-pieces { --gap: 10px; display: flex; align-items: flex-start; gap: var(--gap); }
.hd-p.is-tall { flex: var(--gt) 1 0; min-width: 0; }
.hd-col { flex: var(--gr) 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.hd-r2 { display: flex; align-items: flex-start; gap: var(--gap); }
.hd-r2 .hd-p { flex: var(--ar) 1 0; min-width: 0; }
.hd-p { position: relative; display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.hd-pm { position: relative; display: block; aspect-ratio: var(--ar); overflow: hidden; background: var(--wn-paper); box-shadow: 0 0 0 1px var(--wn-line); }
.hd-pm > picture, .hd-pm > picture img, .hd-pm > .sc-crop { display: block; width: 100%; height: 100%; }
.hd-pm img { transition: transform 500ms var(--d-ease); }
.hd-p:hover .hd-pm img { transform: scale(1.03); }
.hd-p:hover .hd-pm.is-long img { transform: none; }
.hd-pk { position: absolute; left: 0; top: 0; z-index: 2; padding: 4px 7px; background: var(--wn-ink); color: var(--wn-paper); font: 500 0.6875rem/1 var(--wn-mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateY(-3px); transition: opacity 200ms ease, transform 200ms var(--d-ease); pointer-events: none; }
.hd-p:is(:hover, :focus-visible) .hd-pk { opacity: 1; transform: none; }
.hd-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 0; color: var(--wn-slate); font-size: 0.875rem; line-height: 1.45; }
.hd-note b { color: var(--wn-ink); }
.hd-note > span:last-child { flex: 1 1 32ch; }


/* ---------- each part: its number and heading on the left, its content on the right ---------- */
.site.hd-on :is(section.hd-what, section.hd-why, section.hd-how, section.hd-when, section.hd-faq) { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.hd-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.hd-head { grid-column: 1 / span 4; align-self: start; }
.hd-sn { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--wn-slate); font: 500 0.75rem/1.3 var(--wn-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hd-sn span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; padding: 0 4px; box-sizing: border-box; background: var(--wn-ink); color: var(--wn-paper); }
.site.hd-on .hd-head h2, .site.hd-on .hd-cta h2 { margin: 0; color: var(--wn-ink); font-size: var(--d-h2); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.hd-lead { margin: 20px 0 0; max-width: 34ch; color: var(--wn-slate); font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }

/* WHAT: a spread per kind */
.hd-what .hd-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 76px); }
.hd-what .hd-head .hd-sn, .hd-what .hd-head h2 { grid-column: 1 / span 6; }
.hd-what .hd-head .hd-lead { grid-column: 8 / span 5; grid-row: 2; margin: 0; max-width: 46ch; }
.site.hd-on section.hd-kind { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 28px 0 0; margin: 0 0 clamp(36px, 4vw, 56px); border-top: 1px solid var(--wn-ink); }
.site.hd-on section.hd-kind:last-child { margin-bottom: 0; }
.hd-kind-h { grid-column: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 8px; }
.hd-n { margin: 0; color: var(--wn-slate); font: 500 0.75rem/1.3 var(--wn-mono); letter-spacing: 0.08em; }
.site.hd-on .hd-kind-h h3 { margin: 0; color: var(--wn-ink); font-size: var(--d-h3); line-height: 1.05; letter-spacing: -0.025em; }
.hd-kind-h p { margin: 0; max-width: 30ch; color: var(--wn-slate); font-size: 0.9375rem; line-height: 1.45; }
.hd-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--wn-ink); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hd-all:hover { text-decoration-thickness: 2px; }
.hd-row { --gap: 14px; --maxh: 400px; grid-column: 4 / -1; list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: var(--gap); max-width: calc(var(--sum) * var(--maxh) + (var(--n) - 1) * var(--gap)); }
.hd-t { flex: var(--ar) 1 0; min-width: 0; }
.hd-row-2 { margin-top: 24px; }
.hd-a { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
/* a piece: whole at its own shape; on hover, crop marks at its corners */
.hd-f { position: relative; display: block; }
.hd-f::after { content: ''; position: absolute; inset: -7px; pointer-events: none; opacity: 0; transition: opacity 200ms ease; background: var(--d-crop-s); }
.hd-a:is(:hover, :focus-visible) .hd-f::after { opacity: 1; }
.hd-m { position: relative; display: block; aspect-ratio: var(--ar); overflow: hidden; background: var(--wn-white); box-shadow: 0 0 0 1px var(--wn-line); }
.hd-m > picture, .hd-m > picture img, .hd-m > .sc-crop { display: block; width: 100%; height: 100%; }
.hd-m img { transition: transform 500ms var(--d-ease); }
.hd-a:hover .hd-m img { transform: scale(1.025); }
.hd-a:hover .hd-m.is-long img { transform: none; }
.hd-m.is-copy .sc-copy { height: 100%; aspect-ratio: auto; padding: 22px; box-sizing: border-box; }
.hd-m.is-copy .sc-copy-h { font-size: clamp(1.125rem, 1.4vw, 1.5rem); }
.hd-m.is-copy .sc-copy-p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hd-cap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; color: var(--wn-ink); font-size: 0.875rem; line-height: 1.25rem; }
.hd-b { font-weight: 600; }

/* WHY: three points on a white band */
.site.hd-on section.hd-why { background: var(--wn-white); border-top: 1px solid var(--wn-line); border-bottom: 1px solid var(--wn-line); }
.hd-points, .hd-steps { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hd-points li { padding-top: 20px; border-top: 1px solid var(--wn-ink); }
.hd-tick { display: inline-flex; width: 28px; height: 28px; margin-bottom: 18px; background: var(--wn-lime); box-shadow: inset 0 0 0 1px var(--wn-ink); position: relative; }
.hd-tick::after { content: ''; position: absolute; left: 9px; top: 5px; width: 7px; height: 12px; border: solid var(--wn-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.site.hd-on :is(.hd-points, .hd-steps, .hd-moments) h3 { margin: 0; color: var(--wn-ink); font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
.hd-points p, .hd-steps p { margin: 10px 0 0; max-width: 34ch; color: var(--wn-slate); line-height: 1.55; }

/* HOW: three steps on one line */
.hd-steps { counter-reset: none; }
.hd-steps li { position: relative; padding-top: 0; }
.hd-num { display: block; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--wn-ink); color: var(--wn-ink); font: 500 clamp(2.5rem, 1.6rem + 2vw, 3.5rem)/1 var(--wn-mono); letter-spacing: -0.04em; }
.hd-steps li:not(:last-child) .hd-num::after { content: '→'; float: right; font: 500 1.25rem/1 var(--wn-font); margin-top: 0.9em; color: var(--wn-ink); }

/* WHEN: an index of moments */
.site.hd-on section.hd-when { padding-top: 0; }
.hd-moments { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wn-ink); }
.hd-moments li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--wn-line); }
.site.hd-on .hd-moments h3 { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem); letter-spacing: -0.02em; }
.hd-moments h3 { position: relative; display: inline; justify-self: start; background: var(--d-hl) 0 88% / 0 0.34em no-repeat; transition: background-size 420ms var(--d-ease); }
.hd-moments li:hover h3 { background-size: 100% 0.34em; }
.hd-moments p { margin: 0; max-width: 46ch; color: var(--wn-slate); line-height: 1.5; }

/* ONE call to action, on Paper, the last words under the highlighter */
.site.hd-on section.hd-cta { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 112px); }
.hd-cta .hd-in { display: block; position: relative; background: var(--wn-white); padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 88px); box-shadow: inset 0 0 0 1px var(--wn-line); }
.hd-cta .hd-in::before { content: ''; position: absolute; inset: -12px; pointer-events: none; background: var(--d-crop); }
.site.hd-on .hd-cta h2 { max-width: 14ch; font-size: clamp(2.75rem, 1rem + 5vw, 6rem); line-height: 0.96; letter-spacing: -0.045em; }
.hd-mark { background: var(--d-hl) 0 86% / 100% 0.34em no-repeat; padding: 0 0.04em; }
.hd-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 40px; }
.hd-cta-row .hd-acts { margin: 0; }
.hd-cta-row .hd-offer { margin: 0; }

/* the questions, folded */
.hd-qs { grid-column: 5 / -1; border-top: 1px solid var(--wn-ink); }
.site.hd-on .hd-faq h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.hd-q { border-bottom: 1px solid var(--wn-line); }
.hd-q summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; padding: 10px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; }
.hd-q summary::-webkit-details-marker { display: none; }
.hd-q summary::after { content: '+'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; box-shadow: inset 0 0 0 1px var(--wn-ink); font: 500 1.125rem/1 var(--wn-mono); }
.hd-q[open] summary::after { content: '−'; background: var(--wn-ink); color: var(--wn-paper); }
.hd-q p { margin: 0 0 22px; max-width: 64ch; color: var(--wn-slate); line-height: 1.6; }
/* no sticky sign-up bar on this page: Start free is in the header, the hero and the closing call to action */
.hd-on .book { display: none !important; }
.site.hd-on.book-on { padding-bottom: 0; }
.site.hd-on section.page-updated { max-width: var(--hd-w); padding-left: var(--hd-pad); padding-right: var(--hd-pad); box-sizing: content-box; margin: 0 auto; }

.site.hd-on .ft { margin-top: 0; }

/* ---------- motion (none with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hd-board:not([hidden]) .hd-p { animation: d-rise 720ms var(--d-ease) both; animation-delay: calc(140ms + var(--i, 0) * 70ms); }
  .hd-copy > * { animation: d-rise 720ms var(--d-ease) both; }
  .hd-copy > :nth-child(2) { animation-delay: 60ms; } .hd-copy > :nth-child(3) { animation-delay: 120ms; } .hd-copy > :nth-child(4) { animation-delay: 180ms; } .hd-copy > :nth-child(5) { animation-delay: 220ms; }
  /* below the first screen, the pieces and points wait (home-d.js adds .hd-wait only with scripts and without reduced
     motion) and rise in, one after another, as they arrive */
  .hd-wait :is(.hd-t, li) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-on :is(.hd-pm img, .hd-m img, .hd-pk, .hd-f::after, .hd-moments h3, .hd-acts .btn.primary) { transition: none; }
  .hd-p:hover .hd-pm img, .hd-a:hover .hd-m img { transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .hd-hero-in { grid-template-columns: minmax(0, 1fr); }
  .hd-copy { max-width: 40rem; }
  .hd-head { grid-column: 1 / -1; margin-bottom: 32px; }
  .hd-points, .hd-steps, .hd-moments, .hd-qs { grid-column: 1 / -1; }
  .hd-kind-h { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; padding: 0; }
  .hd-kind-h .hd-n { grid-column: 1 / -1; grid-row: 1; }
  .hd-kind-h h3 { grid-column: 1; grid-row: 2; }
  .hd-all { grid-column: 2; grid-row: 2; margin: 0; }
  .hd-kind-h p { grid-column: 1 / -1; grid-row: 3; max-width: 52ch; }
  .hd-row { grid-column: 1 / -1; }
  .hd-what .hd-head .hd-lead { grid-column: 1 / -1; grid-row: auto; margin-top: 16px; }
}
@media (max-width: 760px) {
  .hd-on { --hd-pad: 16px; }
  .site.hd-on section.hd-hero { padding-top: 24px; padding-bottom: 40px; }
  .hd-hero-in { gap: 32px; }
  .site .hd-hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 11.5vw, 3.25rem); }
  .hd-line { margin-top: 18px; font-size: 1.0625rem; }
  .hd-acts { margin-top: 24px; gap: 8px 20px; }
  .hd-offer { margin-top: 12px; }
  .hd-stage { padding: 12px 12px 12px; }
  .hd-stage::before { inset: -8px; }
  .hd-stage-top { margin-bottom: 12px; }
  .hd-tabs { width: 100%; } .hd-tabs button { flex: 1 1 0; padding: 0 8px; font-size: 0.8125rem; }
  /* the presentation across the top, then two pairs, each pair one height */
  .hd-pieces { --gap: 8px; flex-wrap: wrap; }
  .hd-col, .hd-r2 { display: contents; }
  .hd-p { flex: none !important; }
  .hd-p.is-wide { order: 0; width: 100%; }
  .hd-p.is-s1, .hd-p.is-s2 { order: 1; width: calc((100% - var(--gap)) * var(--pf) - 0.5px); }
  .hd-p.is-tall, .hd-p.is-s3 { order: 2; width: calc((100% - var(--gap)) * var(--pf) - 0.5px); }
  .hd-pk { opacity: 1; transform: none; font-size: 0.625rem; padding: 3px 5px; }
  .hd-note { font-size: 0.8125rem; }
  .site.hd-on :is(section.hd-what, section.hd-why, section.hd-how, section.hd-when, section.hd-faq) { padding-top: 56px; padding-bottom: 56px; }
  .site.hd-on section.hd-when { padding-top: 0; }
  .hd-in { display: block; }
  .hd-what .hd-head { display: block; margin-bottom: 28px; }
  .site.hd-on section.hd-kind { display: block; padding-top: 20px; margin-bottom: 40px; }
  .hd-kind-h { margin-bottom: 14px; } .hd-all { min-height: 36px; }
  .hd-row { --gap: 10px; flex-wrap: wrap; max-width: none; row-gap: 18px; }
  .hd-t { flex: none; width: calc((100% - var(--gap)) * var(--pf) - 0.5px); }
  .hd-m.is-copy .sc-copy { padding: 14px; } .hd-m.is-copy .sc-copy-p { -webkit-line-clamp: 3; }
  .hd-cap { font-size: 0.8125rem; margin-top: 8px; }
  .hd-points, .hd-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hd-steps li:not(:last-child) .hd-num::after { content: '↓'; }
  .hd-moments li { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .site.hd-on section.hd-cta { padding-top: 64px; padding-bottom: 64px; }
  .hd-cta-row { margin-top: 28px; }
  .hd-q summary { min-height: 56px; font-size: 1rem; }
}
