/* Wildwood Learning: one stack of bright copier paper, printed in black.
   1 tokens  2 base  3 type  4 layout and stock  5 controls  6 header and footer
   7 pages  8 sections  9 product pages  10 reading pages  11 motion  12 print */

/* ---------- 1 tokens ---------- */

:root {
  --sun: #FFD400;
  --teal: #00B39B;
  --flame: #FF6B47;
  --sky: #62BDFF;
  --white: #FFFFFF;
  --fog: #E8EDF1;
  --ink: #111111;
  --ink-soft: #46494D;
  --rule: #C9D0D6;
  --alert: #9B1C00;

  --display: "Radio Canada Big", "Segoe UI", system-ui, sans-serif;
  --text: "Radio Canada", "Segoe UI", system-ui, sans-serif;

  /* paper resting, lifted, held up */
  --lift-1: 0 1px 1px rgba(17, 17, 17, 0.14), 0 5px 10px -4px rgba(17, 17, 17, 0.2);
  --lift-2: 0 2px 3px rgba(17, 17, 17, 0.14), 0 18px 30px -12px rgba(17, 17, 17, 0.32);
  --lift-3: 0 3px 5px rgba(17, 17, 17, 0.14), 0 34px 54px -20px rgba(17, 17, 17, 0.42);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --corner: 4px;
  --max: 1280px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --band: clamp(80px, 10vw, 144px);
  --header: 76px;
}

/* ---------- 2 base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 20px);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--sun); }
html { accent-color: var(--ink); caret-color: var(--ink); scrollbar-color: var(--ink) var(--fog); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--corner);
  box-shadow: 0 0 0 3px var(--white);
}
.stock--ink :focus-visible, .footer :focus-visible { outline-color: var(--sun); box-shadow: 0 0 0 3px var(--ink); }

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

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-200%);
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: var(--corner);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: none; }

/* ---------- 3 type ---------- */

h1, h2, h3, h4, .display, .price, .brand {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
}
h1, h2, h3, .display { text-wrap: balance; }

.display { font-size: clamp(2.9rem, min(8.4vw, 14vh), 8.5rem); line-height: 0.96; letter-spacing: -0.038em; }
.heading-1 { font-size: clamp(2.65rem, 6.6vw, 6rem); line-height: 0.98; letter-spacing: -0.036em; }
.heading-2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -0.032em; }
.heading-3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.024em; }
.heading-4 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.2; letter-spacing: -0.016em; }
p.heading-4 { line-height: 1.4; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.45; max-width: 36em; }
.small, .body-4, .caption-2, .form-note { font-size: 0.9375rem; line-height: 1.5; }
.body-3 { max-width: 68ch; }
.caption-2, .form-note { color: var(--ink-soft); }
.price { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rung .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

/* ---------- 4 layout and stock ---------- */

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.stack-1 > * + * { margin-top: 8px; }
.stack-2 > * + * { margin-top: 16px; }
.stack-3 > * + * { margin-top: 24px; }
.stack-4 > * + * { margin-top: 32px; }
.measure { max-width: 46rem; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 112px); }
.duo > *, .hero__split > *, .offset > *, .pack__grid > *, .close__in > * { min-width: 0; }
@media (min-width: 900px) { .duo { grid-template-columns: 5fr 7fr; align-items: start; } }

