/* AuraFrames */
/* Shared functional layer: tokens-driven components used by every variant. */
:root {
  --bg: #fff; --surface: #f3f3f3; --ink: #111; --muted: #666;
  --accent: #111; --accent-ink: #fff; --hl: #ff5a1f; --hl-ink: #111;
  --line: rgba(0,0,0,.14); --radius: 0px; --bw: 1px;
  --font-display: Georgia, serif; --font-text: system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --margin: clamp(1.1rem, 3vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; max-width: 62ch; }
p + p { margin-top: 0.9em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem); }
h3 { font-size: 1.15rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; }
::selection { background: var(--hl); color: var(--hl-ink); }
.wrap, .container { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin: 0 auto; padding-inline: var(--margin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lede { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); line-height: 1.45; max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--hl); color: var(--hl-ink); padding: 0.6rem 1rem; }
.skip:focus { top: 0.6rem; }
main { display: block; }
.reveal { opacity: 1; transform: none; }
.wordmark { display: none; }
.header-aside, .side-contact, .header-pill { display: none; }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.5rem; border: var(--bw) solid transparent; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { background: var(--hl); color: var(--hl-ink); }
.btn:active { transform: scale(0.97); }
.btn-line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--hl); color: var(--hl-ink); }
.btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-block { width: 100%; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: .08em; background: none; border: 0; cursor: pointer; color: inherit; }
.link:hover { color: var(--hl); }
.link-light { color: inherit; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.6rem; }

/* notice bar */
.notice-bar { margin: 0; max-width: none; padding: .55rem var(--margin); font-size: var(--step-small); text-align: center; background: var(--surface); color: var(--ink); }
.notice-bar span { display: block; max-width: var(--max); margin: 0 auto; }
.notice-bar a { font-weight: 700; }

