/* Recupera v3 — light studio. Type: Noto Serif (the logo's face), Roboto (recupera.si), Roboto Mono (data). */
:root {
  --paper: #f3f5f4;
  --white: #ffffff;
  --ink: #0f1513;
  --ink-2: #36423d;
  --muted: #66736e;
  --line: rgba(15, 21, 19, 0.12);
  --line-2: rgba(15, 21, 19, 0.22);
  --lime: #a4c91c;        /* the logo */
  --lime-ink: #566e00;    /* lime for text on light: 4.9:1 on paper */
  --flame: #3d6bff;
  --serif: 'Noto Serif', Georgia, serif;
  --sans: 'Roboto', system-ui, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --nav-h: 72px;
  --act-h: 900vh;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime-ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
.hero .lead { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font: 500 1.05rem/1.3 var(--sans); }
.eyebrow { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-ink); margin-bottom: 20px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font: 500 0.85rem var(--sans); text-decoration: none; }
.skip:focus { top: 14px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px;
  border-radius: 999px; font: 500 0.95rem/1 var(--sans); text-decoration: none; letter-spacing: 0.01em;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #28332f; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ── nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(243, 245, 244, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
/* over the dark burner film the bar turns dark instead of a grey film */
.nav.scrolled.on-dark { background: rgba(12, 10, 9, 0.62); border-color: rgba(255, 255, 255, 0.08); }
.nav.on-dark .lang, .nav.on-dark .sound { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.nav.on-dark .bars i, .nav.on-dark .burger span { background: #fff; }
@media (min-width: 861px) {
  .nav.on-dark .nav-links a { color: rgba(255, 255, 255, 0.82); }
  .nav.on-dark .nav-links a:hover { color: #fff; }
  /* wide screens: a soft veil behind the act's text so particles never cross the words */
  .act-ui::before { content: ''; position: absolute; inset: 0 auto 0 0; width: min(620px, 48vw); pointer-events: none; opacity: 0; transition: opacity 0.6s; background: linear-gradient(90deg, rgba(243, 245, 244, 0.94) 0%, rgba(243, 245, 244, 0.8) 52%, rgba(243, 245, 244, 0) 100%); }
  .act-ui.is-veil::before { opacity: 1; }
  /* the paragraph beside a section title starts level with the title, not its eyebrow */
  .grid-2 > .sec-head + .prose { padding-top: 34px; }
}
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { font: 400 0.92rem var(--sans); text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { font: 500 0.72rem var(--mono); letter-spacing: 0.1em; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.lang:hover { border-color: var(--ink); }
.sound { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 13px; font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.sound:hover { border-color: var(--ink); }
.bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 3px; background: var(--ink); border-radius: 1px; transition: height 0.3s; }
.sound.is-on .bars i { animation: eq 1.1s ease-in-out infinite; background: var(--lime-ink); }
.sound.is-on .bars i:nth-child(2) { animation-delay: -0.3s; }
.sound.is-on .bars i:nth-child(3) { animation-delay: -0.6s; }
.sound.is-on .bars i:nth-child(4) { animation-delay: -0.85s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.burger { display: none; width: 42px; height: 42px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.25s, top 0.25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── act: one sticky 3D stage ── */
.act { position: relative; height: var(--act-h); }
.act-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 34%, #ffffff 0%, var(--paper) 58%, #e8ecea 100%);
}
#world { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.act-anchor { position: absolute; left: 0; width: 1px; height: 1px; top: calc((var(--act-h) - 100svh) * 0.34); }

.hero {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-rows: var(--nav-h) 1fr auto auto;
}
.hero > * { pointer-events: auto; }
.hero-copy { grid-row: 3; text-align: center; padding: 0 var(--gutter) clamp(22px, 4vh, 44px); }
.hero-title { font-size: clamp(2.5rem, 5.8vw, 5.6rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero .lead { max-width: 33em; margin: 18px auto 28px; color: var(--ink-2); font-weight: 300; font-size: clamp(1.02rem, 1.25vw, 1.15rem); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* the hero's data, set like the title block of the plant's ISO sheet */
.titleblock {
  grid-row: 4; display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.titleblock > div { padding: 12px 18px 14px; border-right: 1px solid var(--line); min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { font: 500 0.62rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.titleblock dd { font: 500 0.95rem/1.2 var(--mono); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tb-scroll dd { color: var(--lime-ink); }

/* real footage of the burners */
.flame-card {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(64px + clamp(22px, 4vh, 44px));
  width: clamp(116px, 9.5vw, 150px); border-radius: 14px; overflow: hidden; background: #0b0f12;
  box-shadow: 0 26px 50px -26px rgba(15, 21, 19, 0.55);
}
.flame-card video { width: 100%; aspect-ratio: 478 / 850; object-fit: cover; }
.flame-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 10px 9px; display: flex; gap: 7px; align-items: flex-start;
  font: 500 0.58rem/1.4 var(--mono); letter-spacing: 0.05em; color: #e6ebff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}
.live-dot { flex: none; width: 7px; height: 7px; margin-top: 2px; border-radius: 50%; background: var(--flame); }

/* act overlays */
.act-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.panel {
  position: absolute; left: var(--gutter); top: 50%; width: min(410px, 36vw);
  margin-top: -110px; opacity: 0; visibility: hidden;
}
.panel.is-on { visibility: visible; }
.panel h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.panel p:not(.eyebrow):not(.data) { color: var(--ink-2); margin-top: 14px; font-size: 1rem; }
.panel .eyebrow { margin-bottom: 16px; }
.panel .data { font: 500 0.95rem/1.3 var(--mono); color: var(--ink); margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.step-n { color: var(--ink); }

.rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px; pointer-events: auto;
  opacity: 0; transition: opacity 0.4s; visibility: hidden;
}
.rail.is-on { opacity: 1; visibility: visible; }
.rail button {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 6px 0;
  font: 500 0.66rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; cursor: pointer; transition: color 0.3s;
}
.rail button::after { content: ''; width: 16px; height: 1px; background: currentColor; transition: width 0.35s, background-color 0.35s; }
.rail button:hover, .rail button.is-active { color: var(--ink); }
.rail button.is-active::after { width: 34px; background: var(--lime-ink); }

.labels { position: absolute; inset: 0; }
/* --lift and --dx are set per frame so neighbouring labels never overlap or leave the screen */
.label { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.label > span {
  position: absolute; left: 0; bottom: var(--lift, 30px); transform: translateX(calc(-50% + var(--dx, 0px))); white-space: nowrap;
  font: 500 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px;
}
.label::before { content: ''; position: absolute; left: -0.5px; bottom: 0; width: 1px; height: var(--lift, 30px); background: var(--ink); opacity: 0.45; }
.label::after { content: ''; position: absolute; left: -3px; bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
/* the part the current step is about */
.label.is-active > span { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(164, 201, 28, 0.45); }
.label.is-active::before { opacity: 0.8; }
.label.is-active::after { width: 8px; height: 8px; left: -4px; bottom: -4px; box-shadow: 0 0 0 4px rgba(164, 201, 28, 0.3); }

/* ── sections ── */
.sec { padding: clamp(88px, 12vw, 168px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head h2 { max-width: 15em; }
.grid-2 { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.grid-media { grid-template-columns: 4fr 6fr; align-items: center; }
.prose p + p { margin-top: 16px; }
.prose, .lead-s { color: var(--ink-2); font-size: 1.06rem; font-weight: 300; }
.lead-s { margin-top: 22px; }
.sec-head + .media, .grid-2 + .media, .sec-head.wrap + .media { margin-top: clamp(40px, 6vw, 80px); }

.media { position: relative; }
.media video, .media img { width: 100%; border-radius: 16px; background: #dfe4e2; object-fit: cover; }
.media-wide video { aspect-ratio: 16 / 7.5; }
.media-tall video { aspect-ratio: 5 / 9; max-height: 78vh; }
.media figcaption, .drawing figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* the burner film: pinned, and the scroll pushes the camera into the flame */
.zoom { position: relative; height: 300vh; background: #0c0a09; color: #fff; }
.zoom + .sec { border-top: 0; }
.zoom-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.zoom-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c0a09;
  transform: scale(calc(1 + var(--q, 0) * 0.05)); transform-origin: 52% 32%;
}
.zoom-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 8, 7, 0.78) 0%, rgba(10, 8, 7, 0.34) 42%, rgba(10, 8, 7, 0) 68%),
    linear-gradient(0deg, rgba(10, 8, 7, 0.55) 0%, rgba(10, 8, 7, 0) 30%);
}
.zoom-copy { position: absolute; inset: 0; margin-inline: auto; }
.zoom-beat { --c: -50%; position: absolute; left: 0; top: 50%; max-width: 31rem; opacity: 0; transform: translate3d(0, calc(var(--c) + var(--y, 0px)), 0); will-change: opacity, transform; }
.zoom-beat .eyebrow { color: var(--lime); }
.zoom-beat h2 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.zoom-n { font: 300 clamp(3.6rem, 7.4vw, 6.8rem)/1 var(--serif); letter-spacing: -0.035em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.zoom-n span { font: 500 0.82rem/1 var(--mono); letter-spacing: 0.12em; color: var(--lime); }
.zoom-sub { margin-top: 18px; color: rgba(255, 255, 255, 0.8); font-weight: 300; font-size: 1.06rem; max-width: 24em; }
.zoom-stat { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; align-items: baseline; gap: 10px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.zoom-stat b { font: 500 1.05rem var(--mono); color: #fff; }
.zoom-foot { position: absolute; left: 0; right: 0; bottom: 26px; margin-inline: auto; display: flex; align-items: center; gap: 18px; }
.zoom-cap { display: flex; align-items: center; gap: 10px; font: 500 0.66rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.zoom-bar { margin-left: auto; flex: none; width: 120px; height: 1px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.zoom-bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--q, 0)); }
.reduced .zoom { height: auto; }
.reduced .zoom-stage { position: relative; }
.reduced .zoom-beat:first-child { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 8vw, 110px); }
.fact { border-top: 1px solid var(--line-2); padding-top: 22px; }
.fact-n { font: 300 clamp(3.4rem, 6vw, 5.6rem)/1 var(--serif); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.fact-n span { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-ink); }
.fact p:last-child { color: var(--ink-2); font-size: 0.98rem; max-width: 22em; }
.sec-about .media-wide { margin-top: clamp(56px, 8vw, 110px); }
.sec-products .media-wide { margin-top: clamp(56px, 8vw, 110px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.06em; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); }
.note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); max-width: 32em; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.products li {
  font: 300 clamp(1.6rem, 2.6vw, 2.4rem)/1.15 var(--serif); letter-spacing: -0.015em;
  padding: clamp(26px, 3.4vw, 44px) clamp(8px, 1.6vw, 24px) clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line-2);
}
.products li:not(:nth-child(3n + 1)) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }

.sec-ltc { background: var(--white); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 7vw, 96px); }
.pillar { border-top: 1px solid var(--line-2); padding-top: 22px; }
.pillar h3 { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-ink); margin-bottom: 18px; }
.pillar-n { font: 300 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -0.03em; margin-bottom: 12px; }
.pillar p:last-child { color: var(--ink-2); max-width: 24em; }
.drawing { margin-top: clamp(56px, 8vw, 110px); }
.drawing-open { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in; }
.drawing-open img { width: 100%; height: auto; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.drawing-open:hover img { transform: scale(1.015); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.cap-hint { margin-left: auto; color: var(--lime-ink); }
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; }
.viewer::backdrop { background: rgba(15, 21, 19, 0.6); }
.viewer-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; background: #fff; }
.viewer-stage.is-drag { cursor: grabbing; }
.viewer-stage img { position: absolute; left: 0; top: 0; width: 3000px; max-width: none; height: auto; transform-origin: 0 0; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; will-change: transform; }
.viewer-stage.is-anim img { transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
.viewer-tools { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 2; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line-2); box-shadow: 0 14px 34px -20px rgba(15, 21, 19, 0.55); }
.viewer-tools button { height: 44px; min-width: 44px; padding: 0 12px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.viewer-tools button:hover { background: rgba(15, 21, 19, 0.06); }
.viewer-fit { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.viewer-hint { position: fixed; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 66px); z-index: 2; transform: translateX(-50%); margin: 0; padding: 9px 14px; border-radius: 999px; background: rgba(15, 21, 19, 0.82); color: #fff; font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.06em; white-space: nowrap; pointer-events: none; transition: opacity 0.5s; }
.viewer-hint.is-gone { opacity: 0; }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-touch { display: none; } .hint-mouse { display: inline; } }
.viewer-close { position: fixed; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.92); cursor: pointer; }

/* equal cells, so logos of every shape sit on one calm grid */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; height: clamp(104px, 11vw, 140px); padding: 0 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos img { width: 100%; max-width: 168px; height: clamp(34px, 3.6vw, 46px); object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos img[src*="woite"] { height: clamp(48px, 5vw, 62px); } /* three lines of small type */

.contact { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); align-items: end; }
.contact h2 { margin-bottom: 32px; max-width: 12em; }
.mail { position: relative; display: inline-block; }
.mail-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 6; min-width: 288px; max-width: calc(100vw - 32px); padding: 6px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 22px 44px -26px rgba(15, 21, 19, 0.5);
}
.mail-menu a, .mail-menu button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 14px;
  border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none; font: 400 0.98rem/1.2 var(--sans); color: var(--ink); cursor: pointer;
}
.mail-menu a:hover, .mail-menu button:hover, .mail-menu a:focus-visible, .mail-menu button:focus-visible { background: rgba(15, 21, 19, 0.06); }
.mail-menu small { font: 400 0.74rem var(--mono); color: var(--muted); }
.mail-menu .is-done { color: var(--lime-ink); }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.contact-list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 500 0.7rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color 0.2s; }
.contact-list a:hover { text-decoration-color: var(--ink); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-in img { height: 40px; width: auto; }
.foot-tag { font: italic 300 1.05rem var(--serif); color: var(--lime-ink); }
.foot-copy { margin-left: auto; font: 400 0.8rem var(--mono); color: var(--muted); }
.foot-copy a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.foot-copy a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.foot-legal { flex-basis: 100%; font: 400 0.72rem/1.6 var(--mono); color: var(--muted); }
/* iOS Low Power Mode refuses muted autoplay; never show Safari's play glyph over the footage */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* intro: hidden only while the 3D load sequence runs */
.js-intro .nav, .js-intro .hero-copy > *, .js-intro .titleblock > div, .js-intro .flame-card { opacity: 0; }

/* reduced motion: no scroll film; a still of the module and the steps as a list */
.static-process { display: none; }
.reduced .act { height: auto; }
.reduced .act-sticky { position: relative; }
.reduced .act-ui, .reduced .act-anchor { display: none; }
.reduced .static-process { display: block; }
.reduced .reveal { opacity: 1; transform: none; transition: none; }
.static-steps { margin-top: 28px; border-top: 1px solid var(--line-2); counter-reset: s; }
.static-steps li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.static-steps li::before { content: '0' counter(s); font: 500 0.75rem/1.9 var(--mono); color: var(--lime-ink); margin-right: 12px; }
.static-steps b { font-weight: 500; margin-right: auto; }
.static-steps span { font: 400 0.85rem/1.9 var(--mono); color: var(--muted); }

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .titleblock { grid-template-columns: repeat(3, 1fr); }
  .titleblock > div:nth-child(3) { border-right: 0; }
  .titleblock > div:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .flame-card { bottom: calc(128px + 24px); }
}
@media (max-width: 860px) {
  :root { --act-h: 700vh; --nav-h: 64px; }
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(243, 245, 244, 0.97); padding: 6px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.3s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-logo img { height: 38px; }
  .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sound { width: 38px; padding: 0; justify-content: center; }
  .grid-2, .grid-media, .contact { grid-template-columns: 1fr; }
  .facts, .pillars { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .products li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .products li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  /* phones: the three numbers that matter, small enough to fit */
  .tb-scroll, .titleblock > div:nth-child(1), .titleblock > div:nth-child(5) { display: none; }
  /* phones: the burner card shrinks to a live thumbnail beside the buttons */
  .flame-card { right: 10px; bottom: calc(56px + clamp(22px, 4vh, 44px)); width: clamp(52px, calc((100vw - 250px) / 2 - 8px), 76px); border-radius: 10px; }
  .flame-card figcaption { inset: 6px auto auto 6px; padding: 0; background: none; }
  .flame-card figcaption > span:last-child { display: none; }
  .flame-card .live-dot { box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.28); }
  .titleblock > div { border-bottom: 0 !important; padding: 10px 10px 12px; }
  .titleblock > div:nth-child(4) { border-right: 0; }
  .titleblock dt { font-size: 0.64rem; letter-spacing: 0.08em; margin-bottom: 6px; }
  .titleblock dd { font-size: 0.86rem; }
  .panel { left: var(--gutter); right: var(--gutter); top: auto; bottom: max(16px, env(safe-area-inset-bottom)); margin-top: 0; width: auto; padding: 16px 18px 18px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -28px rgba(15, 21, 19, 0.5); }
  .panel .eyebrow { margin-bottom: 10px; }
  .panel h2 { font-size: 1.55rem; }
  .panel p:not(.eyebrow):not(.data) { font-size: 0.95rem; line-height: 1.5; margin-top: 8px; font-weight: 400; }
  .panel .data { margin-top: 12px; padding-top: 10px; font-size: 0.9rem; }
  .rail { display: none; }
  /* phones get upright footage: portrait crops (data-src-m) in 4:5 frames */
  .media-wide video, .media-tall video { aspect-ratio: 4 / 5; max-height: none; }
  .media-tall video { object-position: 50% 0%; } /* keep the flame on top of the stack in frame */
  .zoom { height: 260vh; }
  .zoom-video { transform-origin: 50% 40%; }
  .zoom-shade { background: linear-gradient(0deg, rgba(10, 8, 7, 0.86) 0%, rgba(10, 8, 7, 0.5) 34%, rgba(10, 8, 7, 0) 58%); }
  .zoom-beat { --c: 0%; top: auto; bottom: 74px; max-width: none; }
  .zoom-beat h2 { font-size: 2.2rem; }
  .zoom-sub { font-size: 0.98rem; }
  .zoom-bar { width: 64px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logos li { height: 96px; }
  .logos li:last-child { grid-column: span 2; }
  .foot-copy { margin-left: 0; }

  /* phones: type that reads at arm's length – nothing under 10 px, body text one weight heavier */
  body { font-size: 16.5px; }
  .eyebrow { font-size: 0.78rem; margin-bottom: 16px; }
  h2 { font-size: 2.05rem; }
  .hero-title { font-size: clamp(2.6rem, 11.5vw, 3rem); }
  .hero .lead { font-size: 1.04rem; font-weight: 400; margin: 14px auto 22px; }
  .prose, .lead-s, .zoom-sub { font-weight: 400; font-size: 1rem; line-height: 1.62; }
  .media figcaption, .drawing figcaption, .zoom-cap { font-size: 0.72rem; line-height: 1.35; }
  .label > span { font-size: 0.72rem; padding: 7px 10px; }
  .contact-list dt { font-size: 0.74rem; }
  .contact-list > div { grid-template-columns: 6.6rem 1fr; gap: 12px; }
  .note { font-size: 0.9rem; }
  /* tighter rhythm: less scrolling between sections */
  .sec { padding: 72px 0; }
  .grid-2 { gap: 22px; }
  .sec-about .media-wide, .facts, .drawing { margin-top: 44px; }
  .products, .pillars, .logos { margin-top: 40px; }
  /* facts: number and its line side by side */
  .facts { gap: 0; }
  .fact { display: grid; grid-template-columns: 7.2rem 1fr; align-items: center; gap: 14px; padding: 18px 0; }
  .fact:last-child { border-bottom: 1px solid var(--line-2); }
  .fact-n { font-size: 2.9rem; margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .fact p:last-child { font-size: 0.98rem; line-height: 1.45; }
  .products li { font-size: 1.4rem; padding: 20px 10px 20px 0; }
  .products li:nth-child(2n) { padding-left: 16px; }
  .pillar { padding-top: 18px; }
  .pillar h3 { margin-bottom: 12px; }
  .pillar-n { font-size: 3rem; }
  .pillar p:last-child { font-size: 1rem; }
  .contact h2 { margin-bottom: 24px; }
  .foot { padding: 32px 0 40px; }
  .foot-in { gap: 14px 18px; }

  /* every control a thumb can hit: 44 px or more */
  .sound, .lang { height: 44px; min-width: 44px; }
  .sound { width: 44px; }
  .burger { width: 44px; height: 44px; }
  .nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-list dd a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .foot-copy a { display: inline-block; padding: 12px 2px; margin: -12px -2px; }
  /* small print stays small, but readable */
  .media figcaption, .drawing figcaption, .zoom-cap, .foot-legal { font-size: 0.76rem; }
  .pillar h3, .contact-list dt { font-size: 0.78rem; }
  .titleblock dt { font-size: 0.68rem; letter-spacing: 0.05em; }
  /* no hover on touch: partner logos sit a little stronger */
  .logos img { opacity: 0.9; }
}
/* real phones lose height to the browser bars: keep the hero copy compact so the emblem keeps its space */
@media (max-width: 860px) {
  .hero .btn { height: 48px; }
  /* always stacked and equal in both languages, so the burner card beside them never covers a button */
  .hero .cta { gap: 10px; flex-direction: column; align-items: center; }
  .hero .cta .btn { width: min(236px, calc(100vw - 2 * (clamp(52px, (100vw - 250px) / 2 - 8px, 76px) + 18px))); padding: 0 16px; justify-content: center; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .hero-copy .eyebrow { display: none; }
  .hero-title { font-size: clamp(2.1rem, 6.3svh, 2.7rem); }
  .hero .lead { font-size: 0.97rem; line-height: 1.5; margin: 10px auto 16px; }
  .hero .btn { height: 44px; padding: 0 22px; }
  .hero .cta { gap: 8px; }
  .hero-copy { padding-bottom: 16px; }
  .flame-card { bottom: calc(52px + 16px); }
}
@media (max-width: 380px) {
  .titleblock > div { padding: 10px 8px 12px; }
  .titleblock dt { font-size: 0.62rem; letter-spacing: 0.02em; white-space: nowrap; }
}
@media (max-width: 860px) and (max-height: 620px) {
  .hero .lead { display: none; }
  .hero-title { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sound.is-on .bars i { animation: none; height: 8px; }
}
