/* SomnoBreath — night indigo, horizontal chrome */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0f1224;
  --ink: #e8eaf6;
  --soft: #9aa3c7;
  --deep: #1e1b4b;
  --deeper: #0a0c18;
  --accent: #a5b4fc;
  --accent-2: #c7d2fe;
  --accent-ink: #1e1b4b;
  --surface-2: #1a1f3a;
  --white: #161b33;
  --link: #c7d2fe;
  --band-bg: linear-gradient(135deg, #312e81, #1e1b4b);
  --band-ink: #eef2ff;
  --on-dark: #dbe0f5;
  --on-dark-soft: #9aa3c7;
  --wordmark: #1a1f3a;
  --wrap: 1120px;
  --gap: 1.25rem;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --btn-r: 999px;
  --chip-r: 999px;
  --btn-border: 2px solid transparent;
  --tile-border: 1px solid rgba(165,180,252,.12);
  --footer-r: 28px 28px 0 0;
  --cookie-left: 1rem;
  --display: "Fraunces", Georgia, serif;
  --text: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99,102,241,.28), transparent 55%),
              radial-gradient(ellipse 60% 40% at 90% 10%, rgba(165,180,252,.12), transparent 50%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 0.9em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.45em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
h3 { font-size: 1.35rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Top sticky header (rail restyled) */
.rail {
  position: sticky; top: 0; z-index: 40; width: 100%; min-height: var(--header-h);
  background: rgba(15,18,36,.88); backdrop-filter: blur(14px); color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid rgba(165,180,252,.15);
}
.rail a { color: inherit; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; color: #fff; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { color: var(--accent); font-weight: 800; }
.rail-tag { margin: 0; font-size: 0.82rem; color: var(--soft); }
.nav-row { display: flex; flex-wrap: wrap; gap: 0.15rem; margin-left: auto; }
.nav-row a { padding: 0.45rem 0.75rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--soft); }
.nav-row a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-row a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.rail-foot { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; }
.rail-foot p { display: none; }
.cart-pill { display: flex !important; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.55rem 0.95rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; }
.cart-pill b { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; border-radius: 99px; background: var(--deep); color: #fff; font-size: 0.8rem; }
.burger { display: none; }
.page { margin-left: 0; min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.topline { background: transparent; border-bottom: 1px solid rgba(165,180,252,.1); font-size: 0.88rem; color: var(--soft); }
.topline .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; align-items: center; }
.topline p { margin: 0; }
.topline a { color: var(--accent); font-weight: 700; }

/* Full-bleed hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 0; position: relative; min-height: min(88vh, 820px); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.hero-pic { position: absolute; inset: 0; min-height: 100%; border-radius: 0; }
.hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); }
.hero-pic .stamp-chip { position: absolute; right: 1.4rem; top: 1.4rem; left: auto; bottom: auto; background: rgba(15,18,36,.75); color: var(--accent); border: 1px solid rgba(165,180,252,.35); border-radius: var(--r-md); padding: 0.9rem 1.2rem; max-width: 14rem; font-weight: 700; backdrop-filter: blur(8px); }
.hero-pic .stamp-chip b { display: block; font-family: var(--display); font-size: 2rem; color: #fff; }
.hero > .hero-copy, .hero-copy { width: min(1120px, calc(100% - 4rem)); margin-inline: auto; }
.hero-copy { position: relative; z-index: 2; background: transparent; color: #fff; border-radius: 0; padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem); display: flex; flex-direction: column; justify-content: flex-end; max-width: 720px; }
.hero-copy h1 { color: #fff; text-shadow: 0 8px 40px rgba(0,0,0,.35); }
.hero-copy > p:not(.kicker) { color: #d7dbf0; font-size: 1.12rem; max-width: 46ch; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.6rem 0 1rem; }
.hero-copy .fine { color: #aab3d6; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 1.4rem; }
.facts div { border-radius: var(--r-md); padding: 1.4rem 1.5rem; background: var(--white); display: flex; flex-direction: column; gap: 0.35rem; min-height: 140px; justify-content: space-between; border: var(--tile-border); }
.facts div:nth-child(1) { background: var(--accent); color: var(--accent-ink); }
.facts div:nth-child(3) { background: var(--deep); color: #fff; }
.facts strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.05em; line-height: 0.95; }
.facts span { font-size: 0.95rem; line-height: 1.3; }

@media (max-width: 960px) {
  .rail-tag { display: none; }
  .burger { display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer; margin-left: auto; order: 3; }
  .rail-foot { order: 2; }
  .nav-row { display: none; order: 4; flex-basis: 100%; margin-left: 0; }
  .nav-toggle:checked ~ .rail .nav-row { display: flex; }
  .topline .wrap { flex-direction: column; align-items: flex-start; }
}

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--ink); padding: 0.55rem 1rem; border-radius: var(--btn-r); z-index: 60; font-weight: 700; }
.skip:focus { top: 0.8rem; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.wrap { width: min(var(--wrap), calc(100% - 4rem)); margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; padding: 0 1.5rem;
  border: var(--btn-border); border-radius: var(--btn-r); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font-weight: 700; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--deep); }
.btn-fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-fill:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.hero-copy .btn-line, .on-dark .btn-line, .chapter.dark .btn-line { color: #fff; border-color: #fff; }
.hero-copy .btn-line:hover, .on-dark .btn-line:hover { background: #fff; color: var(--ink); }
.index-add { min-height: 46px; width: 46px; padding: 0; font-size: 1.5rem; line-height: 1; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); border-radius: var(--btn-r); }
.index-add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.index-add.is-added { width: auto; padding: 0 1rem; font-size: 1rem; }
.fine { font-size: 0.86rem; color: var(--soft); }
.small { font-size: 0.9rem; color: var(--soft); }
.kicker { display: inline-block; align-self: flex-start; padding: 0.32rem 0.85rem; border-radius: var(--chip-r); background: var(--surface-2); color: var(--deep); font-weight: 700; font-size: 0.85rem; margin: 0 0 1rem; }
.ingr .kicker { background: var(--white); }
.dark .kicker, .hero-copy .kicker, .chapter.dark .kicker { background: rgba(255,255,255,.12); color: var(--accent); }
.crumbs { font-size: 0.88rem; margin-bottom: 1.1rem; color: var(--soft); }
.crumbs span { margin: 0 0.45rem; }
.crumbs a { color: var(--soft); }
.page-title { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 18ch; letter-spacing: -0.045em; }
.main > .wrap > p:not(.crumbs):not(.kicker):not(.fine) { max-width: 62ch; }
.main { padding: 2.2rem 0 1rem; flex: 1; }

.sec { padding: clamp(3.2rem, 6vw, 5.5rem) 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.6rem; }
.sec-head h2 { margin: 0; }
.sec-label { display: inline-block; font-weight: 700; color: var(--deep); margin: 0 0 0.6rem; }
.link-arrow { font-weight: 700; white-space: nowrap; }

.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); margin: 1.2rem 0 2rem; }
.tile { background: var(--white); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s; border: var(--tile-border); }
.tile:hover { transform: translateY(-4px); }
.tile > a { display: block; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile > div { padding: 1rem 1.15rem 1.2rem; display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.8rem; align-items: end; flex: 1; }
.tile h3 { grid-column: 1 / -1; margin: 0 0 0.15rem; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile p { grid-column: 1 / -1; margin: 0 0 0.7rem; font-size: 0.95rem; color: var(--soft); }
.tile .price { display: inline-block; justify-self: start; align-self: center; background: var(--surface-2); color: var(--deep); border-radius: var(--chip-r); padding: 0.3rem 0.8rem; font-weight: 700; }
.scroller { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 1.2rem; scrollbar-color: var(--deep) var(--surface-2); }
.scroller .tile { flex: 0 0 min(290px, 78vw); scroll-snap-align: start; }

.band { margin-top: clamp(3.2rem, 6vw, 5.5rem); }
.band-in { background: var(--band-bg); color: var(--band-ink); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 4.5rem); }
.band p { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0; max-width: 22ch; }

.chapters { display: grid; gap: var(--gap); }
.chapter { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: var(--tile-border); }
.chapter img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.chapter > div { padding: clamp(1.8rem, 3.4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.chapter.rev img { order: 2; }
.chapter.dark { background: var(--deeper); color: var(--on-dark); }
.chapter.dark h2 { color: #fff; }
.chapter.dark a:not(.btn) { color: var(--accent); }
.chapter.dark .fine { color: var(--on-dark-soft); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--surface-2); border-radius: var(--r-md); padding: 1.6rem 1.6rem 1.8rem; border: var(--tile-border); }
.steps li:nth-child(2) { background: var(--accent); color: var(--accent-ink); }
.steps li:nth-child(3) { background: var(--deep); color: var(--on-dark); }
.steps li:nth-child(3) h3 { color: #fff; }
.steps span { display: block; font-family: var(--display); font-weight: 800; font-size: 4.2rem; letter-spacing: -0.06em; line-height: 0.9; margin-bottom: 1.2rem; opacity: 0.9; }
.steps p { margin: 0; }

.ingr { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gap); align-items: stretch; }
.ingr figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.ingr figure img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.ingr > div { background: var(--surface-2); border-radius: var(--r-lg); padding: clamp(1.8rem, 3.4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }

.quotes { columns: 2; column-gap: var(--gap); }
.quotes figure { break-inside: avoid; margin: 0 0 1.1rem; background: var(--white); border-radius: var(--r-md); padding: 1.5rem 1.6rem; border: var(--tile-border); }
.quotes figure:nth-child(4n+2) { background: var(--surface-2); }
.quotes figure:nth-child(4n+3) { background: var(--deep); color: var(--on-dark); }
.quotes figure:nth-child(4n+3) figcaption { color: var(--accent); }
.quotes blockquote { margin: 0 0 1rem; font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.22; letter-spacing: -0.02em; }
.quotes blockquote p { margin: 0; }
.quotes figcaption { font-size: 0.9rem; font-weight: 700; color: var(--deep); }

.stamp { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; background: var(--deeper); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3.4rem); margin-top: clamp(3.2rem, 6vw, 5.5rem); }
.stamp h2 { color: #fff; margin: 0; }
.stamp .kicker { background: rgba(255,255,255,.14); color: var(--accent); }
.stamp .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.faq { background: var(--white); border-radius: var(--r-md); padding: 1.1rem 1.4rem; margin-bottom: 0.7rem; border: var(--tile-border); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding-top: 0.7rem; color: var(--soft); }
.faq-a p:last-child { margin: 0; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose ol, .prose ul { margin: 0 0 1em; padding-left: 1.3rem; }
.prose li { margin: 0.3em 0; }
.prose img { border-radius: var(--r-md); margin: 0 0 1.5rem; width: 100%; }
.prose-wrap { margin-top: 1.5rem; }
.prose-wrap .prose { max-width: none; }
.prose-wrap .prose > p { max-width: 70ch; }
.doc-grid { display: grid; grid-template-columns: 230px 1fr; gap: 3rem; margin-top: 2rem; align-items: start; }
.toc { position: sticky; top: 1.5rem; background: var(--white); border-radius: var(--r-md); padding: 1.2rem 1.3rem; border: var(--tile-border); }
.toc p { font-weight: 700; margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 0.3rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.data-list { margin: 0 0 1rem; background: var(--white); border-radius: var(--r-md); padding: 0.4rem 1.4rem; border: var(--tile-border); }
.data-list div { display: grid; grid-template-columns: 11rem 1fr; gap: 0.6rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--surface-2); }
.data-list div:last-child { border-bottom: 0; }
.data-list dt { font-weight: 700; }
.data-list dd { margin: 0; }
.callout { padding: 1.1rem 1.3rem; background: var(--surface-2); border-left: 6px solid var(--deep); border-radius: var(--r-sm); margin: 1.2rem 0; }
.callout p:last-child { margin: 0; }
.two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
.note { background: var(--deep); color: var(--on-dark); border-radius: var(--r-lg); padding: 1.8rem; }
.note h2 { color: #fff; font-size: 2rem; }
.note a { color: var(--accent); }
.note .data-list { background: transparent; padding: 0; border: 0; }
.note .data-list div { border-color: rgba(255,255,255,.18); grid-template-columns: 6.5rem 1fr; }
.story.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; margin-top: 2rem; align-items: start; }
.story figure { margin: 0; }
.story img { border-radius: var(--r-lg); width: 100%; }
.story figcaption { margin-top: 0.6rem; }
.two article { background: var(--white); border-radius: var(--r-md); padding: 1.4rem; border: var(--tile-border); }
.story + .two { grid-template-columns: 1fr 1fr; }

.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.9rem; margin: 0 0 1.5rem; }
.glossary article { background: var(--white); border-radius: var(--r-md); padding: 1.2rem 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; border: var(--tile-border); }
.glossary .no { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.04em; color: var(--accent-ink); background: var(--accent); border-radius: 12px; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; }
.glossary h3 { margin: 0.1rem 0 0.3rem; font-size: 1.2rem; }
.glossary .kicker { margin: 0 0 0.4rem; padding: 0.15rem 0.6rem; font-size: 0.75rem; }
.glossary p { margin: 0; font-size: 0.95rem; color: var(--soft); }
.glossary article p.kicker { color: var(--deep); }

.product-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.2rem; align-items: start; }
.product-shot { margin: 0; position: sticky; top: 1.5rem; }
.product-shot img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); }
.product-hero h1 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.price-lg { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; background: var(--accent); color: var(--accent-ink); border-radius: var(--chip-r); padding: 0.1rem 1.1rem; margin: 0.4rem 0 0.6rem; }
.product-hero ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.product-hero ul li { background: var(--white); border-radius: var(--r-sm); padding: 0.7rem 1rem; border: var(--tile-border); }
.product-hero .btn-block + .btn-block, .product-hero div > .btn-block { margin-top: 0.6rem; }
.dossier { display: grid; gap: 1.1rem; margin-top: 3rem; }
.dossier article { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; background: var(--white); border-radius: var(--r-lg); padding: 1.8rem 2rem; border: var(--tile-border); }
.dossier article:nth-child(odd) { background: var(--surface-2); }
.dossier h2 { font-size: 1.6rem; margin: 0; }
.dossier article > .callout { grid-column: 2; margin: 0; }
.dossier .callout { background: var(--white); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.spec th { width: 30%; font-weight: 700; }
.also { margin-top: 3rem; }
.also p { background: var(--white); border-radius: var(--r-sm); padding: 0.9rem 1.2rem; margin-bottom: 0.6rem; border: var(--tile-border); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--white); border-radius: var(--r-lg); padding: 1.8rem; border: var(--tile-border); }
.field { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 700; }
.field.full, .check.full, .actions.full, .field-error.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-weight: 400; min-height: 50px; padding: 0.6rem 1rem; border: 2px solid var(--surface-2); background: var(--bg); width: 100%; border-radius: var(--r-sm); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--deep); outline: 0; }
.field textarea { min-height: 120px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 0.35rem; accent-color: var(--deep); width: 1.1rem; height: 1.1rem; }
.field-error { color: #a12b2b; font-size: 0.92rem; margin: 0.35rem 0 0; }
.actions .fine { margin-top: 0.8rem; }

.cart-layout { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem; margin-bottom: 0.8rem; background: var(--white); border-radius: var(--r-md); border: var(--tile-border); }
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.cart-line h2 { font-size: 1.25rem; margin: 0; }
.cart-line .unit { margin: 0.1rem 0 0.5rem; color: var(--soft); font-size: 0.92rem; }
.controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.line-total { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; padding-right: 0.6rem; }
.qty { display: inline-flex; align-items: center; background: var(--surface-2); border-radius: var(--chip-r); }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 700; }
.qty button, .remove { background: transparent; border: 0; cursor: pointer; min-width: 2.4rem; min-height: 2.4rem; border-radius: var(--chip-r); font-size: 1.2rem; }
.qty button:hover { background: var(--accent); color: var(--accent-ink); }
.remove { font-size: 0.9rem; text-decoration: underline; margin-left: 0.4rem; }
.summary { padding: 1.6rem; background: var(--deep); color: var(--on-dark); border-radius: var(--r-lg); position: sticky; top: 1.5rem; }
.summary h2 { color: #fff; font-size: 1.8rem; }
.summary .small { color: var(--on-dark-soft); }
.summary .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); margin: 0.6rem 0; }
.summary a.link, .summary .link { color: var(--accent); }
.sum-row, .sum-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.sum-total { font-size: 1.25rem; margin-top: 0.4rem; }
.empty { padding: 2.4rem; background: var(--white); border-radius: var(--r-lg); margin-top: 1.5rem; border: var(--tile-border); }
.modal { position: fixed; inset: 0; background: rgba(10,12,30,.62); display: grid; place-items: center; padding: 1rem; z-index: 70; }
.modal[hidden] { display: none; }
.modal-box { width: min(460px, 100%); padding: 1.8rem; background: var(--white); border-radius: var(--r-lg); }

.site-footer { background: var(--deeper); color: var(--on-dark); margin-top: clamp(3.2rem, 6vw, 5.5rem); padding: 3.2rem 0 0; overflow: hidden; border-radius: var(--footer-r); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.foot-grid strong { font-family: var(--display); font-size: 1.6rem; color: #fff; letter-spacing: -0.03em; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; color: var(--accent); margin-bottom: 0.8rem; font-family: var(--text); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-contact { font-style: normal; display: grid; gap: 0.25rem; margin: 0.8rem 0 0; }
.legal-strip { margin-top: 2.4rem; padding: 1.6rem; background: rgba(255,255,255,0.07); border-radius: var(--r-md); font-size: 0.86rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; color: var(--on-dark-soft); }
.legal-strip p { margin: 0; }
.legal-strip strong { color: #fff; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 14vw, 12rem); letter-spacing: -0.07em; line-height: 0.8; margin: 2rem 0 -0.12em; color: var(--wordmark); white-space: nowrap; user-select: none; }

.cookie-bar { position: fixed; inset: auto 1rem 1rem var(--cookie-left); z-index: 55; padding: 1rem 1.3rem; background: var(--ink); color: #eef7f1; border-radius: var(--r-md); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .wrap { width: 100%; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; }
.cookie-bar p { margin: 0; font-size: 0.92rem; }
.cookie-bar a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.5rem; flex: none; }
.cookie-bar .btn { min-height: 42px; padding: 0 1.1rem; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cookie-bar .btn-line { background: transparent; color: #fff; border-color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero, .chapter, .ingr, .stamp, .product-hero, .two, .story.split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .chapter.rev img { order: 0; }
  .chapter img { min-height: 300px; max-height: 420px; }
  .hero-pic { min-height: 380px; }
  .product-shot { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal-strip { grid-template-columns: 1fr; }
  .dossier article { grid-template-columns: 1fr; gap: 0.6rem; }
  .dossier article > .callout { grid-column: 1; }
}
@media (max-width: 960px) {
  .doc-grid, .cart-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .toc, .summary { position: static; }
  .cookie-bar { left: 1rem; right: 1rem; }
  .cookie-bar .wrap { flex-direction: column; align-items: stretch; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .steps, .stamp, .form { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .facts div { min-height: 120px; padding: 1rem; }
  .data-list div { grid-template-columns: 1fr; gap: 0.1rem; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: start; }
  .hero-copy .actions .btn { flex: 1 1 100%; }
  .glossary { grid-template-columns: 1fr; }
  .dossier article { padding: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
