/* ==========================================================================
   Fixed That — site stylesheet
   Material world: white cotton paper, charcoal ink, deep plum. Ochre is an
   accent only: eyebrows, thin underlines, small marks. Never a filled block.
   Type: Bookman (display), Inter (controls and body), Patrick Hand (notes).
   One shadow recipe for every page image; the only tilt is the hero page.
   ========================================================================== */

@font-face { font-family: Inter; src: url('../assets/Inter-Regular.woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('../assets/Inter-SemiBold.woff'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: Bookman; src: url('../assets/Bookman-Demi.woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: Bookman; src: url('../assets/Bookman-DemiItalic.woff'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: Patrick; src: url('../assets/PatrickHand-Regular.woff'); font-display: swap; }

:root {
  --ink: #262521;
  --ink-soft: #635a50;
  --muted: #6c655b;
  --plum: #66394f;
  --plum-deep: #4d283b;
  --ochre: #b77b28;
  --line: #cec7b9;
  --line-soft: #e3dbcf;
  --paper: #f6f3ec;
  --card: #fffef9;
  --badge-pdf: #6a2342;
  --badge-docx: #1e1d1a;
  --badge-csv: #5f6b4e;
  --badge-txt: #b9792a;
  --display: Bookman, Georgia, 'Times New Roman', serif;
  --ui: Inter, Arial, Helvetica, sans-serif;
  --hand: Patrick, 'Comic Sans MS', cursive;
  --shadow-page: 1px 2px 3px #342c232a, 7px 12px 23px -10px #382d2370;
  --target: 44px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(#f6f3ecdb, #f6f3ecdb), url('../assets/cotton-paper.webp');
  background-size: auto, 750px;
  color: var(--ink);
  font: 15px/1.6 var(--ui);
  overflow-x: clip;
}
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
kbd { font: 600 11px/1 var(--ui); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; padding: 2px 5px; background: #fffef9; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 4px;
}

.wrap { width: min(1290px, calc(100% - 104px)); margin: auto; }
.eyebrow {
  font: 600 11px/1.5 var(--ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 19px;
}
.hand { font-family: var(--hand); }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 50;
  transform: translateY(-200%);
  background: var(--plum); color: #fff; padding: 12px 16px; font-weight: 600;
}
.skip:focus { transform: none; }

/* ---------- Display type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--plum); }

/* ---------- File-type badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges:empty { display: none; }
.badges span {
  font: 600 10px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
  color: #fffaf0; padding: 6px 8px 5px; border-radius: 3px; background: var(--badge-docx);
}
.badges .b-pdf { background: var(--badge-pdf); }
.badges .b-docx { background: var(--badge-docx); }
.badges .b-csv { background: var(--badge-csv); }
.badges .b-txt { background: var(--badge-txt); }

/* ---------- Header ---------- */
.header {
  display: flex; align-items: center; gap: 26px;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.brand { width: 270px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.header nav { margin-left: auto; display: flex; gap: 26px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.header nav a, .shop { padding: 12px 0; min-height: var(--target); display: inline-flex; align-items: center; }
.header nav a:hover { color: var(--plum); }
.shop { padding-left: 25px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.shop span { font-size: 19px; margin-left: 6px; color: var(--plum); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.16fr .92fr;
  gap: 80px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 60px;
  min-height: 735px;
}
.hero-content { min-width: 0; }
h1 { font-size: clamp(45px, 5.1vw, 73px); margin: 0 0 23px; line-height: 1.04; }
.intro { font-size: 17px; color: #665e54; line-height: 1.65; margin: 0 0 24px; }

#finder-form label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 9px; color: #554c44; }
.input-line {
  display: flex; gap: 8px; padding: 7px;
  border: 1.5px solid var(--ink);
  background: #fffef9a6;
  box-shadow: 0 3px 0 #ddd5c7;
}
.input-line:focus-within { border-color: var(--plum); outline: 2px solid #66394f24; outline-offset: 2px; }
.input-line input {
  background: none; border: 0; outline: none !important;
  width: 100%; min-width: 0; padding: 8px 6px; font-size: 15px; min-height: var(--target);
}
.input-line input::placeholder { color: #70675d; opacity: 1; }
.input-line input::-webkit-search-cancel-button { -webkit-appearance: none; }
.input-line button {
  background: var(--plum); color: #fffaf0; border: 1px solid var(--plum);
  font-size: 12px; font-weight: 600; white-space: nowrap;
  min-height: var(--target); padding: 9px 16px;
  display: flex; align-items: center; gap: 15px;
}
.input-line button:hover { background: var(--plum-deep); }
.input-line button span { font-size: 20px; line-height: 1; }
.finder-hint { font-size: 11px; color: var(--muted); margin: 8px 0 0; }

.examples { display: flex; gap: 6px 19px; flex-wrap: wrap; margin: 12px 0 18px; }
.examples button {
  border: 0; border-bottom: 1px solid #c3bbaa; background: none;
  font-size: 12px; padding: 8px 0; min-height: var(--target); color: var(--ink-soft);
}
.examples button[aria-pressed=true] { color: var(--plum); border-bottom: 2px solid var(--plum); font-weight: 600; }
.examples button:hover { color: var(--plum); }

.match { border-top: 1px solid var(--line); padding: 18px 0 0; }
.match-head {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.match-status { color: var(--plum); display: flex; align-items: center; gap: 7px; }
.match-status:before { content: ''; width: 6px; height: 6px; background: var(--ochre); display: block; border-radius: 50%; flex-shrink: 0; }
.match h2 { font-size: 30px; margin: 11px 0 9px; }
.match > p { font-size: 13px; color: var(--ink-soft); margin: 0 0 11px; }
.start-meta { display: flex; flex-wrap: wrap; gap: 5px 15px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.start-meta span:first-child { color: var(--plum); font-weight: 600; }
.start-meta span:empty { display: none; }
.match-actions { display: flex; align-items: center; gap: 23px; margin-top: 12px; flex-wrap: wrap; }
.text-button {
  border: 0; border-bottom: 2px solid var(--ochre); background: none;
  padding: 7px 0; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 14px; min-height: var(--target);
}
.text-button span { font-size: 20px; line-height: 1; }
.match-actions > a { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; min-height: var(--target); display: inline-flex; align-items: center; }
.other-matches { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; }
.other-matches button { background: none; border: 0; padding: 8px 0; min-height: var(--target); text-decoration: underline; text-underline-offset: 4px; color: var(--plum); font-size: 12px; }

.no-match { border-top: 1px solid var(--line); padding-top: 15px; font-size: 14px; }
.no-match .hand { font-size: 28px; color: var(--plum); margin: 0 0 4px; }
.no-match p { margin: 0 0 6px; color: var(--ink-soft); }
.no-match b { font-weight: 600; color: var(--ink); }

.hero-proof { position: relative; padding: 0 15px 0 0; min-width: 0; }
.proof-label {
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin: 0 12px 15px;
}
.page-button {
  background: none; border: 0; padding: 0; margin: 0 auto; display: block;
  max-width: 388px; width: 85%; transform: rotate(2deg); position: relative;
}
.page-button:before, .page-button:after {
  content: ''; position: absolute; inset: 3px -5px -5px 3px;
  background: #e2d8c6; transform: rotate(-3deg); z-index: -1;
  border: 1px solid #c7bdac; box-shadow: 0 3px 8px #51472c20;
}
.page-button:after { inset: 5px 3px -3px -4px; background: #eee9dd; transform: rotate(1deg); }
.page-button img { width: 100%; height: auto; box-shadow: var(--shadow-page); background: #fff; }
.page-button:hover img { box-shadow: 1px 2px 3px #342c2340, 9px 16px 28px -10px #382d2380; }
.proof-caption { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 22px 4px 0; }
.proof-caption .hand { font-size: 23px; color: var(--plum); line-height: 1.2; }
.enlarge-link { font-size: 11px; white-space: nowrap; background: none; border: 0; border-bottom: 1px solid #b9ac99; padding: 7px 0; min-height: var(--target); }
.margin-note {
  position: absolute; font: 20px/1.1 var(--hand); right: -38px; top: 40%;
  color: var(--ochre); transform: rotate(6deg); max-width: 105px; pointer-events: none;
}

/* No-match alternative for the page column: the real pages as a picker */
.hero-picker { min-width: 0; }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
.picker-grid button {
  background: none; border: 0; padding: 6px 4px 8px; text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.picker-grid img { width: 100%; height: auto; box-shadow: var(--shadow-page); background: #fff; }
.picker-grid span { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--plum); }
.picker-grid small { font-size: 11px; color: var(--muted); display: block; font-weight: 400; margin-top: 2px; }
.picker-grid button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.picker-all { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--ochre); padding: 8px 0; min-height: var(--target); }

/* ---------- How it works: the shape every fix follows ---------- */
.how { padding: 70px 0 64px; border-top: 1px solid #d9d1c3; text-align: center; }
.how .eyebrow { margin-bottom: 16px; }
.how h2 { font-size: clamp(36px, 4.6vw, 62px); margin: 0 0 14px; line-height: 1.05; }
.how-sub { font-size: 17px; color: #665e54; max-width: 620px; margin: 0 auto 44px; line-height: 1.6; }
.moves {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; align-items: start;
}
.move { display: flex; flex-direction: column; align-items: center; }
.move-page { margin: 0 0 22px; width: 76%; max-width: 300px; }
.move-page img { width: 100%; height: auto; box-shadow: var(--shadow-page); background: #fff; }
.move-index { font: 600 11px/1.5 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin-bottom: 8px; }
.move h3 { font-size: 27px; margin: 0 0 6px; }
.move p { font-size: 14px; color: var(--muted); margin: 0; }
.move-arrow { color: var(--ochre); align-self: center; padding-top: 2px; margin-top: 28%; }
.move-arrow svg { display: block; width: 92px; height: 46px; }

/* ---------- Try it: the interactive check ---------- */
.method {
  padding: 58px 0 62px;
  border-top: 1px solid #d9d1c3; border-bottom: 1px solid #d9d1c3;
  background: linear-gradient(#e7dfd24a, #e7dfd24a), url('../assets/cotton-paper.webp');
  background-size: auto, 700px;
}
.method-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: start; }
.method-intro h2 { font-size: 41px; margin: 0 0 23px; line-height: 1.15; }
.method-intro > p:not(.eyebrow) { font-size: 14px; color: #645b50; max-width: 380px; }
.method-product { font-size: 12px !important; color: var(--plum) !important; font-weight: 600; margin: 21px 0 18px; }
.path { display: flex; flex-direction: column; gap: 10px; font-size: 12px; list-style: none; padding: 0; margin: 0; }
.path li { display: flex; gap: 12px; align-items: center; }
.path li:before { content: ''; width: 13px; height: 1px; background: var(--ochre); flex-shrink: 0; }
.check-card {
  background: #fffef9ce; padding: 28px 31px 23px;
  border: 1px solid #cfc4b4; box-shadow: 0 2px 0 #e8dfd1, 0 12px 22px -17px #50412970;
}
.check-card > .eyebrow { font-size: 10px; margin-bottom: 14px; }
.check-card h3 { font-size: 29px; margin: 0 0 23px; line-height: 1.17; }
.check-options { display: flex; flex-wrap: wrap; gap: 9px; }
.check-options:empty { display: none; }
.check-options button {
  padding: 10px 14px; background: transparent; border: 1px solid #c1b5a5;
  font-size: 13px; min-height: var(--target); line-height: 1.4; text-align: left;
}
.check-options button[aria-pressed=true] { background: var(--plum); border-color: var(--plum); color: #fffaf0; }
.check-options button:hover { border-color: var(--plum); }
.check-answer { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 18px; min-height: 156px; }
.answer-label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.check-answer h4 { font-size: 22px; line-height: 1.22; margin: 11px 0; }
.check-answer p { font-size: 14px; line-height: 1.8; color: #645a50; margin: 0; max-width: 500px; }
.source-note { font-size: 11px; color: #83786c; border-top: 1px solid var(--line-soft); padding-top: 12px; margin: 14px 0 0; line-height: 1.65; }
.source-note:empty { display: none; }

/* ---------- The fix library ---------- */
.collection { padding-top: 65px; padding-bottom: 50px; }
.section-heading { display: flex; gap: 40px; align-items: flex-end; justify-content: space-between; }
.section-heading h2 { font-size: 45px; line-height: 1.09; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 14px; margin: 0 0 5px; max-width: 440px; line-height: 1.7; }
.filters { display: flex; gap: 25px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 28px 0 0; }
.filters button {
  font-size: 13px; border: 0; border-bottom: 3px solid transparent; background: none;
  padding: 12px 0; min-height: var(--target); color: var(--muted);
}
.filters button[aria-pressed=true] { border-color: var(--plum); color: var(--plum); font-weight: 600; }
.filters button:hover { color: var(--plum); }
.catalog-count { font-size: 12px; color: var(--muted); margin: 16px 0 22px; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 20px 20px 18px; border: 1px solid #d0c5b4; background: #fffcf6ab; border-radius: 4px;
  transition: box-shadow .18s;
}
.card:hover { box-shadow: 0 10px 18px -15px #4b3b2677; }
.card-cover { background: none; border: 0; padding: 0; width: 86px; }
.card-cover img { width: 100%; height: auto; box-shadow: var(--shadow-page); background: #1e1d1a; }
.card-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-index { font: 600 10px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.card-version { font: 600 10px/1 var(--ui); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; }
.card h3 { font-size: 22px; margin: 0; line-height: 1.12; }
.card-title {
  font: inherit; letter-spacing: inherit; line-height: inherit; background: none; border: 0; padding: 0; text-align: left;
  display: inline; min-height: 0;
}
.card-title:hover { color: var(--plum); }
.card-job { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.buy-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--plum); color: #fffaf0; font-size: 12px; font-weight: 600;
  padding: 10px 14px; min-height: var(--target); border-radius: 3px; white-space: nowrap;
}
.buy-primary:hover { background: var(--plum-deep); }
.buy-secondary { font-size: 12px; font-weight: 600; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; min-height: var(--target); display: inline-flex; align-items: center; white-space: nowrap; }
.catalog-empty { font-size: 14px; color: var(--muted); grid-column: 1 / -1; padding: 24px 0; }
.release-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 34px;
  border-top: 1px solid var(--ink); margin-top: 30px; padding: 16px 0 0;
  font-size: 13px; color: var(--muted);
}
.release-strip .strip-label { font: 600 11px/1.5 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.release-strip b { font-family: var(--display); font-size: 17px; color: var(--ink); letter-spacing: -.02em; margin-right: 6px; }
.shop-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 18px; }
.all-shop {
  font-size: 13px; font-weight: 600; display: inline-flex; gap: 25px; align-items: center;
  border-bottom: 2px solid var(--ochre); padding: 10px 0; min-height: var(--target);
}
.all-shop span { font-size: 22px; line-height: 1; }
.all-etsy { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; min-height: var(--target); display: inline-flex; align-items: center; }

/* ---------- What’s next: a quiet strip ---------- */
.next { border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 40px; }
.next-strip { display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.next-strip p { margin: 0; display: flex; align-items: center; gap: 12px; }
.next-strip b { font-family: var(--display); font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.next-strip p + p { padding-left: 36px; border-left: 1px solid var(--line); }
.updates-slot { margin-left: auto; }
.updates-slot:empty { display: none; }
.updates-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.updates-inline input[type=email] {
  border: 1px solid var(--ink); background: #fffef9; padding: 10px 14px; font-size: 14px;
  min-height: var(--target); min-width: 240px; border-radius: 3px;
}
.updates-inline button {
  background: var(--plum); color: #fffaf0; border: 0; font-size: 13px; font-weight: 600;
  padding: 10px 18px; min-height: var(--target); border-radius: 3px;
}
.updates-inline button:hover { background: var(--plum-deep); }
.updates-inline .consent { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-soft); width: 100%; }
.updates-inline .consent input { width: 18px; height: 18px; accent-color: var(--plum); }
.updates-inline .updates-flag { font: 600 10px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #fffaf0; background: var(--plum); padding: 5px 8px; border-radius: 3px; }
.updates-inline p { width: 100%; font-size: 12px; color: var(--muted); margin: 0; }
.updates-inline p.is-error { color: #7a2a1f; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 29px 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer .brand { width: 300px; }
.footer > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 12px; color: var(--muted); text-align: right; }
.footer small { font-size: 11px; }
.noscript { padding: 16px; background: #fff; border: 1px solid var(--line); margin: 16px; font-size: 14px; }
.noscript a { text-decoration: underline; }

/* ---------- Product detail dialog ---------- */
dialog {
  border: 1px solid #bdb19f; background: #fffdf6; color: var(--ink);
  max-width: 1010px; width: calc(100% - 60px); max-height: calc(100dvh - 50px);
  padding: 0; box-shadow: 0 30px 100px #21151c77; overflow: auto;
}
dialog::backdrop { background: #29202a88; backdrop-filter: blur(4px); }
.close {
  position: sticky; top: 10px; left: calc(100% - 54px);
  margin: 10px 10px -54px auto; width: var(--target); height: var(--target);
  display: block; z-index: 3; border: 1px solid #bfb4a2; border-radius: 50%;
  background: #fffdf6; font-size: 27px; line-height: 1;
}
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-art {
  background: #e9e2d6 url('../assets/cotton-paper.webp'); background-blend-mode: multiply;
  padding: 28px; display: flex; flex-direction: column; align-items: center;
}
.detail-tabs { display: flex; gap: 24px; margin-bottom: 20px; }
.detail-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font-size: 13px; min-height: var(--target); }
.detail-tabs button[aria-pressed=true] { border-color: var(--plum); color: var(--plum); font-weight: 600; }
.detail-art img { width: 100%; max-width: 320px; height: auto; box-shadow: var(--shadow-page); background: #fff; }
.detail-art > button { font-size: 12px; background: none; border: 0; border-bottom: 1px solid var(--plum); min-height: var(--target); margin-top: 15px; padding: 7px 0; }
.detail-art > p { font-size: 12px; color: var(--muted); text-align: center; max-width: 330px; }
.detail-copy { padding: 56px 35px 34px; }
.detail-copy > .eyebrow { font-size: 11px; }
.detail-copy h2 { font-size: 34px; margin: 0 0 18px; }
.detail-copy > p { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.detail-facts { margin: 18px 0 0; display: grid; gap: 10px; font-size: 13px; line-height: 1.7; }
.detail-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.detail-facts dt { font-weight: 600; color: var(--plum); }
.detail-facts dd { margin: 0; color: var(--ink-soft); }
.detail-copy h3 { font: 600 13px/1.4 var(--ui); margin: 24px 0 11px; letter-spacing: 0; }
.detail-copy ul { font-size: 13px; line-height: 1.8; padding-left: 18px; color: var(--ink-soft); margin: 0; }
.detail-copy li { margin-bottom: 6px; }
.detail-files { margin-top: 12px; border: 1px solid var(--line-soft); background: #fffef9; }
.detail-files summary { cursor: pointer; font-size: 13px; font-weight: 600; padding: 12px 14px; min-height: var(--target); display: flex; align-items: center; color: var(--plum); }
.detail-files ul { padding: 0 14px 6px 32px; }
.detail-files li { margin-bottom: 8px; }
.detail-files code { font: 600 12px/1.5 var(--ui); color: var(--ink); word-break: break-all; }
.detail-files li small { display: block; font-size: 12px; color: var(--muted); }
.detail-files p { font-size: 12px; color: var(--muted); margin: 0 14px 12px; line-height: 1.7; }
.first-step { border-block: 1px solid var(--line); padding: 16px 0; margin: 23px 0; }
.first-step .eyebrow { font-size: 10px; margin: 0; }
.first-step p { font-size: 13px; line-height: 1.8; margin: 9px 0 0; }
.first-time { color: var(--plum); font-weight: 600; font-size: 12px !important; margin-top: 4px !important; }
.first-time:empty { display: none; }
.detail-copy .limit { font-size: 12px; }
.detail-copy .badges { margin: 14px 0 10px; }
.detail-copy .detail-formats { font-size: 12px; color: var(--plum); line-height: 1.7; margin-top: 0; }
.buy-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.buy-row .buy-primary { font-size: 13px; padding: 12px 18px; }
.detail-copy .buy-note { font-size: 11px; line-height: 1.6; }
.detail-layout.zoomed { grid-template-columns: 1fr; }
.zoomed .detail-copy { display: none; }
.zoomed .detail-art img { max-width: 750px; }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 70px); }
  .header nav { gap: 18px; font-size: 12px; }
  .brand { width: 238px; }
  .header { gap: 20px; }
  .shop { padding-left: 18px; font-size: 12px; }
  .hero { gap: 55px; padding-top: 38px; min-height: 670px; }
  h1 { font-size: 5.2vw; }
  .margin-note { display: none; }
  .page-button { width: 94%; }
  .moves { gap: 14px; }
  .move-arrow svg { width: 70px; height: 35px; }
  .move h3 { font-size: 23px; }
  .method-inner { gap: 55px; }
  .method-intro h2 { font-size: 35px; }
  .check-card { padding: 24px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next h2 { font-size: 34px; }
}

@media (max-width: 850px) {
  .wrap { width: calc(100% - 42px); }
  .header { flex-wrap: wrap; gap: 5px 20px; }
  .header .brand { width: 247px; }
  .shop { margin-left: auto; border: 0; padding-left: 0; }
  .header nav { order: 3; width: 100%; justify-content: space-between; margin-left: 0; font-size: 12px; }
  .header nav a { padding: 8px 0; }
  .hero { gap: 30px; grid-template-columns: 1.12fr .88fr; min-height: 0; padding-block: 38px 45px; }
  h1 { font-size: 5.5vw; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .intro { font-size: 15px; margin-bottom: 20px; }
  .input-line { flex-wrap: wrap; gap: 4px; }
  .input-line input { font-size: 16px; }
  .input-line button { width: 100%; justify-content: space-between; }
  .finder-hint { display: none; }
  .examples { gap: 4px 14px; margin: 10px 0 14px; }
  .examples button { font-size: 12px; }
  .match h2 { font-size: 25px; }
  .match-actions { gap: 15px; margin-top: 10px; }
  .start-meta { gap: 3px 12px; }
  .proof-label { margin-inline: 0; gap: 5px; }
  .hero-proof { padding-right: 0; }
  .proof-caption { display: block; margin-top: 18px; }
  .proof-caption .hand { font-size: 22px; display: block; }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }
  .how { padding: 50px 0 46px; }
  .how-sub { font-size: 15px; margin-bottom: 34px; }
  .moves { grid-template-columns: 1fr; gap: 26px; }
  .move-page { width: 58%; max-width: 260px; }
  .move-arrow { margin: 0 auto; transform: rotate(60deg); padding: 0; }
  .move-arrow svg { width: 60px; height: 30px; }
  .method { padding-block: 40px; }
  .method-inner { grid-template-columns: 1fr; gap: 28px; }
  .method-intro h2 { font-size: 36px; }
  .method-intro > p:not(.eyebrow) { max-width: 650px; }
  .path { flex-direction: row; flex-wrap: wrap; gap: 14px 25px; }
  .method-product { margin-top: 15px !important; }
  .check-answer { min-height: 125px; }
  .collection { padding-block: 45px 40px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p { font-size: 13px; margin-top: 18px; max-width: 650px; }
  .catalog { grid-template-columns: 1fr; gap: 16px; }
  .card { grid-template-columns: 92px minmax(0, 1fr); padding: 20px 22px; gap: 22px; }
  .card-cover { width: 92px; }
  .card h3 { font-size: 24px; }
  .filters { gap: 4px 23px; }
  .filters button { font-size: 12px; }
  .release-strip { gap: 6px 26px; }
  .next-strip p + p { padding-left: 0; border-left: 0; }
  .updates-slot { margin-left: 0; width: 100%; }
  .footer .brand { width: 250px; }
  .footer > div { max-width: 260px; font-size: 11px; }
  .detail-copy { padding: 53px 27px 28px; }
  .detail-copy h2 { font-size: 29px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 34px); }
  .header .brand { width: 217px; }
  .shop { font-size: 11px; }
  .shop span { font-size: 15px; margin-left: 2px; }
  .header nav { font-size: 11px; gap: 10px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 29px; padding-bottom: 42px; }
  h1 { font-size: clamp(40px, 11.2vw, 58px); line-height: 1.08; margin-bottom: 20px; }
  .intro { font-size: 15px; margin-bottom: 25px; }
  .input-line { flex-wrap: nowrap; gap: 5px; }
  .input-line button { width: auto; font-size: 12px; gap: 10px; padding: 9px 12px; }
  .examples { gap: 4px 15px; margin-block: 13px 19px; }
  .match h2 { font-size: 29px; margin-top: 13px; }
  .match-actions { margin-top: 10px; gap: 20px; }
  .hero-proof { width: 88%; margin: 0 auto; }
  .proof-label { margin-inline: 0; }
  .page-button { width: 92%; transform: rotate(1deg); }
  .proof-caption { display: flex; align-items: center; gap: 15px; }
  .picker-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .how { padding: 44px 0 40px; }
  .how h2 { font-size: 36px; }
  .move-page { width: 68%; }
  .move h3 { font-size: 24px; }
  .method { padding-block: 37px; }
  .method-intro h2 { font-size: 32px; }
  .method-intro > p:not(.eyebrow) { font-size: 13px; }
  .path { gap: 9px 20px; }
  .check-card { padding: 23px 18px; }
  .check-card h3 { font-size: 27px; }
  .check-options { gap: 8px; }
  .check-options button { flex: 1 1 auto; padding: 11px 10px; }
  .section-heading h2 { font-size: 37px; }
  .filters { gap: 0 20px; margin-top: 18px; }
  .card { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .card-cover { width: 74px; }
  .card h3 { font-size: 23px; }
  .card-actions { gap: 12px; }
  .release-strip { font-size: 12px; }
  .release-strip b { font-size: 16px; }
  .next-strip { font-size: 13px; }
  .updates-inline input[type=email] { min-width: 0; width: 100%; }
  .updates-inline button { width: 100%; }
  .footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer > div { max-width: none; align-items: flex-start; text-align: left; }
  .footer .brand { width: 280px; }
  dialog { width: calc(100% - 20px); max-height: calc(100dvh - 25px); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-art { padding: 27px 23px; }
  .detail-art img { width: 70%; max-width: 250px; }
  .detail-copy { padding: 30px 22px; }
  .detail-copy h2 { font-size: 33px; }
  .detail-facts div { grid-template-columns: 1fr; gap: 2px; }
  .zoomed .detail-art img { width: 100%; }
}

@media (max-width: 360px) {
  .header .brand { width: 190px; }
  .header { gap: 5px 12px; }
  .header nav { gap: 8px; font-size: 11px; }
  h1 { font-size: 35px; letter-spacing: -.055em; }
  .input-line { flex-wrap: wrap; }
  .input-line button { width: 100%; justify-content: space-between; }
  .picker-grid { grid-template-columns: 1fr 1fr; }
}

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

@media print {
  .skip, .shop, .examples, .input-line button, .finder-hint, .updates-slot, .close { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Finalise (22 Oct 2026): library filler card, the column, plain pages, footer links
   ========================================================================== */

/* Card links (static pages render the title and cover as links) */
a.card-cover { display: block; }
a.card-title { color: inherit; }
a.card-title:hover { color: var(--plum); }

/* The quiet filler card: fills the odd cells in the library and points back to the finder */
.card-filler { grid-column: span 2; display: flex; align-items: center; border-style: dashed; background: transparent; }
.card-filler .card-body { gap: 6px; }
.card-filler .card-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--ochre); }
.card-filler .card-job { max-width: 46ch; }

/* From the column (home strip) */
.column-strip { border-top: 1px solid var(--line); padding: 40px 0 14px; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.strip-head .eyebrow { margin-bottom: 8px; }
.strip-head h2 { font-size: 32px; margin: 0; }
.posts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { background: #fffcf6ab; border: 1px solid #d0c5b4; padding: 18px 20px 20px; border-radius: 4px; }
.post-meta { font: 600 11px/1.5 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.post-card h2, .post-card h3 { font-size: 22px; margin: 0 0 8px; line-height: 1.15; }
.post-card h2 a, .post-card h3 a { display: inline-block; padding: 4px 0; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.post-card p:last-child { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Column index */
.column-index { padding: 56px 0 72px; max-width: 760px; }
.column-index h1 { font-size: clamp(40px, 5vw, 60px); margin: 0 0 14px; line-height: 1.05; }
.column-intro { font-size: 17px; color: #665e54; line-height: 1.65; max-width: 620px; margin: 0 0 36px; }
.posts { display: grid; gap: 18px; }

/* Article */
.article { padding: 48px 0 72px; max-width: 760px; }
.back-link { display: inline-flex; align-items: center; min-height: var(--target); font-size: 13px; font-weight: 600; color: var(--plum); margin-bottom: 8px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article .eyebrow { margin-bottom: 14px; }
.article h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; margin: 0 0 18px; }
.article-summary { font-size: 19px; line-height: 1.55; color: #5e554b; margin: 0 0 32px; max-width: 36em; }
.article-body { font-size: 17px; line-height: 1.7; color: #3a342d; max-width: 36em; }
.article-body h2 { font-size: 28px; margin: 44px 0 12px; line-height: 1.15; }
.article-body h3 { font-size: 22px; margin: 32px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 20px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { border-left: 3px solid var(--ochre); margin: 0 0 20px; padding: 2px 0 2px 18px; color: #5e554b; font-style: italic; }
.article-body a { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.article-body code { font: 600 14px/1.5 var(--ui); background: #fffef9; border: 1px solid var(--line-soft); padding: 1px 5px; border-radius: 3px; }
.article-body pre { background: #fffef9; border: 1px solid var(--line-soft); padding: 14px 16px; overflow: auto; font-size: 14px; margin: 0 0 20px; }
.article-body img { max-width: 100%; height: auto; margin: 8px 0 20px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.related { margin-top: 56px; border-top: 1px solid var(--ink); padding-top: 28px; }
.related .eyebrow { margin-bottom: 10px; }
.related h2 { font-size: 30px; margin: 0 0 22px; }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Plain pages: privacy, 404 */
.plain { padding: 56px 0 72px; max-width: 720px; }
.plain h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; margin: 0 0 18px; }
.plain-lead { font-size: 18px; line-height: 1.6; color: #5e554b; margin: 0 0 28px; }
.plain h2 { font-size: 24px; margin: 34px 0 10px; }
.plain p, .plain li { font-size: 16px; line-height: 1.7; color: #3a342d; }
.plain ul { padding-left: 22px; }
.plain a { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.plain-note { font-size: 13px !important; color: var(--muted) !important; margin-top: 40px; }
.not-found-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 12px; }
.not-found-actions .buy-primary { font-size: 13px; padding: 12px 18px; }
.not-found-actions .text-button { text-decoration: none; }

/* Footer: contact line and links */
.footer-contact { font-size: 12px; }
.footer-links { display: flex; gap: 2px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; font-weight: 600; }
.footer-links a { min-height: var(--target); display: inline-flex; align-items: center; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1150px) {
  .card-filler { grid-column: 1 / -1; }
  .posts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .posts-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .strip-head { display: block; }
  .strip-head h2 { font-size: 28px; margin-bottom: 8px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .column-index, .article, .plain { padding-block: 36px 56px; }
  .article-body { font-size: 16px; }
  .article-summary { font-size: 17px; }
}

/* Plain-page buttons keep their own colours (the .plain link rule must not win) */
.plain .buy-primary, .plain .buy-primary:hover { color: #fffaf0; text-decoration: none; }
.plain .text-button { color: var(--ink); text-decoration: none; }
.plain .text-button:hover { color: var(--plum); }
