/* ===== shared structural layer (components used by inner pages & cart JS) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:target { scroll-margin-top: 7rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: 0.875rem; line-height: 1.45; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; z-index: 200; }
.skip:focus { top: 0.6rem; }
.link { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }
.cookie-bar[hidden] { display: none; }
.topline-meta { display: none; }
.topline p { max-width: none; margin: 0; }

/* page head */
.page-head { padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2.4rem); }
.crumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.5rem; opacity: .6; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 0.9rem; max-width: 18ch; }
.lede { font-size: clamp(1.1rem, 1.05rem + 0.5vw, 1.4rem); color: var(--muted); max-width: 46ch; line-height: 1.45; }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

/* prose, docs */
.wrap.prose { max-width: calc(72ch + var(--margin) * 2); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.1; margin: 2.4rem 0 0.8rem; scroll-margin-top: 7rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: inherit; text-underline-offset: 0.2em; }
.principles { list-style: none !important; margin: 1.4rem 0 !important; padding: 0 !important; }
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.doc > .prose:only-child { grid-column: 1 / -1; }
.toc { position: sticky; top: 6rem; padding: 1.3rem; }
.toc p { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.7rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 0.38rem 0; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.toc a:hover { color: var(--ink); }
.data-list { margin: 0 0 1.4rem; }
.data-list div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: 0.85rem 0; }
.data-list dt { font-size: 0.875rem; color: var(--muted); }
.data-list dd { margin: 0; }
.callout { padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: 0.95rem; }
.callout p:last-child { margin: 0; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 1.2rem; }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.story figure { position: sticky; top: 6rem; }
.story img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.8rem; }
.milestones { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.milestones strong { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.2rem; }
.milestones span { color: var(--muted); }

/* catalog base */
.sec-lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); max-width: 44ch; margin: 0.7rem 0 2rem; }
.card-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.index-add { display: grid; place-items: center; flex: none; cursor: pointer; font-size: 1.3rem; line-height: 1; transition: transform .15s ease, background-color .2s ease; }
.index-add:active { transform: scale(.92); }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; padding-bottom: clamp(2rem, 5vw, 4rem); }
.product-media { position: sticky; top: 6rem; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; margin-bottom: 0.6rem; }
.tagline { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); margin-bottom: 1.2rem; color: var(--muted); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vat { font-size: 0.875rem; color: var(--muted); }
.product-info .lede { font-size: 1.1rem; margin-bottom: 1.2rem; }
.buy { display: grid; gap: 0.6rem; margin: 1.4rem 0; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.perks li { font-size: 0.9rem; color: var(--muted); }
.dossier { display: grid; gap: 2rem; margin-top: 2rem; }
.dossier-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 1.5rem; padding-top: 1.6rem; }
.dossier-row > h2 { font-size: 1.4rem; line-height: 1.15; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 0.7rem 0; vertical-align: top; }
.spec th { width: 34%; font-size: 0.85rem; color: var(--muted); font-weight: 600; padding-right: 1rem; }

/* faq */
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-a { max-width: 62ch; color: var(--muted); }

/* cart (rendered by js/cart.js) */
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: 1.1rem 0; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; }
.cart-line h2 { font-size: 1.2rem; margin: 0 0 0.2rem; }
.cart-line .unit { font-size: 0.875rem; color: var(--muted); margin: 0 0 0.6rem; }
.cart-line .controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; }
.qty button { width: 38px; height: 38px; font-size: 1.1rem; }
.qty span { min-width: 2rem; text-align: center; font-weight: 700; }
.remove { font-size: 0.85rem; color: var(--muted); text-decoration: underline; }
.line-total { font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.summary { padding: 1.6rem; position: sticky; top: 6rem; }
.summary h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.sum-lines { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.9rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.55rem 0; max-width: none; }
.sum-total strong { font-size: 1.5rem; }
.summary .btn { margin-top: 1.1rem; }
.summary .small { margin-top: 0.9rem; color: var(--muted); }
.empty { padding: 3rem 1.5rem; text-align: center; }
.empty p { font-family: var(--font-display); font-size: 1.7rem; margin: 0 auto 1.2rem; }

/* forms (checkout.js hooks) */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field > span { font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 1rem; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--accent); flex: none; }
.field-error { display: block; margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--danger); }
.field-error-wide { grid-column: 1 / -1; }
.field-error-fix { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(15, 25, 30, 0.6); }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); color: var(--ink); max-width: 520px; width: 100%; padding: 2.2rem; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* quote list (stimmen page + home) */
.quotes-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.quote figcaption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--muted); }
.quote figcaption span { display: block; }
.fineprint { font-size: 0.875rem; color: var(--muted); margin-top: 2rem; max-width: 70ch; }

