/* CyborganicAir — Aegean teal, limestone, brass */
:root {
  --paper: #efece4;
  --sand: #e2ddd1;
  --sand-2: #d4cec2;
  --indigo: #1a4a44;
  --indigo-2: #2a7a6e;
  --indigo-deep: #0e2a26;
  --ink: #14221f;
  --ink-2: #3d4a46;
  --ink-3: #6b7571;
  --ochre: #c4a35a;
  --ochre-soft: #e4d4a8;
  --terra: #2a7a6e;
  --line: rgba(20, 34, 31, 0.14);
  --line-strong: rgba(20, 34, 31, 0.38);
  --line-inv: rgba(239, 236, 228, 0.18);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Helvetica Neue", Arial, sans-serif;
  --max: 1220px;
  --gut: clamp(16px, 4vw, 44px);
  --r: 6px;
  --arch: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c4a35a' stroke-width='1.3'%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Ccircle cx='28' cy='28' r='4'/%3E%3Cpath d='M8 8h12v8H16v12H8V8zm28 0h12v28h-8V16h-4V8zM8 36h8v12H8V36zm28 12V40h12v8H36z'/%3E%3C/g%3E%3C/svg%3E");
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23c4a35a' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.4' fill='%23c4a35a'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.55rem; line-height: 1.12; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terra); }

.container { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.label {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--indigo-2); margin: 0 0 1.1rem;
}
.label::before { content: ""; width: 12px; height: 12px; background: var(--star) center / contain no-repeat; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 48ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.86rem; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--indigo); color: var(--paper); padding: 0.6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 0.6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 52px; padding: 0 1.7rem; border-radius: 6px;
  border: 1px solid var(--indigo); background: var(--indigo); color: var(--paper);
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn::after {
  content: "→"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
  background: rgba(239, 236, 228, 0.16); font-size: 0.9rem; transition: transform .25s var(--ease);
}
.btn:hover { background: var(--indigo-2); border-color: var(--indigo-2); }
.btn:hover::after { transform: translateX(3px); }
.btn.no-arrow::after { display: none; }
.btn-line { background: transparent; color: var(--indigo); border-color: var(--line-strong); }
.btn-line::after { background: var(--sand); }
.btn-line:hover { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }
.btn-light { background: var(--paper); color: var(--indigo); border-color: var(--paper); }
.btn-light:hover { background: var(--ochre-soft); border-color: var(--ochre-soft); }
.btn-gold { background: var(--ochre); border-color: var(--ochre); color: var(--indigo-deep); }
.btn-gold::after { background: rgba(14, 42, 38, 0.12); }
.btn-gold:hover { background: var(--ochre-soft); border-color: var(--ochre-soft); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--indigo);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; border: 0; cursor: pointer;
  transition: background-size .3s var(--ease);
}
.link::after { content: "↗"; font-size: 0.85em; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-light { color: var(--paper); }

/* Top line */
.topline { background: var(--indigo-deep); color: rgba(239, 236, 228, 0.8); font-size: 0.78rem; text-align: center; }
.topline .container { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.topline p { margin: 0; }
.topline a { color: var(--ochre-soft); }
.topline .topline-meta { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; height: 78px; }
.header-note { margin: 0; font-size: 0.82rem; color: var(--ink-2); display: flex; align-items: center; gap: 0.6rem; }
.header-note .dot { width: 7px; height: 7px; border-radius: 6px; background: var(--ochre); box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.2); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--indigo); justify-self: center; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.85rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name b { font-weight: 400; font-style: italic; color: var(--terra); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 0.8rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border-radius: 6px; border: 1px solid var(--line-strong); text-decoration: none;
  font-size: 0.86rem; font-weight: 600; color: var(--indigo); transition: background .2s, color .2s;
}
.cart-link:hover { background: var(--indigo); color: var(--paper); }
.cart-link [data-cart-count] { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 0.35rem; border-radius: 6px; background: var(--ochre); color: var(--indigo-deep); font-size: 0.78rem; font-weight: 700; }
.main-nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.main-nav a { position: relative; padding: 0.85rem 0; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 2px; margin-left: -9px; background: var(--ochre); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--indigo); }
.main-nav a[aria-current="page"]::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 6px; cursor: pointer; position: relative; border: 1px solid var(--line-strong); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--indigo); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }

@media (max-width: 1000px) {
  .header-bar { grid-template-columns: auto 1fr; height: 70px; }
  .header-note { display: none; }
  .brand { justify-self: start; }
  .burger { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), visibility 0s .4s; }
  .nav-inner { flex-direction: column; gap: 0; padding-top: 0.4rem; padding-bottom: 1.4rem; }
  .main-nav a { font-family: var(--serif); font-size: 1.75rem; color: var(--indigo); padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle:checked ~ .main-nav { max-height: 90vh; overflow-y: auto; visibility: visible; transition: max-height .4s var(--ease); }
  .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); }
}
@media (max-width: 520px) {
  .brand-name { font-size: 1.5rem; }
  .brand svg { width: 28px; height: 28px; }
  .cart-link { padding: 0.45rem; }
  .cart-link .cart-word { display: none; }
}

/* Hero */
.hero { position: relative; color: var(--paper); background: var(--indigo-deep); padding-bottom: 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 42, 38, 0.92) 0%, rgba(14, 42, 38, 0.7) 42%, rgba(14, 42, 38, 0.08) 75%), linear-gradient(0deg, rgba(14, 42, 38, 0.75), transparent 40%); }
.hero-inner { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(7rem, 12vw, 9rem); }
.hero-copy { max-width: 620px; }
.hero .label { color: var(--ochre-soft); }
.hero h1 { color: var(--paper); margin-bottom: 1.4rem; }
.hero h1 em { color: var(--ochre); }
.hero .lede { color: rgba(239, 236, 228, 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 2.2rem; }
.hero-note { align-self: flex-end; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.35; text-align: right; color: rgba(239, 236, 228, 0.85); padding-left: 1.2rem; border-left: 1px solid var(--ochre); }
.hero > .container:last-child { position: relative; }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); color: var(--ink); border-radius: var(--r) var(--r) 0 0; margin-top: -4.5rem; padding: 0.4rem 0.6rem; box-shadow: 0 -20px 50px rgba(14, 42, 38, 0.18); }
.fact { padding: 1.6rem 1.6rem; position: relative; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem; width: 1px; background: var(--line); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--indigo); margin-bottom: 0.35rem; }
.fact span { font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .hero-bg::after { background: linear-gradient(0deg, rgba(14, 42, 38, 0.95) 10%, rgba(14, 42, 38, 0.55) 70%, rgba(14, 42, 38, 0.35)); }
  .hero-inner { flex-direction: column; align-items: flex-start; min-height: 0; padding-top: 9rem; }
  .hero-note { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .fact { padding: 1.2rem; }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 2rem; }
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section.tint { background: var(--sand); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.6rem, 5vw, 4rem); }
.sec-head .sec-no { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo-2); margin: 0 0 1rem; }
.sec-head .sec-no::before, .sec-head .sec-no::after { content: ""; width: 34px; height: 1px; background: var(--ochre); }
.sec-head h2 { margin: 0 0 0.9rem; }
.sec-head p { margin: 0 auto; color: var(--ink-2); max-width: 54ch; }
.sec-head p a { color: var(--indigo); }

/* Catalog as a menu */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.index-row { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 1.3rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.index-thumb { width: 92px; height: 112px; border-radius: var(--arch); overflow: hidden; background: var(--sand-2); display: block; }
.index-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.index-row:hover .index-thumb img { transform: scale(1.08); }
.index-line { display: flex; align-items: baseline; gap: 0.6rem; }
.index-line h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.65rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.index-line h3 a { text-decoration: none; }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.index-row:hover h3 a { color: var(--terra); }
.dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); }
.index-price { font-family: var(--serif); font-size: 1.45rem; color: var(--indigo); white-space: nowrap; }
.index-meta { margin: 0.25rem 0 0.1rem; font-size: 0.92rem; color: var(--ink-2); }
.index-format { margin: 0; font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; }
.index-add {
  position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--indigo); cursor: pointer;
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.index-add:hover, .index-add.is-added { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }
@media (max-width: 900px) { .index-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .index-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 0.9rem; }
  .index-thumb { width: 72px; height: 88px; }
  .index-line { flex-wrap: wrap; gap: 0 0.5rem; }
  .index-line h3 { white-space: normal; font-size: 1.3rem; width: 100%; }
  .dots { display: none; }
  .index-price { font-size: 1.2rem; }
  .index-meta { display: none; }
}