/* every section is a sheet lying on the one before it */
.stock { position: relative; background: var(--stock, var(--white)); color: var(--ink); padding-block: var(--band); }
/* the shadow a sheet casts on the one before it, edge to edge */
.stock::before, .footer::before { content: ""; position: absolute; inset: auto 0 100%; height: 30px; background: linear-gradient(to top, rgba(17, 17, 17, 0.24), rgba(17, 17, 17, 0.09) 35%, rgba(17, 17, 17, 0)); pointer-events: none; }
.hero::before, .bundle::before { content: none; }
.stock--sun { --stock: var(--sun); }
.stock--teal { --stock: var(--teal); }
.stock--flame { --stock: var(--flame); }
.stock--sky { --stock: var(--sky); }
.stock--fog { --stock: var(--fog); }
.stock--ink { --stock: var(--ink); color: var(--white); }
.stock--ink .caption-2, .stock--ink .form-note { color: #C9CDD1; }
.stock--sun .caption-2, .stock--teal .caption-2, .stock--flame .caption-2, .stock--sky .caption-2,
.stock--sun .form-note, .stock--teal .form-note, .stock--flame .form-note, .stock--sky .form-note { color: inherit; }

.section-head { display: grid; gap: 20px; max-width: 52rem; margin-bottom: clamp(40px, 5vw, 72px); }

/* the cut edges of the sheets underneath */
.edges { position: absolute; inset: auto 0 0; z-index: 3; pointer-events: none; }
.edges i {
  display: block; height: clamp(12px, 1.5vw, 20px);
  background-color: var(--c);
  background-image: repeating-linear-gradient(rgba(17, 17, 17, 0) 0 3px, rgba(17, 17, 17, 0.1) 3px 4px);
  box-shadow: 0 -1px 2px rgba(17, 17, 17, 0.16), 0 -8px 14px -8px rgba(17, 17, 17, 0.34);
}

/* ---------- 5 controls ---------- */

.btn {
  --bg: var(--ink); --fg: var(--white); --feed: var(--sun); --feed-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid var(--ink); border-radius: var(--corner);
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1.25 var(--text); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 160ms var(--ease-out), color 160ms ease, box-shadow 200ms var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--feed); transform: translateY(102%); transition: transform 240ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform 200ms var(--ease-out); }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 1.125rem; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --feed: var(--ink); --feed-fg: var(--white); }
.stock--sun .btn { --feed: var(--white); }
.stock--sun .btn--ghost { --feed: var(--ink); }
.stock--ink .btn, .footer .btn { --bg: var(--sun); --fg: var(--ink); --feed: var(--white); --feed-fg: var(--ink); border-color: var(--sun); }
.stock--ink .btn--ghost { --bg: transparent; --fg: var(--white); --feed: var(--white); border-color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--feed-fg); background-color: var(--feed); box-shadow: var(--lift-1); transition: transform 160ms var(--ease-out), color 160ms ease 70ms, box-shadow 200ms var(--ease-out), background-color 0s 240ms; }
  .btn:hover::before { transform: none; }
  .btn:hover svg { transform: translateX(4px); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.36em; width: 14px; height: 8px;
  border: solid currentColor; border-width: 0 0 3px 3px; transform: rotate(-45deg);
}

.ticks--no li::before, .ticks--no li::after { content: ""; position: absolute; left: 0; top: 0.68em; width: 18px; height: 3px; border: 0; background: currentColor; transform: rotate(45deg); }
.ticks--no li::after { transform: rotate(-45deg); }

.note { padding: 18px 22px; background: var(--fog); border-radius: var(--corner); max-width: 68ch; }
.stock--fog .note { background: var(--white); }

.faq { border-top: 2px solid currentColor; }
.faq details { border-bottom: 2px solid currentColor; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font: 600 1.2rem/1.3 var(--display); letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex: none; width: 22px; height: 22px; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; inset: 9.5px 0; background: currentColor; transition: transform 220ms var(--ease-out); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::before { transform: rotate(180deg); }
.faq details[open] .plus::after { transform: rotate(180deg); }
.faq .answer { padding: 0 56px 26px 4px; max-width: 68ch; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; } }

