/* RhythmLung — cobalt field, the sentence is the layout */
:root {
  --bg: #0017d4;
  --surface: #0014b8;
  --paper: #f3f1ea;
  --ink: #ffffff;
  --ink-dark: #0a0a08;
  --muted: #c9d2ff;
  --muted-dark: #3d3d36;
  --accent: #ffffff;
  --accent-ink: #0017d4;
  --font-display: "Imbue", "Times New Roman", serif;
  --font-text: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.4rem, 1.4rem + 4vw, 5.5rem);
  --step-display: clamp(4.5rem, 3rem + 10vw, 12rem);
  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 12vw, 13rem);
  --radius: 0px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  font-kerning: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 48, "wght" 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-wrap: balance;
  hyphens: none;
}
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.bleed { margin-inline: calc(var(--margin) * -1); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: var(--margin); top: -4rem;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; z-index: 200;
  font-weight: 600;
}
.skip:focus { top: 0.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; letter-spacing: 0;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }
.btn-line {
  background: var(--paper); color: var(--ink-dark);
}
.btn-line:hover { background: var(--ink); color: var(--bg); }
.on-paper .btn-line { background: var(--bg); color: var(--ink); }
.on-paper .btn-line:hover { background: var(--ink-dark); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink-dark); }
.btn-light:hover { background: var(--accent); color: var(--accent-ink); }

.link {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; }

/* Required legal topline */
.topline {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-small);
  padding: 0.6rem 0;
}
.topline .wrap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
}
.topline p { margin: 0; max-width: none; }
.topline a { font-weight: 600; }
.topline-meta { display: none; gap: 1.2rem; flex: none; }
.topline-meta a { text-decoration: none; }
.topline-meta a:hover { text-decoration: underline; }
@media (min-width: 960px) { .topline-meta { display: flex; } }

/* Header — plain bar */
.site-header {
  position: relative; z-index: 50;
  background: var(--bg);
  color: var(--ink);
}
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
}
.header-tools { display: flex; align-items: center; gap: 0.5rem; justify-content: flex-end; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.6rem; padding: 0 0.85rem;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.cart-link [data-cart-count] {
  display: inline-grid; place-items: center;
  min-width: 1.4rem; height: 1.4rem; padding: 0 0.25rem;
  background: var(--accent-ink); color: var(--accent); font-size: 0.78rem; font-weight: 700;
}
.main-nav { justify-self: center; }
.nav-inner { display: flex; justify-content: center; gap: clamp(0.85rem, 1.5vw, 1.6rem); }
.main-nav a {
  text-decoration: none; font-size: 1rem; font-weight: 500;
  color: var(--muted); padding: 0.4rem 0;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; width: 44px; height: 44px; cursor: pointer; position: relative;
  background: var(--accent);
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--accent-ink);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

@media (max-width: 860px) {
  .header-bar { grid-template-columns: auto 1fr; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); max-height: 0; overflow: hidden; visibility: hidden;
    justify-self: stretch;
  }
  .nav-inner { flex-direction: column; padding: 0.5rem var(--margin) 1.6rem; gap: 0; }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 400;
    text-transform: uppercase; color: var(--ink); padding: 0.4rem 0;
    line-height: 0.95;
  }
  .burger { display: block; }
  .site-header:has(.nav-toggle:checked) .main-nav { max-height: 90vh; overflow-y: auto; visibility: visible; }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(2) { opacity: 0; }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .cart-link .cart-word { display: none; }
}

/* Hero — the sentence, with a photograph as a word */
.sentence-hero,
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  color: var(--ink);
  padding: 2.4rem 0 3.2rem;
}
.sentence-hero h1,
.hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.12em;
  row-gap: 0.04em;
  font-size: var(--step-display);
  font-variation-settings: "opsz" 96, "wght" 400;
  letter-spacing: -0.03em;
  line-height: 0.88;
  max-width: none;
  text-wrap: unset;
}
.sentence-hero h1 span,
.hero h1 span { display: block; }
.word-photo {
  display: block;
  height: 0.82em;
  width: 42vw;
  flex: 1 1 38vw;
  min-width: 4.5rem;
  overflow: hidden;
  align-self: center;
}
.word-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-object { display: none; }
.hero-copy { padding: 0; }
.hero-support,
.sentence-hero .hero-support {
  margin-top: clamp(1.8rem, 4vw, 3rem);
  font-size: var(--step-body);
  max-width: 44ch;
  color: var(--ink);
}
.hero-sides {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--gutter);
  margin-top: 1.6rem;
  align-items: end;
}
.hero-sides p {
  font-size: var(--step-body);
  max-width: 44ch;
  color: var(--ink);
}
.hero-sides .nums,
.sentence-hero .nums {
  color: var(--muted);
  font-size: var(--step-small);
  max-width: 28ch;
}
.hero-sides p:last-child { justify-self: end; text-align: right; }
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
  .word-photo img {
    animation: shutter 1.1s var(--ease-out) both;
  }
}
@keyframes shutter {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.08); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