/* header: shared parts */
.site-header { position: relative; z-index: 50; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.brand { text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.main-nav { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.main-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; }
.header-tools { display: flex; align-items: center; gap: .7rem; }
.cart-link { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; }
.cart-link [data-cart-count] { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem; background: var(--hl); color: var(--hl-ink); font-size: .75rem; font-weight: 700; border-radius: var(--radius); }
.burger { display: none; width: 44px; height: 44px; cursor: pointer; position: relative; border: var(--bw) solid var(--line); border-radius: var(--radius); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }

/* generic sections */
.section { padding: calc(var(--section) / 2) 0; }
.sec-head { margin: 0 0 2rem; }
.sec-head h2 { margin: 0 0 .4rem; }
.sec-body p { margin: 0; }
.label, .sec-no, .chapter-no, .step-no, .g-tag { font-size: var(--step-small); width: fit-content; }

/* catalog switch */
.cat-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.8rem; }
.cat-switch label { cursor: pointer; padding: .5rem 1rem; font-weight: 600; background: var(--surface); border-radius: var(--radius); border: var(--bw) solid transparent; }
.cat-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cat-switch input:checked + label { background: var(--accent); color: var(--accent-ink); }
.cat-switch input:focus-visible + label { outline: 2px solid var(--hl); outline-offset: 2px; }
body:has(#cat-lenses:checked) .cat-drops, body:has(#cat-lenses:checked) .cat-masks,
body:has(#cat-drops:checked) .cat-lenses, body:has(#cat-drops:checked) .cat-masks,
body:has(#cat-masks:checked) .cat-lenses, body:has(#cat-masks:checked) .cat-drops { display: none; }
#katalogos div[style*="height"] { display: none; }
body:has(#cat-all:checked) .cat-drops, body:has(#cat-all:checked) .cat-masks { margin-top: clamp(3.5rem, 7vw, 5.5rem); }

/* product list (catalog cards) */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.index-row { position: relative; display: grid; gap: .7rem; align-content: start; }
.index-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.index-main { padding: 0 .2rem; }
.index-line { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.index-line h3 { margin: 0; font-size: 1.05rem; }
.index-line h3 a { text-decoration: none; }
.index-line h3 a::after { content: ""; position: absolute; inset: 0; }
.dots { display: none; }
.index-price { font-weight: 700; white-space: nowrap; }
.index-meta, .index-format { margin: .15rem 0 0; font-size: var(--step-small); color: var(--muted); }
.index-add { position: relative; z-index: 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; font-size: 1.4rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); transition: background .2s, transform .15s; }
.index-add:hover, .index-add.is-added { background: var(--hl); color: var(--hl-ink); }
.index-add:active { transform: scale(.92); }
@media (min-width: 1100px) { .cat-lenses .index-list, .cat-drops .index-list { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 860px) { .index-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .index-list { grid-template-columns: 1fr; } }

/* chapters */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.4rem); align-items: center; margin: 0 0 clamp(2.4rem, 6vw, 4.5rem); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media { margin: 0; }
.chapter-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-copy .fine { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 800px) { .chapter { grid-template-columns: 1fr; } .chapter.flip .chapter-media { order: 0; } }

.statement { padding: var(--section) var(--margin); }
.statement p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.1; max-width: 22ch; margin: 0; }
.statement .mark { display: none; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; }
.timeline li { display: grid; gap: .4rem; align-content: start; }
.timeline h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.4rem); align-items: center; }
.feature img { width: 100%; max-height: 640px; object-fit: cover; }
.feature > div { display: grid; align-content: center; gap: .3rem; }
.feature .actions { margin-top: 1.2rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature img { max-height: 440px; } }

.notice { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding: clamp(1.6rem, 4vw, 3rem); background: var(--surface); }
@media (max-width: 800px) { .notice { grid-template-columns: 1fr; } }
.fineprint { font-size: var(--step-small); color: var(--muted); margin: 1.4rem 0 0; }
.callout { background: var(--surface); padding: 1rem 1.1rem; margin: 1.2rem 0; }

.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(1.4rem, 4vw, 3rem); }
.faq-list { display: grid; align-content: start; }
.faq { border-bottom: var(--bw) solid var(--line); padding: .2rem 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: .9rem 2rem .9rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .75rem; font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1rem; }
.faq .faq-a p { margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* inner page head */
.page-head { padding: clamp(1.8rem, 5vw, 3.4rem) 0 1.2rem; }
.crumbs { font-size: var(--step-small); color: var(--muted); margin: 0 0 1rem; max-width: none; }
.crumbs a { color: inherit; text-decoration: none; font-weight: 600; }
.crumbs span { margin: 0 .4rem; }
.page-head-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1rem, 4vw, 3rem); align-items: end; }
.page-head h1 { margin: 0; max-width: 16ch; }
.page-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.page-nav a { font-weight: 600; text-decoration: none; padding: .5rem .9rem; background: var(--surface); border-radius: var(--radius); }
@media (max-width: 800px) { .page-head-grid { grid-template-columns: 1fr; } }