.field { display: grid; gap: 8px; }
.field input {
  width: 100%; min-height: 60px; padding: 14px 18px;
  font: 400 1.0625rem/1.4 var(--text); color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--corner);
}
.field input::placeholder { color: #5E6368; opacity: 1; }
.field .error { display: none; justify-self: start; padding: 4px 10px; background: var(--white); color: var(--alert); font-size: 0.9375rem; font-weight: 700; border-radius: var(--corner); }
.field[data-invalid="true"] input { border-color: var(--alert); }
.field[data-invalid="true"] .error { display: block; }
.form-inline { display: grid; gap: 12px; max-width: 34rem; }
.form-inline .btn { min-height: 60px; }
@media (min-width: 560px) { .form-inline { grid-template-columns: 1fr auto; align-items: start; } }

.field input:not([type="checkbox"]), .field select { min-height: 56px; }
.field select {
  width: 100%; padding: 12px 44px 12px 16px; appearance: none; border: 2px solid var(--ink); border-radius: var(--corner); color: var(--ink);
  font: 400 1.0625rem/1.4 var(--text);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.6'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field label, .create legend { font-weight: 700; }
.field .hint { font-size: 0.9375rem; }
.create { display: grid; gap: 44px; max-width: 1080px; }
.create fieldset { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.create legend { padding: 0; margin-bottom: 16px; font-family: var(--display); }
.create .btn { justify-self: start; }
.create .btn:disabled { opacity: 0.6; cursor: progress; }
.create__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.create__status { font-weight: 700; min-height: 1.6em; margin: 0; }
.picks { display: grid; gap: 14px; }
@media (min-width: 640px) { .picks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .picks { grid-template-columns: repeat(3, 1fr); } }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: block; height: 100%; padding: 20px 22px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--corner); transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.pick b { display: block; font: 700 1.35rem/1.2 var(--display); letter-spacing: -0.016em; margin-bottom: 4px; }
.pick input:checked + span { background: var(--ink); color: var(--white); box-shadow: var(--lift-2); }
.pick input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 4px; }
.pick:active span { transform: scale(0.985); }
@media (forced-colors: active) { .pick input:checked + span { outline: 3px solid Highlight; } }

/* sign up, log in, account */
.hero.door { min-height: 92svh; justify-content: center; padding-block: calc(var(--header) + clamp(20px, 4vh, 48px)) calc(clamp(40px, 6vw, 80px) + 60px); }
.door .hero__split { align-items: center; }
.doorcard { display: grid; gap: 20px; }
.doorcard .create__status:empty, #pass-status:empty { min-height: 0; margin-top: -20px; }
.spec .field .error { padding-left: 0; }
.with-peek { position: relative; display: block; }
.with-peek input { padding-right: 88px; }
.peek { position: absolute; right: 8px; top: 8px; bottom: 8px; min-width: 68px; border: 0; border-radius: var(--corner); background: var(--fog); color: var(--ink); font: 700 0.9375rem/1 var(--text); cursor: pointer; }
.field .tick { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 400; cursor: pointer; }
.field .tick input { width: 24px; min-height: 24px; height: 24px; margin: 2px 0 0; padding: 0; }
.code { font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--display); letter-spacing: 0.02em; overflow-wrap: anywhere; user-select: all; }
.account { display: grid; gap: clamp(56px, 7vw, 96px); }
.account h2 { margin-bottom: 20px; }
.account .row-head h2 { margin: 0; }
.tickets { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 8px; }
.tickets:empty { display: none; }
.ticket { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--sun); box-shadow: var(--lift-1); }
#me-jobs .ticket { background: var(--sky); }
.ticket.ticket--done { background: var(--fog); box-shadow: none; }
.ticket__code { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.ticket__code b { font: 700 1.2rem/1.25 var(--display); overflow-wrap: anywhere; user-select: all; }
.claim { margin-top: 32px; max-width: 520px; gap: 16px; }
.nav__login { display: none; padding: 10px 6px; font-weight: 600; text-decoration-thickness: 2px; margin-left: auto; }
@media (min-width: 1120px) { .nav__login:not([hidden]) { display: block; } }
@media (min-width: 1120px) and (max-width: 1259px) { .nav { gap: 12px; } .nav__links a { padding-inline: 9px; } .nav__links a::after { left: 9px; right: 9px; } }
@media (min-width: 1120px) { .nav__links a, .nav__login, .nav__cta { white-space: nowrap; flex: none; } }
.rung--white { --stock: var(--white); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9375rem; }
.breadcrumb a { padding-block: 4px; }
.breadcrumb span { padding-block: 4px; }

/* ---------- 6 header and footer ---------- */

.nav-outer { position: sticky; top: 0; z-index: 60; height: var(--header); margin-bottom: calc(-1 * var(--header)); }
.nav-outer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: translateY(-101%); transition: transform 260ms var(--ease-out);
}
.nav-outer[data-scrolled="true"]::before { transform: none; box-shadow: 0 1px 2px rgba(17, 17, 17, 0.14), 0 4px 14px rgba(17, 17, 17, 0.14); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); border-radius: var(--corner); }
.brand__mark svg { width: 20px; height: 20px; }
.nav__links { display: none; gap: 4px; }
.nav__links a { position: relative; display: block; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav__links a[aria-current="page"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: none; } }
.nav__cta { display: none; }
.nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ink); border-radius: var(--corner); background: var(--white); color: var(--ink); cursor: pointer; }
.burger { position: relative; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; top: 6px; width: 20px; height: 2.5px; background: currentColor; transition: transform 220ms var(--ease-out), opacity 120ms ease; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
[aria-expanded="true"] .burger span:nth-child(1) { transform: rotate(45deg); }
[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto;
  display: flex; flex-direction: column; padding: calc(var(--header) + 16px) var(--gutter) 40px;
  background: var(--sun); color: var(--ink);
  transform: translateY(-101%); visibility: hidden;
  transition: transform 280ms var(--ease-out), visibility 0s 280ms;
}
.mobile-menu[data-open="true"] { transform: none; visibility: visible; transition: transform 340ms var(--ease-out), visibility 0s; }
.mobile-menu a:not(.btn) { padding: 16px 0; border-bottom: 2px solid var(--ink); font: 700 1.85rem/1.15 var(--display); letter-spacing: -0.025em; text-decoration: none; }
.mobile-menu .btn { margin-top: 28px; }
.nav-outer:has([aria-expanded="true"])::before { transform: translateY(-101%); box-shadow: none; }
@media (min-width: 1120px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .mobile-menu { display: none; }
}

.footer { position: relative; background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer a:not(.btn) { color: inherit; }
.footer { overflow-x: clip; }
.footer__grid { display: grid; gap: 40px 32px; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 10px; }
.footer li a { display: inline-block; padding: 7px 0; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.footer p { color: #D6DADD; max-width: 19rem; }
.footer .brand__mark { background: var(--sun); }
.footer .brand__mark svg { color: var(--ink); }
.brand__mark svg { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .footer li a:hover { text-decoration-color: var(--sun); } }
.footer__word { max-width: none !important; margin: clamp(48px, 7vw, 96px) 0 0; font: 700 clamp(4rem, 20.4vw, 19.5rem)/0.74 var(--display); letter-spacing: -0.04em; color: var(--sun) !important; text-align: center; white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: clamp(40px, 5vw, 72px); font-size: 0.9375rem; color: #D6DADD; }

/* ---------- 7 pages ---------- */

/* a real printed page */
.page { position: relative; background: var(--paper, var(--white)); box-shadow: var(--lift-2); aspect-ratio: 612 / 792; overflow: hidden; border-radius: 1px; }
.page img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.page--sun { --paper: var(--sun); }
.page--teal { --paper: #54D6C3; }
.page--flame { --paper: #FF9B80; }
.page--sky { --paper: #9AD4FF; }
.page__cap { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: var(--ink); color: var(--white); font-size: 0.9375rem; font-weight: 700; }

/* ---------- 8 sections ---------- */

/* opening sheet */
.hero { padding: calc(var(--header) + clamp(16px, 4vh, 48px)) 0 0; overflow: clip; display: flex; flex-direction: column; }
.hero__in { position: relative; flex: 1; display: grid; gap: clamp(28px, 4.4vh, 44px); align-content: start; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; }
.facts li { display: inline-flex; align-items: baseline; gap: 10px; }
.facts li::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; transform: translateY(-1px); }
.fan { position: relative; z-index: 1; height: clamp(290px, 78vw, 430px); margin-top: 8px; }
.fan .page { position: absolute; left: 50%; top: 24px; width: clamp(190px, 52vw, 320px); margin-left: calc(clamp(190px, 52vw, 320px) / -2); transform-origin: 50% 120%; box-shadow: var(--lift-3); }
.fan .page:nth-child(1) { transform: rotate(-17deg); }
.fan .page:nth-child(2) { transform: rotate(-6deg); }
.fan .page:nth-child(3) { transform: rotate(6deg); }
.fan .page:nth-child(4) { transform: rotate(17deg); }
.fan .page:nth-child(3) { z-index: 2; }
.hero--home, .hero--free { min-height: 100svh; }
@media (min-width: 900px) {
  .hero--home .hero__in, .hero--free .hero__in { min-height: max(100svh - var(--header) - 60px, 560px); }
  .hero--home .hero__copy { max-width: 43rem; padding-bottom: 76px; }
  .hero--home .hero__copy .lead { max-width: 30rem; }
  .hero__in .fan--corner { position: absolute; right: calc(var(--gutter) + 9vw); bottom: 0; width: clamp(230px, min(24.5vw, 41vh), 430px); height: 0; margin: 0; }
  .fan--corner .page { width: 100%; left: 0; margin: 0; top: auto; bottom: clamp(-120px, -9vh, -40px); }
  .hero--free .hero__in { grid-template-columns: 1.05fr 0.95fr; align-items: center; align-content: center; }
  .hero--free .fan { height: 100%; min-height: 520px; }
  .hero--free .fan .page { width: clamp(280px, 25vw, 360px); margin-left: calc(clamp(280px, 25vw, 360px) / -2); top: auto; bottom: -70px; }
}
@media (min-width: 900px) and (max-width: 1099px) { .hero--home .hero__copy { max-width: 25rem; } }
@media (min-width: 900px) and (max-height: 700px) { .hero__copy .facts { display: none; } }
.hero--plain { padding-bottom: calc(var(--band) * 0.8 + 40px); }
.hero--plain.hero--plain > .wrap { position: relative; }
.hero--plain .wrap { display: grid; gap: 28px; }
.hero__split { display: grid; gap: 48px clamp(32px, 6vw, 96px); }
@media (min-width: 960px) { .hero__split { grid-template-columns: 1.25fr 0.75fr; align-items: end; } }

@media (max-width: 899px) {
  .hero__in { gap: 18px; }
  .hero__copy { gap: 16px; }
  .hero--home .hero__in, .hero--free .hero__in { grid-template-rows: auto auto minmax(230px, 1fr); }
  .hero--free .hero__in { grid-template-rows: auto minmax(230px, 1fr); }
  .hero--home .fan, .hero--free .fan { height: auto; margin-top: 0; }
  .hero--home .fan .page, .hero--free .fan .page { top: 10px; width: clamp(170px, 46vw, 300px); margin-left: calc(clamp(170px, 46vw, 300px) / -2); }
  .hero--home .lead { line-height: 1.38; }
  .hero--home .btn-row { gap: 8px; }
  .hero--home .btn-row .btn { min-height: 52px; padding: 10px 14px; font-size: 0.9375rem; }
  .hero--home .btn-row svg { display: none; }
  .hero__copy .facts { gap: 2px 18px; font-size: 0.9375rem; }
}

/* what is already done */
.claims { display: grid; gap: 40px clamp(40px, 7vw, 112px); }
.claims > div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid currentColor; }
.claims p { max-width: 34em; }
@media (min-width: 700px) { .claims { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .claims--three { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.offset { display: grid; gap: 56px; }
@media (min-width: 1000px) { .offset { grid-template-columns: 4fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }

/* a row of real pages to swipe through */
.row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 34px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.row .page { flex: 0 0 min(70vw, 320px); scroll-snap-align: start; }

/* open the pack */
.pack__grid { display: grid; gap: 40px; }
.pack__text { display: grid; gap: 28px; align-content: center; }
.pack__list { display: grid; gap: 2px; }
.pack__list li { padding: 10px 0; }
.pack__list strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.012em; }
.pack__parts { position: relative; }
.pack__rail { display: none; }
.pack__item, .trio { display: contents; }
@media (min-width: 960px) { .pack__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: center; } .pack__pages.row { margin-inline: -40px calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); padding-inline: 40px; scroll-padding-inline: 40px; padding-bottom: 60px; } }
.pack.is-live { padding: 0; }
.is-live .pack__track { height: 460vh; }
.is-live .pack__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--header); overflow: clip; }
.is-live .pack__text { gap: clamp(12px, 2vh, 24px); }
.is-live .pack__text .heading-2 { font-size: clamp(2rem, min(3.4vw, 6vh), 3.4rem); }
.is-live .pack__list li { position: relative; padding: clamp(5px, 1vh, 11px) 0 clamp(5px, 1vh, 11px) 24px; color: #5A5F64; transition: color 200ms ease; }
.is-live .pack__parts::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--rule); }
.is-live .pack__list li.is-on { color: var(--ink); }
.is-live .pack__rail { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ink); transform-origin: top; z-index: 1; }
.is-live .pack__pages.row.row { margin: 0; padding: 0; }
.is-live .pack__pages { position: relative; display: block; overflow: visible; height: min(76vh, 660px); }
.is-live .pack__item { display: block; position: absolute; left: 25%; top: 50%; width: min(23vw, 48vh, 380px); }
.is-live .pack__item:nth-child(1) { z-index: 5; }
.is-live .pack__item:nth-child(2) { z-index: 4; }
.is-live .pack__item:nth-child(3) { z-index: 3; }
.is-live .pack__item:nth-child(4) { z-index: 2; }
.is-live .pack__item:nth-child(5) { z-index: 1; }
.is-live .trio { position: absolute; }
.is-live .trio .page + .page { position: absolute; inset: 0; }

.spec { background: var(--white); box-shadow: var(--lift-2); padding: clamp(24px, 3vw, 40px); }
.spec dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-weight: 700; }
.spec dd { text-align: right; font-variant-numeric: tabular-nums; }
.spec__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); }
.spec > p { margin-top: 18px; }