@media (max-width: 860px) {
  .sentence-hero, .hero { min-height: auto; padding: 1.2rem 0 2rem; }
  .sentence-hero h1, .hero h1 { font-size: clamp(4.25rem, 22vw, 6rem); }
  .word-photo { flex: 1 1 46vw; height: 0.84em; }
  .hero-sides { grid-template-columns: 1fr; margin-top: 1.2rem; }
  .hero-sides p:last-child { justify-self: start; text-align: left; }
  .hero-actions { margin-top: 1.4rem; }
}

/* Facts — large type, not a table of cards */
.facts-band {
  background: var(--paper);
  color: var(--ink-dark);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-head);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 60, "wght" 400;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.85;
  margin-bottom: 0.4rem;
}
.fact span { font-size: var(--step-body); color: var(--muted-dark); display: block; max-width: 16ch; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}

/* Chapters — one beat, then the other */
.intro-block { background: var(--bg); }
.chapter {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding-block: calc(var(--section) / 2);
}
.chapter.flip { grid-template-columns: 0.85fr 1.15fr; }
.chapter.flip .chapter-copy { order: -1; }
.chapter-media { margin: 0; }
.chapter-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chapter-copy h2 {
  font-size: var(--step-head);
  margin-bottom: 1.1rem;
  color: inherit;
  max-width: 12ch;
  font-variation-settings: "opsz" 72, "wght" 400;
}
.chapter-copy p { color: var(--muted); font-size: var(--step-lead); line-height: 1.4; max-width: 36ch; }
.chapter-copy .fine { font-size: var(--step-small); margin-top: 1.2rem; color: var(--muted); }
.chapter-copy .link { color: var(--ink); }
.on-paper .chapter-copy p,
.on-paper .chapter-copy .fine { color: var(--muted-dark); }
.on-paper .chapter-copy .link { color: var(--ink-dark); }
.chapter-field {
  padding-block: calc(var(--section) / 2);
}
.chapter-field.on-paper { background: var(--paper); color: var(--ink-dark); }
@media (max-width: 860px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; }
  .chapter.flip .chapter-copy { order: 0; }
  .chapter-media img { aspect-ratio: 1; }
}

/* Statement — yellow field */
.statement {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(5rem, 12vw, 10rem) var(--margin);
}
.statement h2 {
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  max-width: 12ch;
  margin-bottom: 0.6rem;
  font-variation-settings: "opsz" 84, "wght" 400;
}
.statement p {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.35;
  max-width: 36ch;
}

/* Paper pages and catalog rows */
.on-paper { background: var(--paper); color: var(--ink-dark); }
.on-paper h2 { color: var(--ink-dark); }
.section h2 { font-size: var(--step-head); max-width: 16ch; }
.sec-lead { font-size: var(--step-lead); color: var(--muted); max-width: 42ch; margin: 0.8rem 0 2.4rem; }
.on-paper .sec-lead { color: var(--muted-dark); }

.catalog {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.catalog .card,
.catalog-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1.25rem;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  min-height: 7.5rem;
}
.on-paper .catalog .card,
.on-paper .catalog-row {
  background: var(--bg);
  color: var(--ink);
}
.catalog .card > a,
.catalog-row > a {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  flex: none;
  overflow: hidden;
}
.catalog .card img,
.catalog-row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.card-body {
  padding: 0.6rem 0.2rem;
  min-width: 0;
}
.card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-variation-settings: "opsz" 28, "wght" 400;
  line-height: 0.95;
}
.card h3 a { text-decoration: none; }
.card p {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  max-width: 42ch;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 1rem 0 0;
}
.card-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.index-add,
.card .index-add {
  width: 2.6rem; height: 2.6rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: 1.35rem; font-weight: 600;
  display: grid; place-items: center;
  flex: none;
}
.index-add.is-added, .card .index-add.is-added { background: var(--paper); color: var(--ink-dark); }

