/* Digital Beacon, direction A: BEACON PRESS. Light theme only (spec). Tokens are exact from SPEC.md. */

/* Size-adjusted local fallbacks so the webfont swap does not shift layout (values measured in QA, see NOTES.md). */
@font-face { font-family: "Caslon Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 89.2%; ascent-override: 107%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102%; ascent-override: 104.5%; descent-override: 29.5%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --paper: #F3F2EE;
  --paper-2: #E9E8E2;
  --card: #FBFBF9;
  --ink: #14161A;
  --ink-2: #4A4F57;
  --rule: #D3D2CB;
  --brand: #0E5A43;
  --brand-press: #0A4634;
  --s-business: #2F4BD8;
  --s-money: #C23A20;
  --s-marketing: #0E5A43;
  --s-work: #B08A12;
  --s-work-text: #8A6A00;
  --s-create: #6B4FA3;
  --error: #A3261A;

  --display: "Libre Caslon Display", "Caslon Fallback", "Times New Roman", serif;
  --italic: "Libre Caslon Text", "Caslon Fallback", "Times New Roman", serif;
  --sans: "Manrope", "Manrope Fallback", Arial, sans-serif;

  --r: 2px;
  --shadow-object: 0 1px 1px rgba(20,22,26,.18), 0 8px 14px -6px rgba(20,22,26,.18), 0 30px 50px -18px rgba(20,22,26,.18);
  --shadow-object-lift: 0 2px 2px rgba(20,22,26,.14), 0 14px 22px -8px rgba(20,22,26,.18), 0 44px 70px -24px rgba(20,22,26,.24);

  --ease-pull: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-drawer: cubic-bezier(.32,.72,0,1);

  --wrap: 1320px;
  --gutter: 40px;
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r); }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.display, h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.0; }
h1 { font-size: clamp(52px, 6.1vw, 92px); }
h2 { font-size: clamp(38px, 4.2vw, 62px); }
h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.08; letter-spacing: -0.01em; }
em, .it { font-family: var(--italic); font-style: italic; letter-spacing: -0.01em; }
.label { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.js [data-reveal] { visibility: hidden; }
.js [data-fade] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-fade].is-in { opacity: 1; transform: none; }
.series-text { color: var(--st, var(--ink)); }

/* Icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.i--sm { width: 16px; height: 16px; }

/* Buttons */
.btn {
  --bg: var(--brand); --fg: #fff; --bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--secondary { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--brand); --bd: transparent; padding: 0 4px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn.is-hover { --bg: var(--brand-press); --bd: var(--brand-press); }
  .btn--secondary:hover, .btn--secondary.is-hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
  .btn--ghost:hover, .btn--ghost.is-hover { --bg: transparent; --bd: transparent; --fg: var(--ink); text-decoration-thickness: 2px; }
}
.btn.is-focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled { --bg: var(--paper-2); --fg: var(--ink-2); --bd: var(--rule); cursor: not-allowed; transform: none; }
.btn--ghost:disabled, .btn--ghost.is-disabled { --bg: transparent; --bd: transparent; text-decoration-style: dotted; }
.btn .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .i--go { transform: translateX(3px); } }
.btn--wide { width: 100%; }
.btn.is-added { --bg: var(--ink); --bd: var(--ink); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; height: var(--head-h); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.site-head.is-stuck { border-bottom-color: var(--rule); }
.head__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brandmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brandmark svg { width: 38px; height: 38px; flex: none; } /* master lockup: mark 1.53x the wordmark size, gap 0.36em */
.wm { font-family: var(--display); font-size: 25px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.head__nav { display: flex; gap: 28px; margin-left: auto; }
.head__nav a, .head__link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; position: relative; background: none; border: 0; }
.head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .head__nav a:hover::after { transform: scaleX(1); } }
.head__nav a[aria-current="page"]::after { transform: scaleX(1); }
.head__tools { display: flex; align-items: center; gap: 8px; }
.head__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid transparent; border-radius: var(--r); font-size: 15px; font-weight: 500; text-decoration: none; }
.head__btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .head__btn:hover { border-color: var(--rule); } }
.head__basket .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; transition: transform 300ms var(--ease-out); }
.head__basket .count.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.28); } 100% { transform: scale(1); } }
.head__menu { display: none; }

.acct { position: relative; }
.acct__pop { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow-object); padding: 8px; transform-origin: top right; opacity: 0; transform: scale(.97) translateY(-4px); pointer-events: none; visibility: hidden; transition: opacity 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms; }
.acct__pop.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.acct__pop a, .acct__pop p { display: block; padding: 10px 12px; font-size: 15px; text-decoration: none; border-radius: var(--r); }
@media (hover: hover) and (pointer: fine) { .acct__pop a:hover { background: var(--paper-2); } }
.acct__pop p { color: var(--ink-2); font-size: 13px; line-height: 1.5; border-top: 1px solid var(--rule); margin-top: 6px; }

