/* DELMONT · delmont.coffee — shared styles for every page in /site
   Tokens: delmont-design-system/tokens.css (Paper · Sand · Ink · Kraft · Rule · Brick + origin grounds). */
@font-face { font-family: "Aileron"; src: url("/fonts/Aileron-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("/fonts/Aileron-SemiBold.otf") format("opentype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("/fonts/Aileron-Black.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("/fonts/Aileron-Heavy.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Variable.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/OpenSans-Italic-Variable.ttf") format("truetype"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --bg: oklch(0.965 0.012 85);
  --surface: oklch(0.895 0.035 85);
  --fg: #14110f;
  --muted: oklch(0.490 0.020 70);
  --border: oklch(0.840 0.028 82);
  --accent: oklch(0.520 0.150 36);
  --accent-press: oklch(0.450 0.140 36);
  --paper-ink: #f5f3ef; --ink: #14110f; --smoke: #87847f; --hairline: #34312e; --board: #1b2621;
  --fg-soft: color-mix(in oklch, var(--fg) 6%, transparent);
  --kraft: oklch(0.700 0.070 68); --kraft-shade: oklch(0.620 0.070 66);
  --g-green: oklch(0.840 0.050 125); --g-berg: oklch(0.910 0.100 105); --g-caramel: oklch(0.800 0.100 70); --g-cherry: oklch(0.440 0.160 18); --g-cherry-muted: oklch(0.880 0.030 18);
  --font-display: "Aileron", "Archivo", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --container: 1160px; --gutter: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { text-wrap: pretty; margin: 0; } h1, h2, h3 { text-wrap: balance; margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* layout */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section + .section { border-top: 1px solid var(--border); }
.page-head { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--border); position: relative; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.narrow { max-width: 760px; }

/* type */
h1, h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; }
h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .9; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: .94; }
h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.05; }
.lead { font-size: 20px; line-height: 1.55; max-width: 50ch; }
.prose p, .prose li { max-width: 64ch; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 48px 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.muted { color: var(--muted); }
.echo { font-style: italic; color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.micro { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.corner { position: absolute; top: 20px; right: var(--gutter); }

/* nav */
.topnav { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.wordmark { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: .14em; text-decoration: none; }
.topnav nav { display: flex; gap: 2px; }
.topnav nav a { font-size: 15px; padding: 10px 12px; border-radius: 2px; text-decoration: none; }
.topnav nav a:hover { background: var(--fg-soft); }
.topnav nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--fg); }
.topnav nav a.lang { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; border: 1px solid var(--border); margin-left: 6px; display: inline-flex; align-items: center; min-height: 36px; }
.topnav nav a.lang:hover { border-color: var(--fg); }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--fg); border-radius: 2px; background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 0 14px; }
.menu-btn:hover { background: var(--fg-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 2px; border: 1px solid transparent; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .15s ease; }
.btn-primary { background: var(--accent); color: var(--paper-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn-primary:disabled { opacity: .5; cursor: wait; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-secondary:hover { background: var(--fg-soft); }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

/* media */
figure { margin: 0; }
figcaption { margin-top: 10px; }
.content-img { display: block; max-width: 100%; max-height: min(70vh, 620px); width: auto; height: auto; border-radius: 4px; }
.photo-slot { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; border: 1.5px dashed var(--fg); border-radius: 4px; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 24px; }
.photo-slot p { max-width: 24ch; }
.portrait { width: 100%; max-width: 420px; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* ledgers, facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; border-top: 1.5px solid var(--accent); padding-top: 24px; }
.facts b { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
.ledger { border-bottom: 1.5px solid var(--accent); }
.ledger-row { display: grid; grid-template-columns: 56px 1fr minmax(200px, 38%); gap: 28px; align-items: center; padding: 22px 0; border-top: 1.5px solid var(--accent); }
.ledger-row .desc { color: var(--muted); font-size: 15px; text-align: right; }
.ledger-row.plain { grid-template-columns: 180px 1fr minmax(200px, 38%); align-items: baseline; }
.chip { width: 44px; height: 44px; border-radius: 4px; border: 1px solid color-mix(in oklch, var(--fg) 22%, transparent); }
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.plain-list li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.quote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.01em; border-top: 1.5px solid var(--accent); padding-top: 24px; }
.paper-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 4px; background: var(--paper-ink); color: var(--ink); }
.parent-logo { --logo-h: 1.5rem; --_ih: calc(var(--logo-h) / 0.4015); --_iw: calc(var(--_ih) * 0.8); display: inline-block; height: var(--_ih); width: auto; margin: calc(-0.3785 * var(--_ih)) calc(-0.1731 * var(--_iw)) calc(-0.2200 * var(--_ih)) calc(-0.1324 * var(--_iw)); }

/* doors */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.door { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; padding: 22px; border-radius: 4px; border: 1px solid color-mix(in oklch, var(--ink) 18%, transparent); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.door:hover { transform: translateY(-3px); box-shadow: 0 3px 0 var(--ink); }
.door .n { font-family: var(--font-mono); font-size: 12px; }
.door h3 { font-size: 22px; }
.door p { font-size: 15px; margin-top: 10px; }
.door .go { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.door.cherry { color: var(--paper-ink); }
.g-green { background: var(--g-green); } .g-caramel { background: var(--g-caramel); } .g-berg { background: var(--g-berg); } .g-cherry { background: var(--g-cherry); }

/* audience sections (parteneri) */
.aud { color: var(--ink); --muted: oklch(0.400 0.030 90); --accent: var(--ink); --border: color-mix(in oklch, var(--ink) 22%, transparent); }
.aud.g-cherry { color: var(--paper-ink); --fg: var(--paper-ink); --muted: var(--g-cherry-muted); --accent: var(--paper-ink); --border: color-mix(in oklch, var(--paper-ink) 28%, transparent); --fg-soft: color-mix(in oklch, var(--paper-ink) 10%, transparent); }
.aud .eyebrow { color: currentColor; }
.aud .ledger, .aud .ledger-row { border-color: currentColor; }
.section.aud + .section.aud { border-top: 0; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post { border: 1px solid var(--border); border-radius: 4px; padding: 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; }
a.post:hover { background: var(--fg-soft); }
.tag { justify-self: start; display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--muted); }
.entry { display: grid; grid-template-columns: 120px 1fr 110px; gap: 24px; align-items: baseline; padding: 20px 8px; border-top: 1.5px solid var(--accent); text-decoration: none; }
a.entry:hover { background: var(--fg-soft); }
.entry.soon h3 { color: var(--muted); }
.entry > :last-child { text-align: right; }

/* dark band + forms */
.night { background: var(--ink); color: var(--paper-ink); --fg: var(--paper-ink); --muted: var(--smoke); --border: var(--hairline); --surface: var(--board); --fg-soft: color-mix(in oklch, var(--paper-ink) 10%, transparent); }
.night .eyebrow { color: var(--paper-ink); }
.section.night + .section, .section + .section.night { border-top: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 28px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label small { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; font-size: 12px; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid color-mix(in oklch, var(--fg) 55%, transparent); border-radius: 2px; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.4; }
.input:hover { border-color: var(--fg); }
.input:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-color: var(--fg); }
textarea.input { min-height: 140px; resize: vertical; }
.input[aria-invalid="true"] { border: 2px dashed var(--fg); }
/* select — custom chevron, same box as the text fields */
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select option { background: var(--bg); color: var(--fg); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-size: 14px; min-height: 22px; }
.status.ok { border: 1.5px solid var(--fg); border-radius: 4px; padding: 14px 16px; font-size: 16px; }

/* supplier band + newsletter */
.supplier-band { padding-block: clamp(40px, 6vw, 64px); background: var(--surface); }
.supplier-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.supplier-row .cta-group { justify-content: flex-end; }
.news-form { display: grid; gap: 16px; border: 1px solid var(--border); border-radius: 4px; padding: 28px; background: var(--bg); }

/* packaging concept (CSS drawing of our own pouch — not a photo) */
.pouches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.pouch { --lot: var(--g-berg); --lot-fg: var(--ink); container-type: inline-size; position: relative; aspect-ratio: 5 / 8; width: 100%; background: var(--kraft); color: var(--ink); border-radius: 6px 6px 3px 3px; overflow: hidden; box-shadow: inset 0 -2.2cqw 0 var(--kraft-shade); }
.pouch.caramel { --lot: var(--g-caramel); }
.pouch.cherry { --lot: var(--g-cherry); --lot-fg: var(--paper-ink); }
.pouch::before { content: ''; position: absolute; left: 0; right: 0; top: 6.5%; border-top: 1px dashed color-mix(in oklch, var(--ink) 35%, transparent); }
.pouch .crimp { position: absolute; left: 0; right: 0; top: 0; height: 4%; background: repeating-linear-gradient(90deg, var(--kraft-shade) 0 3px, transparent 3px 6px); }
.pouch .valve { position: absolute; top: 10%; right: 8%; width: 10cqw; height: 10cqw; border-radius: 999px; border: 1.5px solid color-mix(in oklch, var(--ink) 45%, transparent); }
.pouch .label { position: absolute; left: 8%; right: 8%; top: 17%; background: var(--lot); color: var(--lot-fg); border-radius: 3px; padding: 5.5cqw; }
.pouch .brand { display: flex; justify-content: space-between; align-items: baseline; }
.pouch .brand b { font-family: var(--font-display); font-weight: 900; font-size: 5.4cqw; letter-spacing: .16em; }
.pouch .brand span { font-family: var(--font-mono); font-size: 3cqw; }
.pouch .origin { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 12cqw; line-height: .88; letter-spacing: -0.02em; margin: 8cqw 0 3cqw; }
.pouch .notes { font-family: var(--font-display); font-style: italic; font-size: 4.2cqw; }
.pouch .band { display: flex; justify-content: space-between; gap: 2cqw; border-top: 1.5px solid currentColor; margin-top: 5cqw; padding-top: 2.4cqw; font-family: var(--font-mono); font-size: 3.2cqw; }
.pouch .band b { font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; font-size: 3.2cqw; }
.pouch .window { position: absolute; left: 22%; right: 22%; bottom: 7%; height: 17%; border-radius: 999px; overflow: hidden; border: 1.5px solid color-mix(in oklch, var(--ink) 35%, transparent); }
.pouch .window img { width: 100%; height: 100%; object-fit: cover; object-position: 6% 50%; }
.pouch .net { position: absolute; left: 8%; bottom: 2.6%; font-family: var(--font-mono); font-size: 3.2cqw; }
.pouch .made { position: absolute; right: 8%; bottom: 2.6%; font-family: var(--font-display); font-weight: 600; font-size: 2.8cqw; letter-spacing: .14em; text-transform: uppercase; }
.concept-tag { position: absolute; top: 3%; left: 4%; z-index: 2; background: var(--ink); color: var(--paper-ink); font-family: var(--font-display); font-weight: 600; font-size: 3cqw; letter-spacing: .16em; text-transform: uppercase; padding: 1.2cqw 2.4cqw; border-radius: 2px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1.5px solid var(--accent); }
.spec-grid div { padding: 14px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.spec-grid div:nth-child(odd) { padding-right: 24px; }
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding: 26px 0; border-top: 1.5px solid var(--accent); }
.why:last-child { border-bottom: 1.5px solid var(--accent); }
.why h3 small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; border-top: 1.5px solid var(--accent); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }

/* hero wordmark · coffee branch (geometry in _generate-pages.py, motion in site.js via GSAP) */
.hero-mark { margin-bottom: clamp(40px, 6vw, 72px); }
.plant-mark { display: block; width: 100%; height: auto; overflow: visible; }
.pm-word { font-family: var(--font-display); font-weight: 900; font-size: 230px; fill: var(--fg); }
.plant .stem { fill: none; stroke: oklch(0.36 0.05 100); stroke-width: 4.5; stroke-linecap: round; }
.plant .leaf path:first-child { fill: oklch(0.46 0.09 125); }
.plant .leaf.dk path:first-child { fill: oklch(0.40 0.08 128); }
.plant .leaf .rib { fill: none; stroke: oklch(0.70 0.07 120); stroke-width: 1.1; opacity: .7; }
.plant .flower ellipse { fill: oklch(0.99 0.004 90); stroke: oklch(0.72 0.03 80); stroke-width: .8; }
.plant .flower .eye { fill: oklch(0.80 0.10 70); }
.plant .blooms .flower { opacity: 0; }
.plant .c-green { fill: oklch(0.66 0.13 128); }
.plant .c-mid { fill: oklch(0.72 0.14 62); }
.plant .c-ripe { fill: oklch(0.44 0.16 18); }
.plant .c-shine { fill: oklch(0.99 0.004 90); opacity: .45; }
.hero-mark { position: relative; }
.pm-wrap { position: relative; z-index: 5; transform-origin: 0 0; will-change: transform; }   /* falling cherries pass over the hero text */
/* the cup's footprint from the right edge of the screen (inset + width + a 16px breath) */
:root { --cup-right: clamp(16px, 4vw, 56px); --cup-w: clamp(48px, 5.5vw, 84px); --cup-space: calc(var(--cup-right) + var(--cup-w) + 16px); }
.brew { display: none; position: fixed; right: var(--cup-right); bottom: max(clamp(16px, 4vw, 48px), env(safe-area-inset-bottom)); z-index: 15; width: var(--cup-w); pointer-events: none; }
/* hero text + photo keep clear of the cup: extra right padding only where the page margin is narrower than the cup */
.hero-body { padding-right: max(var(--gutter), calc(var(--cup-space) - max(0px, (100vw - var(--container)) / 2))); }
.brew.on { display: block; }
/* a soft paper disc behind the cup so it reads over text and photos; it fades in and out with the cup */
.brew { isolation: isolate; }
.brew::before { content: ""; position: absolute; left: 50%; top: 52%; width: 168%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: color-mix(in oklch, var(--bg) 82%, transparent); border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.brew svg { display: block; width: 100%; height: auto; overflow: visible; }
.mug-glass { fill: color-mix(in oklch, var(--bg) 70%, transparent); }
.mug-cone { fill: var(--bg); }
.mug-rib { fill: none; stroke: var(--border); stroke-width: 1.5; }
.mug-drops ellipse { fill: oklch(0.33 0.05 55); opacity: 0; }
.mug-line { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mug-coffee { fill: oklch(0.33 0.05 55); }
.mug-steam { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.hero-title { font-size: clamp(40px, 5.4vw, 76px); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mark { visibility: hidden; }
}

/* 404 · the missing cup */
.lost { max-width: 340px; margin-inline: auto; text-align: center; }
.lost svg { display: block; width: 100%; height: auto; overflow: visible; }
.lost figcaption { margin-top: 14px; }
.lc-line { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lc-cone { fill: var(--bg); }
.lc-rib { fill: none; stroke: var(--border); stroke-width: 1.5; }
.lc-table { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; }
.lc-coffee, .lc-puddle, .lc-drops ellipse { fill: oklch(0.33 0.05 55); }
.lc-drops ellipse, .lc-glass, .lc-coffee { opacity: 0; }                    /* final (static) state: no cup, only the spill */
.lc-ghost { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; }

/* footer — ink ground, a kraft wordmark set edge to edge (SVG textLength keeps it exactly container-wide) */
.pagefoot { padding-block: clamp(64px, 8vw, 104px) 40px; font-size: 14px; border-top: 1px solid var(--border); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.foot-lede .micro { margin-bottom: 16px; }
.foot-line { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(28px, 3.4vw, 44px); line-height: .98; max-width: 14ch; text-wrap: balance; }
.foot-mail { margin-top: 28px; font-size: 17px; }
.foot-mail .js-mail { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.foot-mail .js-mail:hover { text-decoration-thickness: 2px; }
.foot-mail .muted a { color: var(--fg); text-underline-offset: 4px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-cols ul { list-style: none; margin: 16px 0 0; padding: 0; }
.foot-cols li + li { margin-top: 4px; }
.foot-cols a { display: inline-block; padding-block: 6px; text-decoration: none; font-size: 15px; color: var(--fg); }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-mark { display: block; width: 100%; height: auto; margin-top: clamp(56px, 8vw, 96px); overflow: visible; }
.foot-mark text { font-family: var(--font-display); font-weight: 900; font-size: 172px; fill: var(--kraft); }
.foot-base { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.foot-legal { max-width: 72ch; }
.foot-legal p + p { margin-top: 6px; }
.foot-end { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; flex: none; }
.pagefoot .sal { display: inline-block; border-radius: 2px; }
.pagefoot .sal img { width: 201px; height: auto; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--fg); border-radius: 2px; color: var(--fg); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: background .15s ease; }
.to-top:hover { background: var(--fg-soft); }

/* Lenis smooth scroll (vendor/lenis.min.js, MIT) — rules from lenis@1.3.26/dist/lenis.css */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch], .lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }
html.lenis { scroll-behavior: auto; }   /* Lenis animates; native smooth scrolling would fight it */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 920px) {
  .split, .intro { grid-template-columns: 1fr; gap: 40px; }
  .doors { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; align-items: center; }
  .topnav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; }
  .topnav.open nav { display: flex; }
  .topnav nav a { padding: 12px 0; }
  .topnav nav a.lang { margin: 8px 0 0; padding: 8px 12px; align-self: flex-start; }
  .ledger-row { grid-template-columns: 44px 1fr; }
  .ledger-row.plain { grid-template-columns: 1fr; gap: 6px; }
  .ledger-row .desc { grid-column: 2; text-align: left; }
  .ledger-row.plain .desc { grid-column: 1; }
  .corner { display: none; }
  .supplier-row { grid-template-columns: 1fr; gap: 24px; }
  .pouches { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid div:nth-child(odd) { padding-right: 0; }
  .supplier-row .cta-group { justify-content: flex-start; }
  .photo-slot, .portrait { max-width: 320px; }
  .foot-top { grid-template-columns: 1fr; gap: 48px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .doors, .facts, .posts, .form, .steps { grid-template-columns: 1fr; }
  .pouches { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
  .spec-grid div { grid-template-columns: 1fr; gap: 2px; }
  .door { min-height: 0; }
  .plain-list li { grid-template-columns: 1fr; gap: 2px; }
  .entry { grid-template-columns: 1fr; gap: 4px; }
  .entry > :last-child { text-align: left; }
  .topnav-inner > .btn { display: none; }
}
