/* VPlus Packers & Closers — "the printed annual": black and crimson, STIX Two Text, one column line at 42%. */

:root {
  --bg: #0a0a0a;
  --surface: #151515;
  --surface-2: #232323;
  --ink: #efefef;
  --muted: #9a9a9a;
  --accent: #b11226;
  --accent-strong: #8e0d1d;
  --accent-ink: #ffffff;
  --field: #efefef;
  --field-ink: #0a0a0a;
  --field-muted: #4a4a4a;
  --field-tone: #dcdcdc;

  --font: "STIX Two Text", "Times New Roman", Georgia, serif;
  --step-small: clamp(0.875rem, 0.84rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(5.5rem, 12.5vw, 12rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: 8px;
  --axis: calc(42vw - var(--m));
  --section: clamp(96px, 11vw, 176px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.45;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
h2, h3 { font-weight: 400; letter-spacing: -0.026em; line-height: 1.1; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; background: var(--ink); color: var(--bg); padding: 12px 16px; z-index: 10; }
.skip:focus { top: var(--m); }
.wrap { padding-inline: var(--m); }
figcaption { font-size: var(--step-small); }

/* Pictures that drift against the scroll: the frame clips, the picture moves. */
.para { position: relative; overflow: hidden; }
.para img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero board ---------- */
.board {
  position: relative; z-index: 1; background: var(--bg);
  min-height: 100svh;
  padding: var(--m);
  display: grid;
  grid-template-rows: 60px 1fr;
  gap: var(--gap);
}
.tile { background: var(--surface); color: var(--ink); text-decoration: none; }
.bar { display: grid; grid-template-columns: 60px 1fr auto; gap: var(--gap); }
.logo {
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.04em;
}
.links { display: flex; align-items: center; }
.links ul { display: flex; gap: 32px; margin-left: calc(50vw - var(--m) - 68px); padding-right: 24px; }
.links a { text-decoration-line: underline; text-decoration-color: transparent; transition: text-decoration-color 200ms ease; }
.menu { display: none; }
.action {
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; padding: 0 28px;
  transition: background-color 200ms ease, transform 150ms var(--ease);
}
.action:active, .btn:active, .cell:active, .size-pick button:active { transform: scale(0.97); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  min-height: 0;
}
.name {
  background: var(--field); color: var(--field-ink);
  display: flex; align-items: flex-end; padding: 24px; overflow: hidden;
}
.name h1 { font-weight: 400; line-height: 0.9; }
.name .big { display: block; font-size: var(--step-display); letter-spacing: -0.05em; margin-left: -0.04em; }
.name .big span { display: inline-block; }
.name .sub { display: block; font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.2; margin-top: 12px; }
.photo { position: relative; overflow: hidden; background: var(--surface); }
.photo img, .photo .drift { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo img { object-fit: cover; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pair .tile { padding: 24px; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.dark { background: var(--surface); }
.accent {
  background: var(--accent); color: var(--accent-ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.accent .go { font-size: var(--step-body); text-decoration: underline; align-self: flex-start; padding-block: 6px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding-block: 22px; }
.track { display: flex; width: max-content; }
.track span { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.026em; white-space: nowrap; padding-right: 1.1em; }

/* ---------- Intro ---------- */
.intro {
  padding-block: var(--section) calc(var(--section) * 0.75);
  display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px;
}
.intro h2, .proof h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.intro-side { display: grid; gap: 32px; align-content: start; }
.intro-photo .para { aspect-ratio: 4 / 3; }
.intro-photo figcaption { margin-top: 10px; color: var(--muted); }
.intro .lead { font-size: var(--step-lead); line-height: 1.25; max-width: 40ch; }
.four {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px;
  margin-top: 64px;
}
.four p { line-height: 1.5; max-width: 38ch; }

/* ---------- Sinarline paper ---------- */
.paper { background: var(--field); color: var(--field-ink); padding-block: var(--section); }
.paper-head { margin-bottom: 64px; }
.paper h2, .paper .stand { margin-left: var(--axis); }
.stand { font-size: var(--step-lead); line-height: 1.25; max-width: 34ch; margin-top: 24px; }
.paper-body {
  display: grid; grid-template-columns: calc(var(--axis) - 24px) minmax(0, 300px) 1fr; gap: 32px 24px;
  grid-template-areas: "photo pick pick" "photo sheets spec" "photo cells cells"; grid-template-rows: auto auto 1fr; align-items: start;
}
.packshot { grid-area: photo; background: #ffffff; padding: clamp(24px, 4vw, 64px) clamp(16px, 2vw, 32px) 24px; align-self: stretch; display: grid; align-content: center; gap: 24px; }
.packshot img { width: 100%; max-width: 549px; margin-inline: auto; }
.packshot figcaption { color: var(--field-muted); }
.sheets { grid-area: sheets; }
.size-pick { grid-area: pick; display: flex; gap: var(--gap); }
.spec-wrap { grid-area: spec; }
.sizes .cells { grid-area: cells; }
.size-pick button {
  font: inherit; font-size: var(--step-body); min-width: 88px; min-height: 52px; padding: 0 20px;
  border: 0; border-radius: 0; cursor: pointer; background: var(--field-tone); color: var(--field-ink);
  transition: background-color 200ms ease, color 200ms ease, transform 150ms var(--ease);
}
.size-pick button[aria-pressed="true"] { background: var(--field-ink); color: var(--field); }
.sheets { background: var(--field-tone); padding: clamp(12px, 1.5vw, 24px); width: 100%; }
.sheets svg { display: block; width: 100%; height: auto; overflow: visible; }
.sheets g { transition: opacity 500ms var(--ease), transform 600ms var(--ease); transform-box: fill-box; transform-origin: 0 100%; }
.sheets text { font-family: var(--font); font-size: 24px; letter-spacing: -0.01em; }
.sheets text.dim { font-size: 14px; }
.a3 rect { fill: #ffffff; }
.a3 text { fill: var(--field-ink); }
.a4 rect { fill: var(--field-ink); }
.a4 text { fill: var(--field); }
.sizes[data-show="a4"] .a3 { opacity: 0.3; }
.sizes[data-show="a3"] .a4 { opacity: 0; transform: scale(0.92); }
.spec-wrap { display: grid; gap: 24px; align-content: start; max-width: 40rem; }
.spec { border-collapse: collapse; width: 100%; font-size: var(--step-body); }
.spec th, .spec td { text-align: left; padding: 10px 16px 10px 0; vertical-align: baseline; }
.spec thead th { font-weight: 400; color: var(--field-muted); font-size: var(--step-small); }
.spec tbody th { font-weight: 600; }
.spec tr { transition: opacity 300ms ease; }
.sizes[data-show="a4"] .spec [data-row="a3"], .sizes[data-show="a3"] .spec [data-row="a4"] { opacity: 0.4; }
.note { max-width: 40ch; }

/* ---------- Bottles: square plate, spare text ---------- */
.imports {
  display: grid; grid-template-columns: 42vw 1fr;
  min-height: 88svh;
  background: var(--surface);
}
.plate { padding: 40px var(--m); display: flex; align-items: center; }
.plate { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.plate figcaption { color: var(--muted); }
.plate .para { width: 100%; aspect-ratio: 1; }
.packtile { background: #ffffff; }
.packtile img { object-fit: contain; padding: 6%; }
.side {
  padding: 40px var(--m) 40px 0;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
}
.panel { max-width: 42ch; }
.panel ul { margin-top: 20px; }
.panel li { padding-block: 4px; }
.panel li::before, .beira-text li::before, .m-text li::before { content: "– "; opacity: 0.7; }
.panel .origin { margin-top: 20px; color: var(--muted); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.cell {
  min-height: 72px; display: flex; align-items: center; padding: 0 24px;
  text-decoration: none; transition: background-color 200ms ease, transform 150ms var(--ease);
}
.cell.ink { background: var(--ink); color: var(--bg); }
.paper .cell.ink { background: var(--field-ink); color: var(--field); }
.paper .cell.tone { background: var(--field-tone); color: var(--field-ink); }
.cell.tone { background: var(--surface-2); color: var(--ink); }
.cell.accent-cell { background: var(--accent); color: var(--accent-ink); }

/* ---------- Scrap: a held picture, then a sheet slides over it ---------- */
.beira-head { padding-block: var(--section) 64px; }
.beira-head { display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; align-items: end; }
.beira-head .stand { margin-top: 0; }
.held { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 0; }
.held img { width: 100%; height: 100%; object-fit: cover; }
.held figcaption {
  position: absolute; left: var(--m); bottom: var(--m);
  background: var(--bg); color: var(--ink); padding: 10px 14px;
}
.sheet { position: relative; z-index: 1; background: var(--bg); padding-block: var(--section); }
.sheet-grid { display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; align-items: start; }
.beira-photo .para { aspect-ratio: 4 / 5; }
.beira-photo figcaption { margin-top: 10px; color: var(--muted); }
.beira-text { display: grid; gap: 40px; }
.big-p { font-size: var(--step-lead); line-height: 1.3; max-width: 46ch; }
.beira-text ul li { padding-block: 5px; }
.beira-text ul { max-width: 46ch; }

/* ---------- Exports: field page with mosaic ---------- */
.exports { background: var(--field); color: var(--field-ink); padding-top: var(--section); }
.exports .head { margin-bottom: 64px; }
.exports h2, .exports .stand { margin-left: var(--axis); }
.mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(32rem, auto);
}
.m-photo { position: relative; overflow: hidden; background: var(--field-tone); }
.m-photo.wide { grid-column: span 2; }
.m-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.m-text { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.m-text.dark { background: var(--bg); color: var(--ink); }
.m-text.tone { background: var(--field-tone); color: var(--field-ink); }
.m-text li { padding-block: 3px; }
.m-text .quote { margin-top: auto; text-decoration: underline; padding-block: 8px; }

/* ---------- Produce: one wide picture, four labelled panels ---------- */
/* Labels sit under exact quarters of the picture, so the strip is not moved by the scroll effect. */
.strip img { width: 100%; height: auto; }
.produce-labels { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 16px; font-size: var(--step-body); }
.produce-labels span { padding-left: var(--m); }
.produce-text { display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; padding-block: 64px var(--section); }
.produce-side { display: grid; gap: 32px; }
.produce-side li { padding-block: 4px; }
.produce-side li::before { content: "– "; opacity: 0.7; }
.exports .cell.ink { background: var(--field-ink); color: var(--field); }
.exports .cell.tone { background: var(--field-tone); color: var(--field-ink); }

/* ---------- Partners: a wall of equal tiles ---------- */
.partners-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; min-width: 0; }
/* One light band holds every mark, the way a logo strip does; the marks are not boxed one by one. */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; background: var(--field); color: var(--field-ink); padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.partners li {
  display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; min-width: 0;
  transition: transform 250ms var(--ease);
}
.partners .mark { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; font-weight: 600; }
.partners .full { font-size: var(--step-small); color: var(--field-muted); max-width: 22ch; }
.partners img { max-width: 70%; max-height: 60%; object-fit: contain; }

/* ---------- Proof: plain names in columns ---------- */
.proof {
  padding-block: var(--section);
  display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px;
}
.names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: var(--step-body); line-height: 1.5; }
.names .kind { color: var(--muted); }
.names .gap { margin-top: 1.5em; }

/* ---------- Figures: a ledger column ---------- */
.figures {
  padding-block: var(--section); background: var(--surface);
  display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; align-items: center;
}
.figures h2 .soft { color: var(--muted); }
.figures h2 span { display: block; }
.ledger { display: grid; gap: 20px; }
.ledger div { display: grid; grid-template-columns: calc(var(--step-head) * 2.4) 1fr; gap: 32px; align-items: baseline; }
.ledger dt { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.ledger dd { max-width: 30ch; }

/* ---------- About: side facts, wide paragraph ---------- */
.about { padding-block: var(--section); }
.about .row { display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; }
.about .story { grid-column: 2; grid-row: 1; }
.about .facts { grid-column: 1; grid-row: 1; }
.facts { display: grid; gap: 20px; align-content: start; font-size: var(--step-small); }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); font-size: var(--step-body); }
.story h2 { margin-bottom: 32px; }
.story p { font-size: var(--step-lead); line-height: 1.35; max-width: 44ch; }
.routes { margin-top: 120px; }
.routes .word { font-size: var(--step-body); color: var(--muted); }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 64px; }
.lists h3 { margin-bottom: 16px; }
.route li { display: flex; justify-content: space-between; gap: 16px; padding-block: 5px; }
.route li span + span { color: var(--muted); text-align: right; }

/* ---------- Contact ---------- */
.contact { padding-block: var(--section); background: var(--bg); }
.contact > h2 { margin-left: var(--axis); margin-bottom: 56px; }
.contact .row { display: grid; grid-template-columns: calc(var(--axis) - 24px) 1fr; gap: 24px; align-items: start; }
.statement { font-size: var(--step-lead); line-height: 1.25; max-width: 32ch; }
.direct { margin-top: 48px; }
.direct h3 { font-size: var(--step-body); margin-bottom: 12px; }
.direct li { padding-block: 3px; }
.direct .addr { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.direct .addr a { color: var(--ink); }

.builder {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px;
  background: var(--surface); padding: clamp(20px, 3vw, 40px);
}
.builder .wide { grid-column: 1 / -1; }
.mode { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mode legend { padding: 0; margin-bottom: 10px; font-size: var(--step-small); color: var(--muted); width: 100%; }
.mode label {
  position: relative; cursor: pointer; padding: 12px 18px; background: var(--surface-2);
  transition: background-color 200ms ease, color 200ms ease;
}
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode label:has(input:checked) { background: var(--ink); color: var(--bg); }
.mode label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.f { display: grid; gap: 8px; font-size: var(--step-small); color: var(--muted); }
.f input, .f select {
  font: inherit; font-size: var(--step-body); color: var(--ink);
  background: var(--bg); border: 0; border-radius: 0; padding: 12px 14px; min-height: 52px; width: 100%;
  transition: background-color 200ms ease;
}
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23efefef' stroke-width='1.6'/%3E%3C/svg%3E"); background-position: calc(100% - 16px) 50%; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 40px; }
.f input:focus, .f select:focus { background-color: var(--surface-2); }
.preview { background: var(--bg); padding: 18px; }
.pv-h { font-size: var(--step-small); color: var(--muted); margin-bottom: 8px; }
.pv { white-space: pre-line; }
.send { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.btn {
  min-height: 60px; display: flex; align-items: center; justify-content: center; padding: 0 20px;
  text-decoration: none; text-align: center;
  transition: background-color 200ms ease, transform 150ms var(--ease);
}
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.tone { background: var(--surface-2); color: var(--ink); }

/* ---------- Footer: curtain ---------- */
main { position: relative; z-index: 1; background: var(--bg); }
.foot {
  position: sticky; bottom: 0; z-index: 0;
  min-height: 100svh;
  background: var(--field); color: var(--field-ink);
  padding: 40px var(--m) 20px;
  display: grid; grid-template-rows: auto 1fr; gap: 40px;
}
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: var(--step-small); }
.foot-cols .first { color: var(--field-ink); font-weight: 600; margin-bottom: 6px; }
.foot-cols p, .foot-cols li { color: var(--field-muted); }
.foot-cols li { padding-block: 2px; }
.foot-end { align-self: end; }
.wordmark { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark text { font-family: var(--font); font-size: 352px; fill: var(--field-ink); }
.legal { font-size: var(--step-small); margin-top: 20px; }

.wa-float { display: none; }

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .links a:hover, .foot a:hover { text-decoration-color: currentColor; }
  .action:hover, .btn.accent:hover, .cell.accent-cell:hover { background: var(--accent-strong); }
  .accent .go:hover { text-decoration-thickness: 2px; }
  .cell.ink:hover { background: #ffffff; }
  .paper .cell.ink:hover { background: #2a2a2a; }
  .paper .cell.tone:hover, .size-pick button:not([aria-pressed="true"]):hover { background: #cbcbcb; }
  .cell.tone:hover, .btn.tone:hover, .mode label:hover { background: #2f2f2f; }
  .mode label:has(input:checked):hover { background: #ffffff; }
  .m-text .quote:hover { text-decoration-thickness: 2px; }
  .m-photo:hover img { transform: scale(1.05); }
  .partners li:hover { transform: translateY(-3px); }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Section entrances: heading, text, picture, staggered once. */
  .js .rise { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rise.is-in { opacity: 1; transform: none; }

  /* Hero: the name's letters rise, then the two pictures open like shutters. */
  .name .big span { animation: letter 1000ms var(--ease) both; animation-delay: calc(var(--n) * 70ms + 150ms); }
  .name .big span:nth-child(1) { --n: 0; }
  .name .big span:nth-child(2) { --n: 1; }
  .name .big span:nth-child(3) { --n: 2; }
  .name .big span:nth-child(4) { --n: 3; }
  .name .big span:nth-child(5) { --n: 4; }
  .name .sub, .pair .tile { animation: rise-in 900ms var(--ease) both; animation-delay: 600ms; }
  .pair .accent { animation-delay: 720ms; }
  @keyframes letter { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes rise-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease); }
  .js .shutter.two { transition-delay: 160ms; }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }

  .drift { animation: drift 26s ease-in-out infinite alternate; }

  @keyframes drift { from { transform: scale(1); } to { transform: scale(1.1) translateX(-3%); } }

  /* The product line runs sideways; it holds still while hovered. */
  .track { animation: marquee 48s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* Pictures in frames drift against the scroll where the browser supports scroll timelines. */
  @supports (animation-timeline: view()) {
    .para img { scale: 1.14; animation: para linear both; animation-timeline: view(); }
    @keyframes para { from { translate: 0 -6%; } to { translate: 0 6%; } }
    .held img { animation: held linear both; animation-timeline: view(); }
    @keyframes held { from { scale: 1.15; } to { scale: 1; } }
  }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 820px) {
  :root { --axis: 0px; }
  .links ul { margin-left: 24px; gap: 20px; }
  .intro, .figures, .paper-body, .sheet-grid, .beira-head { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .intro-side { gap: 24px; margin-bottom: 40px; }
  .paper h2, .paper .stand, .exports h2, .exports .stand, .beira-head h2, .beira-head .stand, .contact > h2 { margin-left: 0; }
  .paper-body { grid-template-columns: minmax(0, 300px) 1fr; grid-template-areas: "photo photo" "pick pick" "sheets spec" "cells cells"; grid-template-rows: none; }
  .about .story, .about .facts { grid-column: auto; grid-row: auto; }
  .facts { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
  .imports { grid-template-columns: 1fr; }
  .plate { padding: 16px var(--m) 0; }
  .side { padding: 32px var(--m) 40px; }
  .beira-photo .para { aspect-ratio: 16 / 10; }
  .held { height: 70svh; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .m-photo { aspect-ratio: 4 / 3; }
  .m-photo.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .m-text { grid-column: 1 / -1; }
  .proof, .about .row, .contact .row { grid-template-columns: 1fr; }
  .names { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .produce-text { grid-template-columns: 1fr; }
  .produce-labels { font-size: var(--step-small); }
  .routes { margin-top: 72px; }
  .lists { grid-template-columns: 1fr; gap: 40px; }
  .statement { max-width: 30ch; }
  .reach { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
  .direct { margin-top: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

@media (max-width: 640px) {
  .board { grid-template-rows: auto auto; padding: 16px; gap: 6px; min-height: 0; --gap: 6px; }
  .bar { grid-template-columns: 52px 1fr; position: relative; }
  .logo { height: 52px; }
  .action { display: none; }
  .links { flex-direction: column; align-items: stretch; }
  .menu {
    display: block; font: inherit; font-size: var(--step-body); color: var(--ink);
    background: none; border: 0; min-height: 52px; text-align: left; padding: 0 16px; cursor: pointer;
  }
  .links ul { display: none; flex-direction: column; gap: 0; margin: 0; padding: 0 16px 12px; }
  .links ul.open { display: flex; }
  .links li a { display: block; padding: 10px 0; }
  .hero { grid-template-columns: 1fr; grid-template-rows: none; }
  .name { min-height: 30svh; padding: 16px; }
  .name .big { font-size: 22vw; }
  .photo.one { aspect-ratio: 4 / 3; }
  .photo.two { aspect-ratio: 4 / 3; order: 3; }
  .pair .tile { font-size: 1.125rem; padding: 16px; min-height: 44vw; }
  .marquee { padding-block: 16px; }
  .four { grid-template-columns: 1fr; gap: 28px; }
  .paper-body { grid-template-columns: 1fr; grid-template-areas: "photo" "pick" "sheets" "spec" "cells"; }
  .sheets { max-width: 300px; }
  .cells, .send { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .mosaic { grid-template-columns: 1fr; }
  .names { grid-template-columns: 1fr; gap: 28px; font-size: 1.125rem; }
  .ledger { grid-template-columns: 1fr; }
  .ledger div { grid-template-columns: 1fr; gap: 4px; }
  .ledger dt { text-align: left; }
  .facts { grid-template-columns: 1fr 1fr; }
  .builder { grid-template-columns: 1fr; padding: 20px 16px; }
  .reach { grid-template-columns: 1fr; }
  .produce-labels span { padding: 0 16px; text-align: center; line-height: 1.3; }
  .direct { margin-top: 8px; }
  .foot-cols { font-size: 0.9375rem; }
  .wa-float {
    display: flex; align-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 5;
    min-height: 52px; padding: 0 20px; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  }
  .foot { padding-bottom: 88px; }
}