@media (max-width: 860px) {
  .catalog .card,
  .catalog-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    min-height: 0;
    padding-bottom: 0.7rem;
  }
  .catalog .card > a,
  .catalog-row > a { width: 5.5rem; height: 5.5rem; }
  .card-foot {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 0 0.7rem 0 0.2rem;
  }
}

/* How — three full-height colour panels, one verb each */
.how {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.how li {
  min-height: 100svh;
  padding: clamp(2rem, 4vw, 3.2rem) var(--margin);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.how li:nth-child(1) { background: var(--bg); color: var(--ink); }
.how li:nth-child(2) { background: var(--paper); color: var(--ink-dark); }
.how li:nth-child(3) { background: var(--accent); color: var(--accent-ink); }
.how h3 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  margin-bottom: 1rem;
  max-width: 10ch;
  font-variation-settings: "opsz" 72, "wght" 400;
}
.how p {
  max-width: 28ch;
  font-size: var(--step-body);
  font-weight: 400;
  text-transform: none;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how li { min-height: 78svh; }
  .how h3 { font-size: clamp(3.2rem, 14vw, 4.8rem); max-width: 12ch; }
}

/* Feature / about */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature h2 { margin-bottom: 1rem; font-size: var(--step-head); max-width: 12ch; }
.feature p { color: var(--muted); }
.on-paper .feature p { color: var(--muted-dark); }
.actions { margin-top: 1.8rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature img { aspect-ratio: 1; } }

/* Quotes */
.quote-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90svh;
  background: var(--paper);
  color: var(--ink-dark);
  align-items: stretch;
}
.quote-hero img {
  width: 100%;
  height: 100%;
  min-height: 50svh;
  object-fit: cover;
}
.quote-hero .wrap {
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem) var(--margin);
  width: 100%;
}
.quote-hero blockquote p {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.35;
  max-width: 32ch;
  color: var(--ink-dark);
}
.quote-hero figcaption { margin-top: 1.1rem; font-size: 1rem; color: var(--muted-dark); }
.quotes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.quote blockquote p {
  font-size: var(--step-lead);
  font-weight: 500;
  text-transform: none;
  line-height: 1.4;
  max-width: 36ch;
}
.quote figcaption { margin-top: 0.85rem; font-size: var(--step-small); color: var(--muted-dark); }
.quote figcaption span { display: block; }
.fineprint { font-size: var(--step-small); color: var(--muted-dark); margin-top: 2.4rem; max-width: 70ch; }
@media (max-width: 860px) {
  .quote-hero { grid-template-columns: 1fr; min-height: 0; }
  .quote-hero img { min-height: 55vw; max-height: 70vw; }
  .quotes-list { grid-template-columns: 1fr; }
}

/* Notice */
.notice {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg);
  color: var(--ink);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.notice h2 { margin-bottom: 0; font-size: var(--step-head); max-width: 10ch; }
.notice p { color: var(--muted); }
@media (max-width: 860px) { .notice { grid-template-columns: 1fr; } }

/* FAQ — collapse kept for legal/health */
.faq-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-photo { position: relative; }
.faq-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-photo .inset {
  position: absolute; left: -8%; bottom: 8%;
  width: 42%; aspect-ratio: 1; object-fit: cover;
}
.faq { padding: 1.15rem 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-text);
  font-size: 1.2rem; font-weight: 600; line-height: 1.3;
  text-transform: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -4px;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .faq-a { padding: 0.8rem 2rem 0.2rem 0; color: var(--muted); max-width: 62ch; }
.on-paper .faq .faq-a { color: var(--muted-dark); }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-photo { order: -1; }
  .faq-photo img { aspect-ratio: 4 / 5; }
}

/* Inner page head */
.page-head { padding: clamp(2.6rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: var(--step-small); color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.45rem; }
.page-head h1 {
  font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.4rem);
  margin-bottom: 0.9rem;
  max-width: 22ch;
  font-variation-settings: "opsz" 60, "wght" 400;
}
.page-head .lede { font-size: var(--step-lead); color: var(--muted); max-width: 42ch; font-weight: 400; }
.on-paper .page-head .lede, .on-paper .crumbs { color: var(--muted-dark); }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem; }
.page-nav a {
  text-decoration: none; padding: 0.6rem 1rem;
  background: var(--bg); color: var(--ink); font-weight: 600;
}
.on-paper .page-nav a { background: var(--bg); color: var(--ink); }

