/* ==========================================================================
   wove.top concept site: one stylesheet for every page.
   Hand-written, not generated. build.py never touches this file, so edits
   (and the GIMP background wire-up) survive a rebuild.
   Sections: 1 tokens, 2 base, 3 frame, 4 masthead, 5 hero and lens,
   6 doors, 7 journal teaser, 8 footer, 9 sale column, 10 inner pages,
   11 sheets, 12 process, 13 payments, 14 responsive
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   Palette: wove sheet, iron-gall ink, pencil, deckle rule, ultramarine, sale panel
   ========================================================================== */
:root {
  --sheet:      #ECEDE9;  /* page paper: cool, slightly grey wove */
  --sheet-hi:   #F2F3EF;  /* a sheet lying on the page */
  --sheet-lit:  #FBFCF9;  /* paper seen against the light */
  --ink:        #1C2333;  /* iron-gall blue-black */
  --pencil:     #4A5266;  /* secondary text */
  --rule:       #B7BAB3;  /* deckle grey */
  --ultra:      #2A3E94;  /* links, the only chromatic ink */
  --panel:      #18213B;  /* the sale column: the only dark surface */
  --panel-ink:  #EEF0F6;

  /* The typeface. build.py writes the real value from site.config.json into
     a <style> in each page head, placed AFTER this file, so that one wins and
     this line is only the fallback. To try a font quickly, change it in the
     browser DevTools or in the config, not here. */
  --font: "Baskervville", "GFS Baskerville", "Baskerville", "Baskerville Old Face", "Libre Baskerville", Georgia, serif;

  /* Type scale, ratio about 1.25 */
  --t-s:   .9rem;
  --t-m:   1.125rem;
  --t-l:   1.4rem;
  --t-xl:  2rem;
  --t-xxl: clamp(2.6rem, 5.6vw, 4.6rem);
  --t-h1:  clamp(2.2rem, 4.4vw, 3.5rem);

  --lr: 170px; /* radius of the light lens */

  /* ---- Paper background hooks -------------------------------------------
     Placeholder paper made with SVG noise. When the GIMP assets exist (see
     docs/BACKGROUND_BRIEF.md), the brief replaces the two lines marked WIRE-UP.
     Urls are relative to this file (in the site root), so they start with assets/bg/
     ---------------------------------------------------------------------- */
  --paper-raking: linear-gradient(104deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 34%, rgba(28,35,51,.045) 100%);
  --paper-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .018' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .25 0 0 0 0 .33 .10 .10 .10 0 -.12'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23c)'/%3E%3C/svg%3E");
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .25 0 0 0 0 .33 .06 .06 .06 0 -.02'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  --paper-bg: var(--paper-raking), var(--paper-cloud), var(--paper-grain);        /* WIRE-UP 1: var(--paper-raking), url("assets/bg/paper-wove-tile.jpg") */
  --paper-sheet-bg: var(--paper-cloud), var(--paper-grain);                       /* WIRE-UP 2: url("assets/bg/paper-sheet-tile.jpg") */
}
html:root { --font: "Jackwrite", serif; }
/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@supports (-webkit-text-size-adjust: 100%) { html { -webkit-text-size-adjust: 100%; } }
body {
  margin: 0;
  background-color: var(--sheet);
  background-image: var(--paper-bg);
  background-attachment: fixed, scroll, scroll;
  color: var(--ink);
  font: 400 var(--t-m)/1.62 var(--font);
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ultra); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--sheet); padding: .5rem .8rem; z-index: 20; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img { max-width: 100%; }

/* ==========================================================================
   3. FRAME: page column + sale column
   ========================================================================== */
.frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  column-gap: 44px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}
.page { min-width: 0; }

/* ==========================================================================
   4. MASTHEAD
   ========================================================================== */
.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 14px 32px; padding: 30px 0 22px;
}
.wordmark { color: var(--ink); text-decoration: none; font-size: 2.05rem; line-height: 1; letter-spacing: -.012em; }
.wordmark:hover { text-decoration: none; }
.wordmark span {
  font-size: .46em; font-style: italic; letter-spacing: 0;
  position: relative; top: -1.05em; margin-left: .12em;
}
.nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; font-size: 1.02rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.nav .nav__domain { color: var(--ultra); }
.nav .nav__lang { display: inline-flex; align-self: center; line-height: 0; }
.nav .nav__lang img { display: block; width: 24px; height: 16px; box-shadow: 0 0 0 1px rgba(28,35,51,.25); }

