/* OxiHacker — rail + chartreuse, Albacete */

:root {
  --paper: #efece4;
  --paper-2: #e4e0d4;
  --ink: #10110f;
  --ink-soft: #3a3934;
  --signal: #e7ff3d;
  --signal-deep: #d4f02a;
  --max: 1240px;
  --gut: clamp(16px, 2.4vw, 36px);
  --rail: 248px;
  --bar: 0px;
  --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0 0 0 var(--rail);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--bar) + 1rem); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.05; }
h1 em, h2 em, h3 em, h4 em { font-style: normal; font-weight: inherit; }

.container { width: 100%; margin: 0; padding: 0 var(--gut); }

.label, .sec-no, .g-tag {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 0.55rem;
}
.label { display: block; }
.label::before, .sec-no::before, .sec-no::after { content: none; }
.sec-no { display: block; }
.lede { font-size: 1.12rem; line-height: 1.5; max-width: 40rem; margin: 0; }
.muted, .small { color: var(--ink-soft); }
.small { font-size: 0.95rem; }
.fine, .fineprint { font-size: 0.95rem; color: var(--ink-soft); }
.fineprint { margin: 2rem 0 0; max-width: 52rem; }

.skip {
  position: absolute; left: calc(var(--rail) + 1rem); top: -4rem;
  background: var(--signal); color: var(--ink);
  padding: 0.6rem 1rem; z-index: 200;
}
.skip:focus { top: 0.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.2rem;
  border: 0; border-radius: 0;
  background: var(--ink); color: var(--signal);
  font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: -0.03em;
  text-decoration: none; cursor: pointer;
}
.btn::after { content: none; }
.btn:hover { background: #000; color: var(--signal); }
.btn-line, .btn-gold, .btn-ink {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-line:hover, .btn-gold:hover, .btn-ink:hover { background: var(--ink); color: var(--signal); }
.btn-light { background: var(--signal); color: var(--ink); }
.btn-light:hover { background: var(--signal-deep); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
button.btn[data-add],
#checkout-form button[type="submit"] { background: var(--ink); color: var(--signal); box-shadow: none; }
button.btn[data-add]:hover,
#checkout-form button[type="submit"]:hover { background: #000; color: var(--signal); }

.link {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link::after { content: none; }
.link-light { color: var(--ink); }

/* Left rail */
.site-header {
  position: fixed; inset: 0 auto 0 0; z-index: 50;
  width: var(--rail);
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  overflow: auto;
}
.header-bar {
  display: flex; flex-direction: column; align-items: stretch; gap: 1.15rem;
  flex: 1; height: auto; width: auto; margin: 0;
  padding: 1.15rem 0.9rem 0.4rem;
}
.header-note { display: none; }
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--paper); text-decoration: none; flex: none;
  padding: 0 0.35rem;
}
.brand svg { width: 34px; height: 34px; display: block; }
.brand-name {
  font-family: var(--display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.05em; line-height: 1;
}
.brand-name b { font-weight: 800; font-style: normal; color: inherit; }
.main-nav { flex: 1; min-width: 0; }
.nav-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0.12rem; }
.main-nav a {
  display: block;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -0.03em;
  color: rgba(239, 236, 228, 0.72); text-decoration: none;
  padding: 0.38rem 0.45rem;
}
.main-nav a:hover { color: var(--paper); background: transparent; }
.main-nav a[aria-current="page"] { background: var(--signal); color: var(--ink); }
.main-nav a::after { content: none; }
.header-tools { display: flex; align-items: center; gap: 0.4rem; flex: none; padding: 0.35rem 0.35rem 0.2rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--paper); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.03em;
  padding: 0.35rem 0.15rem; border: 0; border-radius: 0; background: none;
}
.cart-link [data-cart-count] {
  display: inline-grid; place-items: center;
  min-width: 1.7rem; height: 1.7rem; padding: 0 0.35rem;
  background: var(--signal); color: var(--ink);
  font-size: 0.85rem; font-weight: 800;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; width: 44px; height: 44px; position: relative; cursor: pointer;
  border: 0; background: transparent;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.legal-strip {
  margin: 0; background: var(--signal); color: var(--ink);
  font-family: var(--text); font-size: 0.78rem; font-weight: 500; line-height: 1.35;
  padding: 0.75rem 0.95rem 0.9rem;
}
.legal-strip a { color: var(--ink); font-weight: 800; }

@media (max-width: 960px) {
  :root { --rail: 0px; --bar: 64px; }
  body { margin-left: 0; }
  .skip { left: 1rem; }
  .site-header {
    position: sticky; inset: auto; width: 100%; height: auto;
    display: block; overflow: visible;
  }
  .header-bar {
    position: relative;
    flex-direction: row; align-items: center;
    height: var(--bar); padding: 0 0.7rem; gap: 0.5rem;
  }
  .brand { flex: 1; padding: 0; }
  .header-tools { margin-left: auto; padding: 0; }
  .burger { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); padding: 0.35rem 0.9rem 1rem; z-index: 70;
    flex: none;
  }
  .nav-inner { align-items: flex-start; }
  .main-nav a { font-size: 1.55rem; color: var(--paper); padding: 0.32rem 0.2rem; }
  .main-nav a[aria-current="page"] { background: var(--signal); color: var(--ink); display: inline-block; }
  .nav-toggle:checked ~ .header-bar .main-nav { display: block; }
  .nav-toggle:checked ~ .header-bar .burger span:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }
  .legal-strip { background: var(--ink); color: rgba(239, 236, 228, 0.82); }
  .legal-strip a { color: var(--signal); }
}
@media (max-width: 520px) {
  .cart-link .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Hero: photo on top, type on black underneath */
.hero {
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
}
.hero-media { order: -1; margin: 0; position: relative; min-height: 0; background: #1c1c1a; }
.hero-media img {
  width: 100%; height: 50vh; min-height: 260px; max-height: 540px;
  object-fit: cover; position: static;
}
.hero-media figcaption {
  position: absolute; left: var(--gut); bottom: 1rem;
  max-width: 16rem; margin: 0;
  background: var(--signal); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  letter-spacing: -0.03em; padding: 0.7rem 0.8rem;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gut) clamp(1.7rem, 3.2vw, 2.6rem);
}
.hero h1 { color: var(--paper); font-size: clamp(3.1rem, 6vw, 6.2rem); margin: 0; max-width: 11ch; }
.hero .lede { color: rgba(239, 236, 228, 0.82); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.2rem; }
.hero .btn-ink { background: var(--signal); color: var(--ink); box-shadow: none; }
.hero .btn-ink:hover { background: var(--signal-deep); color: var(--ink); }
.hero .link { color: var(--signal); }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.2rem; margin: 0.2rem 0 0;
}
.fact { display: block; }
.fact strong {
  display: block;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  letter-spacing: -0.05em; line-height: 0.95; color: var(--signal);
  margin: 0 0 0.3rem;
}
.fact span { display: block; font-size: 0.92rem; color: rgba(239, 236, 228, 0.72); }