/* Documents */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.toc { position: sticky; top: 5.5rem; background: var(--surface); padding: 1.3rem; color: var(--ink); }
.on-paper .toc { background: var(--bg); color: var(--ink); }
.toc p {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  line-height: 0.95;
  max-width: none;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.45rem 0; text-decoration: none; color: var(--muted); }
.on-paper .toc a { color: var(--muted); }
.toc a:hover { color: inherit; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 2.4rem 0 0.9rem;
  scroll-margin-top: 5.5rem;
  text-transform: uppercase;
}
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: inherit; }

.data-list { margin: 0 0 1.4rem; }
.data-list div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem; padding: 0.9rem 0;
}
.data-list dt { font-size: var(--step-small); color: var(--muted); }
.on-paper .data-list dt { color: var(--muted-dark); }
.data-list dd { margin: 0; }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; gap: 0.2rem; } }

.callout {
  background: var(--accent); color: var(--accent-ink);
  padding: 1.1rem 1.3rem; margin: 1.4rem 0;
  font-size: 1rem;
}
.callout p:last-child { margin: 0; }

/* Story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.story figure { margin: 0; position: sticky; top: 5.5rem; }
.story img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 0.8rem; }
.on-paper .story figcaption { color: var(--muted-dark); }
.milestones { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.6rem; }
.milestones strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 0.3rem;
  line-height: 0.95;
}
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story figure { position: static; } }

.banner-img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem var(--gutter); }
.gloss h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 20, "wght" 400;
}
.gloss p { font-size: 1rem; color: var(--muted-dark); font-weight: 400; text-transform: none; }
@media (max-width: 960px) { .glossary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .glossary { grid-template-columns: 1fr; } .banner-img { aspect-ratio: 4 / 3; } }

.principles { list-style: none !important; margin: 0 0 1.4rem; padding: 0 !important; }
.principles li { padding: 0.85rem 0 !important; }

/* Product */
.product {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.product-media { margin: 0; position: sticky; top: 5.5rem; background: var(--bg); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 60, "wght" 400;
}
.tagline { font-size: var(--step-lead); margin-bottom: 1.2rem; font-weight: 400; text-transform: none; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.price { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--font-text); }
.vat { font-size: var(--step-small); color: var(--muted-dark); text-align: right; max-width: 24ch; }
.buy { display: grid; gap: 0.55rem; margin: 1.4rem 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; list-style: none; padding: 0; }
.perks li { font-size: 0.95rem; color: var(--muted-dark); }
.perks svg { display: none; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }
@media (max-width: 460px) { .perks { grid-template-columns: 1fr; } }

.dossier { display: grid; gap: 2rem; }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 1.5rem; }
.dossier-row > h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 0.75rem 0; vertical-align: top; }
.spec th { width: 36%; font-size: var(--step-small); color: var(--muted-dark); font-weight: 600; padding-right: 1rem; }
@media (max-width: 760px) { .dossier-row { grid-template-columns: 1fr; gap: 0.6rem; } }

