:root {
  --bg: #ddd6c6;
  --paper: #d2cab8;
  --ink: #2a2a26;
  --muted: #59574e;
  --accent: #4f6238;
  --accent-ink: #f4efe4;
  --field: #3f5a2a;
  --field-ink: #f4efe4;
  --line: #c8c0ae;
  --sans: "Literata", "Georgia", serif;
  --serif: "Literata", "Georgia", serif;
  --max: 46rem;
  --gut: clamp(20px, 4vw, 48px);
  --radius: 0;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh; margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: var(--step-body);
  line-height: 1.6; letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
p { margin: 0 0 1em; max-width: 46ch; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; font-weight: 500; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 0.45em; color: var(--ink); text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); }
h2 { font-size: var(--step-head); }
h3 { font-size: 1.2rem; line-height: 1.25; }
.container { width: 100%; max-width: calc(720px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
main { order: 3; flex: 1; }
.label, .sec-no, .chapter-no, .g-tag, .step-no {
  display: block; font-size: var(--step-body); font-weight: 500; font-style: italic; color: var(--ink); margin: 0 0 0.5rem; letter-spacing: 0; text-transform: none;
}
.lede { font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }
.serif { font-family: var(--serif); font-weight: 500; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; z-index: 100; text-decoration: none; }
.skip:focus { top: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.15rem;
  border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.97); }
.btn::after { content: none; }
.btn-line { background: var(--ink); color: var(--bg); }
.btn-line:hover { background: var(--accent); color: var(--accent-ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-block { width: 100%; }
.link { display: inline-flex; font-weight: 500; text-decoration: underline; color: var(--ink); border: 0; background: none; cursor: pointer; }
.link-light { color: var(--accent-ink); }
.topline { order: 1; background: var(--field); color: var(--field-ink); font-size: var(--step-small); }
.topline .container { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem var(--gut); max-width: none; }
.topline p { margin: 0; max-width: none; }
.topline a, .topline-meta a { color: var(--field-ink); text-decoration: underline; }
.topline-meta { display: flex; gap: 1rem; font-weight: 500; }
.site-header { order: 2; position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-bar { display: flex; align-items: center; min-height: 64px; gap: 1rem; max-width: none; }
.header-note { display: none; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 22px; height: 22px; color: var(--accent); }
.brand-name { font-weight: 500; font-size: 1.2rem; font-style: italic; letter-spacing: -0.02em; white-space: nowrap; }
.header-tools { display: flex; align-items: center; gap: 0.7rem; }
.cart-link { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.cart-link [data-cart-count] { min-width: 1.3rem; height: 1.3rem; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; }
.main-nav { display: block; background: var(--paper); }
.nav-inner { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; padding: 0.55rem 0 0.7rem; max-width: none; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.25rem 0; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--accent); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 44px; height: 44px; cursor: pointer; position: relative; background: var(--accent); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--accent-ink); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
@media (max-width: 1100px) {
  .burger { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; background: var(--paper); max-height: 0; overflow: hidden; visibility: hidden; }
  .nav-inner { flex-direction: column; padding: 0.6rem var(--gut) 1.2rem; }
  .main-nav a { font-size: 1.2rem; }
  .nav-toggle:checked ~ .main-nav { max-height: 80vh; overflow-y: auto; visibility: visible; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .topline .container { flex-direction: column; }
  .cart-link .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

.split { display: grid; grid-template-columns: 1fr; }
.split-photo { margin: 0; height: 60svh; overflow: hidden; background: var(--paper); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.split-read { min-width: 0; }
@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .split-photo {
    position: sticky; top: 0; height: 100svh; width: auto;
  }
}

.hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; padding: 2.4rem 0 3rem; background: var(--bg); }
.hero-room { display: none; }
.hero-card { position: relative; background: transparent; padding: 0; width: 100%; }
.hero-spread { display: block; max-width: 14ch; margin: 0 0 1rem; font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--ink); font-weight: 500; }
.hero-wells { display: none; }
.hero-facts { display: flex; flex-direction: column; gap: 0.2rem; color: var(--ink); font-style: italic; }
.hero-facts p { margin: 0; }
.hero-support { max-width: 34ch; color: var(--ink); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.hero-credit { width: 100%; color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 959px) {
  .hero { min-height: 0; padding-top: 2rem; }
}

.facts-band { background: var(--paper); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: 2rem 0; }
.fact strong { display: block; font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--ink); font-weight: 500; }
.fact span { color: var(--ink); font-size: 0.95rem; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: var(--paper); }
.sec-head { margin: 0 0 1.6rem; display: grid; grid-template-columns: 1fr; gap: 0.4rem; }
.chapter {
  display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; margin: 0 0 2.4rem; background: transparent;
}
.chapter-media { margin: 0; overflow: hidden; background: var(--paper); }
.chapter-media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; }
.chapter-copy { padding: 0; }
.chapter.flip .chapter-media { order: 0; }
.chapter-copy h2 { font-size: var(--step-head); }
.chapter-copy .fine { color: var(--accent); font-style: italic; }
.moments .chapter {
  grid-template-columns: 1fr; gap: 0.8rem; margin: 0 0 2rem; padding: 1.4rem 1.3rem 1.6rem;
  background: var(--paper);
}
.moments .chapter-media { width: 100%; aspect-ratio: 16/9; }
.moments .chapter-media img { aspect-ratio: 16/9; }
.moments .chapter-copy { padding: 0; }
.statement { padding: clamp(3rem, 8vw, 5rem) 0; background: var(--field); color: var(--field-ink); }
.statement p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; max-width: 22ch; margin: 0; color: var(--field-ink); font-style: italic; }
.statement .mark { display: block; width: 28px; height: 28px; color: var(--bg); margin-bottom: 1rem; }

.cat-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.6rem; }
.cat-switch label { cursor: pointer; background: var(--paper); padding: 0.35rem 0.75rem; font-weight: 500; font-style: italic; }
.cat-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cat-switch input:checked + label { background: var(--accent); color: var(--accent-ink); }
body:has(#cat-lenses:checked) .cat-drops, body:has(#cat-lenses:checked) .cat-masks,
body:has(#cat-drops:checked) .cat-lenses, body:has(#cat-drops:checked) .cat-masks,
body:has(#cat-masks:checked) .cat-lenses, body:has(#cat-masks:checked) .cat-drops { display: none; }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.index-row { position: relative; background: transparent; display: grid; gap: 0.7rem; }
.index-thumb { aspect-ratio: 1; background: var(--paper); display: block; }
.index-thumb img { width: 100%; height: 100%; object-fit: contain; }
.index-main { padding: 0; }
.index-line { display: flex; flex-direction: column; gap: 0.15rem; }
.index-line h3 { margin: 0; font-size: 1.35rem; }
.index-line h3 a { text-decoration: none; color: var(--ink); }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.dots { display: none; }
.index-price { font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.index-meta, .index-format { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--muted); max-width: none; }
.index-add { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-size: 1.3rem; }

.dark { background: var(--field); color: var(--field-ink); }
.dark h2, .dark h3, .dark .sec-head p, .dark .sec-head a, .dark .label, .dark .sec-no { color: var(--field-ink); }
.timeline { list-style: none; margin: 0; padding: 1.4rem 1.3rem; display: grid; gap: 1.2rem; background: var(--paper); }
.timeline li { display: grid; gap: 0.3rem; padding: 0; }
.timeline .step-no { display: none; }
.timeline h3 { color: inherit; margin: 0 0 0.2rem; }
.feature { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.feature img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: none; }
.feature > div { padding: 0; background: transparent; }
.notice { display: grid; gap: 1rem; padding: 0; background: transparent; }
.notice .btn-line { color: var(--bg); background: var(--ink); }
.callout { background: var(--paper); padding: 0.9rem 1rem; margin: 1.2rem 0; }
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.faq { background: transparent; margin-bottom: 1rem; }
.faq summary { list-style: none; cursor: pointer; display: block; padding: 0; font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: none; }
.faq .faq-a { padding: 0.4rem 0 0; }
.faq .faq-a p { margin: 0; }
.page-head { padding: clamp(2rem, 5vw, 3.4rem) 0 1.2rem; }
.crumbs { font-size: 0.95rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: inherit; text-decoration: none; font-weight: 500; }
.crumbs span { margin: 0 0.4rem; }
.page-head-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.page-nav a { padding: 0.4rem 0.65rem; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 500; }
.doc { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.toc { position: static; background: var(--paper); padding: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.3rem 0; text-decoration: none; color: var(--ink); }
.prose { max-width: 46ch; }
.prose h2 { margin: 2rem 0 0.7rem; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.1rem; }
.data-list { margin: 0 0 1.4rem; }
.data-list div { display: grid; grid-template-columns: 2fr 3fr; gap: 0.8rem; padding: 0.7rem 0; }
.data-list div:nth-child(odd) { background: var(--paper); padding-left: 0.8rem; padding-right: 0.8rem; }
.data-list dt { font-size: 0.95rem; font-weight: 500; font-style: italic; color: var(--ink); }
.data-list dd { margin: 0; }
.story { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.story figure { margin: 0; }
.story img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.milestones { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin-top: 1.4rem; }
.milestones div { padding: 0; background: transparent; }
.milestones strong { display: block; color: var(--accent); font-style: italic; }
.banner-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 2rem; filter: none; }
.glossary { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.gloss { padding: 0; background: transparent; }
.principles { list-style: none !important; padding: 0 !important; }
.principles li { padding: 0.7rem 0 !important; }
.product { display: grid; grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 2rem; }
.product-media { margin: 0; background: var(--paper); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.price-row { display: flex; justify-content: space-between; padding: 0.6rem 0 1rem; margin-bottom: 1rem; }
.price-row .price { font-size: 1.8rem; font-weight: 500; color: var(--ink); }
.buy { display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.perks li { display: flex; gap: 0.6rem; padding: 0; font-size: 0.95rem; }
.perks svg { width: 22px; color: var(--accent); flex: none; }
.dossier { display: grid; gap: 1.4rem; }
.dossier-row { display: grid; grid-template-columns: 1fr; gap: 0.5rem; padding: 0; background: transparent; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.55rem 0; }
.spec th { width: 40%; color: var(--muted); font-size: 0.95rem; font-weight: 500; font-style: italic; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 0.9rem 0; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; background: var(--paper); }
.qty { display: inline-flex; background: var(--paper); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: var(--accent); }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.summary { background: var(--paper); padding: 1.2rem; }
.sum-lines { list-style: none; margin: 0; padding: 0; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; padding: 0.4rem 0; }
.sum-total strong { font-size: 1.4rem; color: var(--ink); }
.empty { padding: 2rem 0; }
.form { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.3rem; }
.field > span { font-size: 0.95rem; font-weight: 500; font-style: italic; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; background: #efe9db; border: 0; border-bottom: 2px solid var(--ink); color: var(--ink); padding: 0.75rem 0.2rem; border-radius: 0; }
.field textarea { min-height: 130px; }
.check { display: flex; gap: 0.7rem; }
.check input { accent-color: var(--accent); }
.contact { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-panel { background: var(--paper); padding: 1.4rem; }
.contact-panel .data-list dt { color: var(--ink); }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(42,42,38,0.72); padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { background: var(--bg); max-width: 520px; width: 100%; padding: 1.8rem; }
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--field); color: var(--field-ink); }
.cookie-bar[hidden] { display: none; }
body:has(.cookie-bar:not([hidden])) { padding-bottom: 7rem; }
.cookie-bar .container { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem var(--gut); max-width: none; }
.cookie-bar .container p { max-width: none; }
.cookie-bar a { color: var(--bg); }
.cookie-actions { display: flex; gap: 0.5rem; }
@media (max-width: 760px) { .cookie-bar .container { flex-direction: column; } body:has(.cookie-bar:not([hidden])) { padding-bottom: 13rem; } }

.site-footer { order: 4; position: relative; background: var(--field); color: var(--field-ink); margin-top: auto; font-size: 0.95rem; overflow: hidden; }
.home .site-footer { min-height: 88svh; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45); }
.tile-strip { display: none; }
.site-footer a { color: var(--bg); text-decoration: underline; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: clamp(2rem, 4vw, 3rem) 0; }
.footer-top h2 { font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--bg); font-style: italic; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-contact { display: grid; gap: 0.25rem; margin-top: 1rem; }
.footer-legal { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.4rem 0; font-size: 0.9rem; }
.footer-legal p { max-width: 52ch; }
.wordmark { font-size: clamp(2.4rem, 8vw, 6rem); font-weight: 500; font-style: italic; letter-spacing: -0.05em; color: var(--bg); margin: 0; line-height: 0.85; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 0 1.4rem; font-size: 0.85rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
.cta-band { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: clamp(4rem,10vw,8rem) var(--gut); background: var(--bg); min-height: 50svh; align-content: center; }
.cta-band > p { font-size: 1.25rem; font-weight: 400; margin: 0; color: var(--ink); max-width: 34ch; font-style: italic; }
.cta-main { background: transparent; padding: 0; }
@media (min-width: 960px) {
  .cta-band, .break-full { margin-left: 0; }
}
.howto-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.howto-grid li { background: transparent; }
.howto-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.howto-grid h3, .howto-grid p { margin: 0.5rem 0 0; }
.reveal { opacity: 1; }
.field-error { color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.field-error-wide { grid-column: 1 / -1; }
.field-error-fix { font: inherit; font-weight: 500; color: var(--accent); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.thanks-page { max-width: 40ch; }
.thanks-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--paper); margin-bottom: 1.2rem; }
.thanks-icon::after { content: ""; width: 18px; height: 10px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); margin-top: -4px; }
.thanks-actions { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.quotes { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.quote { margin: 0; padding: 0; background: transparent; font-style: italic; }
.inline-thumbs { display: inline-block; width: 1em; height: 0.85em; overflow: hidden; }
.photo-credits { font-size: var(--step-small); color: var(--bg); max-width: 52ch; }
.break-full { background: var(--field); color: var(--field-ink); }
.break-full h2, .break-full p { color: var(--field-ink); }
@media (min-width: 960px) {
  .break-wrap { width: 50%; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