/* one sentence, large */
.say { padding-block: clamp(120px, 17vw, 240px); }
.say p { max-width: 17em; font: 700 clamp(2.3rem, 5.8vw, 5.5rem)/1.02 var(--display); letter-spacing: -0.034em; text-wrap: balance; }

/* ladder: three sheets, each a step up */
.steps-up { display: grid; gap: 24px; }
.rung { --stock: var(--white); position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 2.6vw, 40px); background: var(--stock, var(--white)); box-shadow: var(--lift-2); color: var(--ink); }
.rung .price { font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 0.9; letter-spacing: -0.04em; }
.rung .price small { font: 600 1.05rem/1.2 var(--text); letter-spacing: 0; }
.rung > .btn { margin-top: auto; }
.rung .ticks { margin-bottom: 10px; }
.rung--sun { --stock: var(--sun); }
.rung--teal { --stock: var(--teal); }
.rung--fog { --stock: var(--fog); }
@media (min-width: 960px) {
  .steps-up { grid-template-columns: repeat(3, 1fr); gap: 0; align-items: end; }
  .steps-up .rung { padding-bottom: 44px; }
  .steps-up .rung:nth-child(1) { z-index: 1; min-height: 480px; }
  .steps-up .rung:nth-child(2) { z-index: 2; min-height: 580px; margin-inline: -10px; box-shadow: var(--lift-3); }
  .steps-up .rung:nth-child(3) { z-index: 1; min-height: 660px; }
}