/* Cart */
.cart-lines { background: transparent; color: inherit; }
.cart-line {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 1.2rem; align-items: center; padding: 1.15rem 0;
  background: var(--bg); color: var(--ink);
  padding: 1rem;
  margin-bottom: 0.45rem;
}
.on-paper .cart-line { background: var(--bg); color: var(--ink); }
.cart-line img { width: 90px; height: 90px; object-fit: cover; background: var(--surface); }
.cart-line h2,
.on-paper .cart-line h2 { font-size: 1.5rem; margin: 0 0 0.2rem; color: inherit; }
.cart-line .unit { font-size: var(--step-small); color: var(--muted); margin: 0 0 0.5rem; }
.cart-line .controls { display: flex; align-items: center; gap: 1rem; }
.qty { display: inline-flex; align-items: center; background: var(--surface); }
.qty button { width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 2rem; text-align: center; font-weight: 700; }
.remove { font-size: 0.84rem; color: var(--muted); cursor: pointer; text-decoration: underline; }
.line-total { font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.summary { background: var(--bg); color: var(--ink); padding: 1.6rem; position: sticky; top: 5.5rem; }
.summary h2, .on-paper .summary h2 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--ink); }
.on-paper .check { color: var(--muted-dark); }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.95rem; color: var(--muted); }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.55rem 0; }
.sum-total strong { font-size: 1.6rem; font-weight: 700; }
.summary .btn { margin-top: 1.1rem; }
.summary .small { margin-top: 0.9rem; color: var(--muted); }
.empty { padding: 3.2rem 1.5rem; text-align: left; background: var(--bg); color: var(--ink); }
.empty p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  line-height: 0.9;
  max-width: 12ch;
}
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 70px minmax(0, 1fr); }
  .line-total { grid-column: 2; }
}

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field > span { font-size: var(--step-small); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 0; border-radius: var(--radius); padding: 0.85rem 1rem;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--accent); flex: none; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-panel { background: var(--accent); color: var(--accent-ink); padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-panel h2 { margin-bottom: 1rem; }
.contact-panel .data-list dt { color: var(--accent-ink); opacity: 0.7; }
.contact-panel a { color: var(--accent-ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 1rem;
  background: rgb(6 16 58 / 0.72);
}
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); color: var(--ink-dark); max-width: 520px; width: 100%; padding: 2.2rem; }
.modal-box h2 { font-size: 2.2rem; margin-bottom: 0.6rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.thanks-icon { display: none; }

.cookie-bar {
  position: relative;
  z-index: 40;
  background: var(--paper); color: var(--ink-dark);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .wrap, .cookie-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; padding: 1.15rem 0;
}
.cookie-bar p { margin: 0; font-size: 1rem; max-width: none; }
.cookie-bar strong { font-weight: 700; }
.cookie-bar .btn-line { background: var(--bg); color: var(--ink); }
.cookie-bar .btn-line:hover { background: var(--ink-dark); color: var(--paper); }
.cookie-actions { display: flex; gap: 0.45rem; flex: none; }
@media (max-width: 760px) {
  .cookie-bar .wrap, .cookie-bar .container { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* Footer — inverse field, cropped giant wordmark */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink-dark);
  padding-bottom: 0;
}
.on-paper .site-footer {
  background: var(--bg);
  color: var(--ink);
}
.footer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88svh;
  position: relative;
  z-index: 1;
}
.footer-photo { margin: 0; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 50svh; }
.footer-menu {
  padding: clamp(2rem, 5vw, 4rem) var(--margin) clamp(10rem, 22vw, 16rem);
  display: flex; flex-direction: column;
  min-width: 0;
}
.footer-menu .brand { margin-bottom: 2rem; color: inherit; }
.on-paper .footer-menu .brand { color: var(--ink); }
.footer-nav {
  display: flex; flex-direction: column; gap: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--bg); }
.on-paper .footer-nav a:hover { color: var(--accent); }
.footer-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 3rem; font-size: 1rem; color: var(--muted-dark);
}
.on-paper .footer-meta { color: var(--muted); }
.footer-meta a { color: inherit; }
.footer-legal-line {
  margin-top: auto; padding-top: 2rem;
  font-size: 0.84rem; color: var(--muted-dark);
}
.on-paper .footer-legal-line { color: var(--muted); }
.wordmark {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96, "wght" 400;
  text-transform: uppercase;
  font-size: clamp(8rem, 28vw, 22rem);
  letter-spacing: -0.05em;
  line-height: 0.72;
  color: var(--bg);
  margin: 0;
  padding-inline: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  transform: translateY(32%);
  z-index: 0;
  max-width: none;
}
.on-paper .wordmark { color: var(--paper); }
.footer-menu, .footer-split { min-width: 0; }

@media (max-width: 860px) {
  .footer-split { grid-template-columns: 1fr; min-height: 0; }
  .footer-photo img { min-height: 50svh; max-height: 50svh; }
  .footer-menu { padding-bottom: clamp(7rem, 28vw, 12rem); }
  .wordmark { font-size: 34vw; transform: translateY(38%); }
}

