/* ============================================================
   FOODREEL v1 — Cloned from Grammenu v2
   Design system: Cinema-black base, hot-orange drench act-breaks.
   Display: Outfit. Body: Onest.
   Radius rule: pills=999px, panels=28px, media=18px, chips=12px.
   Motion: ease-out expo enters, ease-in-out on-screen, UI < 300ms.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }

:root {
  --bg0: oklch(0.16 0.008 275);
  --bg1: oklch(0.19 0.01 275);
  --surface: oklch(0.225 0.012 275);
  --surface-2: oklch(0.26 0.014 275);
  --line: oklch(0.95 0.01 85 / 0.09);
  --line-strong: oklch(0.95 0.01 85 / 0.18);
  --ink: oklch(0.95 0.012 85);
  --ink-2: oklch(0.74 0.014 80);
  --ink-3: oklch(0.57 0.014 80);
  --accent: oklch(0.65 0.2 38);
  --accent-hi: oklch(0.7 0.2 40);
  --accent-deep: oklch(0.38 0.11 36);
  --on-accent: oklch(0.21 0.05 38);
  --on-accent-soft: oklch(0.28 0.07 38);
  --paper: oklch(0.95 0.012 85);
  --paper-ink: oklch(0.24 0.03 60);
  --r-panel: 28px;
  --r-media: 18px;
  --r-chip: 12px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.77, 0, 0.175, 1);
  --d-1: 120ms;
  --d-2: 200ms;
  --d-3: 320ms;
  --content-max: 1340px;
  --gutter: max(1.5rem, calc((100vw - var(--content-max)) / 2));
  --nav-h: 72px;
}

body {
  margin: 0;
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.process :focus-visible, .finale :focus-visible, .plan-featured :focus-visible { outline-color: var(--on-accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.wrap { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: clamp(5.5rem, 11vw, 9.5rem); }

/* -- type -- */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.9vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 21ch;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.9vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
  max-width: 24ch;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.25;
}
.lead { margin-top: 2rem; font-size: 1.125rem; color: var(--ink-2); max-width: 40ch; }
.sub { margin-top: 1.3rem; font-size: 1.0625rem; color: var(--ink-2); max-width: 58ch; }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color var(--d-2) ease; }
.link:hover { border-color: var(--accent); }