/* a continuous route */
.route { display: grid; gap: 36px; counter-reset: step; position: relative; }
.route li { position: relative; padding-left: 92px; display: grid; gap: 8px; align-content: start; min-height: 72px; counter-increment: step; }
.route li::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; background: var(--ink); color: var(--white); font: 700 1.9rem/1 var(--display); border-radius: 50%; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 30px; top: 60px; bottom: -40px; width: 4px; background: var(--ink); }
.route p { max-width: 30em; }
@media (min-width: 820px) {
  .route { grid-template-columns: repeat(var(--n, 3), 1fr); gap: 0; }
  .route li { padding: 100px 32px 0 0; }
  .route li:not(:last-child)::after { left: 60px; right: -4px; top: 30px; bottom: auto; width: auto; height: 4px; }
}
.route--days li::before { content: none; }
.route--days .day { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; min-width: 64px; height: 44px; padding: 0 12px; background: var(--ink); color: var(--white); font-weight: 700; border-radius: var(--corner); }
.route--days li { padding: 60px 0 0 30px; }
.route--days li:not(:last-child)::after { left: 0; top: 40px; bottom: -40px; }
@media (min-width: 820px) {
  .route--days li { padding: 72px 20px 0 0; }
  .route--days li:not(:last-child)::after { left: 0; right: 0; top: 20px; opacity: 1; }
}