/* ==========================================================================
   5. HERO: a sheet held to the light (also used on the sheet pages)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 6px;
  min-height: 540px;
  padding: clamp(26px, 6vw, 72px);
  background-color: var(--sheet-hi);
  background-image: var(--paper-sheet-bg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 1px rgba(28,35,51,.07),
    0 22px 44px -28px rgba(28,35,51,.5);
  touch-action: pan-y;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
[data-light]:focus-visible { outline-offset: -6px; }
/* The sheet dims a little around the lens, so the lit patch reads as light coming through */
[data-light]::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle calc(var(--lr) * 2.6) at var(--lx, 70%) var(--ly, 50%), transparent 0, transparent 30%, rgba(28,35,51,.055) 55%, transparent 100%);
  opacity: 0; transition: opacity .55s ease;
}
[data-light].is-lit::before { opacity: 1; }
.hero__body { position: relative; z-index: 2; max-width: 40rem; }
.hero h1 {
  font-weight: 400; font-size: var(--t-xxl); line-height: 1.02; letter-spacing: -.018em;
  max-width: 11.5em; text-wrap: balance;
}
.hero__lede { margin-top: 1.6rem; max-width: 34rem; color: var(--ink); }

.hero__tools { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: var(--t-s); color: var(--pencil); }
.hero__tools p { font-style: italic; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button {
  font: inherit; font-size: var(--t-s); color: var(--ink); background: transparent;
  border: 0; padding: .35rem .95rem; cursor: pointer;
}
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--sheet-hi); }
.seg button:focus-visible { outline-offset: 2px; }

/* The light: a lit copy of the sheet, revealed through a moving lens */
.light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--sheet-lit);
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx, 70%) var(--ly, 50%), #000 0, #000 52%, transparent 100%);
          mask-image: radial-gradient(circle var(--lr) at var(--lx, 70%) var(--ly, 50%), #000 0, #000 52%, transparent 100%);
  opacity: 0; transition: opacity .55s ease;
}
[data-light].is-lit .light { opacity: 1; }
.light svg.mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-structure="wove"] .mesh-laid { display: none; }
[data-structure="laid"] .mesh-wove { display: none; }
.watermark {
  position: absolute; right: 7%; top: 50%; width: clamp(150px, 26%, 240px); aspect-ratio: 1;
  transform: translateY(-50%);
}
.watermark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.watermark text { font-family: var(--font); }

/* ==========================================================================
   6. DOORS: two ways in
   ========================================================================== */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.door {
  display: grid; grid-template-rows: auto 1fr; color: var(--ink); text-decoration: none;
  background-color: var(--sheet-hi);
  background-image: var(--paper-sheet-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(28,35,51,.07), 0 22px 44px -30px rgba(28,35,51,.5);
}
.door:hover { text-decoration: none; }
.door__swatch { display: block; height: 190px; overflow: hidden; background: #DDE0DA; }
.door__swatch svg { display: block; width: 100%; height: 100%; }
.door__text { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: .7rem; }
.door h2 { font-weight: 400; font-size: var(--t-xl); line-height: 1.1; letter-spacing: -.01em; }
.door__house { font-style: italic; color: var(--pencil); }
.door p.door__copy { max-width: 28rem; }
.door__go { margin-top: auto; padding-top: .6rem; color: var(--ultra); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.door:hover .door__go { text-decoration-thickness: 2px; }
.door:focus-visible { outline-offset: 4px; }

/* ==========================================================================
   7. JOURNAL teaser (home) and list (journal page)
   ========================================================================== */
.journal {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule);
}
.journal__pair { display: flex; gap: 14px; }
.journal__pair figure { margin: 0; }
.journal__pair svg { display: block; width: 112px; height: 112px; background: var(--sheet-lit); box-shadow: 0 0 0 1px rgba(28,35,51,.12); }
.journal__pair figcaption { margin-top: .4rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); }
.journal h2 { font-weight: 400; font-size: var(--t-l); line-height: 1.2; }
.journal p { margin-top: .6rem; max-width: 36rem; }
.journal a.more { display: inline-block; margin-top: .8rem; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.foot { margin-top: 72px; padding: 28px 0 64px; border-top: 1px solid var(--rule); font-size: var(--t-s); color: var(--pencil); }
.foot p { font-style: italic; }
.foot p + p { margin-top: .15rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.1rem; }
.foot a { color: var(--pencil); }

/* ==========================================================================
   9. SALE COLUMN (the same block appears on every page)
   ========================================================================== */
.sale {
  position: sticky; top: 24px; align-self: start; margin-top: 30px;
  background: var(--panel); color: var(--panel-ink);
  padding: 28px 26px 26px;
  box-shadow: 0 24px 48px -26px rgba(24,33,59,.7);
}
.sale a { color: var(--panel-ink); }
.sale h2 { font-weight: 400; font-style: italic; font-size: 1rem; opacity: .82; }
.sale__domain { font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; margin: .35rem 0 1.4rem; }
.sale__label { font-size: var(--t-s); opacity: .8; }
.sale__price { font-size: 2.2rem; line-height: 1.1; margin: .1rem 0 1.1rem; }
.sale__price small { font-size: 1rem; opacity: .8; margin-left: .3rem; }
.btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--panel-ink); color: var(--panel) !important; padding: .85rem 1rem; font-size: 1.08rem;
}
.btn:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.btn:focus-visible { outline-color: var(--panel-ink); outline-offset: 3px; }
.sale__how { margin-top: .8rem; font-size: var(--t-s); line-height: 1.45; opacity: .85; }
.sale__links { margin-top: 1.2rem; font-size: 1rem; display: grid; gap: .45rem; }
.sale__notice {
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(238,240,246,.28);
  font-size: var(--t-s); line-height: 1.5;
}