/* Mobile nav sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; transform: translateY(-100%); visibility: hidden; transition: transform 420ms var(--ease-drawer), visibility 0s linear 420ms; }
.sheet.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-drawer), visibility 0s; }
.sheet__top { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--rule); flex: none; }
.sheet__series { display: grid; flex: 1; grid-auto-rows: 1fr; }
.sheet__series a { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 20px; text-decoration: none; background: var(--s); color: var(--on); font-family: var(--display); font-size: 30px; line-height: 1; min-height: 64px; }
.sheet__series a span { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sheet__links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); flex: none; }
.sheet__links a { min-height: 56px; display: flex; align-items: center; padding: 0 20px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--rule); }
.sheet__links a:nth-child(odd) { border-right: 1px solid var(--rule); }

/* Basket drawer */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20,22,26,.32); opacity: 0; pointer-events: none; transition: opacity 260ms ease; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(440px, 100vw); background: var(--card); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 380ms var(--ease-drawer), visibility 0s linear 380ms; box-shadow: -20px 0 60px -30px rgba(20,22,26,.35); }
.drawer.is-open { transform: none; visibility: visible; transition: transform 380ms var(--ease-drawer), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: var(--head-h); border-bottom: 1px solid var(--rule); flex: none; }
.drawer__head h2 { font-size: 30px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 1px solid transparent; border-radius: var(--r); }
.icon-btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--rule); } }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--rule); padding: 20px 24px 24px; flex: none; display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.drawer__total strong { font-family: var(--display); font-weight: 400; font-size: 32px; }
.drawer__note { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.drawer__empty { padding: 48px 0 24px; display: grid; gap: 16px; justify-items: start; }
.drawer__empty p { color: var(--ink-2); }
.nudge { margin: 16px 0 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); font-size: 14px; line-height: 1.5; display: grid; gap: 10px; }
.nudge .btn { min-height: 44px; justify-self: start; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.line__cover { width: 56px; }
.line__title { font-family: var(--display); font-size: 21px; line-height: 1.1; }
.line__meta { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.line__right { display: grid; justify-items: end; gap: 6px; }
.line__price { font-weight: 700; }
.line__remove { background: none; border: 0; padding: 0 6px; margin: -6px -6px -10px 0; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.line.is-leaving { opacity: 0; transform: translateX(16px); transition: opacity 200ms ease, transform 200ms ease; }

/* ---------------- COVER SYSTEM ---------------- */
.cover {
  --dark: color-mix(in srgb, var(--s) 30%, #14161A);
  container-type: inline-size; position: relative; aspect-ratio: 5 / 7; width: 100%;
  background: var(--s); color: var(--on); border-radius: var(--r); overflow: hidden; isolation: isolate;
}
.cover::before { /* hinge crease and board light */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(0,0,0,.06) 2.6%, rgba(255,255,255,.14) 3.4%, rgba(255,255,255,0) 7%),
              linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%);
}
.cover__field { position: absolute; left: 0; right: 0; top: 0; height: 62%; padding: 7cqw 8cqw 0 10cqw; }
.cover .cover__top { display: flex; justify-content: space-between; gap: 4cqw; font-family: var(--sans); font-weight: 700; font-size: 3.5cqw; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.cover__top span:last-child { font-variant-numeric: tabular-nums; opacity: .85; }
.cover .cover__title { font-family: var(--display); font-size: 12.4cqw; line-height: 1.0; letter-spacing: -0.015em; margin-top: 11cqw; max-width: 86cqw; text-wrap: balance; }
.cover__horizon { position: absolute; left: 0; right: 0; top: 62%; height: 0; border-top: max(1px, .5cqw) solid var(--on); opacity: 1; }
.cover__horizon i { position: absolute; left: var(--lx, 30%); bottom: 3.4cqw; width: 6.4cqw; height: 6.4cqw; margin-left: -3.2cqw; border-radius: 50%; background: var(--on); }
.cover__base { position: absolute; left: 0; right: 0; top: 62%; bottom: 0; background: var(--dark); color: var(--paper); padding: 6cqw 8cqw 7cqw 10cqw; display: flex; flex-direction: column; justify-content: space-between; }
.cover .cover__sub { font-family: var(--sans); font-weight: 500; font-size: 4.3cqw; line-height: 1.35; max-width: 70cqw; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.cover .cover__foot { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--sans); font-weight: 700; font-size: 3.2cqw; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.cover__foot svg { width: 9cqw; height: 9cqw; }
.cover--obj { box-shadow: var(--shadow-object); }

/* Collection box art (bundle "cover") */
.cover--box { --s: #14161A; --on: #F3F2EE; --dark: #14161A; }
.cover--box .cover__stripes { position: absolute; left: 10cqw; right: 8cqw; top: 22cqw; display: grid; gap: 1.6cqw; }
.cover--box .cover__stripes i { display: block; height: 4.6cqw; background: var(--c); border-radius: 1px; }
.cover--box .cover__title { font-size: 9.4cqw; }
.cover--box .cover__horizon i { display: none; }
.cover--box .cover__base { background: #24272D; }

/* Spines */
.spine {
  --dark: color-mix(in srgb, var(--s) 30%, #14161A);
  position: absolute; inset: 0; border-radius: var(--r) var(--r) 1px 1px; overflow: hidden;
  background: linear-gradient(to bottom, var(--s) 0 79%, var(--dark) 79% 100%); color: var(--on);
  display: flex; flex-direction: column; align-items: center; padding: 14px 0 12px;
}
.spine::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(255,255,255,.12) 26%, rgba(255,255,255,0) 52%, rgba(0,0,0,.18)); }
.spine::after { content: ""; position: absolute; left: 0; right: 0; top: 79%; border-top: 1px solid var(--on); opacity: .9; }
.spine__code { font-weight: 700; font-size: 11px; letter-spacing: .08em; line-height: 1; position: relative; }
.spine__title { writing-mode: vertical-rl; font-family: var(--display); font-size: calc(var(--h) * .056); line-height: 1; letter-spacing: 0; margin-top: 16px; white-space: nowrap; position: relative; max-height: calc(var(--h) * .62); overflow: hidden; }
.spine__foot { margin-top: auto; position: relative; color: var(--paper); }
.spine__foot svg { width: 22px; height: 22px; }
.spine--box { background: linear-gradient(to bottom, #14161A 0 79%, #24272D 79% 100%); --on: #F3F2EE; }
.spine--box .spine__bands { display: grid; gap: 3px; width: 64%; margin-top: 12px; position: relative; }
.spine--box .spine__bands i { height: 5px; background: var(--c); }

/* ---------------- THE SHELF ---------------- */
.shelf { --h: 360px; position: relative; }
.shelf__row { position: relative; display: flex; align-items: flex-end; gap: 4px; height: calc(var(--h) + 34px); padding-top: 34px; perspective: 2000px; perspective-origin: 40% 30%; }
.shelf__row::after { /* the shelf line */ content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.shelf__board { height: 16px; background: linear-gradient(to bottom, rgba(20,22,26,.14), rgba(20,22,26,0)); }
.book {
  --cw: calc(var(--h) * 5 / 7);
  position: relative; flex: none; width: var(--sw); height: var(--h); display: block; text-decoration: none; color: inherit;
  transform-style: preserve-3d; transform: translate3d(var(--shift, 0px), 0, 0);
  transition: transform 500ms var(--ease-pull); outline: none;
}
.book__body { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 100% 50%; transition: transform 500ms var(--ease-pull); }
.book__cover { position: absolute; top: 0; left: 100%; width: var(--cw); height: var(--h); transform-origin: 0 50%; transform: rotateY(90deg); backface-visibility: hidden; opacity: 0; transition: opacity 160ms ease 60ms; }
.book__cover .cover { height: 100%; width: 100%; aspect-ratio: auto; }
.book__spine { position: absolute; inset: 0; backface-visibility: hidden; }
.book.is-open { z-index: 2; }
.book.is-open .book__body { transform: translateX(var(--tx)) translateZ(36px) rotateY(-80deg); }
.book.is-open .book__cover { opacity: 1; transition: opacity 120ms ease; box-shadow: 0 30px 50px -20px rgba(20,22,26,.35); }
.book::after { /* contact shadow on the shelf */ content: ""; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,22,26,.28), rgba(20,22,26,0)); transform: translateZ(-1px); }
.book.is-open::after { left: calc(var(--tx) + 4px); right: auto; width: calc(var(--cw) * .98); transition: none; }
.book:focus-visible .book__cover .cover, .book:focus-visible .book__spine .spine { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .book:not(.is-open):hover .book__body { transform: translateY(-8px); } }
.bookend { flex: none; width: 118px; height: 118px; margin-left: 20px; align-self: flex-end; color: var(--ink); }
.bookend svg { width: 100%; height: 100%; }

.shelf-caption { display: grid; gap: 14px; align-content: end; }
.shelf-caption__title { font-family: var(--display); font-size: 40px; line-height: 1.02; letter-spacing: -0.015em; }
.shelf-caption__sub { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 26em; }
.facts { display: flex; flex-wrap: wrap; row-gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); margin-left: -13px; clip-path: inset(0 0 0 13px); }
.facts li { padding: 0 12px; border-left: 1px solid var(--rule); line-height: 1.2; }
.shelf-caption__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.price { font-family: var(--display); font-size: 38px; line-height: 1; letter-spacing: -0.01em; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--ink-2); font-weight: 600; letter-spacing: .02em; margin-left: 6px; }
.shelf-caption > * { transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.shelf-caption.is-swapping > * { opacity: 0; transform: translateY(6px); }

/* Snap row (phone shelf) */
.snaprow { display: none; }
.snaprow__track { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 28px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.snaprow__track::-webkit-scrollbar { display: none; }
.snapcard { scroll-snap-align: start; scroll-margin-left: 20px; text-decoration: none; display: grid; gap: 14px; }
.snapcard .cover { box-shadow: var(--shadow-object); }
.snapcard__t { font-family: var(--display); font-size: 24px; line-height: 1.08; }
.snapcard__m { font-size: 15px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.snapcard__m b { color: var(--ink); }

/* ---------------- HOME ---------------- */
.hero { padding: 24px 0 72px; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; min-height: min(calc(100dvh - var(--head-h) - 48px), 740px); }
.hero__copy { grid-column: 1 / span 7; padding-right: 24px; }
.hero__copy h1 { max-width: 9.4em; }
.hero__copy .lead { margin-top: 28px; max-width: 27em; }
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__art { grid-column: 8 / span 5; position: relative; aspect-ratio: 1 / 1.17; margin-left: -24px; }
.fan { position: absolute; inset: 0; transform-style: preserve-3d; perspective: 1400px; }
.fan__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.fan__item { position: absolute; width: 52%; display: block; transform-origin: 50% 80%; transition: transform 600ms var(--ease-pull); text-decoration: none; }
.fan__item .cover { box-shadow: var(--shadow-object); }
.fan__item:nth-child(1) { left: 0; top: 0; transform: rotate(-6deg); }
.fan__item:nth-child(2) { left: 24%; top: 20%; transform: rotate(-1deg); }
.fan__item:nth-child(3) { left: 48%; top: 40%; transform: rotate(4deg); }
@media (hover: hover) and (pointer: fine) {
  .fan__item:nth-child(1):hover { transform: rotate(-7deg) translate(-3%, -5%); }
  .fan__item:nth-child(2):hover { transform: rotate(-1.5deg) translate(0, -5%); }
  .fan__item:nth-child(3):hover { transform: rotate(5deg) translate(3%, -4%); }
}
.fan__item:focus-visible { outline: none; }
.fan__item:focus-visible .cover { outline: 2px solid var(--ink); outline-offset: 4px; }

.sec { padding: 120px 0; }
.sec--tight { padding: 88px 0; }
.sec--band { background: var(--paper-2); }

.shelf-sec__head { display: grid; gap: 16px; max-width: 38em; margin-bottom: 40px; }
.shelf-sec__head p { color: var(--ink-2); font-size: 18px; }
.shelf-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: end; }
.shelf-sec__more { margin-top: 36px; }

.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.statement blockquote { grid-column: 3 / span 8; }
.statement p { font-family: var(--display); font-size: clamp(30px, 3.3vw, 48px); line-height: 1.3; letter-spacing: -0.012em; max-width: 21em; text-wrap: pretty; }
.statement p em { font-size: .96em; }
.statement footer { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--ink-2); }
.statement footer svg { width: 28px; height: 28px; color: var(--ink); }
.statement footer b { color: var(--ink); font-weight: 600; }

.ledger { border: 1.5px solid var(--ink); display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; background: var(--card); }
.ledger > * { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.ledger__intro { grid-row: span 2; border-left: 0; border-top: 0; padding: 40px 36px; display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--ink); }
.ledger__intro p { color: var(--ink-2); max-width: 22em; }
.ledger__intro .btn { margin-top: auto; align-self: flex-start; }
.ledger > :nth-child(2), .ledger > :nth-child(3), .ledger > :nth-child(4) { border-top: 0; }
.ledger > :nth-child(2), .ledger > :nth-child(5) { border-left: 0; }
.cell { position: relative; padding: 28px 26px 26px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; text-decoration: none; min-height: 260px; overflow: hidden; }
.cell__stack { display: flex; align-items: flex-end; gap: 4px; height: 84px; }
.cell__stack i { display: block; width: 16px; border-radius: 1px; background: linear-gradient(to bottom, var(--s) 0 76%, color-mix(in srgb, var(--s) 30%, #14161A) 76%); transition: transform 360ms var(--ease-pull); }
.cell__stack i:nth-child(2) { transition-delay: 40ms; }
.cell__stack i.empty { background: none; border: 1px dashed var(--ink-2); }
.cell__name { font-family: var(--display); font-size: 27px; line-height: 1.05; letter-spacing: -0.01em; }
.cell__meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.cell__meta .i { color: var(--ink); transition: transform 220ms var(--ease-out); }
.cell__wash { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--s); transform: scaleY(.5); transform-origin: 50% 100%; transition: transform 360ms var(--ease-pull); }
@media (hover: hover) and (pointer: fine) {
  .cell:hover .cell__stack i { transform: translateY(-8px); }
  .cell:hover .cell__meta .i { transform: translateX(4px); }
  .cell:hover .cell__wash { transform: scaleY(1); }
}
.cell--all .cell__stack i { width: 10px; }
/* The ledger cards size to their column, not to their contents (27 Oct 2026): the spine row shares the card's real
   width, so a series with many titles (and All editions) fits at every screen width, and the series name wraps inside
   the card instead of being pushed past its edge. Spines keep their approved 16px (10px for All editions) wherever
   there is room and narrow only when there isn't. */
.cell { grid-template-columns: minmax(0, 1fr); }
.cell__stack { min-width: 0; }
.cell__stack i { flex: 0 1 16px; min-width: 3px; }
.cell--all .cell__stack { gap: 2px; }
.cell--all .cell__stack i { flex-basis: 10px; }
.cell__name { min-width: 0; }
@media (max-width: 599px) { .cell--all .cell__stack { gap: 1px; } .cell--all .cell__stack i { min-width: 2px; } }

.bundle { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.bundle__art { grid-column: 1 / span 7; }
.bundle__copy { grid-column: 8 / span 5; display: grid; gap: 20px; }
.bundle__copy h2 { font-size: clamp(36px, 3.6vw, 54px); }
.bundle__list { border-top: 1px solid var(--ink); }
.bundle__list li { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.bundle__list li a { display: flex; align-items: center; min-height: 44px; }
.bundle__list li i { width: 12px; height: 26px; background: var(--s); border-radius: 1px; }
.bundle__list li span:last-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bundle__sum { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.bundle__sum s { color: var(--ink-2); font-size: 18px; }
.save { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .04em; border-radius: var(--r); }

.boxset { position: relative; aspect-ratio: 16 / 9.4; }
.boxset__covers { position: absolute; left: 4%; right: 4%; top: 0; bottom: 22%; }
/* Each cover shows 82% of its width; titles are held to 66% so none is ever cut by its neighbour */
.boxset__covers .cover { position: absolute; bottom: 0; width: 28.9%; box-shadow: var(--shadow-object); transition: transform 500ms var(--ease-pull); }
.boxset__covers .cover .cover__title { max-width: 66cqw; }
.boxset__covers .cover:not(:last-child) .cover__top span:last-child { visibility: hidden; }
.boxset__covers .cover:nth-child(1) { left: 0; transform: rotate(-3deg); }
.boxset__covers .cover:nth-child(2) { left: 23.7%; transform: rotate(-1deg) translateY(-3%); }
.boxset__covers .cover:nth-child(3) { left: 47.4%; transform: rotate(1.5deg) translateY(-1%); }
.boxset__covers .cover:nth-child(4) { left: 71.1%; transform: rotate(3deg) translateY(2%); }
@media (hover: hover) and (pointer: fine) {
  .boxset:hover .cover:nth-child(1) { transform: rotate(-6deg) translate(-4%, -4%); }
  .boxset:hover .cover:nth-child(2) { transform: rotate(-2deg) translate(-2%, -9%); }
  .boxset:hover .cover:nth-child(3) { transform: rotate(2.5deg) translate(2%, -7%); }
  .boxset:hover .cover:nth-child(4) { transform: rotate(6deg) translate(4%, -2%); }
}
.boxset__box { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--ink); color: var(--paper); border-radius: var(--r); display: flex; align-items: flex-end; justify-content: space-between; padding: 0 5% 5%; box-shadow: var(--shadow-object); container-type: inline-size; }
.boxset__box b { font-family: var(--display); font-weight: 400; font-size: 4.2cqw; line-height: 1; letter-spacing: -0.01em; }
.boxset__box span { font-size: max(12px, 1.6cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.boxset__box span svg { width: max(20px, 3.4cqw); height: max(20px, 3.4cqw); }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; padding-top: 0; }
.steps__line { position: absolute; left: 0; right: 0; top: 76px; height: 1px; background: var(--ink); transform-origin: left; }
.step { position: relative; display: grid; gap: 14px; padding-right: 12px; }
.step__n { font-family: var(--display); font-size: 64px; line-height: 1; height: 76px; display: flex; align-items: flex-end; padding-bottom: 12px; }
.step__node { position: absolute; left: 0; top: 70px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.step:first-child .step__node { background: var(--ink); }
.step h3 { margin-top: 26px; font-size: 32px; }
.step p { color: var(--ink-2); max-width: 22em; }
.steps-head { display: grid; gap: 18px; margin-bottom: 64px; max-width: 30em; }

.library { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.library__copy { grid-column: 1 / span 6; display: grid; gap: 20px; }
.library__copy p { color: var(--ink-2); max-width: 28em; }
.library__card { grid-column: 8 / span 4; justify-self: center; width: 100%; max-width: 380px; aspect-ratio: 3 / 4.2; background: #FBFBF9; border-radius: var(--r); box-shadow: var(--shadow-object); transform: rotate(2.2deg); padding: 28px 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; position: relative; overflow: hidden; }
.library__card h3 { font-size: 30px; text-align: center; border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; }
.library__card .cols { display: grid; grid-template-columns: 1fr 1fr; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.library__card .rows { background: repeating-linear-gradient(to bottom, transparent 0 33px, var(--rule) 33px 34px); }
.library__stamp { position: absolute; right: 22px; bottom: 76px; transform: rotate(-11deg); border: 2px solid var(--brand); color: var(--brand); padding: 8px 14px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--r); }
.library__card footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.library__card footer svg { width: 26px; height: 26px; color: var(--ink); }

/* Footer */
.site-foot { border-top: 1.5px solid var(--ink); padding: 72px 0 40px; margin-top: 0; }
.foot__big { font-family: var(--display); font-size: clamp(56px, 9.4vw, 148px); line-height: .96; letter-spacing: -0.02em; max-width: 9em; }
.foot__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--rule); }
.foot__grid h4 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.foot__grid a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; text-decoration: none; font-size: 15px; line-height: 1.35; }
.foot__brand .foot__help { font-size: 14px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .foot__grid a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot__brand { display: grid; gap: 14px; align-content: start; }
.foot__brand p { color: var(--ink-2); font-size: 15px; max-width: 24em; }
.foot__base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; font-size: 13px; color: var(--ink-2); }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.demo-note::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: grid; place-items: center; transition: opacity 420ms ease, visibility 0s linear 420ms; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader svg { width: 64px; height: 64px; }
.loader .dot { transform-box: fill-box; transform-origin: center; animation: rise 900ms var(--ease-out) both; }
@keyframes rise { from { transform: translateY(9px); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
.no-js .loader { display: none; }

/* ---------------- SHOP ---------------- */
.page-head { padding: 56px 0 40px; display: grid; gap: 18px; }
.page-head p { max-width: 34em; }
.shop > * { min-width: 0; }
.shop { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 120px; }
.rail { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 8px; }
.rail h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; line-height: 1.3; }
.tabs { display: grid; gap: 6px; }
.tab { --s: var(--ink); --on: var(--paper); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px 0 26px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); text-align: left; font-size: 15px; font-weight: 600; transition: transform 300ms var(--ease-pull), color 200ms ease, border-color 200ms ease; overflow: hidden; isolation: isolate; }
.tab::before { content: ""; position: absolute; inset: 0; background: var(--s); clip-path: inset(0 calc(100% - 10px) 0 0); transition: clip-path 320ms var(--ease-pull); z-index: -1; }
.tab span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .tab:hover { transform: translateX(6px); } }
.tab[aria-pressed="true"] { color: var(--on); border-color: var(--s); transform: translateX(10px); }
.tab[aria-pressed="true"]::before { clip-path: inset(0 0 0 0); }
.tab[aria-pressed="true"] span:last-child { color: var(--on); }
.rail__note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.toolbar__count { font-size: 15px; font-weight: 600; }
.toolbar__right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--r); padding: 2px; gap: 2px; }
.seg button { min-height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 1px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background-color 160ms ease, color 160ms ease; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--rule); background: var(--card); border-radius: var(--r); font-size: 14px; font-weight: 600; }
.select .i { position: absolute; right: 12px; pointer-events: none; }
.select label { margin-right: 10px; font-size: 14px; color: var(--ink-2); }

.view { padding-top: 40px; }
.view[hidden] { display: none; }
.shop .shelf-sec__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.shop .shelf-caption { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; padding-top: 8px; }
.shop .shelf-caption > .shelf-caption__buy { grid-column: 2; grid-row: 1 / span 4; align-self: end; flex-direction: column; align-items: flex-end; }

.empty { padding: 72px 0; display: grid; gap: 18px; justify-items: start; max-width: 32em; }
.empty__spine { width: 36px; height: 150px; border: 1.5px dashed var(--ink-2); border-radius: var(--r); }
.empty h3 { font-size: 34px; }
.empty p { color: var(--ink-2); }

.list { border-top: 0; }
.row { display: grid; grid-template-columns: 70px 64px minmax(0, 1fr) 150px 80px auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative; }
.row__swatch { position: relative; width: 70px; height: 92px; }
.row__swatch .sw { position: absolute; left: 0; top: 0; width: 14px; height: 92px; background: linear-gradient(to bottom, var(--s) 0 76%, color-mix(in srgb, var(--s) 30%, #14161A) 76%); border-radius: 1px; transition: opacity 200ms ease; }
.row__swatch .mini { position: absolute; left: 0; top: 0; width: 66px; opacity: 0; transform: translateX(-8px) rotate(-3deg); transition: opacity 240ms ease, transform 360ms var(--ease-pull); }
.row__swatch .mini .cover { box-shadow: var(--shadow-object); }
@media (hover: hover) and (pointer: fine) {
  .row:hover .row__swatch .mini, .row:focus-within .row__swatch .mini { opacity: 1; transform: none; }
  .row:hover .row__swatch .sw, .row:focus-within .row__swatch .sw { opacity: 0; }
}
.row__code { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.row__title { font-family: var(--display); font-size: 30px; line-height: 1.05; letter-spacing: -0.01em; }
.row__title a { text-decoration: none; }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row__sub { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.row__fmt { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.row__fmt b { color: var(--ink); font-weight: 600; display: block; }
.row__price { font-family: var(--display); font-size: 28px; text-align: right; }
.row .btn { position: relative; z-index: 1; min-height: 44px; }
.anim-in { animation: inUp 520ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes inUp { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

.collection-row { margin-top: 96px; padding: 48px; background: var(--paper-2); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; border-radius: var(--r); }
.collection-row .bundle__copy { grid-column: auto; }

/* ---------------- PRODUCT ---------------- */
.crumbs { padding: 14px 0 0; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs__short { display: none; }
.crumbs__here { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { text-decoration: underline; } }
.pd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 28px 0 96px; align-items: start; }
.pd__art { grid-column: 1 / span 6; position: sticky; top: calc(var(--head-h) + 24px); display: grid; justify-items: center; gap: 24px; padding: 20px 0 0; }
.pd__stage { width: min(76%, 430px); perspective: 1400px; }
.pd__tilt { transform-style: preserve-3d; will-change: transform; }
.pd__tilt .cover { box-shadow: var(--shadow-object-lift); }
.pd__art .btn { gap: 10px; }
.pd__info { grid-column: 8 / span 5; display: grid; gap: 22px; }
.pd__series { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pd__series .label { color: var(--st); }
.pd__info h1 { font-size: clamp(48px, 4.6vw, 70px); }
.pd__promise { font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 24em; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge--demo { border-style: dashed; color: var(--ink-2); border-color: var(--ink-2); }
.badge--fill { background: var(--ink); color: var(--paper); }
.licence { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.licence legend { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.lic { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; }
.lic input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--card); }
.lic input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: scale(0.4); opacity: 0; transition: transform 200ms var(--ease-out), opacity 160ms ease; }
.lic input:checked::after { transform: scale(1); opacity: 1; }
.lic input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lic:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.lic b { display: block; font-weight: 600; font-size: 16px; }
.lic span span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }
.lic__price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.buybox { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.buybox .price { font-size: 52px; }
.buybox__summary { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.buybox__summary b { color: var(--ink); font-weight: 600; }
.buybox .btn { grid-column: 1 / -1; min-height: 56px; font-size: 16px; }
.instant { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }

/* Help and promise (DB_DEMO.help): small, calm, set like a colophon */
.help { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: left; }
.help__mark { color: var(--ink); padding-top: 1px; }
.help__mark svg { display: block; width: 20px; height: 20px; }
.help__txt { display: grid; gap: 4px; }
.help__who, .help__promise b { color: var(--ink); font-weight: 600; }
.help__note { font-size: 13px; }
.sel { color: var(--ink); font-weight: 600; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.buybox .help { grid-column: 1 / -1; }
.help--drawer { margin-top: 22px; }
.included h2, .formats h2, .pd__block h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3; margin-bottom: 12px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 7px 0; align-items: start; font-size: 16px; line-height: 1.45; }
.checklist .i { color: var(--brand); margin-top: 2px; }
.manifest { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.manifest li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 15px; }
.manifest li:first-child { border-top: 0; }
.ext { display: inline-grid; place-items: center; height: 24px; border-radius: var(--r); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; background: var(--paper-2); color: var(--ink); }
.manifest li span:last-child { font-size: 13px; color: var(--ink-2); }
.dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 24px; row-gap: 10px; font-size: 15px; }
.dl dt { color: var(--ink-2); }
.dl dd { font-weight: 600; }
.plain { font-size: 15px; line-height: 1.55; }
.plain strong { font-weight: 600; }
.placeholder-note { font-size: 14px; color: var(--ink-2); border: 1px dashed var(--ink-2); padding: 10px 12px; border-radius: var(--r); }

.inside { padding: 112px 0 120px; background: var(--paper-2); }
.inside__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.inside__head div { display: grid; gap: 14px; }
.inside__head p { color: var(--ink-2); max-width: 30em; }
.reader { max-width: 940px; margin: 0 auto; }
.book3d { position: relative; outline: none; border-radius: var(--r); }
.book3d:focus-visible { outline: 2px solid var(--ink); outline-offset: 10px; }
.spread { position: relative; width: 100%; aspect-ratio: 1.414 / 1; perspective: 3800px; perspective-origin: 50% 45%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.spread.is-drag { cursor: grabbing; }
.spread::before { /* the book block under the pages */ content: ""; position: absolute; inset: 1.2% -0.8% -1.6%; background: #DCDAD2; border-radius: 3px; box-shadow: 0 2px 2px rgba(20,22,26,.12), 0 30px 60px -20px rgba(20,22,26,.35); }
.pg { position: absolute; top: 0; height: 100%; width: 50%; background: var(--card); container-type: inline-size; overflow: hidden; }
.pg--left { left: 0; border-radius: 2px 0 0 2px; }
.pg--board { left: 50%; background: #E3E1DA; border-radius: 0 2px 2px 0; display: grid; place-items: center; color: var(--ink-2); }
.pg--board .board-in { display: grid; justify-items: center; gap: 12px; font-size: 14px; text-align: center; padding: 0 12%; }
.pg--board svg { width: 40px; height: 40px; color: var(--ink); }
.leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.leaf__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--card); overflow: hidden; container-type: inline-size; }
.leaf__front { border-radius: 0 2px 2px 0; }
.leaf__back { transform: rotateY(180deg); border-radius: 2px 0 0 2px; }
.leaf__face::after, .pg--left::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.leaf__front::after { background: linear-gradient(90deg, rgba(20,22,26,calc(.16 + var(--p, 0) * .34)) 0, rgba(20,22,26,0) calc(9% + var(--p, 0) * 30%)), linear-gradient(270deg, rgba(255,255,255,calc(var(--p, 0) * .5)) 0, rgba(255,255,255,0) 30%); }
.leaf__back::after { background: linear-gradient(270deg, rgba(20,22,26,calc(.16 + (1 - var(--p, 1)) * .34)) 0, rgba(20,22,26,0) calc(9% + (1 - var(--p, 1)) * 30%)); }
.pg--left::after { background: linear-gradient(270deg, rgba(20,22,26,.16) 0, rgba(20,22,26,0) 9%); }
.reader__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; }
.reader__where { font-size: 15px; font-weight: 600; text-align: center; }
.reader__where span { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.reader__hint { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.reader.is-single .spread { aspect-ratio: 1 / 1.414; max-width: 520px; margin: 0 auto; }
.reader.is-single .spread::before { inset: 1% -1.4% -1.6% 0; }
.reader.is-single .leaf { left: 0; width: 100%; }
.reader.is-single .book3d { overflow: hidden; padding: 0 3% 4% 0; margin-right: -3%; }

/* Typeset interior pages (also the PDF interior style) */
.ip { position: absolute; inset: 0; padding: 9cqw 9cqw 8cqw 10cqw; display: flex; flex-direction: column; font-family: var(--sans); font-size: max(10.5px, 3.05cqw); line-height: 1.55; color: var(--ink); }
.leaf__back .ip, .pg--left .ip { padding: 9cqw 10cqw 8cqw 9cqw; }
.ip__run { display: flex; justify-content: space-between; font-size: max(8.5px, 2.3cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 2.4cqw; border-bottom: 1px solid var(--rule); }
.ip__run i { font-style: normal; color: var(--st); }
.ip h4 { font-family: var(--display); font-weight: 400; font-size: 9cqw; line-height: 1; letter-spacing: -0.015em; margin: 7cqw 0 4cqw; }
.ip h5 { font-family: var(--display); font-weight: 400; font-size: 5.4cqw; line-height: 1.1; margin: 5cqw 0 2.4cqw; }
.ip p + p { margin-top: 2.4cqw; }
.ip__toc li { display: grid; grid-template-columns: 6cqw 1fr auto; gap: 2cqw; align-items: baseline; padding: 2.4cqw 0; border-bottom: 1px solid var(--rule); }
.ip__toc li b { font-family: var(--display); font-weight: 400; font-size: 4.6cqw; color: var(--st); }
.ip__toc li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ip__toc li.sub { color: var(--ink-2); }
.ip__script { margin: 4cqw 0; padding: 4cqw 4.6cqw; border-left: 1.2cqw solid var(--st-c, var(--st)); background: var(--paper); }
.ip__script small { display: block; font-size: max(8.5px, 2.3cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.6cqw; }
.ip__script p { font-family: var(--italic); font-style: italic; font-size: max(11.5px, 4.1cqw); line-height: 1.38; }
.ip__lines { flex: 1; min-height: 12cqw; margin-top: 3cqw; background: repeating-linear-gradient(to bottom, transparent 0 calc(6.4cqw - 1px), var(--rule) calc(6.4cqw - 1px) 6.4cqw); }
.ip__folio { margin-top: auto; padding-top: 3cqw; display: flex; justify-content: space-between; font-size: max(8.5px, 2.3cqw); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ip__table { width: 100%; border-collapse: collapse; margin-top: 2cqw; font-size: max(9.5px, 2.7cqw); }
.ip__table th { text-align: left; font-size: max(8.5px, 2.2cqw); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 1.8cqw 1.2cqw 1.8cqw 0; border-bottom: 1.5px solid var(--ink); }
.ip__table td { padding: 2.5cqw 1.2cqw 2.5cqw 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ip__table td.box { width: 9cqw; }
.ip__table td.box i { display: block; width: 3.6cqw; height: 3.6cqw; border: 1.2px solid var(--ink); }
.ip__files li { display: grid; grid-template-columns: 11cqw 1fr; gap: 3cqw; align-items: center; padding: 2.6cqw 0; border-bottom: 1px solid var(--rule); }
.ip__files .ext { height: 5.6cqw; font-size: max(7.5px, 2cqw); }
.ip__colophon { margin-top: auto; display: grid; gap: 3cqw; justify-items: start; }
.ip__colophon svg { width: 11cqw; height: 11cqw; }
.ip__big { font-family: var(--display); font-size: 16cqw; line-height: .9; color: var(--st); margin-top: 8cqw; }

.contents-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.contents-sec > div:first-child { grid-column: 1 / span 4; display: grid; gap: 16px; align-content: start; }
.contents-sec ol { grid-column: 6 / span 7; border-top: 1.5px solid var(--ink); counter-reset: c; }
.contents-sec li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.contents-sec li b { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--st); line-height: 1; }
.contents-sec li span:nth-child(2) { font-family: var(--display); font-size: 28px; line-height: 1.12; letter-spacing: -0.01em; }
.contents-sec li span:last-child { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.own { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1.5px solid var(--ink); background: var(--card); }
.own > div { padding: 40px; display: grid; gap: 16px; align-content: start; }
.own > div + div { border-left: 1px solid var(--rule); background: var(--paper); }
.own h3 { font-size: 34px; }
.own p { color: var(--ink-2); max-width: 28em; }
.own ul li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 4px 0; font-size: 15px; }
.own ul .i { color: var(--brand); margin-top: 3px; }
.own__soon { justify-self: start; }

.mbar { display: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1180px) {
  .head__nav { gap: 20px; }
  .shelf-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .shelf-caption { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; }
  .shelf-caption > .shelf-caption__buy { grid-column: 2; grid-row: 1 / span 4; align-self: end; flex-direction: column; align-items: flex-end; }
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger__intro { grid-row: auto; grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--ink); }
  .ledger > :nth-child(n) { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  .ledger > :nth-child(1) { border-top: 0; border-left: 0; }
  .ledger > :nth-child(2), .ledger > :nth-child(5) { border-left: 0; }
  .ledger > :nth-child(2), .ledger > :nth-child(3), .ledger > :nth-child(4) { border-top: 0; }
  .cover-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .icons-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --gutter: 28px; }
  .head__nav { display: none; }
  .head__menu { display: inline-flex; }
  .head__tools { margin-left: auto; }
  .hero__copy { grid-column: 1 / span 12; padding: 0; }
  .hero__art { grid-column: 2 / span 10; margin-top: 48px; max-width: 560px; justify-self: center; width: 100%; margin-left: 0; }
  .hero__grid { min-height: 0; }
  .bundle__art, .bundle__copy { grid-column: 1 / -1; }
  .bundle__copy { margin-top: 40px; }
  .library__copy { grid-column: 1 / span 7; }
  .library__card { grid-column: 8 / span 5; }
  .shop { grid-template-columns: 1fr; gap: 24px; }
  .rail { position: static; }
  .tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding-right: 14px; }
  .tab[aria-pressed="true"], .tab:hover { transform: none; }
  .rail__note { display: none; }
  .pd__art { grid-column: 1 / -1; position: static; }
  .pd__info { grid-column: 1 / -1; margin-top: 32px; }
  .contents-sec > div:first-child, .contents-sec ol { grid-column: 1 / -1; }
  .contents-sec ol { margin-top: 32px; }
  .collection-row { grid-template-columns: 1fr; }
  .logo-grid, .space-grid, .type-grid, .settings, .cover-rules, .voice-grid { grid-template-columns: 1fr; }
  .logo-grid > :first-child { grid-row: auto; }
  .logo-grid > :last-child { grid-column: auto; }
  .fav-grid, .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .motion-grid { grid-template-columns: 1fr 1fr; }
  .comp-grid > .tile, .comp-grid > .tile.w4, .comp-grid > .tile.w8, .apps-grid > .tile, .apps-grid > .tile.w5, .apps-grid > .tile.w7, .apps-grid > .tile.w8 { grid-column: 1 / -1; }
  .bp-head nav { grid-column: 1 / -1; margin-top: 32px; }
  .bp-head h1, .bp-head .lead { grid-column: 1 / -1; }
  .logo-matrix { grid-template-columns: 100px repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --head-h: 64px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(46px, 13vw, 60px); }
  h2 { font-size: clamp(36px, 10vw, 46px); }
  .lead { font-size: 18px; }
  .wm { font-size: 22px; }
  .brandmark svg { width: 30px; height: 30px; }
  .head__acct { display: none; }
  .head__basket .lbl { display: none; }
  .hero { padding: 24px 0 64px; }
  .hero__copy .lead { margin-top: 20px; }
  .hero__ctas { margin-top: 28px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__art { grid-column: 1 / -1; margin-top: 36px; width: 94%; justify-self: start; }
  .sec { padding: 80px 0; }
  .sec--tight { padding: 64px 0; }
  .shelf { display: none; }
  .snaprow { display: block; }
  .shelf-caption { display: none; }
  .shelf-sec__head { margin-bottom: 24px; }
  .statement blockquote { grid-column: 1 / -1; }
  .statement p { font-size: 30px; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger__intro { padding: 28px 22px; }
  .ledger > :nth-child(n) { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
  .ledger > :nth-child(1) { border-top: 0; border-left: 0; }
  .ledger > :nth-child(even) { border-left: 0; }
  .cell { min-height: 210px; padding: 22px 18px 20px; }
  .cell__name { font-size: 23px; }
  .cell__stack { height: 64px; }
  .bundle__list li { font-size: 15px; }
  .boxset { aspect-ratio: 16 / 10.4; }
  .boxset__covers { left: 2%; right: 2%; }
  .boxset__box b { font-size: 6.2cqw; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; padding-left: 36px; }
  .steps__line { left: 6px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; transform-origin: top; }
  .step__n { height: auto; font-size: 44px; padding: 0; }
  .step__node { left: -36px; top: 14px; }
  .step h3 { margin-top: 4px; font-size: 28px; }
  .steps-head { margin-bottom: 40px; }
  .library { row-gap: 48px; }
  .library__copy, .library__card { grid-column: 1 / -1; }
  .library__card { max-width: 300px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .site-foot { padding: 56px 0 32px; }
  .foot__big { font-size: 15vw; }
  .page-head { padding: 32px 0 24px; }
  .toolbar { gap: 12px; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .select label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .toolbar__right { flex-wrap: nowrap; }
  .seg button { padding: 0 12px; }
  .select select { padding-right: 34px; }
  .crumbs { flex-wrap: nowrap; }
  .crumbs a, .crumbs__sep { flex: none; white-space: nowrap; }
  .crumbs__long { display: none; }
  .crumbs__short { display: inline; }
  .crumbs__here { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 6px 16px; }
  .row__swatch { grid-row: span 2; width: 56px; height: auto; }
  .row__swatch .sw { display: none; }
  .row__swatch .mini { position: static; opacity: 1; transform: none; width: 56px; }
  .row__code, .row__fmt { display: none; }
  .row__title { font-size: 23px; }
  .row__sub { font-size: 14px; }
  .row__price { grid-column: 3; grid-row: 1; font-size: 22px; }
  .row .btn { grid-column: 2 / span 2; grid-row: 2; justify-self: start; }
  .collection-row { padding: 28px 20px; margin-top: 64px; gap: 32px; margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .pd { padding-top: 16px; padding-bottom: 72px; }
  .pd__stage { width: 64%; }
  .pd__art { gap: 18px; padding-top: 8px; }
  .pd__info h1 { font-size: 48px; }
  .pd__promise { font-size: 19px; }
  .buybox .price { font-size: 44px; }
  .inside { padding: 72px 0 80px; }
  .reader__bar .btn span { display: none; }
  .own { grid-template-columns: 1fr; }
  .own > div { padding: 28px 22px; }
  .own > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .contents-sec li { grid-template-columns: 40px 1fr auto; }
  .manifest li { grid-template-columns: 52px 1fr; }
  .manifest li span:last-child { grid-column: 2; margin-top: -8px; }
  .contents-sec li span:nth-child(2) { font-size: 22px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--rule); gap: 12px; align-items: center; transform: translateY(110%); transition: transform 320ms var(--ease-drawer); }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; min-height: 52px; }
  .pd-page .site-foot { padding-bottom: 110px; }
  html:has(body.pd-page) { scroll-padding-bottom: 96px; }
  .bp-head { padding: 40px 0 32px; }
  .bp-sec { padding: 64px 0; }
  .bp-sec__head .n { grid-column: 1 / -1; font-size: 32px; margin-bottom: 8px; }
  .bp-sec__head h2, .bp-sec__head p { grid-column: 1 / -1; }
  .bp-head nav { grid-template-columns: 1fr; }
  .logo-matrix { grid-template-columns: 1fr 1fr; }
  .logo-matrix > .mh, .logo-matrix > .rh { display: none; }
  .fav-grid, .swatches, .motion-grid { grid-template-columns: 1fr; }
  .series-swatches { grid-template-columns: 1fr 1fr; }
  .cover-wall { grid-template-columns: 1fr 1fr; gap: 20px; }
  .box-row { grid-template-columns: 1fr; }
  .icons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scale li { grid-template-columns: 1fr; gap: 6px; }
  .scale li > span:nth-child(2) { display: none; }
  .state-row { grid-template-columns: 1fr 1fr; }
  .state-row > span:first-child { grid-column: 1 / -1; }
  .state-head { display: none; }
  .specimen { padding: 22px; }
  .specimen__big { font-size: 84px; }
  .clear { padding: 24px 8px; min-height: 260px; }
  .clear__box { --x: 20px; }
  .clear__box .lockup-h { font-size: 30px; }
  .anatomy { width: 160px; }
  .anatomy__tag { white-space: normal; width: 150px; font-size: 12px; line-height: 1.25; }
  .anatomy__tag::before { width: 14px; margin-left: -20px; flex: none; }
  .logo-grid > :first-child { grid-row: auto; }
  .logo-grid > :first-child .logo-art { min-height: 190px; }
  .logo-grid > :last-child { grid-column: auto; }
  .contrast { font-size: 14px; }
  .contrast th:nth-child(4), .contrast td:nth-child(4) { display: none; }
  .tile { padding: 16px; }
  .lockup-h { font-size: 30px; }
  .email__hdr { padding: 18px 18px; }
  .email__body { padding: 22px 18px; }
  .app { width: 150px; height: 150px; border-radius: 34px; }
}

/* Reduced motion: no movement, keep short opacity fades */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .book, .book__body, .fan__item, .boxset__covers .cover, .tab, .cell__stack i, .cell__wash, .row__swatch .mini, .ptile .cover, .btn, .btn .i, .cell__meta .i { transition-property: opacity, color, background-color, border-color !important; }
  .js [data-fade] { transform: none; transition: opacity 400ms ease; }
  .sheet, .drawer, .mbar { transition: opacity 200ms ease, visibility 0s !important; }
  .sheet:not(.is-open), .drawer:not(.is-open) { opacity: 0; }
  .loader .dot { animation: none; }
  .shelf-caption > * { transition: opacity 200ms ease; transform: none !important; }
  .anim-in { animation: fadeOnly 300ms ease both !important; animation-duration: 300ms !important; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
}

.demo-lines { position: absolute; inset: 14% 14%; display: grid; align-content: start; gap: 9px; }
.demo-lines i { display: block; height: 3px; background: var(--rule); }
.demo-lines i:first-child { height: 7px; width: 60%; background: var(--ink); margin-bottom: 6px; }
