/* Kanagat Tagam — site.css (v2, dark)
   Motif: the logo's slanted bars (one bar = one shift / meal service) on a dark grid.
   Mobile-first. Sofia Sans Extra Condensed (display) + Sofia Sans (text): full Cyrillic incl. Kazakh. */

/* Self-hosted subsets. Standard (Russian/Kazakh) Cyrillic letterforms are baked into the cmap —
   the upstream default is Bulgarian forms, which Kazakh text (lang="kk") would otherwise get. */
@font-face { font-family: "Sofia Sans"; src: url("../fonts/sofia-sans.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Sans Extra Condensed"; src: url("../fonts/sofia-sans-xcond.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0F0C;
  --bg-2: #0E1511;
  --surface: #131C17;
  --surface-2: #19241E;
  --text: #EDF2EE;
  --text-2: #C7D1CB;
  --muted: #91A198;
  --line: rgba(237, 242, 238, .1);
  --line-strong: rgba(237, 242, 238, .24);
  --field: #2BA84A;
  --field-bright: #3FD26A;
  --field-glow: rgba(43, 168, 74, .22);
  --signal: #E53935;
  --on-field: #07110A;
  --paper: #F1F4EF;
  --ink: #101813;

  --f-display: "Sofia Sans Extra Condensed", "Sofia Sans Extra Condensed Variable", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-text: "Sofia Sans", "Sofia Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1360px;
  --sec: clamp(4.5rem, 10vw, 8.5rem);
  --skew: 7deg;
  --head-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --grid: linear-gradient(rgba(237, 242, 238, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 242, 238, .045) 1px, transparent 1px);
}
@media (min-width: 1024px) { :root { --head-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); background: var(--bg); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; overflow-wrap: break-word; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--field-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--field); color: var(--on-field); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--field); color: var(--on-field); padding: .75rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }
.center { text-align: center; }
.center .lead, .center .measure { margin-inline: auto; }

/* ---------- Type ---------- */
.d-xl, .d-l, .d-m, .d-s { font-family: var(--f-display); font-weight: 800; letter-spacing: -.005em; }
.d-xl { font-size: clamp(3.1rem, 1.6rem + 6.4vw, 8rem); line-height: .9; }
.d-l  { font-size: clamp(2.6rem, 1.7rem + 4.4vw, 5.75rem); line-height: .92; }
.d-m  { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 3rem); line-height: .98; }
.d-s  { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); line-height: 1.02; }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); line-height: 1.5; color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.5; }
.measure { max-width: 62ch; }
.num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.kicker { font-size: .9375rem; font-weight: 700; color: var(--field-bright); }
.prose { color: var(--text-2); }
.prose p + p { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; margin: 2.2em 0 .6em; color: var(--text); }
.prose a { color: var(--field-bright); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .55); }
.sec--alt { background: var(--bg-2); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 768px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.sec-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head > p { color: var(--text-2); max-width: 54ch; }
@media (min-width: 1024px) { .sec-head { grid-template-columns: 7fr 5fr; column-gap: 4rem; align-items: end; } .sec-head > p { padding-bottom: .4rem; } }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--rev { grid-template-columns: 7fr 5fr; }
  .split--center { align-items: center; }
  .sticky { position: sticky; top: calc(var(--head-h) + 2rem); }
}

/* Grid texture + glow (old-site atmosphere) */
.gridbg { position: relative; isolation: isolate; }
.gridbg::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: var(--grid); background-size: 60px 60px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 35%, transparent 100%); }
.glow { overflow-x: clip; }
.glow::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(900px, 120vw); aspect-ratio: 1; left: var(--gx, 70%); top: var(--gy, 10%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--field-glow), transparent 70%); filter: blur(10px); }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Paper zones (light sections between dark ones) */
.paper { --bg: #F4F5F0; --bg-2: #EAEDE6; --surface: #FFFFFF; --surface-2: #EEF1EB; --text: #0E1612; --text-2: #39453F; --muted: #5C6962;
  --line: rgba(14, 22, 18, .1); --line-strong: rgba(14, 22, 18, .22); --field-bright: #1E8A3C; --field-glow: rgba(43, 168, 74, .12); --dim: rgba(14, 22, 18, .13);
  --grid: linear-gradient(rgba(14, 22, 18, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 22, 18, .05) 1px, transparent 1px);
  --input: #FFFFFF; --input-focus: #FFFFFF; --panel: #FFFFFF;
  position: relative; background: var(--bg); color: var(--text); color-scheme: light; }
.paper .form ::placeholder { color: #8A958F; }

/* ---------- Bars (logo motif) ---------- */
.bars { display: inline-flex; gap: .22em; height: 1em; align-items: stretch; }
.bars i { width: .27em; border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); }
.bars i:last-child { background: var(--signal); }
.bar-rule { display: flex; gap: 6px; height: 14px; margin-bottom: 1.25rem; }
.bar-rule i { width: 5px; border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); }
.bar-rule i:nth-child(n+4) { background: var(--line-strong); }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .875rem; font-weight: 600; color: var(--text-2); background: rgba(10, 15, 12, .5); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--field-bright); box-shadow: 0 0 10px var(--field-bright); }

.photo { border-radius: 8px; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-text); font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .3s, transform .25s var(--ease);
}
.btn--go { background: var(--field); color: var(--on-field); box-shadow: 0 10px 30px -12px rgba(43, 168, 74, .7); }
.btn--go:hover { background: var(--field-bright); box-shadow: 0 14px 40px -12px rgba(63, 210, 106, .75); }
.btn--line { border-color: var(--line-strong); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }
.link { color: var(--field-bright); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(63, 210, 106, .4); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.head { position: sticky; top: 0; z-index: 60; height: var(--head-h); background: rgba(10, 15, 12, .72); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.head.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 12, .86); }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand svg { width: 34px; height: auto; flex: none; }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5rem .2rem; position: relative; white-space: nowrap; color: var(--text-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--field-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head__cta { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: clamp(.9rem, 1.6vw, 1.6rem); margin-right: 1rem; }
  .head__cta { display: inline-flex; min-height: 44px; padding: .55rem 1.2rem; }
  .burger { display: none !important; }
}
.lang-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); flex: none; }
.lang-toggle button { border: 0; background: transparent; min-width: 38px; min-height: 34px; padding: 0 .55rem; border-radius: 999px; font-weight: 700; font-size: .8125rem; letter-spacing: .02em; color: var(--muted); }
.lang-toggle button.is-active { background: var(--field); color: var(--on-field); }
.lang-slot { display: flex; align-items: center; }
.burger { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); flex: none; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 400px) { .head .wrap { gap: .5rem; } .brand { gap: .5rem; } .brand span { font-size: 1.25rem; } .brand svg { width: 28px; } .lang-toggle button { min-width: 30px; min-height: 32px; padding: 0 .3rem; } .burger { width: 42px; height: 42px; } }