/* Bar shown instead of the column on narrow screens */
.salebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--panel); color: var(--panel-ink);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 14px; font-size: .95rem; line-height: 1.3;
}
.salebar a { color: var(--panel-ink); }
.salebar__text { display: grid; gap: .1rem; }
.salebar strong { font-weight: 400; font-size: 1.2rem; }
.salebar small { font-size: .88rem; opacity: .85; }
.salebar .btn { display: inline-block; padding: .55rem 1.3rem; font-size: 1.05rem; flex: none; }

/* ==========================================================================
   10. INNER PAGES
   ========================================================================== */
.crumbs { margin-top: 4px; font-size: var(--t-s); color: var(--pencil); font-style: italic; }
.crumbs a { color: var(--pencil); }
.crumbs span[aria-hidden] { margin: 0 .45em; }

.pagehead { padding: 38px 0 34px; border-bottom: 1px solid var(--rule); }
.pagehead h1 { font-weight: 400; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.016em; max-width: 15em; text-wrap: balance; }
.pagehead .house { margin-top: .7rem; font-style: italic; color: var(--pencil); }
.pagehead .lede { margin-top: 1.3rem; max-width: 37rem; }

.section { margin-top: 56px; }
.section > h2 { font-weight: 400; font-size: var(--t-xl); line-height: 1.12; letter-spacing: -.01em; max-width: 22em; text-wrap: balance; }
.section > h2 + * { margin-top: 1.1rem; }
.section h3 { font-weight: 400; font-size: var(--t-l); line-height: 1.2; }
.prose { max-width: 38rem; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + h3, .prose ul + h3 { margin-top: 1rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li + li { margin-top: .4rem; }
.prose em, .lede em { font-style: italic; }
.small { font-size: var(--t-s); color: var(--pencil); }

/* A quiet block that carries a rule on its left, for the voice of the house */
.voice { max-width: 38rem; padding-left: 1.3rem; border-left: 1px solid var(--rule); font-style: italic; color: var(--pencil); }

/* Key facts: label and value on a ruled grid */
.keyfacts { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); max-width: 40rem; border-top: 1px solid var(--rule); }
.keyfacts dt, .keyfacts dd { padding: .62rem 0; border-bottom: 1px solid var(--rule); }
.keyfacts dt { font-style: italic; color: var(--pencil); padding-right: 1rem; }

/* The large link to the process page */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  margin-top: 40px; padding: 30px 32px;
  color: var(--ink); text-decoration: none;
  background-color: var(--sheet-hi); background-image: var(--paper-sheet-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(28,35,51,.07), 0 22px 44px -30px rgba(28,35,51,.5);
}
.feature:hover { text-decoration: none; }
.feature h2 { font-weight: 400; font-size: var(--t-xl); line-height: 1.12; letter-spacing: -.01em; max-width: 17em; text-wrap: balance; }
.feature p { margin-top: .6rem; max-width: 34rem; color: var(--pencil); }
.feature .go { color: var(--ultra); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; white-space: nowrap; }
.feature:hover .go { text-decoration-thickness: 2px; }
.feature:focus-visible { outline-offset: 4px; }

/* Plain list of linked notes */
.notes { border-top: 1px solid var(--rule); max-width: 44rem; }
.notes li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.notes h2 { font-weight: 400; font-size: var(--t-l); line-height: 1.2; }
.notes p { margin-top: .5rem; max-width: 36rem; }
.notes .by { margin-top: .5rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); }