@media (max-width: 860px) {
  .doc, .story, .product, .cart-layout, .dossier-row, .quotes-list { grid-template-columns: 1fr; }
  .toc, .story figure, .product-media, .summary { position: static; }
  .dossier-row { gap: 0.6rem; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; }
}
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .data-list div { grid-template-columns: 1fr; gap: 0.2rem; } }
@media (max-width: 460px) { .perks { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Mountain Air — alpine light: snow white, glacier blue, lichen green. Fraunces + DM Sans */
:root {
  --bg: #f4f7f8;
  --paper: #ffffff;
  --ice: #e3edf1;
  --sage: #d8e6dc;
  --ink: #16293a;
  --muted: #587081;
  --line: #d3dfe5;
  --deep: #1f3a4d;
  --accent: #1f3a4d;
  --accent-ink: #ffffff;
  --lichen: #6f9a72;
  --danger: #b0412e;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --margin: clamp(1.1rem, 3vw, 2.5rem);
  --maxw: 1280px;
  --r: 22px;
  --shadow: 0 18px 50px -24px rgba(31, 58, 77, 0.35);
}
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; font-variation-settings: "opsz" 96; }
em { font-style: italic; color: var(--lichen); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0 1.7rem; border-radius: 999px;
  background: var(--deep); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: 0.01em;
  border: 1.5px solid var(--deep); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.btn:hover { background: var(--lichen); border-color: var(--lichen); }
.btn:active { transform: scale(0.97); }
.btn-line { background: transparent; color: var(--deep); }
.btn-line:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.link { color: var(--deep); }

/* top notice */
.topline { background: var(--sage); color: var(--deep); font-size: 0.82rem; padding: 0.55rem var(--margin); text-align: center; }
.topline p { margin-inline: auto; }
.topline a { font-weight: 700; }

/* header: centered masthead */
.site-header { position: relative; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem 1rem; padding-top: 1.2rem; }
.header-note { font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: center; }
.header-note a { text-decoration: none; }
.header-note a:hover { color: var(--deep); text-decoration: underline; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--deep); }
.brand svg { width: 38px; height: 38px; color: var(--lichen); flex: none; }
.brand-name { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 0.6rem; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.6rem; padding: 0 0.5rem 0 1rem;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 0.92rem;
}
.cart-link [data-cart-count] { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--deep); color: #fff; font-size: 0.78rem; }
.cart-link:hover { border-color: var(--deep); }
.main-nav { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 0.7rem; }
.nav-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem clamp(1.1rem, 3vw, 2.8rem); padding: 0.85rem 0; }
.main-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--muted); padding: 0.2rem 0; position: relative; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--deep); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -0.35rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lichen); }
.burger { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--deep); transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
@media (max-width: 900px) {
  .header-bar { grid-template-columns: 1fr auto; padding-bottom: 1rem; }
  .header-note { display: none; }
  .brand { justify-self: start; }
  .burger { display: block; }
  .main-nav { display: none; margin: 0; }
  .site-header:has(.nav-toggle:checked) .main-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 0.5rem var(--margin) 1.2rem; }
  .main-nav a { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); padding: 0.35rem 0; }
  .main-nav a[aria-current="page"]::after { left: auto; right: -14px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(2) { opacity: 0; }
  .site-header:has(.nav-toggle:checked) .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* cookie: floating card */
.cookie-bar { position: fixed; left: 1rem; bottom: 1rem; right: 1rem; max-width: 640px; z-index: 90; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.cookie-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; padding: 1rem 1.2rem; }
.cookie-bar p { font-size: 0.9rem; flex: 1 1 280px; line-height: 1.4; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-bar .btn { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9rem; }

/* ===== home ===== */
.ma-hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(5rem, 9vw, 8rem); background: linear-gradient(180deg, var(--ice), var(--bg)); overflow: hidden; }
.ma-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lichen); font-weight: 700; margin-bottom: 1.2rem; }
.ma-hero h1 { font-size: clamp(3.6rem, 10vw, 8.6rem); line-height: 0.9; letter-spacing: -0.045em; font-weight: 300; margin-bottom: 1.6rem; }
.ma-hero h1 em { display: block; font-weight: 400; margin-left: 0.5em; }
.ma-lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--muted); max-width: 34ch; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; margin-top: 2rem; }
.ma-hero-fig { position: relative; justify-self: center; width: min(100%, 440px); }
.ma-hero-fig::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid var(--lichen); border-radius: 999px 999px 28px 28px; opacity: .55; }
.ma-hero-fig img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow); }