.doc { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0,1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start; }
.toc { background: var(--surface); padding: 1.1rem 1rem; position: sticky; top: 1.2rem; }
.toc p { font-weight: 700; margin: 0 0 .4rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .35rem 0; text-decoration: none; font-size: .95rem; }
.toc a:hover { color: var(--hl); }
@media (max-width: 800px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }
.prose { max-width: 72ch; }
.prose h2 { margin: 2.1rem 0 .7rem; scroll-margin-top: 1.5rem; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { font-weight: 600; }

.data-list { margin: 0 0 1.4rem; }
.data-list div { display: grid; grid-template-columns: 2fr 3fr; gap: .8rem; padding: .7rem 0; border-bottom: var(--bw) solid var(--line); }
.data-list dt { font-size: var(--step-small); font-weight: 700; color: var(--muted); }
.data-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .data-list div { grid-template-columns: 1fr; gap: .1rem; } }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.story figure { margin: 0; }
.story img { width: 100%; object-fit: cover; max-height: 640px; }
.story figcaption { font-size: var(--step-small); color: var(--muted); padding-top: .6rem; }
.milestones { display: grid; gap: 1rem; margin-top: 1.6rem; }
.milestones strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.banner-img { width: 100%; height: 40svh; object-fit: cover; margin-bottom: 2rem; }
.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gloss { padding: 1.4rem; background: var(--surface); }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr; } }
.principles { list-style: none !important; margin: 0; padding: 0 !important; display: grid; gap: .2rem; }
.principles li { padding: 1rem 0 !important; border-bottom: var(--bw) solid var(--line); margin: 0 !important; }
.principles li span { display: none; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.4rem); align-items: start; }
.product-media { margin: 0; background: var(--surface); position: sticky; top: 1.2rem; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-info { padding: .2rem 0; }
.product-info .tagline { font-size: 1.15rem; margin: 0 0 1.1rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; margin-bottom: 1.1rem; border-block: var(--bw) solid var(--line); }
.price-row .price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }
.price-row .vat { font-size: var(--step-small); color: var(--muted); }
.product-info .lede { margin-bottom: 1.3rem; }
.buy { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.perks li { display: flex; gap: .7rem; font-size: .95rem; align-items: flex-start; }
.perks svg { width: 22px; height: 22px; flex: none; color: var(--hl); margin-top: .1rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }
.dossier { display: grid; margin-top: 2.4rem; }
.dossier-row { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0,1fr); gap: 1.4rem; padding: 1.6rem 0; border-top: var(--bw) solid var(--line); }
.dossier-row > h2 { font-size: 1.3rem; margin: 0; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: .65rem 0; vertical-align: top; border-bottom: var(--bw) solid var(--line); }
.spec th { width: 36%; font-size: var(--step-small); font-weight: 700; color: var(--muted); }
@media (max-width: 720px) { .dossier-row { grid-template-columns: 1fr; gap: .6rem; } }

/* cart */
.cart-layout { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: var(--bw) solid var(--line); }
.cart-line img { width: 96px; height: 96px; object-fit: cover; background: var(--surface); }
.cart-line h2 { font-family: var(--font-text); font-size: 1.05rem; margin: 0 0 .15rem; font-weight: 600; }
.cart-line .unit { font-size: var(--step-small); color: var(--muted); }
.cart-line .controls { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: var(--radius); }
.qty button { width: 34px; height: 34px; }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 700; }
.remove { font-size: var(--step-small); color: var(--muted); text-decoration: underline; }
.line-total { font-weight: 700; }
.summary { background: var(--surface); padding: 1.4rem 1.3rem; position: sticky; top: 1.2rem; }
.summary h2 { font-size: 1.5rem; }
.sum-lines { list-style: none; margin: 0 0 .6rem; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; flex-wrap: wrap; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .55rem 0; max-width: none; }
.sum-total strong { font-family: var(--font-display); font-size: 1.7rem; }
.summary .btn { margin-top: 1rem; }
.summary .small { margin-top: .8rem; }
.summary .qty { background: transparent; }
.sum-lines li .qty { flex-basis: 100%; }
.empty { padding: 2.4rem 1.4rem; background: var(--surface); }
.empty p { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.2rem; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } .cart-line { grid-template-columns: 72px minmax(0,1fr); } .cart-line img { width: 72px; height: 72px; } .line-total { grid-column: 2; } }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .3rem; }
.field > span { font-size: var(--step-small); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; background: var(--surface); border: var(--bw) solid transparent; border-radius: var(--radius); padding: .78rem .9rem; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--hl); outline-offset: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--hl); flex: none; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field-error { display: block; margin: 0; font-size: var(--step-small); font-weight: 600; color: #c1272d; }
.field-error-wide { grid-column: 1 / -1; }
.form .actions .field-error { flex-basis: 100%; }
.field-error-fix { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { outline: 2px solid #c1272d; }
.check input[aria-invalid="true"] { outline: 2px solid #c1272d; outline-offset: 2px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.contact-panel { padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--surface); }
.contact-email { display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.9rem); line-height: 1.1; text-decoration: none; margin: 1rem 0; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(10,10,10,.65); }
.modal[hidden] { display: none; }
.modal-box { background: var(--bg); color: var(--ink); max-width: 520px; width: 100%; padding: 1.8rem; border-radius: var(--radius); }
.thanks-box h2 { margin: .8rem 0 .45rem; }
.thanks-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--surface); border-radius: 50%; }
.thanks-icon::after { content: ""; width: 18px; height: 10px; margin-top: -4px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--ink); color: var(--bg); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: .9rem; }
.cookie-bar p { margin: 0; max-width: none; font-size: var(--step-small); }
.cookie-bar strong { display: block; }
.cookie-actions { display: flex; gap: .5rem; flex: none; }
.cookie-actions .btn-line { background: transparent; color: var(--bg); border-color: currentColor; }
.cookie-actions .btn-line:hover { background: var(--bg); color: var(--ink); }
.cookie-actions .btn-light { background: var(--hl); color: var(--hl-ink); }
@media (max-width: 760px) { .cookie-bar .container { flex-direction: column; align-items: stretch; } }