.sheet { position: fixed; inset: var(--head-h) 0 0 0; z-index: 59; background: var(--bg); background-image: var(--grid); background-size: 60px 60px;
  display: flex; flex-direction: column; padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.menu-open .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.menu-open { overflow: hidden; }
.sheet nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); line-height: 1; }
.sheet nav a[aria-current="page"] { color: var(--field-bright); }
.sheet__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.sheet__foot a:not(.btn) { color: var(--muted); text-decoration: none; }
@media (min-width: 1100px) { .sheet { display: none; } }

/* ---------- Curtain (first visit per session) ---------- */
.no-curtain .curtain { display: none; }
.curtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; pointer-events: none; }
.curtain__p { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--bg); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
.curtain__p--t { top: 0; } .curtain__p--b { bottom: 0; }
.curtain__mark { position: relative; z-index: 1; display: grid; justify-items: center; gap: .9rem; transition: opacity .4s, transform .4s; }
.curtain__mark .bars { font-size: 3.2rem; }
.curtain__mark .bars i { animation: bar-load 1s var(--ease) infinite alternate; }
.curtain__mark .bars i:nth-child(2) { animation-delay: .1s; } .curtain__mark .bars i:nth-child(3) { animation-delay: .2s; } .curtain__mark .bars i:nth-child(4) { animation-delay: .3s; }
.curtain__mark span { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .01em; }
@keyframes bar-load { from { transform: skewX(var(--skew)) scaleY(.45); opacity: .6; } to { transform: skewX(var(--skew)) scaleY(1); opacity: 1; } }
.curtain.is-done .curtain__mark { opacity: 0; transform: translateY(-8px); }
.curtain.is-done .curtain__p--t { transform: translateY(-100%); }
.curtain.is-done .curtain__p--b { transform: translateY(100%); }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; --gx: 78%; --gy: 22%; }
.hero h1 { max-width: 18ch; position: relative; z-index: 2; }
.hero__foot { display: grid; gap: 1.75rem; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); position: relative; z-index: 2; }
.hero__foot .lead { max-width: 46ch; }
@media (min-width: 1024px) { .hero__foot { grid-template-columns: 1fr auto; align-items: end; column-gap: 4rem; } }
.cutouts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cutout { position: absolute; width: var(--w, 120px); left: var(--x); top: var(--y); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); will-change: transform; }
.cutout img { width: 100%; transform: rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: no-preference) { .cutout img { animation: floaty var(--d, 7s) ease-in-out infinite alternate; } }
@keyframes floaty { from { transform: rotate(var(--r, 0deg)) translateY(-6px); } to { transform: rotate(calc(var(--r, 0deg) + 4deg)) translateY(8px); } }
@media (max-width: 1199px) { .cutouts { display: none; } }
@media (min-width: 1200px) { .hero h1 { max-width: 17ch; } }

/* 24-hour shift track */
.track { margin: clamp(2.75rem, 6vw, 4.5rem) 0 0; position: relative; z-index: 2; }
.track figcaption { margin-bottom: 1rem; }
.track__bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: clamp(3px, .7vw, 10px); height: clamp(84px, 13vw, 160px); align-items: end; }
.track__bar { height: 100%; border-radius: 999px; background: rgba(237, 242, 238, .1); transform: skewX(var(--skew)); transform-origin: bottom; position: relative; }
.track__bar.is-meal { background: var(--field); box-shadow: 0 0 22px -6px rgba(43, 168, 74, .65); }
.track__bar.is-now { background: var(--signal); box-shadow: 0 0 26px -4px rgba(229, 57, 53, .8); }
.track__bar.is-now::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 2px solid var(--signal); opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .track.is-ready .track__bar { animation: bar-in .7s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
  .track__bar.is-now::after { animation: now-pulse 2.4s ease-in-out infinite; }
}
@keyframes bar-in { from { transform: skewX(var(--skew)) scaleY(.08); } to { transform: skewX(var(--skew)) scaleY(1); } }
@keyframes now-pulse { 0%, 100% { opacity: .1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.06); } }
.track__hours { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .7rem; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.track__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.track__now { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.track__now::before { content: ""; width: 10px; height: 18px; border-radius: 999px; background: var(--signal); transform: skewX(var(--skew)); box-shadow: 0 0 12px var(--signal); }
.track__now time { font-variant-numeric: tabular-nums; }
.track__legend { display: inline-flex; gap: 1.25rem; color: var(--muted); font-size: .9375rem; margin-left: auto; }
.track__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.track__legend span::before { content: ""; width: 7px; height: 14px; border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); }
.track__legend span + span::before { background: rgba(237, 242, 238, .16); }
@media (max-width: 599px) { .track__legend { margin-left: 0; width: 100%; } }

.ledger { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1.5px solid var(--text); margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 2; }
.ledger > div { padding: 1.1rem 0 .4rem; border-bottom: 1px solid var(--line); }
.ledger > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.ledger > div:nth-child(even) { padding-left: 1rem; }
.ledger .num { display: block; font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem); line-height: .95; }
.ledger span:not(.num) { display: block; color: var(--muted); font-size: .9375rem; margin-top: .25rem; }
@media (min-width: 900px) {
  .ledger { grid-template-columns: repeat(4, 1fr); }
  .ledger > div { border-bottom: 0; padding: 1.25rem 1.5rem .25rem !important; border-right: 1px solid var(--line) !important; }
  .ledger > div:first-child { padding-left: 0 !important; }
  .ledger > div:last-child { border-right: 0 !important; }
}

.creds { display: flex; flex-wrap: wrap; gap: .6rem; }
.creds li { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem .55rem .6rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9375rem; line-height: 1.2; color: var(--text-2); }
.creds b { display: inline-grid; place-items: center; min-width: 2.3rem; height: 1.7rem; padding: 0 .45rem; border-radius: 999px; background: rgba(43, 168, 74, .16); color: var(--field-bright); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }

/* Manifesto: scroll-scrubbed ink fill */
.manifesto > p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.04; max-width: 26ch; hyphens: manual; }
.js .manifesto > p[data-fill] { background-image: linear-gradient(100deg, var(--text) 45%, var(--dim, rgba(237, 242, 238, .16)) 55%); background-size: 240% 100%; background-position: var(--fill, 100%) 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (prefers-reduced-motion: reduce) { .js .manifesto > p[data-fill] { background: none; color: var(--text); -webkit-text-fill-color: currentColor; } }

/* ---------- Rows / ticks / steps / days ---------- */
.rows { border-top: 1.5px solid var(--text); }
.row { display: grid; gap: .5rem 2rem; padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.row h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); line-height: .98; transition: color .25s; }
.row p { color: var(--text-2); max-width: 58ch; }
.row__tag { font-size: .875rem; font-weight: 700; color: var(--field-bright); }
.row:hover h3 { color: var(--field-bright); }
@media (min-width: 900px) { .row { grid-template-columns: 9rem minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; padding: 1.9rem 0 2rem; } .row--2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.ticks { display: grid; border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 14px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 6px; height: 22px; margin-top: .2rem; border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); box-shadow: 0 0 12px -2px rgba(43, 168, 74, .7); }
.ticks h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.ticks p { color: var(--muted); margin-top: .2rem; }
@media (min-width: 768px) { .ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

.steps { display: grid; border-top: 1.5px solid var(--text); }
.step { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.step__k { grid-row: span 2; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.5rem); line-height: .85; color: var(--field-bright); min-width: 3.2ch; }
.step h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.step p { color: var(--muted); max-width: 52ch; }
@media (min-width: 1024px) {
  .steps--h { grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 0; }
  .steps--h .step { grid-template-columns: 1fr; grid-auto-rows: min-content; border-bottom: 0; border-top: 1.5px solid var(--text); padding: 1.4rem 1.5rem 0 0; position: relative; }
  .steps--h .step::before { content: ""; position: absolute; top: -9px; left: 0; width: 7px; height: 16px; border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); }
  .steps--h .step:last-child::before { background: var(--signal); }
  .steps--h .step__k { grid-row: auto; margin-bottom: .9rem; }
}

.days { position: relative; display: grid; }
.day { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.day__when { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--field-bright); }
.day h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.day p { color: var(--muted); margin-top: .2rem; }
.days__track { display: none; }
@media (min-width: 1024px) {
  .days { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .day { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
  .day__when { font-size: 2.4rem; margin-bottom: .6rem; }
  .days__track { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(8, 1fr); gap: 10px; height: 54px; margin-bottom: 1.75rem; }
  .days__track i { border-radius: 999px; background: var(--field); transform: skewX(var(--skew)); box-shadow: 0 0 20px -6px rgba(43, 168, 74, .7); }
  .days__track i:last-child { background: var(--signal); box-shadow: 0 0 22px -4px rgba(229, 57, 53, .7); }
}

/* ---------- Cases ---------- */
.cases { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { background: var(--surface); border-radius: 10px; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem; border: 1px solid var(--line); position: relative; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--field), transparent); }
.case__who { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.case__what { font-weight: 700; margin-top: .35rem; color: var(--field-bright); }
.case__metrics { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case__metrics div { flex: 1 1 auto; padding: .85rem .75rem .75rem 0; }
.case__metrics div + div { padding-left: .75rem; border-left: 1px solid var(--line); }
.case__metrics strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.35rem + .7vw, 2rem); line-height: 1; white-space: nowrap; }
.case__metrics span { display: block; font-size: .8125rem; color: var(--muted); margin-top: .3rem; line-height: 1.25; }
.case blockquote { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.55; }
.note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }

/* ---------- Bowl (meal sets) ---------- */
.bowl { overflow: hidden; --gx: 50%; --gy: 58%; }
.bowl__head { display: grid; justify-items: center; gap: 1.25rem; text-align: center; position: relative; z-index: 2; }
.bowl__titles { display: grid; }
.bowl__titles h2 { grid-area: 1 / 1; max-width: 24ch; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bowl__titles h2[aria-hidden="true"] { opacity: 0; transform: translateY(12px); pointer-events: none; }
.bowl__stage { position: relative; display: grid; justify-items: center; margin-top: clamp(2rem, 5vw, 3.5rem); }
.bowl__arc { position: absolute; z-index: 0; width: min(1150px, 150vw); left: 50%; top: 50%; transform: translate(-50%, -46%); pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 42%); mask-image: linear-gradient(to bottom, transparent 18%, #000 42%); }
.bowl__plate { position: relative; z-index: 2; width: min(420px, 78vw); aspect-ratio: 1; }
.bowl__ring { position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(237, 242, 238, .18); }
.bowl__img { position: absolute; inset: 0; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 10px rgba(237, 242, 238, .04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.bowl__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); }
.bowl__img[aria-hidden="true"] { opacity: 0; transform: rotate(-35deg) scale(.9); }
.bowl__nav { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(10, 15, 12, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateY(-50%); transition: background-color .2s, border-color .2s; }
.bowl__nav:hover { background: var(--field); border-color: var(--field); color: var(--on-field); }
.bowl__nav--prev { left: -24px; } .bowl__nav--next { right: -24px; }
.bowl__nav svg { width: 20px; height: 20px; }
.chips-set { display: contents; }
.chip { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem 1rem .35rem .35rem; border-radius: 999px; background: rgba(19, 28, 23, .85); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9); font-weight: 600; font-size: .9375rem; white-space: nowrap;
  transition: opacity .45s var(--ease), transform .55s var(--ease); }
.chip img { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.bowl__chips { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 2rem; width: 100%; max-width: 520px; }
.bowl__chips .chip[data-set] { white-space: normal; line-height: 1.2; }
.bowl[data-set="0"] .chip[data-set="1"], .bowl[data-set="1"] .chip[data-set="0"] { display: none; }
@media (min-width: 1024px) {
  .bowl__stage { grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(2rem, 5vw, 5rem); min-height: 520px; }
  .bowl__chips { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin: 0; max-width: none; width: auto; }
  .bowl__chips--l { justify-items: end; } .bowl__chips--r { justify-items: start; }
  .bowl__chips .chip:nth-child(3n+2) { transform: translateX(var(--o, -48px)); }
  .bowl__chips--r .chip:nth-child(3n+2) { --o: 48px; }
  .bowl__chips .chip { white-space: nowrap; }
  .bowl[data-set="0"] .chip[data-set="1"], .bowl[data-set="1"] .chip[data-set="0"] { display: none; }
}
.bowl__note { text-align: center; color: var(--muted); font-size: .9375rem; margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 52ch; position: relative; z-index: 2; }
@media (max-width: 1023px) { .bowl__chips { display: flex; flex-wrap: wrap; justify-content: center; } .bowl__chips--l { order: 2; } .bowl__chips--r { order: 3; margin-top: .6rem; } }
@media (max-width: 420px) { .bowl__nav--prev { left: -8px; } .bowl__nav--next { right: -8px; } .chip { font-size: .875rem; } .chip img { width: 32px; height: 32px; } }

/* ---------- Flick deck ---------- */
.deck-wrap { display: grid; justify-items: center; gap: 1.5rem; }
.deck { position: relative; width: min(340px, 82vw); aspect-ratio: 4 / 5; margin-top: 1rem; touch-action: pan-y; }
.flick { position: absolute; inset: 0; border-radius: 22px; background: var(--paper); color: var(--ink); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .5rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)); transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); user-select: none; -webkit-user-select: none; cursor: grab; }
.flick.is-drag { transition: none; cursor: grabbing; }
.flick__num { font-family: var(--f-display); font-weight: 800; font-size: 3.4rem; line-height: .9; color: var(--field); }
.flick__tag { font-weight: 700; font-size: .875rem; color: #1E7A3A; margin-top: auto; }
.flick h3 { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; line-height: .95; }
.flick p { color: #3A4741; font-size: 1rem; }
.flick::after { content: ""; position: absolute; top: 1.4rem; right: 1.4rem; width: 9px; height: 26px; border-radius: 999px; background: var(--signal); transform: skewX(var(--skew)); }
.deck-hint { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .9375rem; }
.deck-next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; }
.deck-next:hover { border-color: var(--field-bright); color: var(--field-bright); }

/* ---------- Action scrub (image grows to full width) ---------- */
.scrub { padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.scrub__frame { margin-inline: auto; width: calc(var(--sw, .72) * 100%); border-radius: calc(var(--sr, 1) * 28px); overflow: hidden; aspect-ratio: 16 / 8; transition: width .1s linear; }
.scrub__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - (var(--sw, .72) - .72) * .9)); }
@media (max-width: 767px) { .scrub__frame { aspect-ratio: 4 / 3; } }