/* Chapters */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.chapter + .chapter { margin-top: clamp(4.5rem, 9vw, 7.5rem); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media { margin: 0; position: relative; }
.chapter-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.chapter-media::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; background: var(--tile); background-size: 28px; opacity: 0.7; z-index: -1; }
.chapter.flip .chapter-media::after { right: auto; left: -18px; }
.chapter-no { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.8; color: var(--ochre); margin-bottom: 1rem; }
.chapter-copy p { color: var(--ink-2); }
.chapter-copy .fine { font-size: 0.9rem; color: var(--ink-3); background: var(--sand); border-radius: 6px; padding: 0.9rem 1.1rem; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter.flip .chapter-media { order: 0; }
  .chapter-media img { aspect-ratio: 1 / 1; }
  .chapter-media::after { display: none; }
}

/* Statement */
.statement { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; background: var(--indigo); color: var(--paper); overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: 0; background: var(--tile); background-size: 56px; opacity: 0.16; }
.statement .container { position: relative; }
.statement p { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.15; max-width: 24ch; margin: 0 auto; }
.statement p em { color: var(--ochre); }
.statement .mark { display: block; margin: 0 auto 1.8rem; width: 48px; height: 48px; color: var(--ochre); }

/* Dark + timeline */
.dark { background: var(--indigo-deep); color: var(--paper); position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; background: var(--tile); background-size: 42px; opacity: 0.12; border-radius: 6px; }
.dark .container { position: relative; }
.dark .sec-head .sec-no { color: var(--ochre-soft); }
.dark h2 em { color: var(--ochre); }
.dark .sec-head p { color: rgba(239, 236, 228, 0.74); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.timeline li { position: relative; padding: 2.4rem 2rem 2.2rem; border: 1px solid var(--line-inv); border-radius: var(--r); text-align: center; }
.timeline .step-no { display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--ochre); margin-bottom: 0.4rem; }
.timeline h3 { font-size: 1.9rem; margin: 0.4rem 0 0.7rem; }
.timeline p { color: rgba(239, 236, 228, 0.74); max-width: 30ch; margin: 0 auto; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }

/* Feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.feature p { color: var(--ink-2); }
.feature .actions { margin-top: 2rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature img { max-width: 420px; margin: 0 auto; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.quote { margin: 0; padding: 2rem 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.2rem; }
.quote::before { content: "“"; font-family: var(--serif); font-size: 5rem; line-height: 0.7; color: var(--ochre); }
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.35; grid-column: 2; }
.quote blockquote p { margin: 0; }
.quote figcaption { grid-column: 2; font-size: 0.86rem; font-weight: 600; color: var(--indigo); }
.quote figcaption span { display: block; font-weight: 400; color: var(--ink-3); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote { grid-template-columns: 40px minmax(0, 1fr); } .quote::before { font-size: 4rem; } }

/* Notice */
.notice { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 4vw, 3.4rem); border-radius: var(--r); background: var(--sand); position: relative; overflow: hidden; }
.notice::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--tile); background-size: 30px; opacity: 0.35; border-radius: 6px; }
.notice > * { position: relative; z-index: 1; }
.notice h2 { margin: 0; }
.notice p { color: var(--ink-2); }
@media (max-width: 860px) { .notice { grid-template-columns: 1fr; } }

