/* =============================================================================
   Mini Kitchen — styles
   Layout concept: one dark "kitchen" surface; content sits on a 1160px line,
   the hero pairs the pitch with a live "kitchen display" of order tickets.
   All colours and fonts are tokens below — change them here, not in rules.
   ============================================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* colour — brand teal + mint, from the logo */
  --bg: #00252d;
  --bg-deep: #001b21;
  --surface: #062f38;
  --surface-2: #0a3a44;
  --line: rgba(144, 220, 160, 0.14);
  --line-strong: rgba(144, 220, 160, 0.3);
  --mint: #90dca0;
  --mint-bright: #b7f0c3;
  --ink: #e9f6ef;
  --muted: #9dbdb4;
  --faint: #6f938a;
  --ticket: #f3eee2;          /* paper order tickets */
  --ticket-ink: #12312f;
  --flame: #ffb36b;           /* "new order" / heat accent, used sparingly */

  /* type */
  --font-display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.6vw, 3.9rem);
  --step-4: clamp(2.8rem, 1.8rem + 4.6vw, 6rem);

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: dark;
}

/* ---------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--mint); color: var(--bg); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 520px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }

/* atmosphere: soft mint glows + a faint tile grid, behind everything */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.45;
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.32; }
.glow--a { width: 520px; height: 520px; background: #2f8f6a; top: -160px; right: -120px; animation: drift 22s var(--ease) infinite alternate; }
.glow--b { width: 420px; height: 420px; background: #0f5f6e; top: 38%; left: -160px; animation: drift 26s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(60px, 80px, 0) scale(1.15); } }

/* ----------------------------------------------------------------- nav --- */

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav.is-scrolled { background: rgba(0, 37, 45, 0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 28px; height: auto; transition: transform 0.6s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; gap: 0.25rem; margin-left: auto; }
.nav__links a { padding: 0.5rem 0.85rem; border-radius: 999px; color: var(--muted); font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--ink); background: rgba(144, 220, 160, 0.08); }
.nav__cta { margin-left: 0.5rem; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.nav__toggle .icon { width: 22px; height: 22px; margin: auto; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; place-items: center; margin-left: 0.5rem; }
  .nav.is-open { background: var(--bg); border-bottom-color: var(--line); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    padding: 0.75rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px));
    background: var(--bg); border-bottom: 1px solid var(--line);
    animation: menu-in 0.35s var(--ease);
  }
  .nav.is-open .nav__links a { padding: 0.85rem 0.5rem; font-size: 1.1rem; border-radius: 10px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ------------------------------------------------------------- buttons --- */

.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--mint); color: var(--bg); box-shadow: 0 8px 30px -10px rgba(144, 220, 160, 0.55); }
.btn--primary:hover { background: var(--mint-bright); box-shadow: 0 12px 40px -10px rgba(144, 220, 160, 0.75); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(144, 220, 160, 0.04); }
.btn--ghost:hover { border-color: var(--mint); background: rgba(144, 220, 160, 0.1); }
.btn--sm { padding: 0.65rem 1rem; font-size: 0.92rem; }

/* ---------------------------------------------------------------- hero --- */

.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(144, 220, 160, 0.06);
  font-size: 0.88rem; color: var(--muted);
}
.status b { color: var(--ink); font-weight: 600; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }

.hero h1 { font-size: var(--step-4); font-weight: 750; margin-top: 1.4rem; letter-spacing: -0.035em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.26em; margin-bottom: -0.18em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 em { font-style: normal; color: var(--mint); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: 0.32em; overflow: visible; }
.hero h1 em path { fill: none; stroke: var(--mint); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s 0.9s var(--ease) forwards; opacity: 0.85; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

.hero__lead { margin-top: 1.4rem; max-width: 36rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); animation: fade-up 0.9s 0.3s var(--ease) both; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; animation: fade-up 0.9s 0.45s var(--ease) both; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; color: var(--faint); font-size: 0.9rem; animation: fade-up 0.9s 0.6s var(--ease) both; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta .icon { color: var(--mint); width: 1.05em; height: 1.05em; }

/* the "pass": a kitchen display of order tickets */
.pass {
  position: relative; border-radius: 26px; padding: 1.1rem;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: fade-up 1s 0.25s var(--ease) both;
}
.pass__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.35rem 0.4rem 0.95rem; }
.pass__title { display: flex; align-items: center; gap: 0.75rem; }
.plate { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #0f4752, var(--bg-deep)); border: 1px solid var(--line-strong); }
.plate svg.mark { width: 30px; height: auto; overflow: visible; }
.mark .mk { fill: var(--mint); transform-box: fill-box; transform-origin: center; animation: assemble 1.1s var(--ease-spring) both; }
.mark .mk0 { --x: -60px; --y: 30px; --r: -40deg; animation-delay: 0.35s; }
.mark .mk1 { --x: -10px; --y: -70px; --r: 30deg; animation-delay: 0.45s; }
.mark .mk2 { --x: -50px; --y: 80px; --r: -25deg; animation-delay: 0.55s; }
.mark .mk3 { --x: 70px; --y: -50px; --r: 45deg; animation-delay: 0.65s; }
.mark .mk4 { --x: 80px; --y: -10px; --r: -35deg; animation-delay: 0.72s; }
.mark .mk5 { --x: 60px; --y: 60px; --r: 25deg; animation-delay: 0.8s; }
@keyframes assemble { from { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.3); opacity: 0; } }
.steam { position: absolute; left: 50%; top: -26px; width: 40px; height: 30px; transform: translateX(-50%); overflow: visible; }
.steam path { fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; opacity: 0; animation: steam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.05s; }
.steam path:nth-child(3) { animation-delay: 2.1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: 0.55; } 100% { opacity: 0; transform: translateY(-10px); } }
.pass__name { font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; line-height: 1.2; }
.pass__sub { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }

.rail { position: relative; height: 372px; overflow: hidden; border-radius: 16px; background: var(--bg-deep); border: 1px solid var(--line); padding: 0.75rem; mask-image: linear-gradient(180deg, #000 78%, transparent); }
.rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.ticket {
  position: relative; background: var(--ticket); color: var(--ticket-ink); border-radius: 10px;
  padding: 0.8rem 0.95rem 0.85rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.6);
  animation: ticket-in 0.7s var(--ease-spring) both;
}
.ticket::before, .ticket::after { /* punched edge */
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-deep); transform: translateY(-50%);
}
.ticket::before { left: -6px; } .ticket::after { right: -6px; }
.ticket__top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.ticket__no { font-weight: 500; letter-spacing: 0.04em; }
.ticket__state { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.12rem 0.5rem; border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; background: #ffe4c4; color: #8a4a12; transition: background 0.4s, color 0.4s; }
.ticket__state .icon { width: 0.95em; height: 0.95em; }
.ticket.is-up .ticket__state { background: #cdeed6; color: #1d6b3b; }
.ticket__dish { font-family: var(--font-display); font-weight: 650; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.01em; margin-top: 0.3rem; }
.ticket__row { display: flex; justify-content: space-between; gap: 0.75rem; color: #49625d; border-top: 1px dashed rgba(18, 49, 47, 0.25); margin-top: 0.45rem; padding-top: 0.45rem; }
.ticket__plates { display: inline-flex; gap: 3px; }
.ticket__plates i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #1d6b3b; transition: background 0.3s var(--ease); }
.ticket.is-up .ticket__plates i { background: #1d6b3b; }
.ticket.is-up .ticket__plates i:nth-child(2) { transition-delay: 0.12s; }
.ticket.is-up .ticket__plates i:nth-child(3) { transition-delay: 0.24s; }
@keyframes ticket-in { from { transform: translateY(-40px) rotate(-2deg) scale(0.96); opacity: 0; } }
.pass__foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0.4rem 0.2rem; font-size: 0.78rem; color: var(--faint); }

/* -------------------------------------------------------------- marquee --- */

.marquee { border-block: 1px solid var(--line); background: rgba(0, 27, 33, 0.6); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 3rem; padding: 1.1rem 1.5rem; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- sections --- */

.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head h2 { font-size: var(--step-3); font-weight: 720; }
.section__head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* spotlight card: a soft mint light follows the pointer */
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 58, 68, 0.7), rgba(6, 47, 56, 0.55));
  overflow: hidden; isolation: isolate;
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(144, 220, 160, 0.13), transparent 45%);
}
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 900px) { .menu-grid { grid-template-columns: minmax(0, 1fr); } }
.dish { padding: 1.9rem 1.7rem 2rem; display: grid; gap: 0.9rem; align-content: start; }
.dish:hover { transform: translateY(-4px); }
.dish__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--mint); background: rgba(144, 220, 160, 0.09); border: 1px solid var(--line-strong); transition: transform 0.5s var(--ease-spring), background 0.3s; }
.dish__icon .icon { width: 26px; height: 26px; }
.dish:hover .dish__icon { transform: rotate(-8deg) scale(1.06); background: rgba(144, 220, 160, 0.16); }
.dish__course { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.dish h3 { font-size: var(--step-1); font-weight: 680; }
.dish p { color: var(--muted); }
.dish--special { border-color: var(--line-strong); background: radial-gradient(ellipse at 100% 0%, rgba(144, 220, 160, 0.16), transparent 55%), linear-gradient(180deg, rgba(10, 58, 68, 0.85), rgba(6, 47, 56, 0.65)); }
.dish--special .dish__icon { color: var(--bg); background: var(--mint); border-color: var(--mint); }
.dish--special:hover .dish__icon { background: var(--mint-bright); }
.dish__badge { position: absolute; top: 1.2rem; right: 1.2rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0, 27, 33, 0.6); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.dish__badge .icon { width: 13px; height: 13px; }
.dish__more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--mint); font-weight: 600; white-space: nowrap; }
.dish__more .icon { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.dish--special:hover .dish__more .icon { transform: translateX(3px); }
.ticket__kind { display: inline-flex; align-items: center; gap: 0.35rem; }
.ticket__kind .icon { width: 1em; height: 1em; }

/* ------------------------------------------------------------- the bot --- */

.bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .bot { grid-template-columns: minmax(0, 1fr); } }

