/* Nordic Apothecary · Partner catalogue V2
   Tokens mirror the live storefront (na-os/commerce/frontend/src/app/globals.css). */
:root {
  --bg: #e6e3dc;
  --paper: #efede7;
  --white: #f7f6f2;
  --deep: #2f3130;
  --ink: #1f1f1d;
  --body: #2a2a28;
  --muted: #5a5954;
  --invert: #f2f0ea;
  --invert-muted: #c9c5bd;
  --accent: #2a4c6b;
  --warn: #7a5a1c;
  --line: rgba(31, 31, 29, 0.2);
  --line-strong: rgba(31, 31, 29, 0.85);
  --line-light: rgba(242, 240, 234, 0.24);
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-editorial: "Libre Baskerville", Georgia, serif;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 400; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--invert); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 400; font-family: var(--font-ui); }
.label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.num, .step-num { font-size: 11px; letter-spacing: .14em; color: var(--muted); }

/* ---------- draft bar + header ---------- */
.draft-bar { background: #d9d6ce; color: var(--ink); text-align: center; font-size: 11px; letter-spacing: .16em; padding: 7px var(--gutter); }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(230, 227, 220, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; align-items: center; gap: 24px; }
.topbar-row:first-child { padding-top: 16px; padding-bottom: 10px; }
.topbar-nav { padding-bottom: 12px; }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--font-editorial); font-size: 19px; color: var(--ink); }
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lang { display: flex; gap: 4px; font-size: 13px; }
.lang-link { padding: 6px 8px; text-decoration: none; border-bottom: 1px solid transparent; }
.lang-link[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.nav { display: flex; gap: 26px; font-size: 13px; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a, .nav-cta { text-decoration: none; white-space: nowrap; padding: 4px 0; }
.nav a:hover, .nav-cta:hover, .lang-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { font-size: 13px; color: var(--ink); font-weight: 700; }

/* ---------- buttons / links ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; font: 13px/1.2 var(--font-ui); letter-spacing: .04em; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.btn:hover { background: var(--ink); color: var(--invert); }
.btn-dark { background: var(--ink); color: var(--invert); }
.btn-dark:hover { background: var(--deep); }
.btn-light { border-color: var(--invert); color: var(--invert); }
.btn-light:hover { background: var(--invert); color: var(--ink); }
.text-link { color: inherit; font-size: 14px; text-underline-offset: 4px; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--paper); }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section h2, .section-head h2 { font-family: var(--font-editorial); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.section-intro { font-size: 17px; line-height: 1.6; color: var(--body); margin-top: 18px; max-width: 46em; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; max-width: 38em; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { font-family: var(--font-editorial); font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 28px; }
.hero-line { display: block; color: var(--muted); }
.hero-secondary { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); max-width: 38em; }

/* ---------- brand scene images ---------- */
.scene { margin: 0; }
.scene picture, .scene img { display: block; width: 100%; }
.scene img { object-fit: cover; background: var(--bg-alt, #dcd9d1); }
.scene figcaption { font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 8px; }
.scene-portrait img { aspect-ratio: 4 / 5; }
.scene-wide img { aspect-ratio: 16 / 9; }
.scene-band { margin: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 64px); }
.scene-band img { aspect-ratio: 21 / 9; }
.hero-media .scene img { aspect-ratio: 4 / 5; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14px; }
.hero-links a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.hero-links a:hover { border-bottom-color: var(--ink); }
.hero-links span { color: var(--muted); font-size: 11px; letter-spacing: .12em; margin-right: 4px; }
.media-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.media-head .section-head { margin-bottom: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pair-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.brand-row { margin-top: clamp(48px, 7vw, 96px); }
.secondary-copy h2, .brand-copy h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.production-foot .scene { margin-bottom: 24px; max-width: 420px; }
.production .scene figcaption, .ff-page .scene figcaption { color: var(--invert-muted); }
.ff-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 5vw, 64px); }
.ff-top .ff-head { padding-bottom: 0; }
.ff-stage-row { margin-bottom: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ff-stage-row .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ff-stage-row .stages li:nth-child(3) { padding-left: 0; border-left: 0; }

/* ---------- flagships ---------- */
.flagships { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flagship { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; background: var(--white); border-top: 2px solid var(--ink); padding: clamp(24px, 3vw, 40px); }
.flagship-media .packshot { width: 100%; max-height: 360px; object-fit: contain; }
.flagship h3 { font-family: var(--font-editorial); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; margin-bottom: 14px; }
.flagship-copy { display: flex; flex-direction: column; }
.flagship-copy .btn { margin-top: auto; align-self: flex-start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 28px; }
.chips li { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line-strong); }
.table-scroll:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
tbody th { font-weight: 700; color: var(--ink); width: 28%; }
.compare { min-width: 640px; }
.compare td { width: 36%; }
td.pending { color: var(--warn); font-style: italic; }

/* ---------- research ---------- */
.research { background: var(--paper); }
.research-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.research .section-head { margin-bottom: 24px; }
.note { font-size: 15px; padding: 16px 18px; border-left: 2px solid var(--ink); background: var(--bg); margin-bottom: 14px; }
.source-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.studies { border-top: 1px solid var(--line-strong); }
.study { border-bottom: 1px solid var(--line); }
.study summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 24px; column-gap: 12px; padding: 20px 0; cursor: pointer; }
.study summary::-webkit-details-marker { display: none; }
.study-index { grid-row: span 2; font-size: 11px; letter-spacing: .12em; color: var(--muted); padding-top: 5px; }
.study-topic { font-family: var(--font-editorial); font-size: 20px; color: var(--ink); line-height: 1.3; }
.study-sub { grid-column: 2; font-size: 13px; color: var(--muted); margin-top: 4px; }
.study-toggle { grid-column: 3; grid-row: 1; width: 14px; height: 14px; margin-top: 6px; position: relative; }
.study-toggle::before, .study-toggle::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.study-toggle::after { transform: rotate(90deg); }
.study[open] .study-toggle::after { transform: rotate(0deg); }
.study-body { padding: 0 0 24px 60px; font-size: 15px; }
.study-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.study-meta dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.study-meta dd { margin: 2px 0 0; }
.study-dose dt { font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--ink); font-family: var(--font-editorial); }
.study-dose dd { font-size: 12px; color: var(--warn); }
.reference { font-size: 13px; color: var(--muted); }
.reference cite { font-style: italic; color: var(--body); }

/* ---------- documentation ---------- */
.doc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.doc-grid li { padding: 24px 24px 8px 0; }
.doc-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.doc-grid h3, .stages h3, .steps h3, .term h3 { font-size: 16px; font-weight: 700; margin: 18px 0 10px; font-family: var(--font-ui); }
.doc-grid p, .steps p, .term p { font-size: 15px; color: var(--body); }

/* ---------- FortFrisk (the one dark section) ---------- */
.production { background: var(--deep); color: var(--invert-muted); border-top: 0; }
.production h2, .production h3 { color: var(--invert); }
.production .eyebrow, .production .num { color: var(--invert-muted); }
.production .section-intro { color: var(--invert-muted); }
.stages { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.stages li { padding: 24px 24px 8px 0; }
.stages li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stages p { font-size: 15px; }
.production-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.boundary { font-family: var(--font-editorial); font-size: 20px; line-height: 1.45; color: var(--invert); }
.own-brand { border: 1px solid var(--line-light); padding: clamp(24px, 3vw, 40px); }
.own-brand h3 { font-family: var(--font-editorial); font-size: 24px; margin-bottom: 12px; }
.own-mail { margin-top: 14px; font-size: 13px; }

/* ---------- partnership ---------- */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.term { border-top: 1px solid var(--line-strong); }
.market { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--white); }
.market h3 { font-family: var(--font-editorial); font-size: 24px; line-height: 1.2; }

/* ---------- distribution partnership + Poland (v2.2) ---------- */
.split-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.split-intro .section-head { margin-bottom: 0; }
.term .num { display: block; margin-top: 16px; }
.exclusivity { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); margin: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 48px); align-items: start; }
.excl-text { display: grid; gap: clamp(20px, 3vw, 32px); }
.exclusivity h3, .support h3, .launch h3, .gis h3, .partner-cta h3, .faq > h3, .subhead { font-family: var(--font-editorial); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin-bottom: 14px; }
.protection { background: var(--ink); color: var(--invert-muted); padding: clamp(24px, 3vw, 40px); }
.protection h3 { color: var(--invert); }
.disclosures { border-top: 1px solid var(--line-strong); }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; font-weight: 700; color: var(--ink); }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure-toggle { flex: none; width: 14px; height: 14px; position: relative; }
.disclosure-toggle::before, .disclosure-toggle::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.disclosure-toggle::after { transform: rotate(90deg); }
.disclosure[open] > summary .disclosure-toggle::after { transform: rotate(0deg); }
.disclosure-body { padding: 0 0 28px; max-width: 72em; }
.disclosure-body > p { max-width: 46em; }
.disclosure-body > p + * { margin-top: 18px; }
.disclosure-title { font-family: var(--font-editorial); font-size: 20px; margin-bottom: 10px; }
.goals { min-width: 720px; }
.goals tbody th { width: 22%; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.parties { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.party h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 400; }
.party dl, .support-roles { margin: 0; border-top: 1px solid var(--line-strong); }
.party dl div, .support-roles div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.party dt, .support-roles dt { font-weight: 700; color: var(--ink); }
.party dd, .support-roles dd { margin: 4px 0 0; font-size: 15px; }
.review-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.review-steps h4, .pl-stages h4 { font-size: 16px; margin: 10px 0 8px; color: var(--ink); }
.review-steps p, .pl-stages p { font-size: 15px; }
.faq { margin-top: clamp(40px, 5vw, 64px); }
.faq > h3 { margin-bottom: 12px; }
.faq .disclosure:first-of-type { border-top: 1px solid var(--line-strong); }
.faq-item > summary { font-weight: 400; font-family: var(--font-editorial); font-size: 18px; }
.market-link, .side-link { margin-top: 14px; font-size: 14px; }
.market-link a, .side-link a { text-underline-offset: 4px; }
.partner-cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.partner-cta .cta-row { margin-top: 0; }
.notice { margin-top: 28px; font-size: 13px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line-strong); max-width: 60em; }
.poland { background: var(--paper); }
.gis { border: 1px solid var(--ink); border-left-width: 4px; background: var(--white); padding: clamp(24px, 3vw, 40px); margin-bottom: clamp(40px, 5vw, 64px); max-width: 64em; }
.gis p:not(.src-refs) { font-size: 17px; }
.pl-stages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-bottom: clamp(40px, 5vw, 64px); }
.pl-stages li { padding: 22px 24px 20px 0; border-bottom: 1px solid var(--line); }
.pl-stages li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.support { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); }
.subhead { margin-bottom: 18px; }
.launch { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--bg); max-width: 64em; }
.src-refs { margin-top: 10px; font-size: 12px; color: var(--muted); }
.src-refs a { color: var(--muted); text-underline-offset: 3px; }
.sources-disclosure { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.sources { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.sources li { scroll-margin-top: 150px; }
.src-id { display: inline-block; min-width: 150px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.sources a { overflow-wrap: anywhere; }

/* ---------- production integration (V3) ---------- */
.ops-table { min-width: 680px; }
.ops-table tbody th { width: 24%; }
.pack-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pack-grid .section-head { margin-bottom: 28px; }
.pack-items { margin: 0; border-top: 1px solid var(--line-strong); }
.pack-items div { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pack-items dt { font-weight: 700; color: var(--ink); }
.pack-items dd { margin: 0; font-size: 15px; }
.pack-figure { margin: 0; background: var(--white); padding: clamp(20px, 3vw, 40px); }
.pack-diagram { width: 100%; height: auto; max-width: 360px; display: block; margin: 0 auto; }
.pk-body { fill: #c9c9c6; stroke: #8d8d89; stroke-width: 1; }
.pk-cap { fill: #b3b3af; stroke: #8d8d89; stroke-width: 1; }
.pk-band { fill: var(--ink); }
.pk-floor { stroke: var(--line-strong); stroke-width: 1; }
.pk-label { font: 11px var(--font-ui); fill: var(--ink); }
.pack-figure figcaption { margin-top: 14px; font-size: 12px; color: var(--muted); }
.own-scope { margin-top: 12px; font-size: 14px; }
.context { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); max-width: 72em; }
.context > p:not(.eyebrow):not(.fine) { max-width: 46em; margin-bottom: 18px; }
.secondary-context { margin-top: 24px; }
.secondary-context .disclosure > summary { font-weight: 400; font-family: var(--font-editorial); font-size: 17px; }
.handoff { margin: clamp(8px, 2vw, 16px) 0 clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--white); }
.handoff-intro { max-width: 46em; }
.handoff-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin-top: 20px; }
.handoff-steps h4 { font-size: 15px; margin: 8px 0 6px; color: var(--ink); }
.handoff-steps p { font-size: 14px; }
.ff-module { padding-bottom: clamp(36px, 5vw, 56px); }
.ff-module > h2, .ff-module > h3 { font-family: var(--font-editorial); font-size: clamp(24px, 2.6vw, 34px); color: var(--invert); margin-bottom: 12px; }
.ff-intro { max-width: 46em; color: var(--invert-muted); margin-bottom: 24px; }
.ff-block h3, .ff-block h4 { font-family: var(--font-editorial); font-size: 20px; line-height: 1.25; color: var(--invert); margin-bottom: 10px; }
.ff-directions { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
.ff-scope-cta { margin: 0 0 clamp(40px, 5vw, 64px); }

/* ---------- FortFrisk contract page (review 2026-09-21) ---------- */
.ff-lead { font-family: var(--font-editorial); font-size: clamp(20px, 2vw, 26px); color: var(--invert); margin: -8px 0 18px; }
.ff-scope-note { margin-top: 14px; font-size: 14px; color: var(--invert-muted); }
.ff-relationship { max-width: 48em; padding: clamp(24px, 3vw, 36px); border-left: 3px solid var(--invert); background: rgba(242, 240, 234, .06); margin-bottom: clamp(40px, 5vw, 64px); }
.ff-relationship h2, .ff-relationship h3 { font-family: var(--font-editorial); font-size: 22px; color: var(--invert); margin-bottom: 10px; }
.ff-blocks.ff-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ff-model { max-width: 46em; margin-top: 20px; font-size: 14px; color: var(--invert-muted); }
.ff-page .fine { color: var(--invert-muted); }
.ff-gis { max-width: 46em; padding: 14px 18px; border: 1px solid var(--line-light); color: var(--invert); margin: 0 0 18px; }
.ff-faq .disclosure { border-bottom-color: var(--line-light); }
.ff-faq .disclosure > summary { color: var(--invert); }
.ff-faq .disclosure-toggle::before, .ff-faq .disclosure-toggle::after { background: var(--invert); }
.ff-faq .faq-item:first-of-type { border-top: 1px solid var(--line-light); }
.ff-contact { max-width: 48em; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-light); margin-top: clamp(24px, 3vw, 40px); }
.ff-contact h2, .ff-contact h3 { font-family: var(--font-editorial); font-size: clamp(24px, 2.4vw, 32px); color: var(--invert); margin-bottom: 12px; }
.ff-contact .fine { margin-top: 12px; }

/* ---------- process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.steps li { padding: 24px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.step-num { display: block; font-family: var(--font-editorial); font-size: 36px; color: var(--ink); letter-spacing: 0; line-height: 1; }

/* ---------- secondary range + brand ---------- */
.secondary-copy h2, .brand-copy h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.secondary-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.secondary-list li { background: var(--white); padding: 14px 10px 12px; font-size: 13px; text-align: center; }
.secondary-list .packshot { height: 120px; width: auto; margin: 0 auto 8px; object-fit: contain; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.contact .scene { margin-top: 28px; }
.contact h2 { font-size: clamp(32px, 4vw, 56px); }
.contact-mail { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- product pages ---------- */
.spec-remaining { margin-top: 14px; font-size: 15px; max-width: 46em; }
.product-page { padding: 28px 0 var(--section); }
.back { font-size: 13px; margin-bottom: 28px; }
.back a { text-decoration: none; }
.back a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); }
.product-hero h1 { font-family: var(--font-editorial); font-size: clamp(38px, 5vw, 72px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 24px; }
.product-hero-copy > p:not(.eyebrow):not(.lede) { margin-top: 16px; max-width: 40em; }
.product-hero-media { margin: 0; background: var(--white); padding: 24px; }
.product-hero-media .packshot { width: 100%; max-height: 520px; object-fit: contain; }
.product-layers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.product-page h2, .print-product h2 { font-family: var(--font-editorial); font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 20px; }
.components { margin: 0; border-top: 1px solid var(--line-strong); }
.components div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.components dt { font-weight: 700; color: var(--ink); }
.components dd { margin: 0; font-size: 15px; }
.facts-table { border-top: 1px solid var(--line-strong); }
.spec { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.spec .table-scroll { margin-top: 28px; }
.spec-table tbody th { width: 60%; font-weight: 400; color: var(--body); }
.allergen, .quality-note { margin-top: 28px; padding: 20px 22px; background: var(--white); max-width: 60em; }
.allergen { border-left: 3px solid var(--warn); }
.allergen h3, .quality-note h3 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-family: var(--font-ui); }
.related-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.section .related-row h2.eyebrow { margin: 0; font: 400 11px/1.4 var(--font-ui); letter-spacing: .18em; color: var(--muted); }
.related-link { display: flex; align-items: center; gap: 18px; text-decoration: none; font-size: 14px; color: var(--muted); }
.related-link strong { font-family: var(--font-editorial); font-weight: 400; font-size: 22px; color: var(--ink); }
.related-link .packshot { height: 96px; width: auto; }

/* ---------- FortFrisk own-brand page ---------- */
.ff-page { padding: 28px 0 var(--section); }
.ff-page .back a { color: var(--invert-muted); }
.ff-head { max-width: 900px; padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); }
.ff-head h1, .ff-print .ff-head h2 { font-family: var(--font-editorial); font-size: clamp(36px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.03em; color: var(--invert); margin-bottom: 24px; }
.ff-head .lede { color: var(--invert-muted); }
.ff-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 64px); }
.ff-block { border-top: 1px solid var(--line-light); padding-top: 20px; }
.ff-block h2, .ff-block h3 { font-family: var(--font-editorial); font-size: 22px; line-height: 1.25; color: var(--invert); margin-bottom: 12px; }
.ff-stages > h2, .ff-stages > h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--invert-muted); font-family: var(--font-ui); margin-bottom: 16px; }
.ff-page .boundary, .ff-print .boundary { margin-top: clamp(32px, 4vw, 56px); max-width: 40em; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- print view (screen) ---------- */
.print-cover { padding: clamp(48px, 7vw, 96px) 0; }
.print-cover h1 { font-family: var(--font-editorial); font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 24px; }
.print-cover-packs { display: flex; gap: 24px; margin: 40px 0 24px; }
.print-cover-packs .packshot { height: 260px; width: auto; }
.print-meta { font-size: 13px; color: var(--muted); }
.print-actions { margin-top: 24px; }
.print-product-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 40px; padding-bottom: 32px; }
.print-product-head figure { margin: 0; }
.print-product-head .packshot { max-height: 320px; width: auto; }