@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-media img { height: 42vh; max-height: none; }
  .hero h1 { max-width: none; }
}

/* Sections */
.section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.section.tint { background: var(--paper-2); }
.sec-head {
  text-align: left; max-width: none;
  margin: 0 0 1.3rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ink);
}
.sec-head h2 { margin: 0 0 0.45rem; }
.sec-head p { margin: 0; max-width: 40rem; color: var(--ink); }
.sec-head p a { color: var(--ink); font-weight: 700; }
.dark .sec-head { border-bottom-color: var(--signal); }
.dark .sec-no, .dark .label { color: var(--signal); }

/* Catalog cards */
.index-list {
  list-style: none; margin: 0; padding: 0; width: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.index-row {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  gap: 0; padding: 0;
  background: #f7f5ee;
  border: 2px solid var(--ink);
}
.index-row:nth-child(odd) { background: #f7f5ee; }
.index-thumb {
  width: 100%; height: auto; aspect-ratio: 1;
  border-radius: 0; overflow: hidden; background: #dedad0; display: block;
}
.index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.index-main { padding: 0.85rem 0.9rem 1rem; display: flex; flex-direction: column; flex: 1; }
.index-line { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.index-line h3 { margin: 0; font-size: 1.35rem; }
.index-line h3 a { text-decoration: none; }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.index-row:hover { background: #fff; }
.dots { display: none; }
.index-price {
  font-family: var(--display); font-weight: 800; font-size: 1rem;
  letter-spacing: -0.03em; white-space: nowrap;
  background: var(--signal); color: var(--ink); padding: 0.28rem 0.45rem;
}
.index-meta { margin: 0.45rem 0 0; color: var(--ink); font-size: 0.98rem; }
.index-format { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.index-add {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 3;
  width: 44px; height: 44px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--signal); cursor: pointer;
  font-family: var(--display); font-size: 1.45rem; line-height: 1;
}
.index-add:hover, .index-add.is-added { background: var(--signal); color: var(--ink); }

@media (max-width: 1180px) {
  .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .index-list { grid-template-columns: 1fr; }
  .index-meta { display: block; }
}

/* Chapters: picture full width, copy underneath */
.chapter, .chapter.flip { display: block; }
.chapter + .chapter { margin-top: clamp(2.6rem, 6vw, 4.2rem); }
.chapter.flip .chapter-media { order: 0; }
.chapter-media { margin: 0; }
.chapter-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.chapter-media::after { content: none; }
.chapter-no {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  letter-spacing: -0.06em; line-height: 0.8;
  color: var(--ink); margin: 0.85rem 0 0.35rem;
}
.chapter-copy { max-width: 42rem; }
.chapter-copy p { color: var(--ink); }
.chapter-copy .fine { background: var(--ink); color: var(--paper); padding: 0.85rem 1rem; border-radius: 0; }
.chapter-copy .fine { color: rgba(239, 236, 228, 0.88); }

.statement {
  background: var(--signal); color: var(--ink);
  text-align: left; padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.statement::before { content: none; }
.statement .mark { display: none; }
.statement p {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 0.92; letter-spacing: -0.05em;
  max-width: 14ch; margin: 0; color: var(--ink);
}

.dark { background: var(--ink); color: var(--paper); }
.dark::before { content: none; }
.dark .sec-head p, .timeline p { color: rgba(239, 236, 228, 0.78); }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start;
}
.timeline li { padding: 0; border: 0; border-radius: 0; text-align: left; }
.timeline .step-no {
  display: block;
  font-family: var(--display); font-weight: 800; font-size: 2.4rem;
  letter-spacing: -0.05em; line-height: 1; color: var(--signal);
  margin: 0 0 0.45rem;
}
.timeline h3 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--paper); }
.timeline p { margin: 0; max-width: 28ch; }
.timeline li:nth-child(2) { margin-top: 0; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; }
}

.feature { display: block; }
.feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 0; margin-bottom: 1.2rem; }
.feature p { color: var(--ink); }
.feature .actions { margin-top: 1.3rem; }
@media (max-width: 700px) { .feature img { aspect-ratio: 4 / 3; } }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.quote {
  margin: 0; padding: 1.25rem 1.15rem 1.3rem;
  background: var(--ink); color: var(--paper);
  border: 0; display: block;
}
.quote::before { content: none; }
.quote:nth-child(even) { margin-left: 0; }
.quote blockquote {
  margin: 0 0 0.9rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2; letter-spacing: -0.03em; color: var(--paper);
}
.quote blockquote p { margin: 0; color: var(--paper); }
.quote figcaption { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--signal); }
.quote figcaption span { display: block; font-weight: 600; color: rgba(239, 236, 228, 0.7); margin-top: 0.15rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.notice {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start;
  background: var(--ink); color: var(--paper);
  border-radius: 0; padding: clamp(1.5rem, 3vw, 2.4rem);
  margin: 0;
}
.notice::after { content: none; }
.notice h2, .notice p, .notice .label { color: var(--paper); }
.notice .label { color: var(--signal); }
.notice .btn-line { color: var(--signal); box-shadow: inset 0 0 0 2px var(--signal); background: transparent; }
.notice .btn-line:hover { background: var(--signal); color: var(--ink); }
@media (max-width: 800px) { .notice { grid-template-columns: 1fr; } }

.callout { background: var(--signal); color: var(--ink); padding: 1rem 1.1rem; margin: 1.4rem 0; border-radius: 0; }
.callout::before { content: none; }
.callout p, .callout a { color: var(--ink); }
.callout p:last-child { margin: 0; }

.faq-wrap { display: block; }
.faq-wrap .aside {
  position: static;
  background: var(--signal); color: var(--ink);
  padding: 1.3rem 1.2rem; margin: 0 0 1.4rem;
}
.faq-wrap .aside h2, .faq-wrap .aside p, .faq-wrap .aside .link { color: var(--ink); }
.faq { border: 0; border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: 1rem 0 0.35rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.04em; line-height: 1.05; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: auto; height: auto; border-radius: 0; background: none;
  font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink);
}
.faq[open] summary::after { content: "–"; transform: none; background: none; color: var(--ink); }
.faq .faq-a { padding: 0 0 1rem; max-width: 68ch; color: var(--ink); }
.faq .faq-a a { color: var(--ink); font-weight: 700; }