/* storybook covers: type only */
.covers { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cover-type { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: clamp(18px, 2.2vw, 32px); background: var(--stock, var(--sun)); color: var(--ink); box-shadow: var(--lift-3); }
.cover-type b, .cover-type h3 { font: 700 clamp(1.35rem, 2.5vw, 2.3rem)/1.02 var(--display); letter-spacing: -0.028em; }
.covers--lean .cover-type:nth-child(1) { transform: rotate(-4deg); }
.covers--lean .cover-type:nth-child(2) { transform: translateY(12%) rotate(5deg); }
.covers--lean { padding-bottom: 8%; }

.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; min-width: 0; }
.story .cover-type { box-shadow: var(--lift-2); }
.story .cover-type, .covers .cover-type { container-type: inline-size; padding: clamp(12px, 1.4vw, 20px); }
.cover-type.cover-type h3, .cover-type.cover-type b { font-size: calc(var(--fit, 21) * 1cqw); line-height: 0.92; letter-spacing: -0.038em; }
.cover-type h3 span, .cover-type b span { display: block; }
.story .cover-type { padding: 20px; }
.trio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 28px; }
@media (min-width: 760px) { .trio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* closing sheet */
.close__in { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .close__in { grid-template-columns: 7fr 5fr; } }
.close__act { display: grid; gap: 20px; justify-items: start; }

.table-wrap { background: var(--white); box-shadow: var(--lift-1); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px clamp(12px, 2vw, 22px); text-align: left; border-bottom: 1px solid var(--rule); }
.compare thead th { border-bottom: 3px solid var(--ink); }
.compare tbody th { font-weight: 400; }
.compare td:last-child { font-weight: 700; }

/* ---------- 9 product pages ---------- */

/* keep these names: pdfgen/publish.js writes them into assets/units.js */
.unit-card__cover { --stock: var(--teal); }
.unit-card__cover--clay { --stock: var(--flame); }
.unit-card__cover--forest { --stock: var(--sky); }
.unit-card__cover--gold { --stock: var(--sun); }

.unit-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .unit-grid { grid-template-columns: repeat(3, 1fr); } }