/* ---------- footer ---------- */
.footer { padding: 48px 0 64px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-note { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 46em; }
.footer-links { list-style: none; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-version { font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .flagships { grid-template-columns: 1fr; }
  .doc-grid, .stages, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .doc-grid li:nth-child(3), .stages li:nth-child(3), .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 130px; }
  .hero-grid, .research-grid, .production-foot, .contact-grid, .product-hero, .product-layers, .print-product-head { grid-template-columns: 1fr; }
  .terms, .market, .ff-blocks, .pack-grid { grid-template-columns: 1fr; }
  .ff-blocks.ff-four { grid-template-columns: 1fr 1fr; }
  .handoff-steps { grid-template-columns: 1fr 1fr; }
  .split-intro, .exclusivity, .parties, .partner-cta, .support, .media-head, .pair, .pair-reverse, .ff-top, .ff-stage-row { grid-template-columns: 1fr; }
  .media-head .scene, .exclusivity .scene, .ff-top .scene, .ff-stage-row .scene { max-width: 420px; }
  .pair-reverse .scene { order: 2; }
  .scene-band img { aspect-ratio: 16 / 9; }
  .review-steps, .pl-stages { grid-template-columns: 1fr 1fr; }
  .pl-stages li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .pl-stages li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .product-hero-media { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ff-blocks.ff-four { grid-template-columns: 1fr; }
  .topbar-row:first-child { padding-top: 12px; padding-bottom: 6px; }
  .brand-sub { display: none; }
  .lang { font-size: 12px; }
  .lang-link { padding: 8px 5px; }
  .topbar-nav { gap: 16px; }
  .nav { gap: 18px; padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-cta { display: none; }
  .flagship { grid-template-columns: 1fr; }
  .flagship-media .packshot { max-height: 240px; margin: 0 auto; }
  .doc-grid, .stages, .steps { grid-template-columns: 1fr; }
  .doc-grid li + li, .stages li + li, .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stages li + li { border-top-color: var(--line-light); }
  .study-body { padding-left: 0; }
  .review-steps, .pl-stages, .handoff-steps { grid-template-columns: 1fr; }
  .pack-items div { grid-template-columns: 1fr; gap: 4px; }
  .pl-stages li:nth-child(even) { padding-left: 0; border-left: 0; }
  .src-id { display: block; min-width: 0; }
  .study-meta { grid-template-columns: 1fr 1fr; }
  .study-dose { grid-column: 1 / -1; }
  .components div { grid-template-columns: 1fr; gap: 4px; }
  .btn { width: 100%; justify-content: center; }
  .cta-row .text-link { width: 100%; text-align: center; }
  .print-cover-packs .packshot { height: 180px; }
}

/* ---------- print / PDF (A4) ---------- */
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  :root { --section: 0; }
  html { scroll-padding-top: 0; }
  body { background: #fff; font-size: 10pt; }
  .topbar, .skip, .print-actions, .cta-row, .back, .related, .nav-cta { display: none !important; }
  .draft-bar { background: none; border: 1px solid #999; margin: 0 0 6mm; }
  .wrap { max-width: none; padding: 0; }
  /* One page break per chapter only; everything else flows (no stacked breaks, no spill pages). */
  .section { border: 0; padding: 8mm 0 6mm; break-before: auto; background: none !important; }
  #products, .print-product, .research, #production, .partnership, .poland, .ff-print, #product-documentation, #packaging { break-before: page; padding-top: 0; }
  .print-product .product-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; padding: 3mm 0; }
  .section-alt, .research, .flagship, .market, .allergen, .quality-note, .note, .secondary-list li, .product-hero-media { background: #fff !important; }
  .print-cover { padding: 20mm 0 0; break-after: auto; }
  .print-cover h1 { font-size: 36pt; }
  .print-cover-packs .packshot { height: 90mm; }
  .section h2 { font-size: 22pt; }
  .section-intro, .lede { font-size: 11pt; }
  .flagships { grid-template-columns: 1fr 1fr; gap: 6mm; }
  .flagship { grid-template-columns: 1fr; break-inside: avoid; border: 1px solid var(--line); border-top: 2px solid var(--ink); }
  .flagship-media .packshot { max-height: 60mm; margin: 0 auto; }
  .table-scroll { overflow: visible; }
  .compare { min-width: 0; }
  table { font-size: 9.5pt; }
  th, td { padding: 2mm 4mm 2mm 0; }
  .disclosure > summary { min-height: 0; padding: 3mm 0 1mm; }
  .disclosure-body { padding-bottom: 4mm; }
  .product-layers { gap: 6mm; }
  .product-page h2, .print-product h2 { margin-bottom: 3mm; }
  .components div { padding: 2mm 0; }
  .allergen, .quality-note { margin-top: 4mm; padding: 3mm 4mm; }
  .ff-print .boundary { display: none; }
  .ops-table { min-width: 0; font-size: 8.8pt; }
  .ops-table th, .ops-table td { padding: 1.5mm 3mm 1.5mm 0; }
  .context { margin-top: 5mm; padding-top: 4mm; }
  .context h2 { font-size: 16pt; margin-bottom: 2mm; }
  .context .components div { padding: 1.2mm 0; }
  .context .components dd, .context > p { font-size: 9pt; }
  .print-product .components dd { font-size: 9pt; }
  .spec .table-scroll { margin-top: 3mm; }
  .print-product-head { padding-bottom: 4mm; }
  .print-product-head .packshot { max-height: 42mm; }
  .print-product-head .lede { font-size: 10.5pt; }
  .pack-grid { display: block; }
  .pack-figure { max-width: 95mm; margin-top: 4mm; }
  .fine, .spec-remaining, .context > .fine { break-before: avoid; page-break-before: avoid; }
  tbody tr:last-child, .components div:last-child { break-after: avoid; page-break-after: avoid; }
  .table-scroll, .components { break-after: avoid; }
  .pack-diagram { max-width: 60mm; }
  .handoff-steps { grid-template-columns: repeat(4, 1fr); }
  .handoff, .pack-figure { background: #fff !important; break-inside: avoid; }
  .ff-module > h3, .ff-block h4, .ff-block h3 { color: var(--ink) !important; }
  .ff-intro { color: var(--muted); }
  .ff-directions { grid-template-columns: repeat(3, 1fr); }
  .ff-scope-cta { display: none; }
  .ff-blocks.ff-four { grid-template-columns: repeat(4, 1fr); }
  .ff-lead, .ff-relationship h3, .ff-contact h3, .ff-gis { color: var(--ink) !important; }
  .ff-scope-note, .ff-model, .ff-print .fine { color: var(--muted); }
  .ff-relationship { background: none; border-left-color: var(--ink); }
  .ff-gis, .ff-contact { border-color: var(--line-strong); break-inside: avoid; }
  .ff-faq .disclosure > summary { color: var(--ink); }
  .ff-stages li { break-inside: avoid; }
  .ff-contact .cta-row { display: none; }
  .section { padding-bottom: 0; }
  .section > .wrap > :last-child, .ff-stages { margin-bottom: 0; padding-bottom: 0; }
  .ff-blocks { padding-bottom: 6mm; }
  .ff-head { padding: 0 0 6mm; }
  tr, .study, .doc-grid li, .stages li, .steps li, .term, .components div { break-inside: avoid; }
  thead { display: table-header-group; }
  .research-grid, .production-foot, .contact-grid, .product-layers { grid-template-columns: 1fr; }
  .scene { break-inside: avoid; }
  .scene img { max-height: 70mm; }
  .scene-band img, .scene-wide img { aspect-ratio: 21 / 9; max-height: 65mm; }
  .hero-media .scene img { max-height: 110mm; aspect-ratio: auto; }
  .media-head, .ff-top, .exclusivity { grid-template-columns: 2fr 1fr; }
  .pair, .pair-reverse { display: block; }
  .pair .scene { max-width: 110mm; margin-top: 5mm; }
  .pair-reverse .scene { margin: 0 0 4mm; }
  .ff-stage-row { grid-template-columns: 1fr; }
  .ff-stage-row .scene, .production-foot .scene { display: none; }
  .brand-row { margin-top: 6mm; }
  .study summary { padding: 3mm 0; }
  .study-toggle { display: none; }
  .study-body { padding-left: 0; }
  .production { color: #333; }
  .production h2, .production h3, .boundary, .ff-head h2, .ff-block h3 { color: var(--ink) !important; }
  .ff-head .lede, .ff-stages > h3 { color: var(--muted); }
  .ff-block { border-top-color: var(--line-strong); break-inside: avoid; }
  .ff-print .ff-head h2 { font-size: 22pt; }
  .production .eyebrow, .production .num, .production .section-intro { color: var(--muted); }
  .stages li + li { border-left-color: var(--line); }
  .stages { border-top-color: var(--line-strong); }
  .own-brand { border-color: var(--line); break-inside: avoid; }
  .doc-grid, .stages, .steps, .ff-stage-row .stages { grid-template-columns: repeat(4, 1fr); }
  .doc-grid li:nth-child(3), .stages li:nth-child(3), .steps li:nth-child(3), .ff-stage-row .stages li:nth-child(3) { padding-left: 4mm; border-left: 1px solid var(--line); }
  .doc-grid li, .stages li { padding: 3mm 3mm 2mm 0; }
  .doc-grid li + li, .stages li + li { padding-left: 3mm; }
  .doc-grid h3, .stages h3 { margin: 2mm 0; font-size: 10pt; }
  .doc-grid p, .stages p { font-size: 9pt; }
  .notice { break-before: avoid; page-break-before: avoid; break-inside: avoid; }
  p, li, dd { orphans: 3; widows: 3; }
  .partner-cta { break-after: avoid; }
  .terms { grid-template-columns: repeat(3, 1fr); }
  .print-product-head { grid-template-columns: 3fr 1fr; }
  .print-product-head .packshot { max-height: 70mm; }
  .spec { break-before: auto; padding-top: 6mm; }
  .allergen, .quality-note { break-inside: avoid; }
  .section-head, .split-intro { break-after: avoid; }
  .print-product .product-layers { padding: 4mm 0; }
  .contact { break-before: auto; padding-top: 10mm; }
  .disclosure-toggle { display: none; }
  h2, h3, h4, .disclosure > summary { break-after: avoid; page-break-after: avoid; }
  .market, .partner-cta, .faq-item, .term { break-inside: avoid; }
  .faq-item, .pl-stages li, .review-steps li, .party dl div, .support-roles div, .gis, .launch, .protection { break-inside: avoid; }
  .goals { min-width: 0; }
  .protection { background: #fff !important; color: var(--body); border: 1px solid var(--ink); }
  .protection h3 { color: var(--ink); }
  .split-intro, .exclusivity, .partner-cta, .support { grid-template-columns: 1fr; }
  .pl-stages { grid-template-columns: repeat(2, 1fr); }
  .pl-stages li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .pl-stages li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .sources a::after { content: " (" attr(href) ")"; font-size: 8pt; color: var(--muted); overflow-wrap: anywhere; }
  .poland, .gis, .launch { background: #fff !important; }
  .footer { padding: 6mm 0 0; }
  a { text-decoration: none; }
}