.howto-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.howto-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.howto-grid h3 { margin: .8rem 0 .3rem; }
.howto-grid p { margin: 0; }
@media (max-width: 800px) { .howto-grid { grid-template-columns: 1fr; } }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.quote { margin: 0; padding: 1.2rem; background: var(--surface); }
.inline-thumbs { display: inline-block; width: 1em; height: .85em; overflow: hidden; vertical-align: -.1em; margin: 0 .1em; }
.inline-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* cta band */
.cta-band { display: block; text-decoration: none; }
.cta-main { padding: clamp(3rem, 8vw, 6rem) var(--margin); }

/* footer: shared */
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--hl); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: 1.6rem 2.4rem; padding: clamp(2rem, 5vw, 3.4rem) 0 2rem; }
.footer-name { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 0 0 .8rem; max-width: none; }
.footer-grid h2 { font-size: 1.1rem; margin: 0 0 .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-contact { margin-top: 1.1rem; }
.footer-contact a { display: block; margin-bottom: .3rem; overflow-wrap: anywhere; }
.footer-legal { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; padding: 1.4rem 0; font-size: var(--step-small); }
.footer-legal h2 { font-size: 1rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: .8rem 0 1.4rem; font-size: var(--step-small); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-legal { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile nav (shared mechanics) */
@media (max-width: 1000px) {
  .burger { display: block; }
  .main-nav { display: none; }
  .site-header:has(.nav-toggle:checked) .main-nav { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* footer: keep side padding (footer-grid shorthand padding would otherwise reset it) */
.footer-grid.wrap, .footer-base.wrap, .footer-legal.wrap { padding-inline: var(--margin); }
.footer-contact br { display: none; }
.footer-contact { line-height: 1.5; }

/* ---- AuraFrames ---- */
/* AuraFrames: dark, soft glow, glass panels, big radii, bento grid. */
:root {
  --bg: #0b0d1c; --surface: #151831; --ink: #eef0ff; --muted: #a6aac8;
  --accent: #ff8a6b; --accent-ink: #1a0e12; --hl: #ffb59a; --hl-ink: #1a0e12;
  --line: rgba(255,255,255,.13); --radius: 18px; --bw: 1px;
  --glass: rgba(255,255,255,.055);
  --font-display: "Syne", system-ui, sans-serif; --font-text: "Outfit", system-ui, sans-serif;
  --max: 1200px;
  --grad: linear-gradient(120deg, #ff8a6b 0%, #ffc6a8 50%, #b9a8ff 100%);
}
body { background: radial-gradient(60rem 38rem at 8% -8%, rgba(255,138,107,.24), transparent 62%), radial-gradient(52rem 40rem at 104% 8%, rgba(110,104,255,.22), transparent 60%), radial-gradient(50rem 40rem at 50% 108%, rgba(255,138,107,.12), transparent 60%), var(--bg); background-repeat: no-repeat; font-weight: 300; font-size: clamp(1.02rem, .98rem + .2vw, 1.15rem); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(2.5rem, 1rem + 5.4vw, 5.6rem); font-weight: 800; }
h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.9rem, 1rem + 3vw, 3.6rem); }
h3 { font-family: var(--font-text); font-weight: 600; letter-spacing: 0; }
strong, b { font-weight: 600; }
.btn { border-radius: 999px; background: var(--grad); color: var(--accent-ink); font-weight: 600; padding: 0 1.8rem; box-shadow: 0 8px 30px -8px rgba(255,138,107,.65); transition: transform .2s, box-shadow .2s; }
.btn:hover { background: var(--grad); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(255,138,107,.85); }
.btn-line { background: var(--glass); color: var(--ink); border-color: var(--line); box-shadow: none; backdrop-filter: blur(10px); }
.btn-line:hover { background: rgba(255,255,255,.14); color: var(--ink); box-shadow: none; }
.link { text-decoration-color: var(--accent); }
.link:hover { color: var(--hl); }

.label, .sec-no, .chapter-no, .step-no, .g-tag, .hero-kicker {
  font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--hl);
  background: var(--glass); border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 99px; display: inline-block; margin: 0 0 1rem; max-width: none; backdrop-filter: blur(8px);
}
.chapter-no, .step-no { font-family: var(--font-display); font-size: 1.1rem; }

/* header pill */
.notice-bar { background: transparent; color: var(--muted); font-size: .78rem; border-bottom: 1px solid var(--line); }
.notice-bar a { color: var(--hl); }
.site-header { position: sticky; top: 0; padding: .8rem var(--margin) 0; z-index: 90; }
.header-pill { display: flex; align-items: center; gap: 1rem; max-width: var(--max); margin: 0 auto; padding: .5rem .55rem .5rem 1.4rem; border-radius: 999px; background: rgba(21,24,49,.68); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -12px rgba(0,0,0,.6); }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; }
.brand::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--accent) 45%, #6e68ff); box-shadow: 0 0 18px 3px rgba(255,138,107,.65); }
.brand span { font-weight: 400; color: var(--hl); }
.main-nav { gap: .1rem; }
.main-nav a { font-size: .9rem; font-weight: 400; padding: .5rem .8rem; border-radius: 99px; color: var(--muted); transition: background .2s, color .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.12); }
.cart-link { background: var(--grad); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 99px; font-size: .9rem; }
.cart-link [data-cart-count] { background: #1a0e12; color: var(--hl); }
.burger { border-radius: 50%; border-color: var(--line); background: var(--glass); }
.burger span { background: var(--ink); }
@media (max-width: 1000px) {
  .header-pill { flex-wrap: wrap; border-radius: 28px; padding-left: 1.1rem; }
  .main-nav { flex-basis: 100%; flex-direction: column; order: 5; padding: .4rem 0 .6rem; gap: .1rem; }
  .main-nav a { font-size: 1.05rem; padding: .7rem .9rem; }
}

/* hero + bento */
.hero-aura { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero-head { text-align: center; display: grid; justify-items: center; }
.hero-head h1 { max-width: 14ch; margin-bottom: .4em; }
.hero-head .lede { margin-inline: auto; text-align: center; color: var(--muted); }
.hero-head .hero-cta { justify-content: center; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, clamp(150px, 15vw, 210px)); gap: 14px; margin-top: clamp(2.4rem, 5vw, 4rem); }
.tile { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); text-decoration: none; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile-img:hover img { transform: scale(1.06); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,13,28,.85)); }
.tile-cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; font-weight: 500; font-size: 1rem; }
.t1 { grid-column: 1 / 3; grid-row: 1 / 3; } .t2 { grid-column: 3; grid-row: 1 / 3; } .t3 { grid-column: 4; grid-row: 1 / 3; }
.tile-fact { display: grid; align-content: center; padding: 1.2rem 1.3rem; backdrop-filter: blur(10px); }
.tile-fact strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.tile-fact span { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 170px; }
  .t1 { grid-column: 1 / 3; grid-row: auto; min-height: 260px; }
  .t2, .t3 { grid-column: auto; grid-row: auto; }
}