.ma-stats { margin-top: calc(-1 * clamp(3rem, 6vw, 5rem)); position: relative; z-index: 2; }
.stat-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.stat-ribbon li { padding: clamp(1.2rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: 0.4rem; }
.stat-ribbon li + li { border-left: 1px solid var(--line); }
.stat-ribbon strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--deep); }
.stat-ribbon span { color: var(--muted); font-size: 0.95rem; max-width: 20ch; }

.ma-chapter { padding: clamp(3.5rem, 8vw, 7rem) 0 0; }
.ma-chapter-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.ma-chapter-img { grid-column: 1 / 9; grid-row: 1; }
.ma-chapter-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; }
.ma-chapter-card { grid-column: 7 / 13; grid-row: 1; background: var(--paper); padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; z-index: 2; }
.flip .ma-chapter-img { grid-column: 5 / 13; }
.flip .ma-chapter-card { grid-column: 1 / 7; }
.ma-chapter-card h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; margin-bottom: 1rem; font-weight: 300; }
.ma-chapter-card p { color: var(--muted); }
.ma-chapter-card .fine { font-size: 0.9rem; }

.ma-shout { position: relative; margin-top: clamp(3.5rem, 8vw, 7rem); background: var(--deep); color: #fff; padding: clamp(4rem, 9vw, 8rem) 0 clamp(7rem, 12vw, 11rem); text-align: center; overflow: hidden; }
.ma-shout h2 { font-size: clamp(3rem, 10vw, 8rem); line-height: 0.95; font-weight: 300; font-style: italic; letter-spacing: -0.04em; margin-bottom: 1rem; }
.ma-shout p { margin-inline: auto; color: #c3d6df; font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem); }
.ma-shout::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(70px, 10vw, 140px); background: var(--bg); clip-path: polygon(0 100%, 0 78%, 9% 42%, 16% 62%, 27% 22%, 38% 58%, 49% 30%, 58% 64%, 70% 18%, 81% 56%, 90% 38%, 100% 70%, 100% 100%); }

.ma-catalog { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem); }
.ma-catalog h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; font-weight: 300; text-align: center; }
.ma-catalog .sec-lead { text-align: center; margin: 0.9rem auto 2.4rem; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.catalog-gap { margin-top: clamp(3.5rem, 8vw, 6rem); }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card > a { display: block; overflow: hidden; background: var(--ice); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 1.2rem 1.3rem 0.4rem; }
.card h3 { font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.4rem; }
.card h3 a { text-decoration: none; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.9rem 1.3rem 1.3rem; margin-top: auto; }
.card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.index-add { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--deep); color: #fff; }
.index-add:hover { background: var(--lichen); }
.index-add.is-added { background: var(--lichen); }
.catalog-tools .card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.catalog-tools .card:first-child > a { grid-row: 1 / span 2; }
.catalog-tools .card:first-child img { height: 100%; aspect-ratio: auto; }
.catalog-tools .card:first-child .card-body { align-self: end; padding-top: 1.6rem; }
.catalog-tools .card:first-child h3 { font-size: 2rem; }

.ma-how { background: var(--ice); padding: clamp(3rem, 7vw, 6rem) 0; }
.ma-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); counter-reset: step; }
.ma-steps li { counter-increment: step; border-top: 1.5px solid var(--deep); padding-top: 1.4rem; }
.ma-steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--lichen); margin-bottom: 0.8rem; }
.ma-steps h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.ma-steps p { color: var(--muted); }

.ma-feature { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.ma-feature-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ma-feature-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow); }
.ma-feature-grid h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; font-weight: 300; margin-bottom: 1.2rem; }
.ma-feature-grid p { color: var(--muted); }
.actions { margin-top: 1.8rem; }