/* ---------- Section spy ---------- */
.spy { display: none; }
@media (min-width: 1280px) {
  .spy { display: grid; gap: .6rem; position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 40; padding: .7rem .6rem; border-radius: 14px; background: rgba(10, 15, 12, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .4s var(--ease); }
  .spy.is-idle { opacity: 0; pointer-events: none; }
  .spy button { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; border: 0; background: none; padding: .15rem 0; color: var(--muted); font-size: .8125rem; font-weight: 600; opacity: .55; transition: opacity .25s, color .25s; }
  .spy button span:first-child { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
  .spy button::after { content: ""; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s var(--ease); }
  .spy:hover button span:first-child, .spy button.is-on span:first-child { opacity: 1; transform: none; }
  .spy button.is-on { color: var(--field-bright); opacity: 1; }
  .spy button.is-on::after { width: 34px; }
  .spy:hover button { opacity: 1; }
}

/* ---------- Bands ---------- */
.band { background: var(--bg-2); padding-block: var(--sec); position: relative; }
.band--go { background: var(--field); color: var(--on-field); }
.band--go .lead { color: #0F2A16; }
.band--go .btn--line { border-color: rgba(7, 17, 10, .35); color: var(--on-field); }
.band--go .btn--line:hover { border-color: var(--on-field); }
.cta { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cta { grid-template-columns: 1fr auto; align-items: end; column-gap: 4rem; } }
.cta__contacts { display: grid; gap: .35rem; font-weight: 700; font-size: 1.125rem; }
.cta__contacts a { text-decoration: none; }
.cta__contacts a:hover { text-decoration: underline; }

/* ---------- Page head with scattered photo cards ---------- */
.phead { position: relative; overflow: hidden; padding-top: clamp(9rem, 22vw, 12.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); --gx: 50%; --gy: 45%; }
.phead__inner { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; }
.phead__inner h1 { max-width: min(19ch, 100%); margin-top: 1.4rem; font-size: clamp(2.9rem, 1.4rem + 5.2vw, 6.75rem); }
.phead__inner .lead { margin-top: 1.5rem; max-width: 52ch; }
.phead__inner .btn-row { margin-top: 2rem; justify-content: center; }
.scatter { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.card { position: absolute; left: var(--x); top: var(--y); width: var(--w, clamp(120px, 13vw, 230px)); aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; border: 4px solid rgba(237, 242, 238, .06);
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .8); background: var(--surface); transform: translate(var(--px, 0), var(--py, 0)) rotate(var(--r, 0deg)); filter: brightness(.8) saturate(.9); will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1199px) { .card--side { display: none; } }
@media (max-width: 767px) {
  .phead { padding-top: clamp(8rem, 40vw, 10rem); }
  .card { --w: 30vw !important; left: var(--xm, var(--x)); top: var(--ym, var(--y)); filter: brightness(.7) saturate(.85); }
  .card--opt { display: none; }
}

/* ---------- Region list / misc lists ---------- */
.regions { display: grid; border-top: 1.5px solid var(--text); }
.regions li { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.regions b { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1; }
.regions span { color: var(--muted); }
@media (min-width: 640px) { .regions li { grid-template-columns: 11rem 1fr; align-items: baseline; } }
@media (min-width: 1024px) { .regions { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.mosaic { display: grid; gap: clamp(8px, 1.2vw, 14px); grid-template-columns: 1fr 1fr; }
.mosaic .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic .photo { aspect-ratio: 1; }

/* Weekly menu */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; min-height: 42px; padding: .45rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--field); color: var(--on-field); }
[role="tabpanel"][hidden] { display: none; }
.week { margin-top: 1.75rem; }
.meals { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 1.5rem; }
@media (min-width: 768px) { .meals { grid-template-columns: repeat(3, 1fr); } }
.meal { background: var(--surface); padding: 1.4rem 1.4rem 1.5rem; }
.meal h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.meal h3 i { font-style: normal; }
.meal h3 span { font-family: var(--f-text); font-size: .875rem; font-weight: 700; color: var(--field-bright); white-space: nowrap; }
.meal ul { margin-top: 1rem; display: grid; gap: .4rem; }
.meal li { color: var(--text-2); }

.types { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 640px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .types { grid-template-columns: repeat(3, 1fr); } }
.type { display: grid; gap: 1rem; }
.type .photo { aspect-ratio: 4 / 3; }
.type .photo img { transition: transform .8s var(--ease); }
.type:hover .photo img { transform: scale(1.05); }
.type__k { font-size: .875rem; font-weight: 700; color: var(--field-bright); }
.type h3 { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; margin-top: .2rem; }
.type p { color: var(--muted); margin-top: .35rem; }

.partners { display: grid; border-top: 1.5px solid var(--text); }
@media (min-width: 640px) { .partners { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 1024px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.partner__mark { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--field-bright); font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; }
.partner h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.partner p { color: var(--muted); margin-top: .3rem; font-size: .9375rem; }

.faq { border-top: 1.5px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 2.5rem; gap: 1rem; align-items: center; padding: 1.4rem 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; justify-self: end; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--text), var(--text)) center / 14px 2px no-repeat, linear-gradient(var(--text), var(--text)) center / 2px 14px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--field); border-color: var(--field); }
.faq details > div { padding: 0 0 1.6rem; max-width: 68ch; color: var(--text-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; text-align: left; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field > span { font-weight: 700; font-size: .9375rem; color: var(--text-2); }
.form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .form select, .form textarea {
  width: 100%; min-height: 52px; padding: .8rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--input, rgba(237, 242, 238, .04));
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form select option { background: var(--surface); color: var(--text); }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--field-bright); background-color: var(--input-focus, rgba(237, 242, 238, .07)); box-shadow: 0 0 0 4px rgba(63, 210, 106, .18); }
.form ::placeholder { color: #7D8C84; }
.form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
.paper .form input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__fine { font-size: .875rem; color: var(--muted); }
.form__fine a { color: var(--field-bright); }
.form-msg { font-weight: 700; min-height: 1.5em; }
.form-msg.is-success { color: var(--field-bright); }
.form-msg.is-error { color: #FF7A72; }
.panel { background: var(--panel, rgba(19, 28, 23, .82)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1rem .4rem .75rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--field); }
.checks label:has(input:checked) { border-color: var(--field); background: rgba(43, 168, 74, .14); }

.est { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .est { grid-template-columns: 5fr 7fr; column-gap: 3.5rem; align-items: start; } }
.est__out { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--text); }
.est__out div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.est__out div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.est__out div:nth-child(even) { padding-left: 1rem; }
.est__out strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--field-bright); }
.est__out span { color: var(--muted); font-size: .9375rem; }

.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; margin-top: 2rem; }
.quick a { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; text-decoration: none; padding: .4rem .6rem; }
.quick span { color: var(--muted); font-size: .875rem; }
.quick b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.05; }
.quick a:hover b { color: var(--field-bright); }