.field-error { display: block; margin: 0; font-size: 0.84rem; font-weight: 700; color: var(--accent); }
.on-paper .field-error { color: #8a3a12; }
.field-error-wide { grid-column: 1 / -1; }
.field-error-fix {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}

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


/* ——— Radical pass: masthead, no yellow, catalog as type ——— */
.topline { background: var(--ink); color: var(--bg); }
.topline a { color: var(--bg); }
.btn, .cart-link { background: var(--paper); color: var(--ink-dark); border-radius: 0; }
.btn:hover, .cart-link:hover { background: var(--ink); color: var(--bg); }
.btn-line { background: transparent; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.brand svg { display: none; }
.site-header { background: var(--bg); }
.header-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 1.5rem;
  min-height: 0; padding: 1.4rem 0 1.1rem;
  grid-template-columns: unset;
}
.brand { flex: 1 1 100%; }
.brand-name {
  font-size: clamp(3.2rem, 11vw, 9rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
}
.main-nav { justify-self: start; flex: 1 1 auto; }
.nav-inner { justify-content: flex-start; gap: 1.15rem; }
.main-nav a { color: var(--ink); font-size: 1.05rem; }
.header-tools { margin-left: auto; }
.cart-link [data-cart-count] { background: var(--bg); color: var(--paper); }

.catalog, .on-paper .catalog {
  display: flex; flex-direction: column; gap: 0;
}
.card, article.card, .catalog-row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 1.2rem;
  background: transparent;
  color: inherit;
  padding: 1.1rem 0;
  border-top: 0;
  box-shadow: none;
  border-top: 2px solid currentColor;
  min-height: 0;
}
.card img { width: 11rem; height: 8rem; aspect-ratio: 11/8; object-fit: cover; }
.card-body { padding: 0; }
.card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  text-transform: uppercase;
  line-height: 0.9;
}
.card p { display: none; }
.card-foot { padding: 0; }
.card-price { font-size: 1.1rem; }
.on-paper .card { color: var(--ink-dark); }

.site-footer {
  background: var(--paper);
  color: var(--ink-dark);
  overflow: hidden;
}
.footer-stack { padding-block: 4rem 0; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1;
}
.footer-nav a { text-decoration: none; }
.footer-meta { margin-top: 2.4rem; font-size: 0.95rem; max-width: 70ch; }
.footer-meta p + p { margin-top: 0.8em; }
.wordmark {
  font-family: var(--font-display);
  font-size: 22vw;
  line-height: 0.72;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin: 2rem 0 -0.18em;
  color: var(--bg);
  white-space: nowrap;
}

.product-media { background: var(--bg); }
.on-paper .product-media { background: var(--bg); }
.product-media img { mix-blend-mode: multiply; }
.page-head h1 { font-size: clamp(3.5rem, 10vw, 8rem); max-width: none; }
.callout { background: var(--bg); color: var(--ink); }
.cookie-bar { background: var(--paper); color: var(--ink-dark); }

@media (max-width: 860px) {
  .header-bar { display: grid; grid-template-columns: 1fr auto; }
  .brand { flex: unset; }
  .brand-name { font-size: clamp(2rem, 12vw, 3.4rem); }
  .card, article.card, .catalog-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }
  .card img { width: 5.5rem; height: 5.5rem; }
  .card-foot { grid-column: 2; }
}

/* ——— Third pass: compact chrome, newspaper inner pages ——— */
.cookie-bar {
  background: var(--paper);
  color: var(--ink-dark);
}
.cookie-bar .wrap, .cookie-bar .container {
  padding: 0.4rem 0;
  gap: 0.8rem;
  align-items: center;
}
.cookie-bar p { font-size: 0.78rem; line-height: 1.35; }
.cookie-bar .btn, .cookie-bar .btn-line {
  min-height: 2rem;
  padding: 0 0.85rem;
  font-size: 0.78rem;
}
.sentence-hero, .hero {
  min-height: 0;
  padding: 1.2rem 0 3.5rem;
}
.page-nav a {
  background: transparent;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}
.on-paper .page-nav a { background: transparent; color: inherit; }
.page-head { padding-top: 2.4rem; }
.page-head .wrap { display: flex; flex-direction: column; }
.page-head h1 { order: -1; }
.product {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.product-media { position: static; }
.product-media img { aspect-ratio: 16 / 9; }
.product-info h1 {
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.82;
}
.price { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
.dossier-row > h2 { text-transform: uppercase; }
.index-add {
  width: 2.2rem; height: 2.2rem;
  background: var(--bg); color: var(--ink);
  border-radius: 0;
  font-size: 1.2rem;
}
.on-paper .index-add { background: var(--bg); color: var(--ink); }
.form .field input, .form .field select, .form .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  padding: 0.6rem 0;
}
.cart-table { font-family: var(--font-text); }
.faq-q {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