.section.tint { background: rgba(255,255,255,.03); }
.section.dark { background: transparent; }
.sec-head { max-width: 62ch; }

/* chapters as cards */
.section:has(.chapter) > .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.section:has(.chapter) .sec-head { grid-column: 1 / -1; }
.chapter { display: flex; flex-direction: column; align-items: stretch; margin: 0; gap: 0; background: var(--glass); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; backdrop-filter: blur(10px); transition: transform .3s, border-color .3s; }
.chapter:hover { transform: translateY(-6px); border-color: rgba(255,181,154,.5); }
.chapter-media img { aspect-ratio: 4/3; border-radius: 0; }
.chapter-copy { padding: 1.5rem 1.5rem 1.8rem; }
.chapter-copy h2 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.1rem); }
.chapter-copy .chapter-no { margin-right: .4rem; }
.chapter.flip .chapter-media { order: 0; }
@media (max-width: 1000px) { .section:has(.chapter) > .container { grid-template-columns: 1fr; } }

.statement { text-align: center; padding: clamp(5rem, 11vw, 9rem) var(--margin); }
.statement .container { display: grid; justify-items: center; gap: 1.6rem; }
.statement .mark { display: block; width: 56px; color: var(--accent); filter: drop-shadow(0 0 14px rgba(255,138,107,.8)); }
.statement p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1rem + 3.8vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 20ch; margin-inline: auto; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* catalog */
.cat-switch { padding: .3rem; background: var(--glass); border: 1px solid var(--line); border-radius: 99px; width: fit-content; max-width: 100%; backdrop-filter: blur(10px); }
.cat-switch label { background: transparent; border-radius: 99px; padding: .5rem 1.1rem; font-weight: 400; color: var(--muted); transition: background .2s, color .2s; }
.cat-switch input:checked + label { background: var(--grad); color: var(--accent-ink); font-weight: 600; }
.index-list { gap: 18px; }
.index-row { background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: 10px 10px 1.1rem; transition: transform .3s, border-color .3s, box-shadow .3s; backdrop-filter: blur(8px); }
.index-row:hover { transform: translateY(-5px); border-color: rgba(255,181,154,.5); box-shadow: 0 20px 50px -20px rgba(255,138,107,.4); }
.index-thumb { border-radius: 20px; }
.index-main { padding: .3rem .7rem 0; }
.index-line { flex-direction: column; gap: .25rem; }
.index-line h3 { font-size: 1.1rem; font-weight: 500; }
.index-price { color: var(--hl); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.index-meta, .index-format { color: var(--muted); }
.index-add { margin: 0 .7rem; background: var(--grad); color: var(--accent-ink); border-radius: 50%; box-shadow: 0 6px 20px -6px rgba(255,138,107,.8); }
.index-add:hover, .index-add.is-added { background: #fff; color: #1a0e12; }

.timeline li { background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: 1.6rem; backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.timeline li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,107,.35), transparent 70%); }
.timeline h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.feature { gap: clamp(2rem, 6vw, 5rem); }
.feature img { border-radius: 40px; box-shadow: 0 0 80px -10px rgba(255,138,107,.35); border: 1px solid var(--line); }
.notice { background: var(--glass); border-radius: 36px; border: 1px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
.faq { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 0 1.3rem; margin-bottom: .7rem; }
.faq[open] { background: rgba(255,255,255,.09); border-color: rgba(255,181,154,.45); }
.faq summary { font-weight: 500; }
.cta-band { margin: clamp(1rem, 3vw, 2rem) var(--margin); }
.cta-main { background: var(--grad); color: var(--accent-ink); border-radius: 44px; padding: clamp(3rem, 8vw, 6rem) clamp(1.6rem, 5vw, 4rem); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; box-shadow: 0 30px 80px -30px rgba(255,138,107,.7); }
.cta-main:hover { transform: scale(1.01); }
.cta-main > p { font-weight: 500; max-width: 36ch; margin-bottom: 1rem; }
.cta-main h2 { font-size: clamp(4rem, 15vw, 12rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 0; }
.cta-main::after { content: ""; position: absolute; right: -8%; top: -30%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 65%); }

/* inner */
.page-head h1 { font-size: clamp(2.4rem, 1rem + 5vw, 5.2rem); max-width: 18ch; }
.page-head .lede { color: var(--muted); }
.page-nav a { background: var(--glass); border: 1px solid var(--line); border-radius: 99px; }
.page-nav a:hover { background: rgba(255,255,255,.14); }
.toc, .gloss, .callout, .quote, .empty, .contact-panel { background: var(--glass); border: 1px solid var(--line); border-radius: 26px; backdrop-filter: blur(10px); }
.toc a:hover { color: var(--hl); }
.product-media { border-radius: 36px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 90px -20px rgba(255,138,107,.35); }
.product-info h1 { font-size: clamp(2.2rem, 1rem + 3.4vw, 3.8rem); }
.price-row .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.perks svg { color: var(--accent); }
.dossier-row, .data-list div, .spec th, .spec td, .faq, .cart-line, .principles li, .price-row { border-color: var(--line); }
.summary { background: var(--glass); border: 1px solid var(--line); border-radius: 30px; backdrop-filter: blur(14px); }
.summary .btn { color: var(--accent-ink); }
.qty { background: rgba(255,255,255,.08); }
.cart-line img, .howto-grid img, .story img, .banner-img, .chapter-media img { border-radius: 22px; }
.field input, .field select, .field textarea { background: rgba(255,255,255,.06); border-color: var(--line); border-radius: 16px; color: var(--ink); }
.field select option { background: #151831; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(166,170,200,.65); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--hl); box-shadow: 0 0 0 4px rgba(255,138,107,.2); }
.field-error { color: #ff9a9a; }
.contact-email { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal { background: rgba(5,6,16,.75); backdrop-filter: blur(8px); }
.modal-box { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; }
.thanks-icon::after { border-color: var(--hl); }
.cookie-bar { left: 14px; right: 14px; bottom: 14px; border-radius: 26px; background: rgba(21,24,49,.88); border: 1px solid var(--line); backdrop-filter: blur(18px); color: var(--ink); }
.cookie-actions .btn-line { color: var(--ink); }
.cookie-actions .btn-light { background: var(--grad); color: var(--accent-ink); }

/* footer */
.site-footer { margin: 3rem var(--margin) var(--margin); }
.footer-glass { max-width: calc(var(--max) + 6rem); margin: 0 auto; padding: clamp(1.4rem, 4vw, 3rem); border-radius: 44px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.footer-glass .wrap { padding-inline: 0; max-width: none; }
.footer-name { font-size: clamp(1.7rem, 2.4vw, 2rem); width: max-content; max-width: 100%; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-grid h2 { font-family: var(--font-text); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hl); font-weight: 500; }
.footer-col li a, .footer-contact a { color: var(--muted); }
.footer-legal { border-block: 1px solid var(--line); color: var(--muted); }
.footer-legal h2 { font-family: var(--font-text); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hl); }
.footer-base { color: var(--muted); padding-bottom: 0; }

/* narrow screens: wide display face needs smaller h1 and safe wrapping */
@media (max-width: 600px) {
  h1, h2 { overflow-wrap: anywhere; }
  h1, .page-head h1, .product-info h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-media, .product-info { min-width: 0; max-width: 100%; }
}