/* A journal note */
.article { max-width: 38rem; }
.article .by { margin-top: 1rem; font-style: italic; color: var(--pencil); }
.article .section { margin-top: 40px; }
.article .section > h2 { font-size: var(--t-l); }
.article .pair { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 1.6rem; }
.article .pair figure svg { display: block; width: 168px; height: 168px; background: var(--sheet-lit); box-shadow: 0 0 0 1px rgba(28,35,51,.12); }
.article figcaption { margin-top: .45rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); max-width: 20rem; }

/* Spec reading table (journal) */
.spectable { width: 100%; max-width: 44rem; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.spectable th, .spectable td { text-align: left; vertical-align: top; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--rule); }
.spectable thead th { font-weight: 400; font-style: italic; color: var(--pencil); border-bottom-color: var(--ink); }
.spectable tbody th { font-weight: 400; white-space: nowrap; }

/* The inline concept notice: used on pages where invented figures appear */
.concept {
  margin-top: 40px; padding: 14px 18px; max-width: 40rem;
  font-size: var(--t-s); line-height: 1.5; color: var(--ink);
  background: var(--sheet-hi); box-shadow: inset 0 0 0 1px rgba(28,35,51,.2);
}
.concept a { color: var(--ultra); }

.buy {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--ink); color: var(--sheet-hi); padding: 1rem 2.2rem; font-size: 1.25rem; letter-spacing: .005em;
}
.buy:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.buy:focus-visible { outline-color: var(--ultra); outline-offset: 4px; }
.buyline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 1.4rem; }
.buyline p { font-size: var(--t-s); color: var(--pencil); max-width: 24rem; line-height: 1.45; }

.qa { max-width: 38rem; border-top: 1px solid var(--rule); }
.qa > div { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.qa h3 { font-size: 1.15rem; line-height: 1.3; }
.qa p { margin-top: .45rem; }

.uses { max-width: 40rem; border-top: 1px solid var(--rule); }
.uses li { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.uses strong { font-weight: 400; font-style: italic; margin-right: .35em; }

/* ==========================================================================
   11. SHEETS: cards, swatches, sheet pages
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 24px; margin-top: 1.6rem; }
.sheetcard {
  display: grid; grid-template-rows: auto 1fr; color: var(--ink); text-decoration: none;
  background-color: var(--sheet-hi); background-image: var(--paper-sheet-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(28,35,51,.07), 0 18px 36px -28px rgba(28,35,51,.5);
}
.sheetcard:hover { text-decoration: none; }
.sheetcard .swatch { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: #DDE0DA; }
.sheetcard .swatch svg { display: block; width: 100%; height: 100%; }
.sheetcard__text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: .3rem; }
.sheetcard h3 { font-weight: 400; font-size: 1.22rem; line-height: 1.2; }
.sheetcard .mill { font-style: italic; color: var(--pencil); font-size: var(--t-s); }
.sheetcard .meta { font-size: var(--t-s); color: var(--pencil); line-height: 1.4; }
.sheetcard .price { margin-top: auto; padding-top: .6rem; display: flex; justify-content: space-between; align-items: baseline; }
.sheetcard .price span { font-size: 1.1rem; }
.sheetcard .price small { font-size: .8rem; font-style: italic; color: var(--pencil); }
.sheetcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sheetcard:focus-visible { outline-offset: 4px; }

.sheetpage { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; margin-top: 34px; align-items: start; }
.sheetview {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 5 / 6;
  background: #DDE0DA; touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(28,35,51,.08), 0 22px 44px -28px rgba(28,35,51,.5);
}
.sheetview > svg.base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sheetview .light { background: transparent; }
.sheetview .light > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sheetview .light text { font-family: var(--font); }
.sheetview__note { margin-top: .7rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); max-width: 30rem; }
.sheetinfo h1 { font-weight: 400; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.016em; text-wrap: balance; }
.sheetinfo .mill { margin-top: .6rem; font-style: italic; color: var(--pencil); }
.sheetinfo .pricebig { margin-top: 1.2rem; font-size: 2rem; line-height: 1; }
.sheetinfo .pricebig small { font-size: .95rem; font-style: italic; color: var(--pencil); margin-left: .4rem; }
.sheetinfo .keyfacts { margin-top: 1.6rem; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); }
.sheetinfo .selector { margin-top: 1.8rem; }
.sheetinfo .selector h2 { font-weight: 400; font-style: italic; font-size: 1rem; color: var(--pencil); }
.sheetinfo .selector p { margin-top: .4rem; }
.siblings { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); }

/* ==========================================================================
   12. PROCESS: a real sequence, so the numerals mean something
   ========================================================================== */
.steps { counter-reset: step; max-width: 46rem; border-top: 1px solid var(--rule); }
.steps > li {
  counter-increment: step; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0 14px;
  padding: 1.6rem 0 1.7rem; border-bottom: 1px solid var(--rule);
}
.steps > li::before {
  content: counter(step); grid-row: 1 / span 3; font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--pencil);
}
.steps h3 { font-weight: 400; font-size: var(--t-l); line-height: 1.2; }
.steps p { margin-top: .5rem; max-width: 36rem; }
.steps .term { margin-top: .6rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); max-width: 36rem; }
.steps figure { margin-top: 1.1rem; }