.fineprint { font-size: 0.84rem; color: var(--ink-3); margin: 1.8rem auto 0; max-width: 80ch; text-align: center; }
.callout { border-radius: 6px; background: var(--sand); padding: 1.1rem 1.3rem 1.1rem 3.2rem; margin: 1.6rem 0; font-size: 0.94rem; color: var(--ink-2); position: relative; }
.callout::before { content: ""; position: absolute; left: 1.2rem; top: 1.3rem; width: 14px; height: 14px; background: var(--star) center / contain no-repeat; }
.callout p:last-child { margin: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.faq-wrap .aside { position: sticky; top: 150px; align-self: start; }
.faq-wrap .aside p { color: var(--ink-2); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; color: var(--indigo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 6px; background: var(--sand); display: grid; place-items: center; font-family: var(--sans); font-size: 1.2rem; transition: transform .3s var(--ease), background .2s, color .2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--ochre); color: var(--indigo-deep); }
.faq .faq-a { padding: 0 3.6rem 1.5rem 0; color: var(--ink-2); max-width: 70ch; }
.faq .faq-a a { color: var(--indigo); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .aside { position: static; } .faq .faq-a { padding-right: 0; } }

/* Page head (inner pages) */
.page-head { position: relative; background: var(--indigo); color: var(--paper); padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3.2rem, 6vw, 5rem); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: clamp(-120px, -6vw, -40px); bottom: -40%; width: clamp(240px, 32vw, 440px); aspect-ratio: 3 / 4; border-radius: var(--arch); background: var(--tile); background-size: 44px; opacity: 0.22; border: 1px solid rgba(196, 163, 90, 0.5); }
.page-head .container { position: relative; z-index: 1; }
.crumbs { font-size: 0.82rem; color: rgba(239, 236, 228, 0.62); margin-bottom: 2rem; }
.crumbs a { color: rgba(239, 236, 228, 0.88); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.5rem; }
.page-head .label { color: var(--ochre-soft); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 5vw, 4.5rem); align-items: end; }
.page-head h1 { margin: 0; color: var(--paper); }
.page-head h1 em { color: var(--ochre); }
.page-head .lede { margin: 0; color: rgba(239, 236, 228, 0.8); }
.page-head .lede a { color: var(--ochre-soft); }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.page-nav a { font-size: 0.86rem; font-weight: 600; text-decoration: none; padding: 0.6rem 1.2rem; border-radius: 6px; border: 1px solid rgba(239, 236, 228, 0.35); transition: background .2s, color .2s; }
.page-nav a:hover { background: var(--ochre); color: var(--indigo-deep); border-color: var(--ochre); }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } }

/* Product page crumbs (light background) */
.section > .container > .crumbs { color: var(--ink-3); }
.section > .container > .crumbs a { color: var(--ink-2); }

/* Document layout */
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.toc { position: sticky; top: 150px; background: var(--sand); border-radius: var(--r); padding: 1.4rem 1.4rem 1rem; }
.toc p { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo-2); margin-bottom: 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.7rem; padding: 0.5rem 0; font-size: 0.92rem; text-decoration: none; color: var(--ink-2); border-top: 1px solid var(--line); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--ochre); }
.toc a:hover { color: var(--indigo); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--indigo); margin: 2.8rem 0 1rem; scroll-margin-top: 160px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; padding-left: 0.3rem; }
.prose ul li::marker { content: "◆  "; color: var(--ochre); font-size: 0.7em; }
.prose ol li::marker { color: var(--ochre); font-weight: 700; }
.prose a { color: var(--indigo); }

.data-list { margin: 0 0 1.5rem; }
.data-list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.data-list div:first-child { border-top: 1px solid var(--line); }
.data-list dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.15rem; }
.data-list dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.story figure { margin: 0; position: sticky; top: 150px; }
.story img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); }
.story figcaption { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-2); margin-top: 1rem; text-align: center; }
.story .prose p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--indigo); }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.milestones div { padding: 1.6rem 1.3rem; background: var(--sand); border-radius: var(--r); text-align: center; }
.milestones strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--indigo); margin: 0.6rem 0 0.4rem; }
.milestones div::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto; background: var(--star) center / contain no-repeat; }
.milestones span { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story figure { position: static; max-width: 460px; margin: 0 auto; } .milestones { grid-template-columns: 1fr; } }

/* Ingredients */
.banner-img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r); margin-bottom: clamp(3rem, 6vw, 5rem); }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.gloss { padding: 1.5rem 0; border-top: 1px solid var(--line-strong); display: block; }
.gloss .g-no { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ochre); line-height: 1; margin-bottom: 0.6rem; }
.gloss h3 { margin: 0 0 0.35rem; font-size: 1.45rem; color: var(--indigo); }
.gloss p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.gloss .g-tag { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.3rem; }
@media (max-width: 960px) { .glossary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .glossary { grid-template-columns: 1fr; } .banner-img { aspect-ratio: 4 / 3; } }

.principles { list-style: none !important; margin: 0 0 1.4rem; padding: 0 !important; }
.principles li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.8rem; padding: 1rem 0 !important; border-bottom: 1px solid var(--line); margin: 0; }
.principles li::marker { content: none; }
.principles li span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ochre); line-height: 1.2; }