/* Inner pages */
.page-head {
  background: var(--signal); color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.8rem) 0 1.5rem;
  overflow: visible;
}
.page-head::after { content: none; }
.crumbs { font-family: var(--display); font-size: 0.92rem; font-weight: 700; color: var(--ink); margin: 0 0 1rem; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.4rem; }
.page-head-grid { display: block; }
.page-head h1 { margin: 0; color: var(--ink); max-width: 16ch; font-size: clamp(2.6rem, 5.6vw, 5rem); }
.page-head .lede { margin-top: 0.9rem; color: var(--ink); }
.page-head .lede a { color: var(--ink); font-weight: 800; }
.page-head .label { color: var(--ink); }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.page-nav a {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; color: var(--signal);
  padding: 0.4rem 0.65rem; border: 0; border-radius: 0; background: var(--ink);
}
.page-nav a:hover { background: #000; color: var(--signal); }
.section > .container > .crumbs { color: var(--ink-soft); }
.section > .container > .crumbs a { color: var(--ink); }

.doc { display: block; }
.toc {
  position: static; background: var(--ink); color: var(--paper);
  padding: 0.9rem 1rem; border-radius: 0; margin: 0 0 1.6rem;
}
.toc p { font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.03em; text-transform: none; color: var(--signal); margin: 0 0 0.35rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; }
.toc a {
  display: inline-block; padding: 0.25rem 0;
  font-size: 0.95rem; text-decoration: none; color: var(--paper); border: 0;
}
.toc a::before { content: none; }
.toc a:hover { color: var(--signal); }

.prose { max-width: 70ch; }
.prose h2 { margin: 2.2rem 0 0.7rem; scroll-margin-top: calc(var(--bar) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.prose ul li::marker { content: normal; color: var(--ink); }
.prose a { color: var(--ink); font-weight: 700; }

.data-list { margin: 0 0 1.5rem; }
.data-list div {
  display: grid; grid-template-columns: minmax(8rem, 0.38fr) minmax(0, 1fr);
  gap: 1rem; padding: 0.75rem 0.8rem; border: 0;
}
.data-list div:nth-child(odd) { background: var(--paper-2); }
.data-list dt {
  font-family: var(--display); font-size: 0.92rem; font-weight: 700;
  letter-spacing: -0.02em; text-transform: none; color: var(--ink); margin: 0;
}
.data-list dd { margin: 0; }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; gap: 0.15rem; } }

.story { display: block; }
.story figure { margin: 0 0 1.2rem; position: static; }
.story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.story figcaption { font-family: var(--display); font-weight: 700; font-size: 0.95rem; margin-top: 0.6rem; color: var(--ink-soft); }
.story .prose p:first-child {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.04em;
}
.milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.4rem; }
.milestones div { padding: 0.9rem 0.85rem; background: var(--ink); color: var(--paper); border-radius: 0; text-align: left; }
.milestones div::before { content: none; }
.milestones strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; margin: 0 0 0.25rem; color: var(--signal); }
.milestones span { color: rgba(239, 236, 228, 0.8); }
@media (max-width: 800px) { .milestones { grid-template-columns: 1fr; } }