.flow { padding: 1.6rem; display: grid; gap: 0; }
.flow__step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.6rem; }
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before { /* connecting line */
  content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow__step:last-child::before { display: none; }
.flow__node { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg-deep); border: 1px solid var(--line-strong); transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.flow__node .icon { width: 22px; height: 22px; }
.flow__step.is-hot .flow__node { color: var(--bg); background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 6px rgba(144, 220, 160, 0.14), 0 0 30px rgba(144, 220, 160, 0.4); }
.flow__spark { position: absolute; left: 21px; top: 52px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); opacity: 0; }
.flow__step.is-travel .flow__spark { animation: travel 0.9s var(--ease) forwards; }
@keyframes travel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(calc(var(--len, 60px))); } }
.flow__time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }
.flow__step h3 { font-size: 1.15rem; font-weight: 650; margin: 0.15rem 0 0.3rem; font-family: var(--font-display); letter-spacing: -0.01em; }
.flow__step p { color: var(--muted); font-size: 0.97rem; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.1rem; }
@media (max-width: 520px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { padding: 1.2rem 1.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.feature .icon { color: var(--mint); width: 22px; height: 22px; margin-top: 0.15rem; }
.feature h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 650; letter-spacing: 0; line-height: 1.3; }
.feature p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin-top: 0.2rem; }

/* telegram-style report preview */
.chat { padding: 1.25rem; }
.chat__bar { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-deep); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.chat__avatar img { width: 22px; }
.chat__name { font-weight: 650; line-height: 1.2; }
.chat__meta { font-size: 0.8rem; color: var(--mint); }
.bubble { background: #0e2a33; border: 1px solid var(--line); border-radius: 16px 16px 16px 6px; padding: 1rem 1.1rem; font-size: 0.92rem; line-height: 1.55; }
.bubble b { color: var(--ink); }
.bubble .k { color: var(--muted); }
.bubble code { font-family: var(--font-mono); font-size: 0.8rem; color: #9fd3ff; }
.bubble .served { color: var(--mint); }
.bubble__time { text-align: right; font-size: 0.72rem; color: var(--faint); margin-top: 0.35rem; }
.bubble__title { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 0.45rem; }
.bubble__title .icon { color: var(--mint); }
.bubble hr { border: 0; border-top: 1px dashed var(--line-strong); margin: 0.7rem 0; }
.example-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--faint); }