.quote-hero { position: relative; min-height: clamp(380px, 38vw, 560px); display: grid; align-items: center; color: #fff; text-align: center; overflow: hidden; }
.quote-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,58,77,.78), rgba(31,58,77,.9)); }
.quote-hero .wrap { position: relative; z-index: 1; padding-block: 4rem; }
.quote-hero blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 20ch; margin-inline: auto; }
.quote-hero figcaption { margin-top: 1.4rem; color: #c3d6df; }

.ma-voices { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.ma-voices h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1; }
.ma-voices .sec-lead a { color: var(--deep); }
.ma-voices .quotes-list { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 0.4rem var(--margin) 1.4rem; margin-inline: calc(var(--margin) * -1); scrollbar-width: thin; }
.ma-voices .quote { flex: 0 0 min(86%, 360px); scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; }
.quote blockquote p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; font-weight: 300; }
.ma-voices .quote figcaption { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.ma-voices .quote figcaption span { color: var(--lichen); font-weight: 700; }

.ma-notice { padding: 0 0 clamp(3rem, 7vw, 6rem); }
.ma-notice-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); background: var(--sage); border-radius: 32px; padding: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.ma-notice h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; font-weight: 300; }
.ma-notice p { color: #36513f; }
.ma-notice .btn-line { margin-top: 1.4rem; border-color: var(--deep); }

.ma-faq { padding: 0 0 clamp(3.5rem, 8vw, 7rem); }
.ma-faq-head { text-align: center; margin-bottom: 2.4rem; }
.ma-faq-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1; margin-bottom: 0.8rem; }
.ma-faq-head p { margin-inline: auto; color: var(--muted); }
.ma-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.4rem; }
.faq summary { font-size: 1.08rem; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--lichen); flex: none; transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding-top: 0.8rem; }

/* ===== footer ===== */
.site-footer { background: var(--ice); color: var(--ink); padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand { justify-self: start; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; }
.footer-brand a { color: var(--deep); }
.footer-col h4 { font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lichen); margin: 0 0 1rem; }
.footer-col a { display: block; text-decoration: none; padding: 0.3rem 0; font-size: 0.98rem; }
.footer-col a:hover { color: var(--lichen); }
.footer-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.8rem 0 2rem; font-size: 0.85rem; color: var(--muted); }
.footer-meta a { color: var(--deep); }
.wordmark { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; font-size: 11.5vw; letter-spacing: -0.04em; line-height: 0.8; color: rgba(31, 58, 77, 0.07); white-space: nowrap; margin: 0 0 -0.12em; user-select: none; }

/* ===== inner pages ===== */
.page-head { background: linear-gradient(180deg, var(--ice), var(--bg)); }
.page-head h1 { font-weight: 300; letter-spacing: -0.035em; }
.page-nav a { text-decoration: none; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }
.page-nav a:hover { background: var(--deep); color: #fff; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.toc a:hover { color: var(--lichen); }
.data-list div { border-bottom: 1px solid var(--line); }
.callout { background: var(--sage); border-radius: 16px; color: #2c4637; }
.prose h2 { font-weight: 400; }
.story img { border-radius: 999px 999px 24px 24px; }
.milestones div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; }
.product-media { background: var(--ice); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.price { color: var(--deep); }
.dossier-row { border-top: 1px solid var(--line); }
.spec tr + tr { border-top: 1px solid var(--line); }
.cart-lines { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0.4rem 1.4rem; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line img { border-radius: 14px; }
.qty { border: 1px solid var(--line); border-radius: 999px; }
.qty button { border-radius: 50%; }
.qty button:hover { background: var(--ice); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); }
.field input, .field select, .field textarea { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.modal-box { border-radius: 28px; }
.page-head + .section .faq, .section > .wrap > .faq { margin-bottom: 0.8rem; }

@media (max-width: 960px) {
  .ma-hero-grid, .ma-feature-grid, .ma-notice-box { grid-template-columns: 1fr; }
  .ma-hero-fig { width: min(80%, 380px); }
  .stat-ribbon { grid-template-columns: 1fr 1fr; }
  .stat-ribbon li:nth-child(3) { border-left: 0; }
  .stat-ribbon li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ma-chapter-img, .flip .ma-chapter-img { grid-column: 1 / -1; }
  .ma-chapter-card, .flip .ma-chapter-card { grid-column: 1 / -1; grid-row: 2; margin: -3rem 1rem 0; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .ma-steps { grid-template-columns: 1fr; }
  .ma-faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog-tools .card:first-child { grid-column: auto; display: flex; }
  .catalog-tools .card:first-child img { aspect-ratio: 1; height: auto; }
  .ma-feature-grid img { max-width: 80%; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .cookie-bar { left: .5rem; right: .5rem; bottom: .5rem; }
}