.banner-img { width: 100%; max-width: 100%; margin: 0 0 clamp(1.6rem, 3vw, 2.4rem); aspect-ratio: 21 / 8; object-fit: cover; border-radius: 0; }
.glossary { display: flex; flex-direction: column; gap: 0.45rem; }
.gloss {
  display: grid; grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.8rem 1.4rem; padding: 1rem 0.9rem; border: 2px solid var(--ink); background: #f7f5ee;
}
.gloss:nth-child(odd) { background: var(--signal); }
.gloss .g-no { display: none; }
.gloss h3 { margin: 0 0 0.25rem; }
.gloss p { margin: 0; }
@media (max-width: 700px) {
  .gloss { display: block; }
  .banner-img { aspect-ratio: 4 / 3; }
}

.principles { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.principles li {
  display: grid; grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.8rem; padding: 0.85rem 0; border: 0; margin: 0; border-bottom: 2px solid var(--ink);
}
.principles li::marker { content: none; }
.principles li span { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.04em; }

/* Product */
.product {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 0; align-items: stretch;
  padding-bottom: 0; background: var(--ink);
}
.product-media { margin: 0; position: sticky; top: 0; background: #1c1c1a; overflow: hidden; }
.product-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; aspect-ratio: auto; }
.product-info { padding: clamp(1.3rem, 2.5vw, 2.2rem); background: var(--signal); color: var(--ink); }
.product-info h1 { margin-bottom: 0.3rem; color: var(--ink); }
.product-info .label, .product-info .lede, .product-info .tagline { color: var(--ink); }
.product-info .tagline { font-family: var(--text); font-style: normal; font-size: 1.08rem; margin: 0 0 1rem; }
.price-row { display: block; background: none; border-radius: 0; padding: 0; margin: 0 0 0.8rem; }
.price-row .price {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.05em; line-height: 1;
  color: var(--ink);
}
.price-row .vat { display: block; margin-top: 0.35rem; font-size: 0.92rem; color: var(--ink); max-width: none; text-align: left; }
.buy { display: grid; gap: 0.55rem; margin: 1.1rem 0; }
.product-info .btn-line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.product-info .btn-line:hover { background: var(--ink); color: var(--signal); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.perks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.65rem; padding: 0; border: 0; font-size: 0.95rem; color: var(--ink); }
.perks svg { width: 22px; height: 22px; color: var(--ink); }
.perks a { color: var(--ink); font-weight: 800; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .product-media img { min-height: 0; height: auto; aspect-ratio: 1; }
}

.dossier { display: flex; flex-direction: column; margin-top: 0.4rem; }
.dossier-row {
  display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 1.2rem; padding: 1.5rem 0; border: 0; border-bottom: 2px solid var(--ink);
}
.dossier-row:nth-child(even) { background: transparent; padding: 1.5rem 0; }
.dossier-row > h2 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.dossier-row .prose > :last-child { margin-bottom: 0; }
.dossier-row ol { list-style: decimal; padding-left: 1.2rem; }
.dossier-row ol li { display: list-item; padding: 0.2rem 0; border: 0; }
.dossier-row ol li::before { content: none; }
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 0.65rem 0.4rem; border: 0; vertical-align: top; }
.spec tr:nth-child(odd) { background: var(--paper-2); }
.spec th { width: 36%; font-family: var(--display); font-size: 0.92rem; font-weight: 700; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
@media (max-width: 760px) {
  .dossier-row, .dossier-row:nth-child(even) { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
}

/* Cart */
.cart-line {
  display: grid; grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 1rem; align-items: center; padding: 0.9rem;
  border: 2px solid var(--ink); margin: 0 0 0.6rem; background: #f7f5ee;
}
.cart-line:nth-child(odd) { background: #f7f5ee; }
.cart-line img { width: 108px; height: 108px; object-fit: cover; border-radius: 0; background: #dedad0; }
.cart-line h2 { font-size: 1.3rem; margin: 0 0 0.15rem; }
.cart-line .unit { margin: 0 0 0.4rem; color: var(--ink-soft); font-size: 0.92rem; }
.cart-line .controls { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; background: var(--paper); border: 2px solid var(--ink); }
.qty button { width: 34px; height: 34px; border: 0; background: var(--ink); color: var(--signal); cursor: pointer; font-family: var(--display); font-weight: 700; }
.qty span { min-width: 2rem; text-align: center; font-family: var(--display); font-weight: 700; }
.remove { background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 0.15em; font-family: var(--display); font-weight: 700; }
.line-total { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; white-space: nowrap; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.summary { background: var(--signal); color: var(--ink); border-radius: 0; padding: 1.3rem; position: sticky; top: 1rem; }
.summary h2 { font-size: 1.8rem; color: var(--ink); }
.summary .small, .summary p { color: var(--ink); }
.sum-lines { list-style: none; margin: 0 0 0.8rem; padding: 0; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.sum-total strong { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.04em; }
.summary .btn { margin-top: 0.8rem; background: var(--ink); color: var(--signal); }
.summary .btn:hover { background: #000; color: var(--signal); }
.summary .link { color: var(--ink); }
.empty { padding: 2rem 0 1rem; }
.empty p { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.05em; line-height: 0.95; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 84px minmax(0, 1fr); }
  .cart-line img { width: 84px; height: 84px; }
  .line-total { grid-column: 2; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.3rem; }
.field > span { font-family: var(--display); font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 2px var(--ink);
  padding: 0.7rem 0.75rem; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink), inset 0 -4px 0 var(--signal); }
.check { display: flex; gap: 0.65rem; align-items: flex-start; }
.check input { width: 1.05rem; height: 1.05rem; margin-top: 0.25rem; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); font-weight: 700; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.contact { display: block; }
.contact-panel { background: var(--ink); color: var(--paper); border-radius: 0; padding: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.6rem; }
.contact-panel::after { content: none; }
.contact-panel h2 { text-align: left; font-size: clamp(2.2rem, 4vw, 3.6rem); color: var(--signal); }
.contact-panel .label { color: var(--signal); }
.contact-panel .data-list div { background: transparent; padding-left: 0; padding-right: 0; }
.contact-panel .data-list div:nth-child(odd) { background: rgba(239, 236, 228, 0.08); padding-left: 0.7rem; padding-right: 0.7rem; }
.contact-panel .data-list dt, .contact-panel .data-list dd, .contact-panel a { color: var(--paper); }
.contact-panel .link { margin-top: 1rem; color: var(--signal); }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end start; padding: 0; background: rgba(16, 17, 15, 0.55); }
.modal[hidden] { display: none; }
.modal-box {
  background: var(--signal); color: var(--ink);
  width: min(100%, 460px); margin: 0 0 0 var(--rail);
  padding: 1.5rem 1.3rem 1.6rem; border-radius: 0; text-align: left;
}
.modal-box h2 { font-size: 2rem; color: var(--ink); }
.modal-box .label { color: var(--ink); }
.thanks-box h2 { margin: 0.5rem 0; }
.thanks-icon { display: none; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
@media (max-width: 960px) { .modal-box { margin-left: 0; } }

.cookie-bar {
  position: fixed; left: var(--rail); right: 0; bottom: 0; z-index: 110;
  max-width: none; margin: 0; border-radius: 0; box-shadow: none;
  background: var(--ink); color: var(--paper);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.9rem var(--gut); }
.cookie-bar p { margin: 0; color: rgba(239, 236, 228, 0.86); font-size: 0.95rem; }
.cookie-bar strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; color: var(--signal); margin-bottom: 0.1rem; }
.cookie-bar a { color: var(--signal); }
.cookie-actions { display: flex; gap: 0.45rem; flex: none; }
.cookie-actions .btn { min-height: 44px; }
.cookie-actions .btn-line { color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); background: transparent; }
.cookie-actions .btn-line:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) {
  .cookie-bar .container { flex-direction: column; align-items: stretch; }
}

/* Footer stays in the content column */
.site-footer { background: var(--ink); color: rgba(239, 236, 228, 0.82); font-size: 0.98rem; }
.tile-strip { display: none; }
.site-footer > .container { padding-top: clamp(2.4rem, 5vw, 3.6rem); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.site-footer .brand { color: var(--paper); }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 1.6rem 1.2rem; padding-bottom: 1.6rem;
}
.footer-top h2 {
  font-family: var(--display); font-size: 0.95rem; font-weight: 700;
  letter-spacing: -0.03em; text-transform: none; color: var(--signal); margin: 0 0 0.55rem;
}
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin: 0 0 0.3rem; }
.footer-intro p { max-width: 34rem; }
.footer-intro .serif, .serif {
  font-family: var(--display); font-weight: 700; font-style: normal;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.05; letter-spacing: -0.04em;
  color: var(--paper);
}
.footer-contact { display: grid; gap: 0.15rem; margin-top: 0.8rem; }
.footer-legal {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem;
  padding: 1.2rem 0 0; font-size: 0.92rem;
  border-top: 2px solid rgba(231, 255, 61, 0.35);
}
.footer-legal h2 {
  font-family: var(--display); font-size: 0.95rem; font-weight: 700;
  letter-spacing: -0.03em; text-transform: none; color: var(--signal); margin: 0 0 0.4rem;
}
.footer-legal p { margin: 0; }
.wordmark {
  font-family: var(--display); font-weight: 800; font-style: normal;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  letter-spacing: -0.07em; line-height: 0.8;
  color: var(--signal); margin: 1.3rem 0 0; text-align: left;
  white-space: nowrap; overflow: hidden;
}
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0 1.2rem; color: rgba(239, 236, 228, 0.62); font-size: 0.9rem;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-legal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.field-error { display: block; margin: 0; font-family: var(--display); font-weight: 700; font-size: 0.92rem; color: #9d1c1c; }
.field-error-wide { grid-column: 1 / -1; }
.form .actions .field-error { flex-basis: 100%; }
.field-error-fix { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-weight: 700; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #9d1c1c; }
.check input[aria-invalid="true"] { outline: 2px solid #9d1c1c; outline-offset: 2px; }