/* Product detail */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.product-media { margin: 0; position: sticky; top: 150px; background: var(--sand); border-radius: var(--arch); overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.product-info h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--indigo); margin-bottom: 0.4rem; }
.product-info .tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--terra); margin-bottom: 1.6rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: var(--sand); border-radius: 6px; margin-bottom: 1.6rem; }
.price-row .price { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--indigo); }
.price-row .vat { font-size: 0.8rem; color: var(--ink-3); text-align: right; max-width: 22ch; }
.product-info .lede { margin-bottom: 1.8rem; }
.buy { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.perks li { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }
.perks svg { width: 22px; height: 22px; color: var(--ochre); }
.perks a { color: var(--indigo); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }
@media (max-width: 460px) { .perks { grid-template-columns: 1fr; } }

.dossier { display: grid; gap: 1rem; }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2rem; padding: 2rem clamp(1.2rem, 3vw, 2.4rem); border-radius: var(--r); border: 1px solid var(--line); }
.dossier-row > h2 { font-size: 1.7rem; color: var(--indigo); margin: 0; }
.dossier-row .prose > :last-child { margin-bottom: 0; }
.dossier-row ol { counter-reset: st; list-style: none; padding: 0; }
.dossier-row ol li { counter-increment: st; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); padding: 0.55rem 0; margin: 0; border-bottom: 1px dashed var(--line); }
.dossier-row ol li::before { content: counter(st); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 6px; background: var(--indigo); color: var(--paper); font-size: 0.78rem; font-weight: 600; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 36%; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-right: 1rem; }
@media (max-width: 760px) { .dossier-row { grid-template-columns: 1fr; gap: 0.9rem; } }

/* Cart & checkout */
.cart-lines { border-top: 1px solid var(--line-strong); }
.cart-line { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 1.3rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 90px; height: 108px; object-fit: cover; border-radius: var(--arch); background: var(--sand); }
.cart-line h2 { font-size: 1.55rem; color: var(--indigo); margin: 0 0 0.2rem; }
.cart-line .unit { font-size: 0.86rem; color: var(--ink-3); margin: 0 0 0.6rem; }
.cart-line .controls { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 2rem; text-align: center; font-weight: 600; font-size: 0.9rem; }
.remove { background: none; border: 0; padding: 0; font-size: 0.84rem; color: var(--ink-3); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.line-total { font-family: var(--serif); font-size: 1.5rem; color: var(--indigo); white-space: nowrap; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.summary { background: var(--sand); border-radius: var(--r); padding: 1.8rem; position: sticky; top: 150px; }
.summary h2 { font-size: 1.9rem; color: var(--indigo); margin-bottom: 1rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.9rem; color: var(--ink-2); }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--line-strong); }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.sum-total { font-size: 1.05rem; border-bottom: 0; }
.sum-total strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--indigo); }
.summary .btn { margin-top: 1.2rem; }
.summary .small { margin-top: 1rem; color: var(--ink-3); }
.empty { padding: 3.5rem 2rem; text-align: center; background: var(--sand); border-radius: var(--r); }
.empty p { font-family: var(--serif); font-size: 2rem; color: var(--indigo); margin-bottom: 1.4rem; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 70px minmax(0, 1fr); }
  .cart-line img { width: 70px; height: 84px; }
  .line-total { grid-column: 2; }
}

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 0.8rem 1rem;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--indigo) 50%), linear-gradient(135deg, var(--indigo) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(26, 74, 68, 0.1); }
.check { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--indigo); flex: none; }
.check a { color: var(--indigo); }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-panel { background: var(--indigo); color: var(--paper); padding: clamp(2rem, 3.4vw, 2.8rem); border-radius: var(--r); padding-top: clamp(2rem, 3.4vw, 2.8rem); position: relative; overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; inset: 0; background: var(--tile); background-size: 46px; opacity: 0.08; pointer-events: none; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { font-size: 2.2rem; text-align: center; }
.contact-panel .label { color: var(--ochre-soft) !important; display: flex; justify-content: center; }
.contact-panel .data-list div { border-color: var(--line-inv); grid-template-columns: 1fr; gap: 0.25rem; }
.contact-panel .data-list dt { color: rgba(239, 236, 228, 0.58); }
.contact-panel .data-list dd, .contact-panel a { color: var(--paper); }
.contact-panel .link { margin-top: 1.4rem; color: var(--ochre-soft); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(14, 42, 38, 0.6); }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); max-width: 540px; width: 100%; padding: 2.6rem; border-radius: var(--r); padding-top: 4rem; text-align: center; }
.modal-box h2 { font-size: 2.2rem; color: var(--indigo); }
.modal-box p { color: var(--ink-2); }
.modal-box .label { justify-content: center; }
.modal-box .ref { font-family: var(--serif); font-size: 1.4rem; color: var(--terra); letter-spacing: 0; text-transform: none; }
.modal-box > div { justify-content: center; }