.unit-sheet { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 470px; padding: 28px 28px 0; background: var(--stock); color: var(--ink); overflow: clip; box-shadow: var(--lift-1); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.unit-sheet h3 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 0.98; letter-spacing: -0.034em; }
.unit-sheet h3 a { text-decoration: none; }
.unit-sheet h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.unit-sheet h3 a:focus-visible { outline: none; box-shadow: none; }
.unit-sheet:has(h3 a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.unit-sheet__hook { max-width: 24em; font-weight: 500; }
.unit-sheet__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; position: relative; z-index: 2; margin: auto -28px -1px; padding: 16px 28px 19px; background: var(--white); }
.unit-sheet__foot .price { font-size: 1.6rem; }
.unit-sheet__foot span:last-child { font-size: 0.9375rem; font-weight: 600; text-align: right; }
.unit-sheet__art { flex: 1; position: relative; min-height: 190px; }
.unit-sheet__art > * { position: absolute; left: 14%; right: 4%; top: 10px; transform: rotate(3deg); transform-origin: 100% 100%; transition: transform 300ms var(--ease-out); box-shadow: var(--lift-2); }
.unit-sheet__art > img { width: 82%; height: auto; min-height: 100%; object-fit: cover; object-position: top; background: var(--white); }
.unit-sheet__art > .days { padding: 14px 24px 40px; background: var(--white); }
.days li { padding: 3px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .unit-sheet:hover { transform: translateY(-6px); box-shadow: var(--lift-3); }
  .unit-sheet:hover .unit-sheet__art > * { transform: translateY(-12px) rotate(-1deg); }
}

.bundle { position: relative; z-index: 1; display: grid; gap: 28px; align-items: end; margin-top: 24px; padding: clamp(28px, 4vw, 56px); background: var(--ink); color: var(--white); box-shadow: var(--lift-2); }
.bundle > div { display: grid; gap: 14px; }
.bundle__act { justify-items: start; }
.bundle__save { font: 700 1.5rem/1.1 var(--display); color: var(--sun); }
@media (min-width: 860px) { .bundle { grid-template-columns: 1fr auto; } .bundle__act { justify-items: end; text-align: right; } }