.roles { display: grid; border-top: 1.5px solid var(--text); }
@media (min-width: 768px) { .roles { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.role { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.role h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.role p { grid-column: 1 / -1; color: var(--muted); }
.role a { font-weight: 700; color: var(--field-bright); white-space: nowrap; font-size: .9375rem; }

/* ---------- Footer ---------- */
.foot { background: #070B09; color: var(--text); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); overflow: hidden; position: relative; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--field-bright); }
.foot__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .foot__top { grid-template-columns: 5fr 7fr; column-gap: 4rem; } }
.foot__brand .bars { font-size: 3.2rem; }
.foot__brand p { margin-top: 1.25rem; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.05; max-width: 18ch; }
.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } }
.foot h2 { font-family: var(--f-text); font-size: .9375rem; font-weight: 700; color: var(--muted); margin-bottom: .9rem; }
.foot li { color: var(--text-2); }
.foot li + li { margin-top: .5rem; }
.foot__word { font-family: var(--f-display); font-weight: 900; font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 4.85); overflow: hidden; line-height: .8; letter-spacing: -.01em; text-align: center; white-space: nowrap; margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(180deg, rgba(237, 242, 238, .95) 20%, rgba(43, 168, 74, .55) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; user-select: none; }
.foot__base { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.foot__base nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Floating WhatsApp + cookie ---------- */
.wa { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--field); color: var(--on-field); box-shadow: 0 10px 30px -8px rgba(43, 168, 74, .8); transition: transform .2s var(--ease); }
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 28px; height: 28px; }
.menu-open .wa { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1rem 1rem 1rem 1.25rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: .9375rem; line-height: 1.45; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.cookie p { flex: 1 1 260px; }
.cookie a { color: var(--field-bright); }
.cookie button { border: 0; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: var(--field); color: var(--on-field); font-weight: 700; }

/* ---------- 404 ---------- */
.nf .d-xl { color: var(--field-bright); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .fx-canvas { display: none; } }
@media print { .head, .sheet, .wa, .cookie, .spy, .scatter, .cutouts, .fx-canvas, .curtain { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Page-header art ---------- */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; }
.draw.d2 { animation-delay: .5s; } .draw.d3 { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 1 · Steppe horizon with Aktau-time sky */
.phead--horizon { padding-bottom: clamp(11rem, 24vw, 19rem); }
.horizon { position: absolute; inset: 0; z-index: 1; pointer-events: none; --sky: rgba(43, 168, 74, .14); --orb: #EDF2EE; --win: .9; }
.horizon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 100%, var(--sky), transparent 70%); transition: background 1s; }
.horizon svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(170px, 26vw, 320px); stroke: rgba(237, 242, 238, .38); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.horizon[data-phase="dawn"] { --sky: rgba(255, 146, 64, .26); --orb: #FFB061; --win: .6; }
.horizon[data-phase="day"] { --sky: rgba(140, 214, 180, .16); --orb: #FFF4D6; --win: 0; }
.horizon[data-phase="dusk"] { --sky: rgba(229, 57, 53, .24); --orb: #FF7A52; --win: .8; }
.hz-orb { fill: var(--orb); stroke: none; transform: translate(800px, 150px); transition: transform 1.2s var(--ease); }
.hz-orb__halo { fill: var(--orb); opacity: .1; }
.horizon[data-phase="night"] .hz-orb { transform: translate(1290px, 70px); }
.horizon[data-phase="night"] .hz-orb circle:first-child { fill: #DDE6E0; }
.horizon[data-phase="dawn"] .hz-orb { transform: translate(330px, 168px); }
.horizon[data-phase="day"] .hz-orb { transform: translate(760px, 40px); }
.horizon[data-phase="dusk"] .hz-orb { transform: translate(1350px, 160px); }
.hz-fill { fill: #0A0F0C; stroke: none; }
.hz-far { stroke: rgba(237, 242, 238, .5); }
.hz-strata { stroke: rgba(237, 242, 238, .2); }
.hz-sleepers { stroke: rgba(237, 242, 238, .3); stroke-width: 5; stroke-dasharray: 1.4 9; stroke-linecap: butt; }
.hz-road { stroke-dasharray: 14 12; stroke: rgba(237, 242, 238, .26); animation: none; stroke-dashoffset: 0; }
.hz-camp { stroke: rgba(237, 242, 238, .55); }
.hz-win { fill: #FFC266; stroke: none; opacity: var(--win); filter: drop-shadow(0 0 4px #FFC266); transition: opacity 1s; }
.hz-puffs circle { fill: rgba(237, 242, 238, .35); stroke: none; animation: puff 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hz-puffs circle:nth-child(2) { animation-delay: 1.2s; } .hz-puffs circle:nth-child(3) { animation-delay: 2.4s; }
@keyframes puff { 0% { opacity: .5; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(14px, -46px) scale(2.6); } }
.hz-truck { stroke: none; animation: drive 16s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes drive { 0% { transform: translateX(-140px); } 58%, 100% { transform: translateX(1000px); } }
.hz-box { fill: #EDF2EE; } .hz-cab { fill: #2BA84A; } .hz-glass { fill: #0A0F0C; opacity: .7; }
.hz-logo rect { fill: #2BA84A; } .hz-logo rect.r { fill: #E53935; }
.hz-wheel { fill: #0A0F0C; stroke: rgba(237, 242, 238, .7); stroke-width: 2; }
.hz-beam { fill: #FFE7A8; opacity: calc(var(--win) * .22); }

/* 2 · 3D tray that builds itself */
.tray3d { margin-top: clamp(1.5rem, 4vw, 3rem); width: min(640px, 92vw); perspective: 1500px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tray3d:active { cursor: grabbing; }
.tray3d__spin { transform: rotateX(var(--tilt, 56deg)) rotateZ(var(--rz, -14deg)); transform-style: preserve-3d; }
.tray3d__tray { position: relative; aspect-ratio: 845 / 587; border-radius: 5% / 7%; background: linear-gradient(140deg, #FAFAF6, #E6E7E1); transform-style: preserve-3d;
  box-shadow: inset 0 0 0 10px #F2F2EE, inset 0 0 0 11px rgba(0, 0, 0, .06), 0 2px 0 #D9DAD3, 0 4px 0 #CBCCC5, 0 6px 0 #BDBEB7, 0 50px 70px -20px rgba(0, 0, 0, .8); }
.tray3d__item { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(2px); transform-style: preserve-3d; opacity: 0; }
.tray3d__item img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 10px 16px -6px rgba(0, 0, 0, .45); }
.tray3d.is-on .tray3d__item { animation: drop .9s cubic-bezier(.3, 1.35, .5, 1) calc(.25s + var(--i) * .32s) forwards; }
@keyframes drop { 0% { opacity: 0; transform: translate(-50%, -50%) translateZ(380px) rotate(-25deg); } 35% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, -50%) translateZ(2px) rotate(0); } }
.tray3d__cutlery { position: absolute; left: 86%; top: 22%; width: 7%; height: 62%; display: flex; gap: 18%; opacity: 0; transform: translateZ(3px); }
.tray3d.is-on .tray3d__cutlery { animation: fadein .6s 2s forwards; }
.tray3d__cutlery b { flex: 1; border-radius: 999px 999px 6px 6px; background: linear-gradient(90deg, #A9AEAA, #EEF0EE 45%, #9CA19D); box-shadow: 0 6px 8px -4px rgba(0, 0, 0, .4); }
@keyframes fadein { to { opacity: 1; } }
.tray3d__hint { margin-top: 1.25rem; text-align: center; font-size: .8125rem; color: var(--muted); letter-spacing: .04em; }
.tray3d__hint::before { content: "\2190  \2192"; margin-right: .5rem; color: var(--field-bright); font-family: system-ui, sans-serif; }

/* 3 · Steam typography */
.phead--steam { padding-bottom: clamp(8rem, 16vw, 12rem); }
.steam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.pot { position: absolute; left: 50%; bottom: -30px; width: min(820px, 120vw); transform: translateX(-50%); z-index: 1; stroke: rgba(237, 242, 238, .28); stroke-width: 1.4; }
.phead--steam h1 { animation: condense 2.2s var(--ease) both .2s; }
@keyframes condense { 0% { opacity: 0; filter: blur(22px); transform: translateY(46px) scaleY(1.15); letter-spacing: .06em; } 60% { opacity: .85; filter: blur(3px); } 100% { opacity: 1; filter: blur(0); transform: none; letter-spacing: -.005em; } }
@media (hover: hover) { .phead--steam h1:hover { animation: drift 2.6s ease-in-out infinite alternate; } }
@keyframes drift { 0% { filter: blur(0); transform: none; } 100% { filter: blur(1.4px); transform: translateY(-4px) skewX(-1.5deg); } }

/* 4 · Chalkboard that writes itself */
.chalk { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); width: min(640px, 100%); text-align: left; }
.chalk__board { position: relative; padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem); border-radius: 10px; border: clamp(8px, 1.4vw, 14px) solid #5B3E25;
  background: radial-gradient(60% 40% at 30% 30%, rgba(255, 255, 255, .05), transparent 70%), radial-gradient(50% 50% at 80% 80%, rgba(255, 255, 255, .04), transparent 70%), #17241D;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .35), 0 30px 60px -30px rgba(0, 0, 0, .9);
  font-family: "Caveat", "Segoe Print", cursive; color: rgba(244, 244, 236, .92); font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem); line-height: 1.25; transform: rotate(-.6deg); }
.chalk__board::before { content: ""; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.chalk__head { font-weight: 700; font-size: 1.15em; color: #FFF; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: rgba(63, 210, 106, .8); margin-bottom: .5em; }
.chalk__head time { margin-left: .4em; font-weight: 500; font-size: .8em; color: rgba(244, 244, 236, .6); }
.chalk ul { display: grid; gap: .35em; }
.chalk li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .5em; }
.chalk li b { font-weight: 700; color: #7DE59A; }
.chalk li b::before { content: "\2192"; margin-right: .3em; color: rgba(244, 244, 236, .55); }
.chalk li.tick::after { content: "\2713"; color: #7DE59A; font-weight: 700; font-size: 1.1em; }
.chalk__sig { margin-top: .6em; text-align: right; font-size: .85em; color: rgba(244, 244, 236, .7); }
.chalk__sig::before { content: "\2014 "; }
.chalk__ledge { position: absolute; left: 6%; right: 6%; bottom: calc(-1 * clamp(8px, 1.4vw, 14px) - 8px); height: 10px; border-radius: 0 0 6px 6px; background: #4A321D; box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .7); }
.chalk__ledge b { position: absolute; bottom: 7px; height: 9px; border-radius: 3px; }
.chalk__ledge b:first-child { left: 14%; width: 60px; background: #F4F4EC; transform: rotate(-4deg); }
.chalk__ledge b:last-child { right: 12%; width: 74px; height: 16px; background: linear-gradient(#3B3B3B 0 40%, #C9C2B4 40%); border-radius: 4px; }
.js .chalk li > *, .js .chalk li.tick::after, .js .chalk__head, .js .chalk__sig { clip-path: inset(-.3em 100% -.3em -.4em); }
.chalk.is-on .chalk__head { animation: write .9s steps(16) .2s forwards; }
.chalk.is-on li > span { animation: write 1s steps(20) calc(1.1s + var(--i) * 1.1s) forwards; }
.chalk.is-on li > b, .chalk.is-on li.tick::after { animation: write .5s steps(10) calc(1.65s + var(--i) * 1.1s) forwards; }
.chalk.is-on .chalk__sig { animation: write .8s steps(14) calc(1.4s + var(--n) * 1.1s) forwards; }
@keyframes write { to { clip-path: inset(-.3em -1em -.3em -.4em); } }

/* 5 · Logo bars sweep like squeegees */
.sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sweep i { position: absolute; top: -12%; height: 124%; width: clamp(34px, 4.6vw, 78px); left: 0; border-radius: 999px; background: #2BA84A; opacity: .2; transform: translateX(-30vw) skewX(7deg);
  animation: sweep 7.5s cubic-bezier(.55, .1, .35, 1) infinite; box-shadow: 0 0 60px rgba(43, 168, 74, .5); }
.sweep i::after { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 34vw; background: linear-gradient(90deg, transparent, rgba(237, 242, 238, .07)); }
.sweep i:nth-child(2) { animation-delay: .16s; } .sweep i:nth-child(3) { animation-delay: .32s; }
.sweep i.r { background: #E53935; animation-delay: .48s; box-shadow: 0 0 60px rgba(229, 57, 53, .5); }
.sweep i:nth-child(n+2)::after { display: none; }
@keyframes sweep { 0% { transform: translateX(-30vw) skewX(7deg); } 55%, 100% { transform: translateX(130vw) skewX(7deg); } }
.sweep b { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; opacity: 0; animation: sparkle 7.5s ease-out var(--t) infinite;
  background: radial-gradient(closest-side, #fff, transparent); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@keyframes sparkle { 0% { opacity: 0; transform: scale(.2) rotate(0); } 6% { opacity: .9; transform: scale(1.2) rotate(45deg); } 16%, 100% { opacity: 0; transform: scale(.4) rotate(90deg); } }

@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .hz-truck { animation: none; transform: translateX(1000px); }
  .hz-puffs, .sweep { display: none; }
  .tray3d__item, .tray3d__cutlery { animation: none !important; opacity: 1; }
  .phead--steam h1, .phead--steam h1:hover { animation: none; }
  .js .chalk li > *, .js .chalk li.tick::after, .js .chalk__head, .js .chalk__sig { clip-path: none; animation: none !important; }
}

/* =====================================================================
   Phones, tablets, touch — v3
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }

/* Header: notch-safe, hides on scroll-down on touch layouts, reading progress */
.head { padding-top: env(safe-area-inset-top); height: calc(var(--head-h) + env(safe-area-inset-top)); transition: border-color .25s, background-color .25s, transform .4s var(--ease); }
.head .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; transform-origin: left; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--field), var(--field-bright)); box-shadow: 0 0 10px rgba(63, 210, 106, .6); pointer-events: none; }
@media (min-width: 1280px) { .head::after { display: none; } }
@media (max-width: 1099px) { .head.is-hidden { transform: translateY(-100%); } }
.sheet { inset: calc(var(--head-h) + env(safe-area-inset-top)) 0 0 0; overscroll-behavior: contain; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.lang-toggle button { position: relative; }
.lang-toggle button::after { content: ""; position: absolute; inset: -8px -1px; }

/* Mobile sheet: numbered rows that deal in one by one */
.sheet nav { counter-reset: nav; }
.sheet nav a::after { counter-increment: nav; content: counter(nav, decimal-leading-zero); font-family: var(--f-text); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.sheet nav a[aria-current="page"]::after { color: var(--field-bright); }
.sheet nav a[aria-current="page"]::before { content: ""; width: 7px; height: .8em; border-radius: 999px; background: var(--field-bright); transform: skewX(var(--skew)); margin-right: -.4rem; align-self: center; box-shadow: 0 0 12px var(--field-bright); order: -1; }
.sheet nav a { justify-content: flex-start; }
.sheet nav a::after { margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .menu-open .sheet nav a, .menu-open .sheet__foot > * { animation: deal .55s var(--ease) both; animation-delay: calc(60ms + var(--i, 0) * 38ms); }
}
@keyframes deal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sheet__foot { grid-template-columns: 1fr 1fr; gap: .6rem; }
.sheet__foot .btn { grid-column: 1 / -1; }
.sheet__foot a:not(.btn) { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 700; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bottom action dock (phones + tablets) */
.dock { display: none; }
@media (max-width: 1099px) {
  .dock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: fixed; z-index: 52; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom));
    max-width: 520px; margin-inline: auto; padding: 6px; border-radius: 22px; background: rgba(14, 21, 17, .84); border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .85);
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); transition: transform .45s var(--ease); }
  .dock.is-on { transform: none; }
  .menu-open .dock { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 .5rem; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: .875rem; line-height: 1.1; color: var(--text); background: rgba(255, 255, 255, .04); text-align: center; }
  .dock a svg { width: 19px; height: 19px; flex: none; }
  .dock a.is-go { background: var(--field); color: var(--on-field); box-shadow: 0 8px 22px -10px rgba(43, 168, 74, .9); }
  .has-dock .wa { display: none; }
  .has-dock .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .has-dock .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 599px) { .dock a { flex-direction: column; gap: .25rem; min-height: 54px; font-size: .75rem; letter-spacing: .01em; } .dock a svg { width: 20px; height: 20px; } }

/* Weekly menu: day panels slide in from the swipe direction */
@media (prefers-reduced-motion: no-preference) { .week [role="tabpanel"]:not([hidden]) { animation: panel-in .45s var(--ease) both; } }
@keyframes panel-in { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 28px)); } to { opacity: 1; transform: none; } }

/* Press feedback + no sticky hover on touch */
@media (hover: none) {
  .row:hover h3 { color: inherit; }
  .type:hover .photo img { transform: none; }
  .btn--go:hover { background: var(--field); }
  .btn:active, .dock a:active, .chip:active, .bowl__nav:active, .deck-next:active, .tabs button:active, .lang-toggle button:active, .burger:active, .faq summary:active, .rail-dots button:active { transform: scale(.96); }
  .btn, .dock a, .chip, .tabs button, .lang-toggle button { transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s; }
  .row:active { background: var(--surface); }
}

/* Coarse pointers: comfortable footer tap targets */
@media (pointer: coarse) {
  .foot li a, .foot__base a { display: inline-block; padding-block: .45rem; }
  .foot li + li { margin-top: 0; }
  .role a { display: inline-block; padding-block: .5rem; }
}

/* Hero: cut-outs float beside the headline on tablets, ride a serving line on phones */
@media (min-width: 768px) and (max-width: 1199px) {
  .cutouts { display: block; }
  .cutout { width: calc(var(--w, 120px) * .74); left: calc(var(--x) - 7%); top: calc(var(--y) * .9 + 1.5%); }
}
.belt { display: none; }
@media (max-width: 767px) {
  .belt { display: block; position: relative; z-index: 2; margin: clamp(1.75rem, 5vw, 3rem) calc(-1 * var(--gutter)) 0; padding-bottom: 1.1rem; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .belt__track { display: flex; align-items: flex-end; gap: clamp(1.1rem, 4vw, 2.2rem); width: max-content; padding-inline: 1rem; }
  .belt img { width: clamp(70px, 19vw, 124px); height: auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .6)); transform: rotate(var(--r, 0deg)); }
  .belt img:nth-child(3n+2) { width: clamp(56px, 15vw, 96px); }
  .belt::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(237, 242, 238, .28) 0 16px, transparent 16px 26px); background-size: 26px 2px; }
  .belt::before { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 40px; background: radial-gradient(50% 100% at 50% 100%, rgba(43, 168, 74, .2), transparent 70%); pointer-events: none; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .belt__track { animation: belt 32s linear infinite; }
  .belt::after { animation: belt-line .9s linear infinite; }
  .belt img { animation: belt-bob 2.8s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -.45s); }
}
@keyframes belt { to { transform: translateX(-50%); } }
@keyframes belt-line { to { background-position: -26px 0; } }
@keyframes belt-bob { from { transform: rotate(var(--r, 0deg)) translateY(0); } to { transform: rotate(calc(var(--r, 0deg) + 5deg)) translateY(-5px); } }

/* Swipe rails (cases, menu types, credentials) with logo-bar pagination */
.rail-dots { display: none; }
@media (max-width: 1023px) {
  .cases { grid-auto-flow: column; grid-auto-columns: min(86%, 400px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: .25rem var(--gutter) .75rem; scroll-padding-inline: var(--gutter); }
  .cases::-webkit-scrollbar { display: none; }
  .cases > * { scroll-snap-align: start; }
  .rail-dots { display: flex; justify-content: center; gap: 2px; margin-top: .5rem; }
  .rail-dots[hidden] { display: none; }
  .rail-dots button { width: 26px; height: 32px; border: 0; padding: 0; background: none; display: grid; place-items: center; }
  .rail-dots button::before { content: ""; width: 6px; height: 14px; border-radius: 999px; background: var(--line-strong); transform: skewX(var(--skew)); transition: background-color .3s, height .3s var(--ease), box-shadow .3s; }
  .rail-dots button[aria-current="true"]::before { height: 22px; background: var(--field); box-shadow: 0 0 12px -2px rgba(43, 168, 74, .8); }
  .rail-dots button:last-child[aria-current="true"]::before { background: var(--signal); box-shadow: 0 0 12px -2px rgba(229, 57, 53, .8); }
}
@media (min-width: 640px) and (max-width: 1023px) { .cases { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 639px) {
  .types { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .75rem; scroll-padding-inline: var(--gutter); gap: 1rem; }
  .types::-webkit-scrollbar { display: none; }
  .types > * { scroll-snap-align: start; }
  .creds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .creds::-webkit-scrollbar { display: none; }
  .creds li { flex: none; white-space: nowrap; scroll-snap-align: start; }
}

/* Tablet compositions */
@media (min-width: 768px) and (max-width: 1023px) {
  .steps--h[style*="--n:3"] { grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; border-top: 0; }
  .steps--h[style*="--n:3"] .step { grid-template-columns: 1fr; grid-auto-rows: min-content; border-bottom: 0; border-top: 1.5px solid var(--text); padding: 1.4rem 0 0; }
  .steps--h[style*="--n:3"] .step__k { grid-row: auto; margin-bottom: .7rem; }
  .days { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .regions { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .regions li { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr 1fr; } .mosaic .photo:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .hero h1 { max-width: 16ch; }
}

/* Short landscape phones */
@media (orientation: landscape) and (max-height: 520px) {
  .sheet nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .sheet nav a { font-size: 1.6rem; padding: .55rem 0; }
  .sheet__foot { padding-top: 1.25rem; grid-template-columns: 2fr 1fr 1fr; }
  .sheet__foot .btn { grid-column: auto; }
  .phead { padding-top: 6.5rem; }
  .hero { padding-top: 1.75rem; }
  .dock { max-width: 440px; }
}

@media (prefers-reduced-motion: reduce) { .head, .dock { transition: none; } }
@media print { .dock, .belt, .rail-dots { display: none !important; } }