.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 110; max-width: 980px; margin: 0 auto; background: var(--indigo-deep); color: var(--paper); border-radius: var(--r); box-shadow: 0 20px 60px rgba(14, 42, 38, 0.35); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: 1.2rem 1.4rem; }
.cookie-bar p { margin: 0; font-size: 0.9rem; color: rgba(239, 236, 228, 0.82); }
.cookie-bar strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--paper); margin-bottom: 0.15rem; }
.cookie-bar a { color: var(--ochre-soft); }
.cookie-actions { display: flex; gap: 0.6rem; flex: none; }
.cookie-actions .btn { min-height: 44px; }
.cookie-actions .btn-line { color: var(--paper); border-color: rgba(239, 236, 228, 0.4); }
.cookie-actions .btn-line:hover { background: var(--paper); color: var(--indigo); }
@media (max-width: 760px) { .cookie-bar .container { flex-direction: column; align-items: stretch; gap: 1rem; } .cookie-actions .btn { flex: 1; } }

/* Footer */
.site-footer { background: var(--indigo-deep); color: rgba(239, 236, 228, 0.74); font-size: 0.92rem; }
.tile-strip { height: 56px; background: var(--indigo) var(--tile); background-size: 56px; opacity: 1; border-bottom: 1px solid rgba(196, 163, 90, 0.35); }
.site-footer > .container { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer a { color: rgba(239, 236, 228, 0.92); text-decoration: none; }
.site-footer a:hover { color: var(--ochre-soft); }
.site-footer .brand { color: var(--paper) !important; justify-self: start; }
.site-footer .brand-name b { color: var(--ochre); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-inv); }
.footer-top h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-soft); margin-bottom: 1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 0.55rem; }
.footer-intro p { max-width: 40ch; }
.footer-intro .serif { font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; color: var(--paper); margin-bottom: 1.2rem; }
.footer-contact { display: grid; gap: 0.25rem; margin-top: 1.4rem; }
.footer-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line-inv); font-size: 0.84rem; line-height: 1.6; }
.footer-legal p { margin: 0; }
.footer-legal h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-soft); margin-bottom: 0.6rem; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 17vw, 16rem); letter-spacing: -0.03em; line-height: 0.85; color: rgba(239, 236, 228, 0.06); margin: 2rem 0 0; text-align: center; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-base { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0 1.8rem; font-size: 0.8rem; color: rgba(239, 236, 228, 0.5); }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-intro { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-legal { grid-template-columns: 1fr; gap: 1.4rem; } .footer-base { flex-direction: column; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Checkout: field errors and thank-you popup */
.field-error { display: block; margin: 0; font-size: 0.84rem; font-weight: 600; line-height: 1.4; color: var(--terra); }
.field-error-wide { grid-column: 1 / -1; margin-top: -0.5rem; }
.form .actions .field-error { flex-basis: 100%; }
.field-error-fix { font: inherit; color: var(--indigo); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(42, 122, 110, 0.12); }
.check input[aria-invalid="true"] { outline: 2px solid var(--terra); outline-offset: 2px; }
.thanks-box h2 { margin: 1rem 0 0.6rem; }
.thanks-box p { margin: 0 auto; max-width: 34ch; font-size: 1.05rem; }
.thanks-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 6px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--sand-2); }
.thanks-icon::after { content: ""; width: 24px; height: 13px; margin-top: -5px; border-left: 3px solid var(--indigo); border-bottom: 3px solid var(--indigo); transform: rotate(-45deg); }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.6rem; }
