*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
:root {
  --bg: #12100e;
  --paper: #1b1815;
  --ink: #f3efe6;
  --muted: #b7b0a4;
  --accent: #c4a574;
  --accent-ink: #12100e;
  --danger: #e07a64;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --margin: clamp(1.2rem, 3vw, 2.4rem);
  --maxw: 1180px;
  --radius: 0px;
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
p { max-width: 60ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: var(--step-small); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; z-index: 200; }
.skip:focus { top: 0.6rem; }
.link { text-decoration: underline; text-underline-offset: 0.2em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }
.cookie-bar[hidden] { display: none; }
.topline-meta { display: none; }
.topline p { max-width: none; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; border-radius: 0; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.checkout-link { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 0.85rem; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.92rem; }

.topline { background: var(--paper); color: var(--ink); font-size: 0.88rem; padding: 0.55rem var(--margin); }
.site-header { background: var(--bg); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.header-note { font-size: 0.9rem; color: var(--muted); display: flex; gap: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 1.7rem; }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.cart-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.4rem; text-decoration: none; font-weight: 500; }
.cart-link [data-cart-count] { min-width: 1.3rem; }
.nav-inner { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0 0 1.2rem; }
.main-nav a { text-decoration: none; color: var(--muted); }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--ink); }
.burger { width: 42px; height: 42px; position: relative; background: var(--paper); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--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: 900px) {
  .header-note { display: none; }
  .burger { display: block; }
  .main-nav { display: none; }
  .site-header:has(.nav-toggle:checked) .main-nav { display: block; background: var(--paper); padding: 0.6rem var(--margin) 1.2rem; }
  .nav-inner { flex-direction: column; }
  .main-nav a { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); }
}
.cookie-bar { position: fixed; left: var(--margin); right: var(--margin); bottom: var(--margin); z-index: 90; background: var(--paper); max-width: 560px; }
.cookie-bar .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem; padding: 1rem; align-items: center; }

.page-head { padding: clamp(2.6rem, 7vw, 5.5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; }
.lede { font-size: var(--step-lead); color: var(--muted); }
.crumbs { color: var(--muted); margin-bottom: 1rem; font-size: 0.9rem; }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.page-nav a { text-decoration: none; color: var(--accent); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 2.4rem 0 0.8rem; }
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2.4rem; }
.toc { position: sticky; top: 5rem; }
.toc p { font-weight: 600; margin-bottom: 0.7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.35rem 0; text-decoration: none; color: var(--muted); }
.data-list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: 0.9rem 0; }
.callout { background: var(--paper); padding: 1rem 1.2rem; margin: 1.3rem 0; }
.fine { color: var(--muted); margin-top: 1.1rem; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
.story img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.milestones { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.milestones strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.sec-lead { font-size: var(--step-lead); color: var(--muted); margin: 0.6rem 0 2rem; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.card { display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 1rem 0 0.3rem; }
.card h3 { font-size: 1.5rem; }
.card h3 a { text-decoration: none; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0 0; margin-top: auto; }
.index-add { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.catalog-tools .card:first-child { grid-column: span 2; }
.catalog-gap { margin-top: 4rem; }
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; }
.product-media { position: sticky; top: 5rem; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.price { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); }
.buy { display: grid; gap: 0.5rem; margin: 1.4rem 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; padding: 0; margin-top: 1.4rem; color: var(--muted); }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 1.5rem; padding-top: 1.8rem; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.7rem 0; }
.faq { padding: 1.1rem 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-a { padding-top: 0.6rem; color: var(--muted); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; }
.checkout-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1.1rem; padding: 1.1rem 0; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; }
.qty { display: inline-flex; }
.qty button { width: 36px; height: 36px; color: var(--accent); }
.summary { background: var(--paper); padding: 1.5rem; position: sticky; top: 5rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.45rem 0; max-width: none; }
.sum-total strong { font-size: 1.4rem; }
.empty { padding: 3rem 1rem; text-align: center; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.3rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 1rem; background: var(--paper); border: 0; color: var(--ink); }
.check { display: flex; gap: 0.6rem; color: var(--muted); }
.field-error { font-size: 0.85rem; font-weight: 600; color: var(--danger); }
.field-error-wide { grid-column: 1 / -1; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.7); }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); max-width: 520px; width: 100%; padding: 2.2rem; }
.thanks-actions { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.quotes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.quote blockquote p { font-family: var(--font-display); font-size: 1.35rem; max-width: none; }
.fineprint { color: var(--muted); margin-top: 2rem; font-size: var(--step-small); }
.site-footer { padding: 4rem 0 1rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { margin: 0 0 0.9rem; font-family: var(--font); color: var(--accent); }
.footer-col a { display: block; text-decoration: none; padding: 0.25rem 0; color: var(--muted); }
.footer-meta { display: grid; gap: 1rem; padding: 2rem 0; font-size: 0.88rem; color: var(--muted); }
.wordmark { font-family: var(--font-display); font-size: 12vw; line-height: 0.8; margin: 0; color: #1b1815; }

.df-hero { padding: clamp(3rem, 10vw, 7rem) 0 2rem; text-align: center; }
.df-hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
.df-hero .lead { margin: 1.2rem auto 0; font-size: var(--step-lead); color: var(--muted); }
.df-object { display: grid; place-items: center; padding: 1rem 0 4rem; }
.df-object img { width: min(48vw, 520px); aspect-ratio: 1; object-fit: cover; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; align-items: center; }
.df-exhibit { padding: clamp(3rem, 8vw, 6rem) 0; }
.df-exhibit figure { max-width: 820px; margin: 0 auto; }
.df-exhibit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.df-exhibit h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 1.4rem 0 0.7rem; }
.df-exhibit p { color: var(--muted); }
.df-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 2rem 0 4rem; }
.df-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--accent); }
.df-shout { text-align: center; padding: 4rem var(--margin); }
.df-shout h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.df-catalog { padding-bottom: 4rem; }
.df-cta { display: block; text-align: center; padding: 5rem var(--margin); text-decoration: none; }
.df-cta strong { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 8rem); color: var(--accent); display: block; }

@media (max-width: 960px) {
  .df-stats, .catalog, .doc, .story, .product, .cart-layout, .checkout-layout, .dossier-row, .footer-top, .quotes-list { grid-template-columns: 1fr; }
  .catalog-tools .card:first-child { grid-column: auto; }
}
@media (max-width: 860px) { .toc, .product-media, .summary { position: static; } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .data-list div { grid-template-columns: 1fr; } .df-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