.shake { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 34rem; }
.shake svg { display: block; width: 100%; height: auto; background: var(--sheet-lit); box-shadow: 0 0 0 1px rgba(28,35,51,.12); }
.shake figcaption { margin-top: .4rem; font-size: var(--t-s); font-style: italic; color: var(--pencil); }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 1.4rem; }
.three h3 { font-size: 1.2rem; }
.three p { margin-top: .45rem; font-size: 1rem; line-height: 1.55; }
.three > div { padding-top: .9rem; border-top: 1px solid var(--ink); }

.batchbook { width: 100%; max-width: 44rem; border-collapse: collapse; font-size: 1rem; line-height: 1.4; font-variant-numeric: tabular-nums lining-nums; }
.batchbook th, .batchbook td { text-align: left; padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--rule); }
.batchbook thead th { font-weight: 400; font-style: italic; color: var(--pencil); border-bottom-color: var(--ink); }
.batchbook td:last-child, .batchbook th:last-child { text-align: right; padding-right: 0; }

/* ==========================================================================
   13. PAYMENTS
   ========================================================================== */
.pay { margin-top: 1.6rem; display: grid; gap: 28px; }
.pay h3 { font-size: 1.1rem; font-style: italic; color: var(--pencil); }
.pay__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: .7rem; }
.pay__tile {
  display: grid; grid-template-rows: auto auto auto; justify-items: start; gap: .15rem; padding: 14px 16px 14px;
  background: var(--sheet-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(28,35,51,.12);
}
.pay__tile svg, .pay__tile img { display: block; width: 56px; height: 36px; margin-bottom: .45rem; }
.pay__tile svg { color: var(--ink); }
.pay__name { font-size: 1.02rem; line-height: 1.25; }
.pay__kind { font-size: .82rem; font-style: italic; color: var(--pencil); line-height: 1.3; }

.assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: 40rem; margin-top: 1.6rem; }
.assure li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.assure svg { width: 30px; height: 30px; color: var(--ink); }
.assure strong { display: block; font-weight: 400; }
.assure span { font-size: var(--t-s); color: var(--pencil); line-height: 1.4; display: block; }

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1060px) {
  .frame { grid-template-columns: minmax(0, 1fr); padding: 0 22px; }
  .sale { display: none; }
  .salebar { display: flex; }
  .foot { padding-bottom: 110px; }
}
@media (max-width: 860px) {
  .sheetpage { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sheetview { aspect-ratio: 4 / 4.2; }
  .three { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .journal { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero { min-height: 500px; }
  .watermark { right: 4%; top: 58%; width: 44%; }
  .nav { gap: 8px 20px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 22px; }
  .keyfacts { grid-template-columns: minmax(0, 7.2rem) minmax(0, 1fr); }
  .assure { grid-template-columns: minmax(0, 1fr); }
  .shake { grid-template-columns: minmax(0, 1fr); }
  .spectable { font-size: .95rem; }
  .spectable tbody th { white-space: normal; }
  .steps > li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .steps > li::before { font-size: 1.9rem; }
  .buy { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .light, [data-light]::before { transition: none; }
}
@media print {
  .sale, .salebar, .skip, .nav { display: none; }
  .frame { display: block; padding: 0; }
  body { background: #fff; }
}