.bot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin-top: 1.5rem; }
.bot__cta small { color: var(--faint); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------------------------------------------------------------- stats --- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(0, 27, 33, 0.55); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 2rem 1.6rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 820px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat__num { font-family: var(--font-display); font-size: var(--step-3); font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num span { color: var(--mint); }
.stat__label { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- chefs --- */

.chefs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1000px) { .chefs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .chefs { gap: 0.75rem; }
  .chef { padding: 0.6rem 0.6rem 0.9rem; }
  .chef__hat { top: 6px; left: 6px; padding: 0.25rem 0.5rem; font-size: 0.6rem; }
  .chef__body { flex-direction: column; align-items: flex-start; gap: 0.6rem; margin-top: 0.75rem; }
  .chef__handle { font-size: 0.98rem; }
  .chef__role { font-size: 0.8rem; }
  .chef__x { width: 34px; height: 34px; border-radius: 10px; }
}
@media (max-width: 360px) { .nav .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }
.chef { --rx: 0deg; --ry: 0deg; padding: 1rem 1rem 1.25rem; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.25s ease-out, border-color 0.35s; }
.chef__photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-deep); }
.chef__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.chef__photo img.pixel { image-rendering: pixelated; }
.chef:hover .chef__photo img { transform: scale(1.06); }
.chef__hat { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(0, 27, 33, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.chef__hat .icon { width: 14px; height: 14px; }
.chef__body { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; padding-inline: 0.25rem; }
.chef__handle { font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.2; overflow-wrap: anywhere; }
.chef__role { color: var(--muted); font-size: 0.88rem; }
.chef__x { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink); transition: background 0.25s, color 0.25s, transform 0.35s var(--ease-spring); }
.chef__x:hover { background: var(--mint); color: var(--bg); transform: rotate(-6deg); }
.chef__x .icon { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- join --- */

.join { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .join { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; padding: 1.35rem 1.4rem; align-items: start; }
.step__num { counter-increment: step; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; color: var(--bg); background: var(--mint); }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; margin-top: 0.15rem; }
.step p { color: var(--muted); margin-top: 0.3rem; font-size: 0.97rem; }
.step a { color: var(--mint); border-bottom: 1px solid rgba(144, 220, 160, 0.35); transition: border-color 0.2s; }
.step a:hover { border-bottom-color: var(--mint); }
.join__aside { display: grid; gap: 1rem; }
.join__card { padding: 1.6rem; display: grid; gap: 0.9rem; }
.join__card h3 { font-size: var(--step-1); font-weight: 680; display: flex; align-items: center; gap: 0.6rem; }
.join__card h3 .icon { color: var(--mint); }
.join__card p { color: var(--muted); }
.join__links { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ------------------------------------------------------------------ faq --- */

.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.qa { border: 1px solid var(--line); border-radius: 14px; background: rgba(6, 47, 56, 0.5); transition: border-color 0.3s, background 0.3s; }
.qa[open] { border-color: var(--line-strong); background: rgba(10, 58, 68, 0.6); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--mint); transition: transform 0.4s var(--ease), background 0.3s; }
.qa__plus .icon { width: 16px; height: 16px; }
.qa[open] .qa__plus { transform: rotate(45deg); background: rgba(144, 220, 160, 0.12); }
.qa__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa[open] .qa__body { grid-template-rows: 1fr; }
.qa__body > div { overflow: hidden; }
.qa__body p { padding: 0 1.35rem 1.25rem; color: var(--muted); max-width: 46rem; }

/* ------------------------------------------------------------- closing --- */

.closing { text-align: center; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; border-radius: 28px; border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 50% 0%, rgba(144, 220, 160, 0.18), transparent 60%), var(--surface); position: relative; overflow: hidden; }
.closing h2 { font-size: var(--step-3); font-weight: 750; }
.closing p { color: var(--muted); font-size: var(--step-1); margin: 1rem auto 0; max-width: 34rem; }
.closing .hero__actions { justify-content: center; animation: none; }
.closing__mark { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: 0.07; transform: rotate(-12deg); pointer-events: none; }

/* --------------------------------------------------------------- footer --- */

.footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; margin-top: clamp(4rem, 8vw, 6rem); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__tag { color: var(--faint); margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer h4 { margin: 0 0 0.9rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer li a { color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.footer li a:hover { color: var(--mint); }
.footer li .icon { width: 16px; height: 16px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }

/* ------------------------------------------------------- scroll reveal --- */
/* Only elements BELOW the first screen get .pre (set by main.js), so the
   first view is always complete, and nothing is hidden if JS doesn't run. */
.pre { opacity: 0; transform: translateY(28px); }
.reveal-in { animation: reveal 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .pre { opacity: 1; transform: none; }
}