.unit-hero { padding: calc(var(--header) + 24px) 0 calc(var(--band) * 0.8 + 40px); overflow: clip; }
.unit-hero::before { content: none; }
.unit-hero__side { position: relative; }
.unit-hero__side .buy-box { position: relative; z-index: 1; box-shadow: 0 -3px 5px rgba(17, 17, 17, 0.16), 0 -12px 26px rgba(17, 17, 17, 0.26), var(--lift-3); }
.unit-hero__side .page { width: min(74%, 330px); margin: 0 0 -46% auto; transform: rotate(4deg); box-shadow: var(--lift-3); }
@media (max-width: 959px) { .unit-hero__side .page { margin-inline: auto; margin-bottom: -200px; } }
.unit-hero__grid { display: grid; gap: 48px clamp(40px, 6vw, 96px); margin-top: clamp(24px, 4vw, 56px); }
@media (min-width: 960px) { .unit-hero__grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.unit-hero__words { display: grid; gap: 22px; }
.buy-box { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--white); box-shadow: var(--lift-3); }
.buy-box .price { font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 0.95; }
.buy-box .ticks--no li::before, .ticks--no li::after { content: ""; position: absolute; left: 0; top: 0.68em; width: 18px; height: 3px; border: 0; background: currentColor; transform: rotate(45deg); }
.ticks--no li::after { transform: rotate(-45deg); }

.note { padding: 16px 18px; }
@media (min-width: 700px) {
.samples.row { display: grid; overflow: visible; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.6vw, 36px); align-items: start; }
.samples .page:nth-child(2) { margin-top: 28px; }
.samples .page:nth-child(3) { margin-top: 56px; }
}
.cover-photo { max-height: 560px; width: 100%; object-fit: contain; }
.details-grid { display: grid; gap: 44px clamp(32px, 5vw, 80px); }
@media (min-width: 820px) { .details-grid { grid-template-columns: 1.3fr 1fr 0.8fr; } }
.details-grid h2 { margin-bottom: 16px; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 32px; }

.levels { display: grid; gap: 28px; }
@media (min-width: 700px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.levels figcaption { margin-top: 14px; font-weight: 600; }
.levels > :nth-child(2) { margin-top: clamp(0px, 3vw, 44px); }
.levels > :nth-child(3) { margin-top: clamp(0px, 6vw, 88px); }

/* ---------- 10 reading pages ---------- */

.section { padding: calc(var(--header) + 48px) 0 var(--band); background: var(--white); position: relative; }
.section h1.heading-2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.section .heading-4 { padding-top: 22px; }
.section .body-3 { font-size: 1.0938rem; }

.lost { min-height: 92svh; display: grid; align-items: center; padding-top: calc(var(--header) + 40px); }

/* ---------- 11 motion ---------- */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

.w { display: inline-block; overflow: clip; padding: 0.06em 0.08em 0.24em; margin: -0.06em -0.08em -0.24em; vertical-align: top; }
.w > i { display: inline-block; font-style: normal; will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  /* the opening is held back only until motion.js starts, and shows itself if that never happens */
  .js .hero [data-intro] { visibility: hidden; animation: show 0s 1.6s forwards; }
  .js.motion-ready .hero [data-intro] { visibility: visible; animation: none; }

  @view-transition { navigation: auto; }
  ::view-transition-group(unit-sheet) { animation-duration: 420ms; animation-timing-function: var(--ease-in-out); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}
@keyframes show { to { visibility: visible; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, opacity !important; }
  .btn:active, .btn:hover, .unit-sheet:hover, .btn:hover svg { transform: none; }
  .unit-sheet:hover .unit-sheet__art > * { transform: rotate(3deg); }
}

@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .faq .plus::before, .faq .plus::after, .burger span { background: CanvasText; }
}

/* ---------- 12 print ---------- */

@media print {
  .nav-outer, .mobile-menu, .footer, .edges, .fan { display: none !important; }
  .stock { padding: 24px 0; box-shadow: none; background: #fff !important; color: #111 !important; }
}