/* -- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem; border: 0; border-radius: 999px;
  padding: 0.8rem 1.45rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--e-out), background-color var(--d-2) ease, border-color var(--d-2) ease, color var(--d-2) ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-dark { background: oklch(0.18 0.02 40); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--accent-hi); transform: translateY(-1px); }
  .btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); transform: translateY(-1px); }
  .btn-dark:hover { background: oklch(0.24 0.025 40); transform: translateY(-1px); }
}
.btn-lg { padding: 1.02rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9375rem; }

/* -- grain + preloader -- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.preloader { display: none; }
html.pre .preloader {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 300; background: var(--accent);
}
.pre-inner { display: flex; align-items: center; gap: 1rem; }
.pre-mark {
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.pre-mark img { width: 100%; height: 100%; object-fit: contain; }
.pre-word {
  font-family: 'Montserrat', var(--font-display); font-weight: 700; font-size: 2rem;
  color: var(--on-accent); letter-spacing: 0.02em; text-transform: uppercase;
}
html.pre.pre-done .preloader { pointer-events: none; }
html.pre .preloader { animation: pre-away 0.6s cubic-bezier(0.77, 0, 0.175, 1) 3s forwards; }
html.pre.pre-done .preloader { animation: none; }
@keyframes pre-away { to { transform: translateY(-100%); visibility: hidden; } }

/* -- nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color var(--d-3) ease, border-color var(--d-3) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.16 0.008 275 / 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-row { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: 'Montserrat', var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--ink); text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: color var(--d-2) ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink-2); font-size: 0.875rem; font-weight: 700; cursor: pointer;
  transition: color var(--d-2) ease, border-color var(--d-2) ease, transform 160ms var(--e-out);
}
.lang-btn .ic { width: 0.75em; height: 0.75em; transition: transform var(--d-2) var(--e-out); }
.lang-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.lang-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .lang-btn:hover { color: var(--ink); border-color: var(--ink-3); }
}
.lang-pop {
  position: fixed; top: calc(var(--nav-h) + 6px); right: var(--gutter); z-index: 120;
  width: min(560px, calc(100vw - 2 * var(--gutter)));
  max-height: min(30rem, 70dvh); overflow-y: auto;
  padding: 0.6rem;
  background: oklch(0.2 0.01 275 / 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  transform-origin: top right;
  transition: transform var(--d-2) var(--e-out), opacity var(--d-2) ease;
}
.lang-pop[hidden] { display: none; }
.lang-pop.is-opening, .lang-pop.is-closing { opacity: 0; transform: scale(0.96); }
.lang-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.7rem; border: 0; background: transparent;
  border-radius: 10px; color: var(--ink-2); font-size: 0.9rem; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.lang-item:hover { background: oklch(0.95 0.01 85 / 0.07); color: var(--ink); }
.lang-item.is-active { color: var(--accent); font-weight: 700; }
.lang-flag { width: 1.25em; text-align: center; flex: none; font-family: system-ui; }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 42px; height: 42px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
}
.nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--d-2) var(--e-out); }
.nav-burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.3rem; padding: var(--gutter);
  background: oklch(0.16 0.008 275 / 0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.7rem; color: var(--ink); text-decoration: none;
}
.mobile-menu .btn { align-self: flex-start; margin-top: 1rem; }

/* -- hero -- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: clamp(3rem, 7vh, 5.5rem); overflow: clip;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 56% at 74% 44%, oklch(0.65 0.2 38 / 0.08), transparent 66%), linear-gradient(180deg, transparent 70%, var(--bg0) 98%);
}
.hero-inner { position: relative; }
.hero-title { position: relative; z-index: 3; pointer-events: none; text-shadow: 0 2px 26px oklch(0 0 0 / 0.4); }
.hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  align-items: end; gap: 3rem; margin-top: clamp(1.5rem, 4vh, 3rem);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.hero-stage {
  position: relative; display: flex; justify-content: flex-end;
  perspective: 1200px; margin-top: clamp(-16rem, -18vw, -7rem); z-index: 2;
}
.stage-glow {
  position: absolute; top: 50%; left: 50%;
  width: min(560px, 110%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, oklch(0.65 0.2 38 / 0.15), transparent 72%); pointer-events: none;
}
.phone { position: relative; transform-style: preserve-3d; will-change: transform; }
.phone-frame {
  width: clamp(250px, 24vw, 330px); aspect-ratio: 9 / 18.6; padding: 10px;
  background: oklch(0.2 0.01 275); border: 1px solid var(--line-strong); border-radius: 46px;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08), 0 40px 90px -20px oklch(0 0 0 / 0.65);
}
.phone-island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; background: oklch(0.12 0.005 275); border-radius: 999px; z-index: 5;
}
.reel { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg1); }
.reel-slides, .reel-slide { position: absolute; inset: 0; }
.reel-slide {
  opacity: 0; transform: scale(1.04); filter: blur(6px);
  transition: opacity 450ms ease, transform 450ms var(--e-out), filter 450ms ease;
}
.reel-slide.is-active { opacity: 1; transform: scale(1); filter: blur(0); }
.reel-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 8s ease-in-out infinite alternate; }
/* Fallback gradients per dish (shown when image fails to load) */
.reel-slide:nth-child(1) img { background: linear-gradient(135deg, #5D3A1A, #C46A30, #E8A040); }
.reel-slide:nth-child(2) img { background: linear-gradient(135deg, #2D5A27, #6B9B37, #E8C860); }
.reel-slide:nth-child(3) img { background: linear-gradient(135deg, #4A1A2E, #8B3A3A, #D4956A); }
.reel-slide:nth-child(4) img { background: linear-gradient(135deg, #C4A35A, #E8D5A0, #F5ECD7); }
.reel-slide:nth-child(5) img { background: linear-gradient(135deg, #8B5E3C, #D4A574, #F0D5B0); }
.reel-slide:nth-child(odd) img { transform-origin: 30% 70%; }
.reel-slide:nth-child(even) img { transform-origin: 70% 30%; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.16) translate(1.5%, -1.5%); }
}
.reel-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, oklch(0 0 0 / 0.42), transparent 24%), linear-gradient(0deg, oklch(0 0 0 / 0.55), transparent 32%);
}
.reel-progress { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; gap: 5px; z-index: 4; }
.reel-progress .seg { flex: 1; height: 3px; border-radius: 999px; background: oklch(1 0 0 / 0.28); overflow: hidden; }
.reel-progress .seg i { display: block; height: 100%; background: #fff; border-radius: inherit; transform: scaleX(0); transform-origin: left center; }
.reel-meta {
  position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 4;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.8rem;
}
.reel-name {
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.2;
  color: #fff; text-shadow: 0 2px 14px oklch(0 0 0 / 0.5);
}
.reel-price {
  flex: none; padding: 0.32rem 0.7rem; background: var(--accent);
  color: var(--on-accent); font-weight: 700; font-size: 0.9375rem; border-radius: 999px;
}

/* -- marquee -- */
.marquee {
  position: relative; z-index: 2; transform: rotate(-2deg) scale(1.06);
  margin-block: 0.5rem 3rem; background: var(--accent); overflow: hidden;
}
.marquee-track { display: flex; width: max-content; }
body.js .marquee-track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--mq-w, 50%))); } }
.marquee-set {
  display: flex; align-items: center; gap: 3rem; padding: 1.05rem 1.5rem;
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1rem, 1.7vw, 1.4rem); color: var(--on-accent); white-space: nowrap;
}
.mq-o { color: transparent; -webkit-text-stroke: 1.5px var(--on-accent); }
.marquee .ic-play { width: 0.75em; height: 0.75em; color: var(--on-accent); }

/* -- showreel -- */
.tiles-rail {
  margin-top: 3.5rem;
  overflow: hidden;
}
.tiles-rail::-webkit-scrollbar { display: none; }
.tiles-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tiles {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding-inline: var(--gutter);
  width: max-content;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4rem;
  margin-bottom: -4rem;
}
.tiles-rail::-webkit-scrollbar { display: none; }
.tiles-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tiles { display: flex; gap: clamp(1rem, 1.8vw, 1.6rem); padding-inline: var(--gutter); width: max-content; }
.tile { flex: none; width: clamp(230px, 21vw, 300px); scroll-snap-align: start; }
.tile:nth-child(even) { margin-top: 3rem; }
.tile-media { aspect-ratio: 3 / 4.1; border-radius: var(--r-media); overflow: hidden; background: var(--surface); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--e-out); }
/* Tile image fallbacks */
.tile:nth-child(1) .tile-media img { background: linear-gradient(135deg, #4A1A2E, #8B3A3A, #D4956A); }
.tile:nth-child(2) .tile-media img { background: linear-gradient(135deg, #C46A30, #E8A070, #F5C8A0); }
.tile:nth-child(3) .tile-media img { background: linear-gradient(135deg, #8B4513, #D4956A, #F5DEB3); }
.tile:nth-child(4) .tile-media img { background: linear-gradient(135deg, #5D3A1A, #C46A30, #E8A040); }
.tile:nth-child(5) .tile-media img { background: linear-gradient(135deg, #6B3A2A, #A0522D, #D2691E); }
.tile:nth-child(6) .tile-media img { background: linear-gradient(135deg, #2D5A27, #6B9B37, #E8C860); }
.tile:nth-child(7) .tile-media img { background: linear-gradient(135deg, #3A6B35, #7BA05B, #C8D880); }
.tile:nth-child(8) .tile-media img { background: linear-gradient(135deg, #8B5E3C, #D4A574, #F0D5B0); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-media img { transform: scale(1.05); }
}
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.tile-price { font-weight: 700; color: var(--ink); }

/* -- process -- */
.process { background: var(--accent); color: var(--on-accent); overflow: hidden; }
.process-pin {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding-block: calc(var(--nav-h) + 1.5rem) 2.5rem;
}
.process .h2 { color: var(--on-accent); }
.process-track { display: flex; gap: 5vw; padding-inline: var(--gutter); width: max-content; }
.panel {
  flex: none; width: min(740px, 78vw);
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); padding: 2rem 0;
}
.panel-no { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 6.5vw, 5.8rem); line-height: 1; color: var(--on-accent); opacity: 0.92; }
.panel-copy .h3 { color: var(--on-accent); }
.panel-copy p { margin-top: 0.9rem; color: var(--on-accent-soft); max-width: 36ch; font-weight: 500; }
.panel-art { display: flex; justify-content: center; }
.paper {
  width: min(300px, 100%); background: var(--paper); color: var(--paper-ink);
  border-radius: var(--r-media); padding: 1.7rem 1.6rem;
  transform: rotate(-2.5deg); box-shadow: 0 30px 60px -25px oklch(0 0 0 / 0.45);
}
.paper-title { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.paper-sub { font-size: 0.85rem; color: oklch(0.24 0.03 60 / 0.55); margin-bottom: 1.1rem; }
.paper-line { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.5rem; font-size: 0.9rem; }
.paper-line span:first-child { flex: none; }
.paper-line::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted oklch(0.24 0.03 60 / 0.35); }
.paper-line span:last-child { order: 2; font-weight: 700; }
.mini-reel {
  position: relative; width: min(250px, 100%); aspect-ratio: 9 / 13.5;
  border-radius: var(--r-media); overflow: hidden;
  transform: rotate(2deg); box-shadow: 0 30px 60px -25px oklch(0 0 0 / 0.45);
}
.mini-reel img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-in-out infinite alternate; background: linear-gradient(135deg, #4A1A2E, #8B3A3A, #D4956A); }
.mini-lg { width: min(300px, 100%); transform: rotate(-2deg); }
.mini-progress { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; }
.mini-progress span { flex: 1; height: 3px; border-radius: 999px; background: oklch(1 0 0 / 0.3); }
.mini-progress span:first-child, .mini-progress span:nth-child(2) { background: #fff; }
.mini-meta {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.85rem;
  color: #fff; text-shadow: 0 2px 12px oklch(0 0 0 / 0.6);
}
.mini-price {
  flex: none; font-family: var(--font-body); font-weight: 700; font-size: 0.8125rem;
  padding: 0.22rem 0.55rem; background: var(--accent); color: var(--on-accent);
  border-radius: 999px; text-shadow: none;
}
.qr-card {
  width: min(270px, 100%); background: var(--paper); color: var(--paper-ink);
  border-radius: var(--r-media); padding: 1.6rem; text-align: center;
  transform: rotate(-2deg); box-shadow: 0 30px 60px -25px oklch(0 0 0 / 0.45);
}
.qr-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin-bottom: 1rem; }
.qr-card img { width: 62%; margin-inline: auto; background: #f5f0e8; min-height: 160px; object-fit: contain; }
.qr-card-hint { margin-top: 1rem; font-size: 0.85rem; color: oklch(0.24 0.03 60 / 0.55); }
.process-progress { height: 3px; background: oklch(0.21 0.05 38 / 0.2); border-radius: 999px; overflow: hidden; }
.process-progress i { display: block; height: 100%; background: var(--on-accent); transform: scaleX(0); transform-origin: left center; }

/* -- stack -- */
.stack { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 4vh; }
.scard {
  position: sticky; top: calc(var(--nav-h) + 1.5rem + var(--i, 0) * 14px);
  min-height: min(62vh, 560px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.8rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-panel); overflow: hidden; will-change: transform;
}
.scard:nth-child(odd) { background: var(--bg1); }
.scard-accent { background: var(--accent-deep) !important; border-color: transparent; }
.scard-copy .h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; text-transform: uppercase; }
.scard-copy p { margin-top: 1.1rem; color: var(--ink-2); max-width: 44ch; font-size: 1.0625rem; }
.scard-accent .scard-copy p { color: oklch(0.88 0.03 45); }
.scard-art { display: flex; justify-content: center; }
.fan { position: relative; height: 300px; width: 100%; max-width: 380px; }
.fan img {
  position: absolute; top: 20px; left: 50%; width: 130px;
  aspect-ratio: 9 / 14; height: auto; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line-strong);
  transition: transform 500ms var(--e-out);
}
.fan img:nth-child(1) { transform: translateX(-118%) rotate(-9deg); background: linear-gradient(135deg, #C4A35A, #E8D5A0); }
.fan img:nth-child(2) { transform: translateX(-50%) translateY(-10px); z-index: 2; background: linear-gradient(135deg, #3A6B35, #7BA05B); }
.fan img:nth-child(3) { transform: translateX(18%) rotate(9deg); background: linear-gradient(135deg, #6B3A2A, #A0522D); }
@media (hover: hover) and (pointer: fine) {
  .scard:hover .fan img:nth-child(1) { transform: translateX(-132%) rotate(-12deg); }
  .scard:hover .fan img:nth-child(2) { transform: translateX(-50%) translateY(-20px); }
  .scard:hover .fan img:nth-child(3) { transform: translateX(32%) rotate(12deg); }
}
.loyalty {
  width: min(340px, 100%);
  background: linear-gradient(135deg, var(--accent), oklch(0.45 0.15 32));
  color: oklch(0.97 0.01 60); border-radius: var(--r-media);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 30px 60px -25px oklch(0 0 0 / 0.5); transform: rotate(2deg);
}
.loyalty-top { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.loyalty-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: oklch(1 0 0 / 0.2); border-radius: 9px; }
.loyalty-mark .ic { width: 0.7rem; height: 0.7rem; }
.loyalty-stamps { display: flex; gap: 8px; margin-block: 1.2rem 0.7rem; }
.loyalty-stamps b { width: 19px; height: 19px; border: 1.5px solid oklch(1 0 0 / 0.55); border-radius: 50%; }
.loyalty-stamps b.on { background: oklch(0.97 0.01 60); border-color: oklch(0.97 0.01 60); }
.loyalty p { color: oklch(1 0 0 / 0.85); font-size: 0.9rem; }
.paper-check { transform: rotate(2deg); }
.paper-check .paper-title { margin-bottom: 1rem; }
.check-line { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.45rem; font-size: 0.95rem; font-weight: 500; }
.check-line .ic { color: var(--accent); }

/* -- pricing -- */
.pricing { background: var(--bg1); border-block: 1px solid var(--line); }
.plans { margin-top: 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-panel); padding: clamp(2rem, 3vw, 2.8rem);
}
.plan-featured { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.plan-tag {
  position: absolute; top: 1.7rem; right: 1.7rem;
  padding: 0.3rem 0.75rem; background: var(--on-accent);
  color: var(--accent); font-size: 0.8125rem; font-weight: 700; border-radius: 999px;
}
.plan-name { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.plan-price { margin-top: 1.4rem; }
.plan-price b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; }
.plan-price span { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-3); }
.plan-featured .plan-price span { color: var(--on-accent-soft); }
.plan-list { list-style: none; margin: 1.8rem 0 2.2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-list li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--ink-2); font-size: 0.9875rem; }
.plan-list .ic { color: var(--accent); margin-top: 0.28em; width: 0.95em; height: 0.95em; }
.plan-featured .plan-list li { color: var(--on-accent); font-weight: 500; }
.plan-featured .plan-list .ic { color: var(--on-accent); }
.plan-btn { margin-top: auto; width: 100%; }
.calc {
  margin-top: 1.5rem; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-panel); padding: clamp(2rem, 3vw, 2.8rem);
}
.calc-field { margin-top: 1.7rem; }
.calc-field label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 0.8rem;
}
.calc-field output { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), oklch(0.95 0.01 85 / 0.14) var(--fill, 50%));
  outline-offset: 6px;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); border: 6px solid var(--accent); cursor: grab; transition: transform 140ms var(--e-out);
}
input[type='range']::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type='range']::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 6px solid var(--accent); cursor: grab; }
input[type='range']::-moz-range-track { height: 4px; border-radius: 999px; background: oklch(0.95 0.01 85 / 0.14); }
input[type='range']::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent); }
.addons { margin-top: 2rem; display: flex; flex-direction: column; }
.addon { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; font-size: 0.9375rem; color: var(--ink-2); }
.addon b { color: var(--ink); font-weight: 700; }
.calc-result {
  background: var(--bg0); border-radius: var(--r-media);
  padding: clamp(1.6rem, 2.4vw, 2.2rem); display: flex; flex-direction: column;
}
.calc-pkg { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.calc-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.05; margin-top: 0.4rem; font-variant-numeric: tabular-nums; }
.calc-rows { margin-top: 1.4rem; }
.calc-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.4rem; font-size: 0.9375rem; color: var(--ink-2); }
.calc-row b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-sub { margin-top: auto; padding-top: 1.2rem; font-size: 0.875rem; color: var(--ink-3); }

/* -- faq -- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.3rem 0; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.faq-q .ic { color: var(--ink-3); transition: transform var(--d-3) var(--e-out), color var(--d-2) ease; flex: none; }
.faq-item.is-open .faq-q .ic { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-3) var(--e-io); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; }
.faq-a-in p { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 56ch; }

/* -- finale -- */
.finale {
  background: var(--accent); color: var(--on-accent); min-height: 88dvh;
  display: flex; align-items: center; padding-block: clamp(6rem, 12vh, 9rem);
}
.fin-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 4.3rem); line-height: 1.08; max-width: 17ch; text-wrap: balance;
}
.fin-sub { margin-top: 1.8rem; font-size: 1.125rem; color: var(--on-accent-soft); font-weight: 500; max-width: 48ch; }
.finale .cta-row { margin-top: 2.8rem; }
.link-mail {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--on-accent-soft); text-decoration: none;
  font-size: 1.0625rem; font-weight: 700; transition: color var(--d-2) ease;
}
.link-mail:hover { color: var(--on-accent); }

/* -- footer -- */
.footer { padding-block: 3.5rem 2rem; background: var(--bg0); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem; flex-wrap: wrap; }
.footer-brand p { margin-top: 1rem; color: var(--ink-3); font-size: 0.9375rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; transition: color var(--d-2) ease; }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 0.875rem;
}

/* -- word-split -- */
.hero-title .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .wi { display: inline-block; will-change: transform; }
#reels, #process, #pricing, #faq { scroll-margin-top: calc(var(--nav-h) - 8px); }

/* -- responsive -- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .scard { grid-template-columns: 1fr; min-height: 0; gap: 2rem; }
  .scard-art { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 2rem); }
  .hero-title { max-width: none; }
  .hero-row { grid-template-columns: 1fr; gap: 2.6rem; margin-top: 2.2rem; }
  .hero-stage { margin-top: 0; justify-content: center; order: -1; }
  .hero-copy .lead { margin-top: 0; }
  .process { overflow: visible; }
  .process-pin { min-height: 0; gap: 2rem; padding-block: 4rem 3.5rem; }
  .process-track { flex-direction: column; width: auto; gap: 0; }
  .panel { width: 100%; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "no copy" "art art"; align-items: start; gap: 0.4rem 1.1rem; padding: 2.2rem 0; }
  .panel + .panel { border-top: 1px solid oklch(0.21 0.05 38 / 0.16); }
  .panel-no { grid-area: no; font-size: 2.3rem; line-height: 1.25; }
  .panel-copy { grid-area: copy; }
  .panel-copy .h3 { line-height: 1.25; }
  .panel-copy p { max-width: none; }
  .panel-art { grid-area: art; justify-content: center; margin-top: 1.6rem; }
  .process-progress { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-intro { position: static; }
  .lang-pop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .section { padding-block: 4.5rem; }
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); padding-bottom: 2.5rem; }
  .phone-frame { width: min(258px, 74vw); }
  .hero-row { gap: 2.2rem; }
  .lead { font-size: 1.03125rem; }
  .cta-row { gap: 0.75rem; margin-top: 1.8rem; }
  .cta-row .btn-lg { width: 100%; }
  .marquee { transform: rotate(-2.2deg) scale(1.1); margin-block: 0.25rem 2rem; }
  .marquee-set { gap: 2rem; padding-block: 0.85rem; }
  .tiles { gap: 0.9rem; }
  .tile { width: 64vw; }
  .tile:nth-child(even) { margin-top: 0; }
  .tiles-rail { margin-top: 2.5rem; }
  .paper { width: min(272px, 100%); transform: rotate(-1.5deg); }
  .qr-card { width: min(248px, 100%); transform: rotate(-1.5deg); }
  .mini-reel { width: min(232px, 100%); transform: rotate(1.5deg); }
  .mini-lg { width: min(248px, 100%); transform: rotate(-1.5deg); }
  .stack { gap: 1.1rem; margin-top: 2.5rem; }
  .scard { position: static; padding: 1.7rem 1.4rem; gap: 1.6rem; }
  .scard-art { justify-content: center; }
  .fan { height: 220px; max-width: 300px; margin-inline: auto; }
  .fan img { width: 92px; top: 14px; }
  .loyalty { width: 100%; transform: rotate(0deg); }
  .plans { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
  .plan-featured { order: -1; }
  .plan { padding: 1.7rem 1.4rem; }
  .plan-tag { position: static; align-self: flex-start; margin-bottom: 1rem; order: -1; }
  .calc { grid-template-columns: 1fr; padding: 1.7rem 1.4rem; gap: 1.8rem; margin-top: 1rem; }
  .calc-result { padding: 1.4rem; }
  .faq-q { font-size: 1rem; padding: 1.1rem 0; }
  .finale { min-height: 0; padding-block: 5.5rem; }
  .footer { padding-block: 3rem 1.5rem; }
  .footer-links { gap: 0.9rem 1.4rem; }
  .footer-base { margin-top: 2rem; }
  .lang-pop { grid-template-columns: 1fr; }
}

/* -- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .reel-slide, .reel-slide.is-active { transition: opacity var(--d-2) ease; transform: none; filter: none; }
  .reel-slide img, .mini-reel img { animation: none; }
  .tile-media img, .fan img { transition: none; }
  .faq-a { transition: none; }
  .lang-pop { transition: none; }
  .btn, .lang-btn { transition: background-color var(--d-2) ease, color var(--d-2) ease, border-color var(--d-2) ease; }
}
