/* ==========================================================================
   Jesvian's Kitchen — portfolio design system
   Palette: a daylight kitchen of enamelware and glazed tile. Warm and cool
   pastels own whole regions; blueberry ink carries the words.
   ========================================================================== */

:root {
  /* ground + ink */
  --bg: #f5f3f7;          /* porcelain */
  --bg-2: #ffffff;        /* plate */
  --bg-3: #ebe7f0;        /* tile grout */
  --ink: #25233b;         /* blueberry */
  --ink-2: #45435c;
  --muted: #5e5b74;
  --line: rgba(37, 35, 59, 0.12);
  --line-2: rgba(37, 35, 59, 0.24);

  /* enamelware pastels: warm */
  --butter: #fbe7a3;
  --peach: #ffceb6;
  --rose: #f6c3d0;
  /* enamelware pastels: cool */
  --mint: #c4eacf;
  --sky: #c3dcf6;
  --lilac: #dcd1f6;

  /* deep companions for text, marks and focus (AA on every pastel) */
  --flame: #b8472c;       /* tomato: human craft, action */
  --flame-2: #9c3a22;
  --ai: #3553a6;          /* cobalt: systems, AI */
  --ai-2: #2b4590;
  --ok: #2f8a57;

  --paper: #ffffff;
  --paper-ink: #25233b;
  --paper-muted: #5e5b74;

  --f-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --f-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --radius: 22px;
  --nav-h: 72px;

  --shadow-1: 0 1px 2px rgba(37, 35, 59, 0.06), 0 8px 24px -12px rgba(37, 35, 59, 0.18);
  --shadow-2: 0 2px 4px rgba(37, 35, 59, 0.06), 0 24px 48px -20px rgba(37, 35, 59, 0.28);

  --fs-hero: clamp(2.6rem, 6.4vw, 6rem);
  --fs-h1: clamp(2.4rem, 5.4vw, 5.4rem);
  --fs-h2: clamp(2rem, 4vw, 4rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 2.1rem);
  --fs-lead: clamp(1.12rem, 1.5vw, 1.36rem);
  --fs-body: clamp(1rem, 1.05vw, 1.08rem);
  --fs-small: 0.86rem;
  --fs-micro: 0.74rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--butter); color: var(--ink); }
html { scrollbar-color: rgba(37,35,59,.35) var(--bg); accent-color: var(--flame); caret-color: var(--flame); }
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--flame); color: var(--bg); border-radius: 999px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; }
.hand { font-family: var(--f-hand); }
.serif { font-family: var(--f-display); font-weight: 400; }
/* emphasis: a marker swipe on a recipe card, never italics */
.it {
  font-family: var(--f-display); font-style: normal; font-weight: 400; letter-spacing: -0.01em;
  background: linear-gradient(transparent 56%, var(--hl, var(--butter)) 56%, var(--hl, var(--butter)) 90%, transparent 90%);
  padding: 0 .06em; margin: 0 -.02em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.it.flame { color: inherit; --hl: var(--peach); }
.it.ai { color: inherit; --hl: var(--sky); }
.flame { color: var(--flame); }
.ai { color: var(--ai); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); }
.eyebrow.is-ai::before { background: var(--ai); }

.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.section--tight { padding: clamp(64px, 9vw, 130px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1.6fr; align-items: end; }
}
.section-head h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { color: var(--ink-2); max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; }

/* grain overlay */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: 0.045; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- JS-dependent hidden states (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js .split-line > span { transform: translateY(110%); }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.reduced [data-reveal], .reduced .split-line > span, .reduced [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   Loader — "mise en place"
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); overflow: hidden;
}
.no-js .loader, .loader.is-gone, .is-entering .loader { display: none; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); z-index: 0; }
.loader__half--top { top: 0; }
.loader__half--bot { bottom: 0; }
.loader__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; text-align: center; padding: 24px; }

.pan-scene { position: relative; width: 190px; height: 150px; }
.pan-scene .bubble {
  position: absolute; bottom: 58px; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--ink-2); opacity: 0; animation: bubble 2.1s cubic-bezier(.53,.16,.39,.96) infinite;
}
.pan-scene .bubble:nth-child(1) { left: 88px; animation-delay: 0s; }
.pan-scene .bubble:nth-child(2) { left: 104px; width: 7px; height: 7px; animation-delay: .45s; }
.pan-scene .bubble:nth-child(3) { left: 118px; width: 12px; height: 12px; animation-delay: .9s; }
.pan-scene .bubble:nth-child(4) { left: 96px; width: 6px; height: 6px; animation-delay: 1.3s; }
@keyframes bubble {
  0% { transform: translateY(0) scale(.4); opacity: 0; }
  20% { opacity: .9; }
  100% { transform: translateY(-90px) scale(1.1); opacity: 0; }
}
.pan { position: absolute; left: 30px; bottom: 26px; width: 150px; height: 40px; transform-origin: 30% 80%; animation: panToss 2.1s var(--ease-io) infinite; }
.pan__body { position: absolute; right: 0; bottom: 0; width: 96px; height: 24px; background: var(--ink); border-radius: 0 0 26px 26px; }
.pan__handle { position: absolute; left: 0; bottom: 12px; width: 62px; height: 7px; background: var(--ink); border-radius: 4px; transform: rotate(8deg); transform-origin: right center; }
.pixel {
  position: absolute; left: 110px; bottom: 60px; width: 22px; height: 22px; background: var(--peach);
  box-shadow: inset 0 0 0 2px var(--ink); border-radius: 4px; animation: pixelFlip 2.1s var(--ease-io) infinite;
}
@keyframes panToss {
  0%, 100% { transform: rotate(0deg); }
  18% { transform: rotate(-14deg); }
  32% { transform: rotate(6deg); }
  48% { transform: rotate(0deg); }
}
@keyframes pixelFlip {
  0%, 12% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(-6px, -78px) rotate(180deg); }
  62% { transform: translate(0, 0) rotate(360deg); }
  70% { transform: translate(0, -6px) rotate(360deg); }
  78%, 100% { transform: translate(0, 0) rotate(360deg); }
}
.loader__count { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 12vw, 8rem); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.loader__count sup { font-size: 0.32em; vertical-align: top; margin-left: 4px; color: var(--flame); }
.loader__ticket {
  width: min(320px, 82vw); font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted);
  text-align: left; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); padding: 12px 0; min-height: 96px;
}
.loader__ticket li { display: flex; justify-content: space-between; gap: 12px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.loader__ticket li.on { opacity: 1; transform: none; }
.loader__ticket li span:last-child { color: var(--ok); }
.loader__enter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease-out); }
.loader.is-ready .loader__enter { opacity: 1; pointer-events: auto; transform: none; }
.loader__hint { font-family: var(--f-hand); font-size: 1.35rem; color: var(--ink-2); margin-top: -8px; }

/* ==========================================================================
   Buttons, links, rolling text
   ========================================================================== */
.btn {
  --b-bg: var(--ink); --b-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 999px; overflow: hidden;
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em;
  isolation: isolate; transition: transform .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--peach);
  border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { --b-fg: var(--ink); }
.btn { transition: transform .5s var(--ease-out), color .35s; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --b-fg: var(--ink); }
.btn--ghost::before { background: var(--butter); }
.btn--flame { --b-bg: var(--flame); --b-fg: #fff; }
.btn--flame::before { background: var(--ink); }
.btn--flame:hover { --b-fg: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }

/* rolling text: JS duplicates the label */
.roll { display: inline-flex; align-items: flex-start; overflow: hidden; line-height: 1.25; height: 1.25em; vertical-align: middle; }
.roll__inner { display: flex; flex-direction: column; transition: transform .6s var(--ease-out); }
.roll__inner > span { display: block; white-space: nowrap; }
a:hover .roll__inner, button:hover .roll__inner, .roll-host:hover .roll__inner { transform: translateY(-50%); }

.link-u { position: relative; display: inline-block; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

.magnetic { will-change: transform; }

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 300; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--flame); }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(37, 35, 59, 0.4);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor__label {
  font-family: var(--f-label); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bg);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s var(--ease-out); white-space: nowrap;
}
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(37,35,59,.08); }
.cursor.has-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--flame); border-color: var(--flame); }
.cursor.has-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } .has-cursor input, .has-cursor textarea { cursor: text; } }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease-out), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(245, 243, 247, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; }
.nav__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 1.05rem;
  transition: transform .6s var(--ease-back), background-color .3s;
}
.nav__brand:hover .nav__mark { transform: rotate(-12deg) scale(1.06); background: var(--peach); color: var(--ink); }
.nav__brand small { display: block; font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.nav__links { display: none; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line); }
.nav__links a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(37,35,59,.07); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.status { display: none; align-items: center; gap: 8px; font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47,138,87,.45); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,138,87,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(47,138,87,0); } }
.sound-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s;
}
.sound-btn:hover { background: rgba(37,35,59,.07); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 5px; background: var(--ink); border-radius: 1px; opacity: .55; transition: height .3s, opacity .3s; }
/* at rest the bars hold an equaliser shape, so the button reads as sound rather than "more" */
.eq i:nth-child(2) { height: 10px; } .eq i:nth-child(3) { height: 13px; } .eq i:nth-child(4) { height: 7px; }
.sound-on .eq i { opacity: 1; }
.sound-on .eq i { animation: eq 0.9s ease-in-out infinite; }
.sound-on .eq i:nth-child(2) { animation-delay: .15s; } .sound-on .eq i:nth-child(3) { animation-delay: .3s; } .sound-on .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }
.menu-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.menu-btn span { position: relative; width: 16px; height: 1.5px; background: currentColor; transition: background-color .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-btn span::before { transform: translateY(-5px); } .menu-btn span::after { transform: translateY(5px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); } .menu-open .menu-btn span::after { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .status { display: inline-flex; }
  .menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-2); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 36px); transition: clip-path .8s var(--ease-io);
}
.mobile-menu { background: var(--butter); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); }
.mobile-menu a.big { display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 13vw, 4.6rem); line-height: 1.05; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu a.big small { font-family: var(--f-label); font-size: 0.7rem; color: var(--muted); margin-right: 14px; vertical-align: middle; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--flame), var(--ai)); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--nav-h) + clamp(40px, 9vh, 104px)) 0 clamp(48px, 7vh, 88px); overflow: hidden; }
/* steam at rest: the static state behind the shader (and all of it under reduced motion) */
.hero { background:
  radial-gradient(ellipse 30% 70% at 84% 100%, rgba(255,206,182,.9), transparent 70%),
  radial-gradient(ellipse 26% 60% at 64% 105%, rgba(220,209,246,.85), transparent 72%),
  radial-gradient(ellipse 40% 45% at 22% 110%, rgba(195,220,246,.9), transparent 70%),
  radial-gradient(ellipse 22% 38% at 92% 30%, rgba(251,231,163,.55), transparent 70%),
  var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.95; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%), linear-gradient(to right, rgba(245,243,247,.8), rgba(245,243,247,.2) 60%, transparent); }
.hero .wrap { position: relative; z-index: 2; }
.hero__layout { display: grid; gap: clamp(32px, 5vw, 64px); position: relative; }
@media (min-width: 900px) { .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: center; } }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.025em; max-width: 14ch; text-wrap: balance; }
.hero__title .it { --hl: var(--peach); }
.hero__bottom { display: grid; gap: 28px; margin-top: clamp(28px, 5vh, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .hero__bottom { grid-template-columns: 1fr auto; align-items: end; } }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { display: none; position: absolute; right: 0; bottom: 4px; align-items: center; gap: 12px; font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--flame); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
@media (min-width: 1100px) { .scroll-cue { display: inline-flex; } }

/* the ticket — three seats at the table, plated as an order chit */
.ticket {
  position: relative; padding: 20px 22px 18px; border-radius: 16px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  opacity: 0; transform: translateY(18px) rotate(-1.1deg);
}
.ticket.is-in { animation: ticketIn .8s var(--ease-back) forwards; }
@keyframes ticketIn { to { opacity: 1; transform: translateY(0) rotate(-1.1deg); } }
.ticket__tag { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.ticket__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ai); flex-shrink: 0; }
.ticket__lines { display: grid; gap: 14px; }
.ticket__line { opacity: 0; transform: translateY(8px); font-size: 0.92rem; line-height: 1.4; }
.ticket__line.is-in { animation: ticketLineIn .5s var(--ease-out) forwards; }
@keyframes ticketLineIn { to { opacity: 1; transform: translateY(0); } }
.ticket__line b { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-family: var(--f-mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticket__line b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--muted)); }
.ticket__line span { color: var(--ink-2); }
.ticket__line[data-role="pm"] b::before { background: #e0a92a; }
.ticket__line[data-role="eng"] b::before { background: var(--ai); }
.ticket__line[data-role="ux"] b::before { background: var(--ok); }
.ticket__line--me { padding-top: 14px; margin-top: 2px; border-top: 1px dashed var(--line-2); }
.ticket__line--me b { color: var(--flame); }
.ticket__line--me b::before { background: var(--flame); }
.ticket__line--me span { color: var(--ink); font-weight: 500; background: linear-gradient(transparent 60%, var(--peach) 60% 92%, transparent 92%); }
.ticket .typing { display: inline-flex; gap: 3px; }
.ticket .typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; animation: typing 1s infinite; }
.ticket .typing i:nth-child(2) { animation-delay: .15s; } .ticket .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.reduced .ticket, .no-js .ticket, .reduced .ticket__line, .no-js .ticket__line { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (max-width: 899px) {
  .ticket { transform: none; }
  .ticket.is-in { animation: ticketInFlat .6s var(--ease-out) forwards; }
  @keyframes ticketInFlat { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--butter); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; white-space: nowrap; letter-spacing: -0.02em; }
.marquee__item .star { width: 0.5em; height: 0.5em; color: var(--flame); flex-shrink: 0; animation: spin 8s linear infinite; }
.marquee__item .it { --hl: var(--peach); }
.marquee--paper { background: var(--sky); color: var(--ink); border: 0; transform: rotate(-2deg); margin: -12px -20px; }
.marquee--paper .marquee__item .star { color: var(--ai); }
.marquee--paper .marquee__item .it { --hl: var(--lilac); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Manifesto — words light up on scroll
   ========================================================================== */
.manifesto__text { font-family: var(--f-display); font-size: clamp(1.9rem, 3.9vw, 3.9rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 22ch; }
.manifesto__text .w { opacity: 0.18; transition: opacity .2s linear, background-size .6s var(--ease-out); }
.manifesto__text .w.hl { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; }
.manifesto__text .w.hl-flame { --hl: var(--peach); }
.manifesto__text .w.hl-ai { --hl: var(--sky); }
.manifesto__text .w.hl.on { background-size: 100% 100%; }
.no-js .manifesto__text .w.hl, .reduced .manifesto__text .w.hl { background-size: 100% 100%; }
.no-js .manifesto__text .w, .reduced .manifesto__text .w { opacity: 1; }
.manifesto__aside { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 110px); }
@media (min-width: 900px) { .manifesto__aside { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line-2); padding-top: 18px; }
.stat__num { font-family: var(--f-display); font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.4em; color: var(--flame); vertical-align: top; margin-left: 2px; }
.stat p { color: var(--muted); font-size: 0.95rem; margin-top: 10px; max-width: 26ch; }

/* drift rows (scroll-scrubbed horizontal offset) */
.drift { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.drift__row { display: flex; gap: 0.3em; white-space: nowrap; font-family: var(--f-display); font-size: clamp(3rem, 8.5vw, 8.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; will-change: transform; }
.drift__row + .drift__row { margin-top: 0.06em; }
.drift__row .ghost { color: rgba(37,35,59,.2); }
.drift__row .it { font-weight: 400; }
.drift__row .flame, .drift__row .ai { color: var(--ink); }

/* ==========================================================================
   Stations — pinned horizontal scroll
   ========================================================================== */
.stations { position: relative; }
.stations__intro { padding-top: clamp(96px, 12vw, 180px); }
.stations__pin { position: relative; }
.stations__track { display: flex; flex-direction: column; gap: 20px; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.station {
  position: relative; flex-shrink: 0; display: grid; gap: 28px; align-content: space-between;
  min-height: 520px; padding: clamp(24px, 3vw, 44px); border-radius: var(--radius);
  background: var(--st, var(--bg-2)); box-shadow: var(--shadow-1); overflow: hidden;
}
.station:nth-child(6n+1) { --st: var(--butter); } .station:nth-child(6n+2) { --st: var(--peach); }
.station:nth-child(6n+3) { --st: var(--rose); } .station:nth-child(6n+4) { --st: var(--mint); }
.station:nth-child(6n+5) { --st: var(--sky); } .station:nth-child(6n+6) { --st: var(--lilac); }
.station__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.station__num { font-family: var(--f-display); font-size: clamp(4rem, 7vw, 6rem); line-height: .8; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.2px rgba(37,35,59,.4); }
.station__tag { font-family: var(--f-label); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.65); color: var(--ink); white-space: nowrap; }
.station h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.station h3 em { font-style: normal; background: linear-gradient(transparent 58%, var(--hl2) 58% 92%, transparent 92%); }
.station:nth-child(6n+1) { --hl2: #f6c9a3; } .station:nth-child(6n+2) { --hl2: #f5d27a; } .station:nth-child(6n+3) { --hl2: #d4c2f2; }
.station:nth-child(6n+4) { --hl2: #a7d0ef; } .station:nth-child(6n+5) { --hl2: #a8dcb9; } .station:nth-child(6n+6) { --hl2: #f3b5c6; }
.station__role { font-family: var(--f-label); font-weight: 500; font-size: var(--fs-small); color: var(--ink-2); margin-top: 10px; }
.station p { color: var(--ink-2); max-width: 42ch; }
.station__learned { display: flex; flex-wrap: wrap; gap: 8px; }
.station__learned li { font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.6); color: var(--ink); }
.station__icon { width: 64px; height: 64px; color: var(--ink); opacity: .9; }
.stations__rail { display: none; }
@media (min-width: 1000px) {
  .stations__pin { height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .stations__track { flex-direction: row; gap: 24px; padding-bottom: 0; width: max-content; will-change: transform; }
  .station { width: min(560px, 42vw); height: min(620px, 72vh); min-height: 0; }
  .stations__rail { display: flex; align-items: center; gap: 16px; padding: 28px var(--gutter) 0; font-family: var(--f-label); font-size: var(--fs-micro); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
  .stations__bar { position: relative; flex: 1; height: 1px; background: var(--line-2); }
  .stations__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--flame), var(--ai)); }
}

/* ==========================================================================
   The menu — three courses, stacked like plates on the pass
   ========================================================================== */
.menu-list { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.dish {
  --accent: var(--flame); --accent-2: var(--flame-2);
  position: relative; display: grid; grid-template-columns: 1fr; isolation: isolate; overflow: hidden;
  border-radius: var(--radius); background: var(--plate, var(--bg-2));
  box-shadow: 0 1px 2px rgba(37,35,59,.06), 0 -18px 40px -24px rgba(37,35,59,.22);
  transition: box-shadow .5s var(--ease-out);
}
.dish--ai { --accent: var(--ai); --accent-2: var(--ai-2); }
.dish--peach { --plate: var(--peach); } .dish--sky { --plate: var(--sky); } .dish--mint { --plate: var(--mint); }
.dish--butter { --plate: var(--butter); } .dish--lilac { --plate: var(--lilac); } .dish--rose { --plate: var(--rose); }
.dish:hover { box-shadow: 0 2px 4px rgba(37,35,59,.08), 0 -18px 40px -20px rgba(37,35,59,.3); }
.dish:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.dish__body { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px); padding: clamp(22px, 3vw, 44px); }
.dish__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dish__num { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .5s; }
.dish:hover .dish__num { -webkit-text-stroke-color: var(--accent); }
.dish__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.dish__main { margin-top: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-weight: 600; font-size: 0.7rem; letter-spacing: .05em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.6); color: var(--ink); white-space: nowrap; }
.chip--flame, .chip--ai { background: var(--ink); color: var(--bg); }
.dish__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 4.8vw, 4.6rem); line-height: .95; letter-spacing: -0.03em; text-wrap: balance; transition: transform .7s var(--ease-out); }
.dish:hover .dish__title { transform: translateX(clamp(6px, 1vw, 14px)); }
.dish__title .it { --hl: var(--hl2, rgba(255,255,255,.75)); }
.dish--peach { --hl2: #f5d27a; } .dish--sky { --hl2: #d4c2f2; } .dish--mint { --hl2: #a7d0ef; } .dish--butter { --hl2: #f6c9a3; } .dish--lilac { --hl2: #f3b5c6; }
.dish__desc { margin-top: 14px; color: var(--ink-2); max-width: 42ch; }
.dish__shows { display: grid; gap: 8px; padding-top: clamp(16px, 2vw, 22px); border-top: 1px solid var(--line); }
.dish__shows span { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dish__shows em { font-family: var(--f-display); font-style: normal; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
.dish__cta { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.dish__cta .arrow { width: 14px; height: 14px; color: var(--accent); transition: transform .5s var(--ease-out); }
.dish:hover .dish__cta .arrow { transform: translateX(4px) rotate(-45deg); }
.dish__plate { position: relative; aspect-ratio: 16 / 10; margin: 0 10px 10px; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: rgba(255,255,255,.55); }
.dish__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.dish:hover .dish__plate img { transform: scale(1.07); }
.dish__plate--fit img { object-fit: contain; padding: 4%; }
@media (max-width: 899px) {
  .dish__top { flex-direction: column; gap: 16px; }
  .dish__meta { justify-content: flex-start; }
}
@media (min-width: 900px) {
  .dish { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); height: clamp(540px, calc(100svh - var(--nav-h) - 96px), 680px); }
  .dish__plate { aspect-ratio: auto; margin: 12px 12px 12px 0; }
}
/* the courses stack like plates on the pass as you scroll */
@media (min-width: 900px) and (min-height: 700px) {
  .course { position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 18px); }
}

/* ==========================================================================
   Live demo — AI concierge (scripted prototype)
   ========================================================================== */
.demo { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .demo { grid-template-columns: 0.9fr 1.1fr; } }
.demo__copy h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: .98; letter-spacing: -0.02em; margin: 18px 0 24px; text-wrap: balance; }
.demo__copy p { color: var(--ink-2); max-width: 44ch; }
.demo__notes { margin-top: 28px; display: grid; gap: 12px; }
.demo__notes li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); font-size: 0.96rem; }
.demo__notes li b { color: var(--ink); font-weight: 600; }
.demo__notes li { transition: color .4s, opacity .4s; }
.demo__notes li.is-lit { color: var(--ink); }
.demo__notes li.is-lit span:first-child { color: var(--flame); }
.demo__notes li.is-lit b { color: var(--flame-2); }

.demo__notes li span:first-child { font-family: var(--f-label); font-size: 0.72rem; color: var(--ai); padding-top: 3px; }

.concierge {
  position: relative; border-radius: 24px; padding: 14px; background: var(--bg-2);
  box-shadow: var(--shadow-2);
}
.concierge::before { display: none; content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(53,83,166,.7), rgba(184,71,44,.4), rgba(53,83,166,.1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.concierge__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 14px; }
.ai-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--sky); font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.ai-pill__avatar { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9d5ff, #6b7fe0 55%, #3a3f8f); }
.ai-pill__avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--sky); }
.concierge.is-thinking .ai-pill__avatar { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.concierge__disclose { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.concierge__body { display: flex; flex-direction: column; gap: 10px; min-height: 380px; max-height: 520px; overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: var(--bg-3); font-size: 0.95rem; line-height: 1.45; animation: chatPop .55s var(--ease-back) both; }
.msg--user { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--bg); }
.msg b { font-weight: 600; }
.steps { align-self: stretch; display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #eef4fc; box-shadow: inset 0 0 0 1px rgba(53,83,166,.18); animation: chatPop .55s var(--ease-back) both; }
.steps__head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ai-2); }
.steps__bar { height: 3px; border-radius: 3px; background: rgba(53,83,166,.15); overflow: hidden; }
.steps__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ai), var(--ai-2)); transition: width .6s var(--ease-out); }
.step { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--muted); transition: color .3s; }
.step__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; }
.step.is-active { color: var(--ink); }
.step.is-active .step__dot { box-shadow: inset 0 0 0 1.5px var(--ai); }
.step.is-active .step__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--ai); animation: spin .8s linear infinite; }
.step.is-done { color: var(--ink-2); }
.step.is-done .step__dot { background: var(--ok); box-shadow: none; }
.step.is-done .step__dot::before { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.step__why { font-family: var(--f-mono); font-size: 0.64rem; color: var(--muted); }
.email {
  align-self: stretch; background: var(--paper); color: var(--paper-ink); border-radius: 14px; padding: 16px 18px; font-size: 0.9rem; line-height: 1.5;
  animation: chatPop .6s var(--ease-back) both; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
}
.email__row { display: flex; gap: 8px; font-size: 0.82rem; color: var(--paper-muted); }
.email__row b { color: var(--paper-ink); font-weight: 600; }
.email hr { border: 0; border-top: 1px dashed rgba(37,35,59,.2); margin: 10px 0; }
.email [contenteditable] { outline: none; border-radius: 4px; transition: background-color .2s; }
.email [contenteditable]:hover, .email [contenteditable]:focus { background: var(--butter); }
.email__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--f-mono); font-size: 0.64rem; color: var(--paper-muted); text-transform: uppercase; letter-spacing: .06em; }
.leads { display: flex; gap: 6px; flex-wrap: wrap; }
.leads span { font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; background: var(--bg-3); color: var(--paper-ink); font-family: var(--f-sans); text-transform: none; letter-spacing: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; animation: chatPop .5s var(--ease-back) both; }
.quick button { font-size: 0.86rem; padding: 8px 14px; border-radius: 999px; background: rgba(37,35,59,.07); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, transform .4s var(--ease-back); }
.quick button:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.concierge__input { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(37,35,59,.05); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.concierge__input:focus-within { box-shadow: inset 0 0 0 1px var(--ai); }
.concierge__input input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 0.95rem; padding: 10px 0; }
.concierge__input input::placeholder { color: var(--muted); }
.concierge__input button { width: 40px; height: 40px; border-radius: 50%; background: var(--ai); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-back); }
.concierge__input button:hover { transform: scale(1.08) rotate(-12deg); }
.annot { position: absolute; font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.1; color: var(--flame-2); pointer-events: none; opacity: 0; transition: opacity .5s; display: none; }
.show-notes .annot { opacity: 1; }
@media (min-width: 1200px) { .annot { display: block; } }
.annot svg { width: 60px; height: 40px; }
.demo__toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 0.9rem; color: var(--ink-2); }
.switch { position: relative; width: 44px; height: 24px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .45s var(--ease-back); }
[aria-pressed="true"] .switch { background: var(--flame); }
[aria-pressed="true"] .switch::after { transform: translateX(20px); }

/* ==========================================================================
   Chef — about
   ========================================================================== */
.chef { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1000px) { .chef { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.pixels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; pointer-events: none; }
.pixels i { background: var(--bg); opacity: 0; }
.pixels i.p1 { --po: .55; animation: pxBlink 3.4s steps(1) infinite; }
.pixels i.p2 { --po: .35; animation: pxPulse 2.6s ease-in-out infinite; }
.pixels i.p3 { --po: .7; animation: pxFlicker 4.2s steps(1) infinite; }
@keyframes pxBlink { 0%, 40% { opacity: var(--po); } 48% { opacity: 0; } 56%, 100% { opacity: var(--po); } }
@keyframes pxPulse { 0%, 100% { opacity: calc(var(--po) * .3); } 50% { opacity: var(--po); } }
@keyframes pxFlicker { 0%, 18%, 24%, 62%, 68%, 100% { opacity: var(--po); } 20%, 22%, 64%, 66% { opacity: 0; } 45% { opacity: calc(var(--po) * .3); } }
.portrait__tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.9); font-family: var(--f-label); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; }
.portrait__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
.chef__copy h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.02em; margin: 18px 0 28px; text-wrap: balance; }
.chef__copy p { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }
.chef__copy p + p { margin-top: 18px; }
.chef__copy .quote { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--ink); line-height: 1.3; margin-top: 32px; max-width: 30ch; }
.section--mint .chef__copy p.quote { color: var(--ink); font-size: clamp(1.4rem, 2vw, 1.9rem); }
.table { margin-top: 40px; border-top: 1px solid var(--line-2); }
.table__row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.table__row:hover { padding-left: 12px; }
.table__row span:last-child { font-family: var(--f-mono); font-size: var(--fs-small); color: var(--muted); }
.table__row b { font-weight: 500; }

.stickers { position: relative; margin-top: 48px; height: 280px; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-1); overflow: hidden; touch-action: none; }
.stickers__label { position: absolute; left: 18px; top: 16px; font-family: var(--f-label); font-size: .86rem; color: var(--muted); pointer-events: none; }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; white-space: nowrap; cursor: grab; user-select: none; touch-action: none;
  box-shadow: 0 10px 24px -12px rgba(37,35,59,.22), inset 0 -2px 0 rgba(37,35,59,.1);
  transition: box-shadow .3s, scale .3s var(--ease-back);
}
.sticker:active { cursor: grabbing; }
.sticker.is-drag { scale: 1.08; box-shadow: 0 24px 40px -14px rgba(37,35,59,.28); z-index: 5; }
.sticker { color: var(--ink); }
.s1 { background: var(--peach); } .s2 { background: var(--butter); } .s3 { background: var(--sky); }
.s4 { background: var(--rose); } .s5 { background: var(--mint); } .s6 { background: var(--lilac); }

/* ==========================================================================
   House rules — expanding cards (flex-grow)
   ========================================================================== */
.rules { display: flex; flex-direction: column; gap: 12px; }
.rule {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 28px; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-1); overflow: hidden;
  transition: flex-grow .7s var(--ease-out), background-color .4s;
}
.rule__num { font-family: var(--f-label); font-weight: 600; font-size: var(--fs-micro); color: var(--muted); }
.rule:nth-child(1) { --rh: var(--butter); } .rule:nth-child(2) { --rh: var(--sky); } .rule:nth-child(3) { --rh: var(--peach); } .rule:nth-child(4) { --rh: var(--mint); }

.rule h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.rule p { color: var(--ink-2); max-width: 40ch; }
.rule a { font-family: var(--f-label); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-decoration-color: var(--flame); text-underline-offset: 4px; }
.rule__body { display: grid; gap: 14px; }
@media (min-width: 1000px) {
  .rules { flex-direction: row; height: 460px; }
  .rule { flex-grow: 1; }
  .rule { background: var(--rh, var(--bg-2)); box-shadow: none; min-width: 0; overflow-wrap: break-word; justify-content: flex-end; }
.rule:hover, .rule.is-open, .rule:focus-within { flex-grow: 2.4; }
  .rule__body > p, .rule__body > a { opacity: 0; max-height: 0; overflow: hidden; transform: translateY(16px); transition: opacity .35s, transform .6s var(--ease-out), max-height .6s var(--ease-out); }
  .rule:hover .rule__body > p, .rule.is-open .rule__body > p, .rule:focus-within .rule__body > p { max-height: 180px; }
  .rule:hover .rule__body > a, .rule.is-open .rule__body > a, .rule:focus-within .rule__body > a { max-height: 40px; }
  .rules:hover .rule.is-open:not(:hover) .rule__body > p, .rules:hover .rule.is-open:not(:hover) .rule__body > a { max-height: 0; }
  .rule__body { gap: 0; } .rule__body > * + * { margin-top: 14px; }
  .rule:hover .rule__body > p, .rule:hover .rule__body > a, .rule.is-open .rule__body > p, .rule.is-open .rule__body > a, .rule:focus-within .rule__body > p, .rule:focus-within .rule__body > a { opacity: 1; transform: none; transition-delay: .18s; }
  .rules:hover .rule.is-open:not(:hover) { flex-grow: 1; }
  .rules:hover .rule.is-open:not(:hover) .rule__body > p, .rules:hover .rule.is-open:not(:hover) .rule__body > a { opacity: 0; transform: translateY(16px); transition-delay: 0s; }
  .rule h3 { font-size: clamp(1.3rem, 1.6vw, 1.9rem); }
  .rule:hover h3, .rule.is-open h3, .rule:focus-within h3 { font-size: clamp(1.6rem, 2.1vw, 2.3rem); }
  .rule__body { min-width: 0; }
  .rule:hover p, .rule.is-open p, .rule:focus-within p { min-width: 30ch; }
  .rules:hover .rule.is-open:not(:hover) p { min-width: 0; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; overflow: hidden; background: var(--butter); }
.contact .field input, .contact .field textarea { border-bottom-color: rgba(37,35,59,.35); }
.contact .opt span { background: rgba(255,255,255,.55); box-shadow: none; }
.contact__big { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: .95; letter-spacing: -0.035em; }
.contact__big .it { --hl: var(--peach); }
.contact__grid { display: grid; gap: clamp(40px, 6vw, 80px); margin-top: clamp(48px, 7vw, 96px); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1.2fr; } }
.contact__links { display: grid; gap: 0; border-top: 1px solid var(--line-2); align-content: start; }
.contact__links a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); font-size: clamp(1.2rem, 2vw, 1.6rem); transition: padding .5s var(--ease-out), color .3s; }
.contact__links a:hover { padding-left: 14px; color: var(--flame-2); }
.contact__links a svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.contact__links a:hover svg { transform: rotate(-45deg); }
.form { display: grid; gap: 28px; }
.form__label { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.92rem; cursor: pointer; transition: background-color .3s, color .3s, transform .4s var(--ease-back); }
.opt span:hover { transform: translateY(-2px); background: rgba(37,35,59,.05); }
.opt input:checked + span { background: var(--ink); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 14px 0; font-size: 1.15rem; outline: none; resize: vertical; transition: border-color .3s; }
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--flame); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot small { color: var(--ink-2); max-width: 36ch; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 140%); padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 0.94rem; box-shadow: 0 20px 40px -12px rgba(37,35,59,.22); transition: transform .6s var(--ease-back); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; padding: 64px 0 28px; overflow: hidden; background: var(--ink); color: var(--bg); --muted: #b3b0c8; --line: rgba(245,243,247,.14); --line-2: rgba(245,243,247,.26); }
.footer ::selection { background: var(--peach); color: var(--ink); }
.footer :focus-visible { outline-color: var(--peach); }
.footer__top { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3, .footer h4 { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.footer li + li { margin-top: 6px; }
.footer a { color: #dcd9ea; transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__colophon { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }
.footer__colophon kbd { font-family: var(--f-label); font-size: 0.72rem; padding: 2px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); color: #dcd9ea; }
.wordmark { margin-top: 56px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 15.5vw, 16rem); line-height: .8; letter-spacing: -0.06em; white-space: nowrap; display: flex; justify-content: space-between; }
.wordmark span { display: inline-block; transition: color .3s, transform .6s var(--ease-back); }
.wordmark span:nth-child(6n+1):hover { color: var(--butter); } .wordmark span:nth-child(6n+2):hover { color: var(--peach); } .wordmark span:nth-child(6n+3):hover { color: var(--rose); }
.wordmark span:nth-child(6n+4):hover { color: var(--mint); } .wordmark span:nth-child(6n+5):hover { color: var(--sky); } .wordmark span:nth-child(6n+6):hover { color: var(--lilac); }
.wordmark span:hover { transform: translateY(-8%) rotate(-4deg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-family: var(--f-label); font-size: var(--fs-micro); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   Grid overlay (shift + G)
   ========================================================================== */
.grid-overlay { position: fixed; inset: 0; z-index: 400; pointer-events: none; display: none; }
.grid-overlay.on { display: block; }
.grid-overlay .wrap { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (min-width: 900px) { .grid-overlay .wrap { grid-template-columns: repeat(12, 1fr); gap: 24px; } }
.grid-overlay .wrap i { background: rgba(184, 71, 44, .07); box-shadow: inset 1px 0 0 rgba(184,71,44,.35), inset -1px 0 0 rgba(184,71,44,.35); }
.grid-overlay__tag { position: fixed; right: 16px; bottom: 16px; font-family: var(--f-label); font-size: .7rem; padding: 6px 10px; border-radius: 6px; background: var(--flame); color: #fff; }

/* ==========================================================================
   Page transition curtain
   ========================================================================== */
.curtain { position: fixed; inset: 0; z-index: 250; pointer-events: none; display: grid; place-items: center; }
.curtain__panel { position: absolute; inset: 0; background: var(--peach); transform: translateY(100%); }
.curtain__panel--2 { background: var(--sky); }
.curtain__label { position: relative; z-index: 2; font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 5rem); color: var(--ink); opacity: 0; }
.is-entering .curtain__panel { transform: translateY(0); }
.is-entering .curtain__panel--1 { transform: translateY(0); }

/* ==========================================================================
   Case study
   ========================================================================== */
.case-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 0; }
.case-hero__back { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: clamp(32px, 5vw, 64px); font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s, gap .4s var(--ease-out); }
.case-hero__back:hover { color: var(--ink); gap: 16px; }
.case-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.case-hero h1 .it { --hl: var(--peach); }
.case-hero h1 .ai-word { font-style: normal; }
.case-hero__lead { margin-top: 28px; font-size: var(--fs-lead); color: var(--ink-2); max-width: 54ch; line-height: 1.5; }
.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding: 24px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .meta { grid-template-columns: repeat(5, 1fr); } }
.meta dt { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 0.98rem; font-weight: 500; }
.cover { margin-top: clamp(40px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; position: relative; box-shadow: var(--shadow-1); }
.cover img, .cover video { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; will-change: transform; }
.cover--contain { background: var(--sky); }
.cover--contain img { object-fit: contain; height: 100%; top: 0; padding: 4%; }
.cover--paper { background: var(--bg-3); }
.cover--peach { background: var(--peach); } .cover--mint { background: var(--mint); } .cover--butter { background: var(--butter); }

/* receipt TL;DR */
.receipt-wrap { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .receipt-wrap { grid-template-columns: 1fr 440px; } }
.receipt-wrap h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.receipt-wrap > div > p { color: var(--ink-2); font-size: var(--fs-lead); margin-top: 22px; max-width: 48ch; }
.receipt {
  position: relative; background: var(--paper); color: var(--paper-ink); font-family: var(--f-mono); font-size: 0.8rem; line-height: 1.6;
  padding: 28px 26px 34px; transform: rotate(1.2deg); box-shadow: 0 40px 70px -30px rgba(37,35,59,.3);
  --tooth: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x;
}
.receipt__head { text-align: center; border-bottom: 1px dashed rgba(37,35,59,.28); padding-bottom: 14px; margin-bottom: 14px; }
.receipt__head strong { display: block; font-size: 1rem; letter-spacing: .12em; }
.receipt__row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 7px 0; }
.receipt__row span:first-child { color: var(--paper-muted); text-transform: uppercase; font-size: 0.68rem; letter-spacing: .06em; padding-top: 2px; }
.receipt__total { display: flex; justify-content: space-between; border-top: 1px dashed rgba(37,35,59,.28); margin-top: 12px; padding-top: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.receipt__barcode { height: 38px; margin-top: 16px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 4px, var(--paper-ink) 4px 5px, transparent 5px 8px, var(--paper-ink) 8px 11px, transparent 11px 12px); opacity: .85; }
.receipt__thanks { text-align: center; margin-top: 10px; font-family: var(--f-hand); font-size: 1.3rem; }
.js .receipt.print { clip-path: inset(0 0 100% 0); }

/* chapter layout */
.case-body { display: grid; gap: 0; }
@media (min-width: 1100px) { .case-body { grid-template-columns: 220px 1fr; gap: 64px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
  .toc ol { display: grid; gap: 4px; border-left: 1px solid var(--line); }
  .toc a { position: relative; display: flex; gap: 10px; padding: 7px 0 7px 18px; font-size: 0.9rem; color: var(--muted); transition: color .3s, padding .4s var(--ease-out); }
  .toc a span { font-family: var(--f-label); font-size: 0.68rem; padding-top: 3px; }
  .toc a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--flame); transform: scaleY(0); transition: transform .4s var(--ease-out); }
  .toc a:hover { color: var(--ink-2); }
  .toc a.is-active { color: var(--ink); padding-left: 24px; }
  .toc a.is-active::before { transform: scaleY(1); }
}
.chapter { padding: clamp(64px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__label { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.chapter__label .n { font-family: var(--f-label); font-size: var(--fs-micro); color: var(--flame); letter-spacing: .08em; }
.chapter__label .t { font-family: var(--f-label); font-size: var(--fs-micro); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.chapter__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chapter h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.chapter h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.prose { margin-top: 28px; display: grid; gap: 18px; max-width: 64ch; color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--flame); }
.hmw { margin-top: 36px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--butter); font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em; }
.hmw small { display: block; font-family: var(--f-label); font-weight: 600; font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }

.pull { margin: clamp(48px, 7vw, 96px) 0; font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 22ch; }
.pull::before { content: "“"; display: block; font-size: 1.6em; line-height: .6; color: var(--flame); }
.pull cite { display: block; margin-top: 18px; font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-style: normal; }

.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, 1fr); } }
.nums .stat__num { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }

.cards { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; border-radius: 18px; background: var(--bg-2); box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card .mono { color: var(--flame); font-weight: 600; display: block; margin-bottom: 14px; }
.card--peach { background: var(--peach); } .card--sky { background: var(--sky); } .card--mint { background: var(--mint); } .card--butter { background: var(--butter); } .card--lilac { background: var(--lilac); } .card--rose { background: var(--rose); }
.card--peach .mono, .card--sky .mono, .card--mint .mono, .card--butter .mono, .card--lilac .mono, .card--rose .mono { color: var(--ink-2); }
.card p { color: var(--ink-2); font-size: 0.98rem; }
.card blockquote { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }

/* assumption → reality flip cards */
.flips { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 800px) { .flips { grid-template-columns: repeat(2, 1fr); } }
.flip { display: block; width: 100%; perspective: 1400px; min-height: 250px; text-align: left; color: inherit; }
.flip__inner { display: block; position: relative; width: 100%; height: 100%; min-height: 250px; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 26px; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.flip__front { background: var(--bg-2); box-shadow: var(--shadow-1); }
.flip__back { background: var(--mint); color: var(--paper-ink); transform: rotateY(180deg); }
.flip__face .mono { color: var(--muted); }
.flip__back .mono { color: var(--ink-2); font-weight: 600; }
.flip__face .p { display: block; font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.18; letter-spacing: -0.01em; }
.flip__back .p { font-family: var(--f-sans); font-size: 1rem; line-height: 1.55; }
.flip__back .p q { font-family: var(--f-display); font-size: 1.25rem; display: block; margin-bottom: 6px; }
.flip__hint { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flip__hint svg { width: 14px; height: 14px; transition: transform .6s var(--ease-out); }
.flip:hover .flip__hint svg { transform: rotate(180deg); }
.flip.is-wrong .flip__front::after { content: "Wrong"; position: absolute; top: 20px; right: 20px; font-family: var(--f-label); font-weight: 700; font-size: .66rem; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--rose); color: var(--ink); letter-spacing: .08em; }

/* trade-off table */
.tradeoffs { margin-top: 36px; border-top: 1px solid var(--line-2); }
.tradeoff { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .tradeoff { grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; } }
.tradeoff__h { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tradeoff b { font-weight: 600; }
.tradeoff .lost { color: var(--muted); }
.tradeoff .lost::before { content: "− "; color: var(--flame); }
.tradeoff .won::before { content: "+ "; color: var(--ok); }
.tradeoff--head { padding: 14px 0; display: none; }
@media (min-width: 900px) { .tradeoff--head { display: grid; } }

/* figures */
.fig { margin-top: 40px; }
.fig__frame { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); cursor: zoom-in; }
.fig__frame img, .fig__frame video { width: 100%; transition: transform 1.2s var(--ease-out); }
.fig__frame:hover img { transform: scale(1.02); }
.fig__frame--pad { padding: clamp(16px, 3vw, 40px); background: var(--paper); }
.fig__frame--dark { padding: clamp(16px, 3vw, 40px); background: var(--sky); }
.fig figcaption { margin-top: 12px; font-family: var(--f-label); font-size: 0.86rem; color: var(--muted); display: flex; gap: 10px; }
.fig figcaption::before { content: "↳"; color: var(--flame); }
.fig-row { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 800px) { .fig-row { grid-template-columns: repeat(var(--cols, 2), 1fr); align-items: start; } }
.fig-row .fig { margin-top: 0; }
.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; padding: clamp(24px, 4vw, 56px); border-radius: var(--radius); background: var(--sky); }
@media (min-width: 800px) { .phones { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.phones img, .phones video { width: 100%; border-radius: 12px; cursor: zoom-in; }
.phones figure:nth-child(2) { transform: translateY(8%); }

/* before / after slider */
.ba { position: relative; margin-top: 40px; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 860px; background: #fff; user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--flame); cursor: ew-resize; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--flame); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 10px 30px rgba(37,35,59,.2); }
.ba__tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.9); font-family: var(--f-label); font-size: 0.64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; background: var(--flame); color: #fff; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* clickable flow prototype */
.proto { margin-top: 40px; border-radius: var(--radius); background: var(--lilac); padding: clamp(14px, 2vw, 22px); }
.proto__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.proto__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.proto__tabs button span { font-family: var(--f-label); font-size: 0.66rem; opacity: .7; }
.proto__tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.proto__stage { position: relative; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 1440 / 1024; }
.proto__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(3%); transition: opacity .5s, transform .7s var(--ease-out); }
.proto__stage img.on { opacity: 1; transform: none; }
.proto__note { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.proto__note p { color: var(--ink-2); font-size: 0.96rem; max-width: 60ch; }
.proto__nav { display: flex; gap: 8px; }
.proto__nav button { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.proto__nav button:hover { background: var(--ink); color: var(--bg); }

/* impact / effort interactive matrix */
.matrix { position: relative; margin-top: 40px; aspect-ratio: 1 / 1; max-width: 640px; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-1); }
@media (min-width: 800px) { .matrix { aspect-ratio: 16 / 10; max-width: none; } }
.matrix::before, .matrix::after { content: ""; position: absolute; background: var(--line-2); }
.matrix::before { left: 50%; top: 24px; bottom: 24px; width: 1px; }
.matrix::after { top: 50%; left: 24px; right: 24px; height: 1px; }
.matrix__axis { position: absolute; font-family: var(--f-label); font-size: 0.64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.matrix__axis--y1 { top: 12px; left: calc(50% + 10px); } .matrix__axis--y2 { bottom: 12px; left: calc(50% + 10px); }
.matrix__axis--x1 { left: 16px; top: calc(50% + 10px); } .matrix__axis--x2 { right: 16px; top: calc(50% + 10px); }
.matrix__q { position: absolute; font-family: var(--f-hand); font-size: 1.3rem; color: var(--flame-2); }
.note { position: absolute; width: clamp(110px, 16vw, 180px); padding: 12px; border-radius: 6px; font-size: clamp(0.72rem, 1vw, 0.86rem); line-height: 1.3; color: var(--paper-ink); box-shadow: 0 10px 20px -10px rgba(37,35,59,.22); cursor: grab; touch-action: none; transition: box-shadow .3s, scale .3s var(--ease-back); user-select: none; }
.note:active { cursor: grabbing; }
.note.is-drag { scale: 1.06; z-index: 3; box-shadow: 0 24px 40px -12px rgba(37,35,59,.28); }
.note--g { background: var(--mint); } .note--b { background: var(--sky); } .note--y { background: var(--butter); } .note--r { background: var(--rose); }

/* next case */
.next { position: relative; display: block; padding: clamp(80px, 12vw, 180px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.next__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s; }
.next__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease-out); }
.next__bg::after { content: ""; position: absolute; inset: 0; background: rgba(245,243,247,.82); }
.next { background: var(--next-bg, var(--lilac)); }
.next:hover .next__bg { opacity: 1; }
.next:hover .next__bg img { transform: scale(1); }
.next small { font-family: var(--f-label); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .98; letter-spacing: -0.03em; margin-top: 18px; transition: transform .8s var(--ease-out); }
.next:hover h2 { transform: translateX(2vw); }
.next h2 .it { --hl: rgba(255,255,255,.8); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 4vw; background: rgba(37,35,59,.82); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s; cursor: zoom-out; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { box-shadow: var(--shadow-2); max-height: 92vh; width: auto; max-width: 100%; border-radius: 10px; transform: scale(.92); transition: transform .6s var(--ease-out); background: #fff; }
.lightbox.on img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 1.3rem; }

/* neon heading flicker (on enter) */
.neon.on { animation: neon 1.4s steps(1) 1; }
@keyframes neon { 0% { opacity: .15; } 8% { opacity: 1; } 12% { opacity: .2; } 20% { opacity: 1; } 24% { opacity: .4; } 30%, 100% { opacity: 1; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* small screens: keep the concierge header on one line */
@media (max-width: 600px) {
  .concierge__disclose { display: none; }
  .ai-pill { white-space: nowrap; }
  .concierge__body { min-height: 320px; }
  .msg { max-width: 94%; }
}
.phones--narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.phones video { background: transparent; }

/* ==========================================================================
   Daylight kitchen additions
   ========================================================================== */
/* pastel fields that own whole sections */
.section--lilac { background: var(--lilac); }
.section--mint { background: var(--mint); }
.section--butter { background: var(--butter); }
.section--peach { background: var(--peach); }
.section--sky { background: var(--sky); }
.section--mint .portrait { background: var(--butter); }
.section--mint .chef__copy p, .section--lilac .demo__copy p, .section--lilac .demo__notes li { color: var(--ink-2); }
.section--lilac .switch { background: rgba(255,255,255,.6); }
.section--lilac [aria-pressed="true"] .switch { background: var(--flame); }

/* "Highlight design decisions": tag each chat beat with the note it came from */
.demo__notes li { transition: color .4s, opacity .4s, background-color .4s; border-radius: 10px; }
.demo.show-decisions .demo__notes li { background: rgba(255,255,255,.45); margin: 0 -10px; padding: 6px 10px; }
.demo.show-decisions .demo__notes li b { color: var(--flame-2); }
.concierge [data-decision] { position: relative; transition: box-shadow .35s var(--ease-out); }
.demo.show-decisions .concierge [data-decision] { box-shadow: 0 0 0 1.5px var(--flame), 0 0 0 5px rgba(184,71,44,.14); }
.concierge [data-decision]::after {
  content: attr(data-num); position: absolute; top: -8px; right: 10px; padding: 1px 7px; border-radius: 999px;
  font-family: var(--f-label); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .04em; line-height: 1.4;
  background: var(--flame); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s var(--ease-back); pointer-events: none;
}
.demo.show-decisions .concierge [data-decision]::after { opacity: 1; transform: scale(1); }

.section--mint .table__row span:last-child, .section--mint .stickers__label { color: var(--ink-2); }
.section--mint .table, .section--mint .table__row { border-color: rgba(37,35,59,.2); }

/* the menu: no course numbers, chips sit at the start */
.dish__meta { justify-content: flex-start; }
.dish__cta { font-weight: 600; }

/* why-me ledger: an order ticket, not stat cards */
.ledger { margin-top: clamp(56px, 8vw, 110px); border-top: 2px solid var(--ink); }
.ledger__row { display: grid; gap: 6px 32px; padding: 22px 0; border-bottom: 1px dashed var(--line-2); }
@media (min-width: 800px) { .ledger__row { grid-template-columns: minmax(220px, 0.8fr) 2fr; align-items: baseline; } }
.ledger dt { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; }
.ledger dt span { font-variant-numeric: tabular-nums; }
.ledger dd { margin: 0; color: var(--ink-2); max-width: 60ch; }

/* type plate: renewals sheet (illustration, invented data) */
.dish__plate--sheet { display: grid; place-items: center; padding: clamp(14px, 3vw, 36px); }
.sheet { width: 100%; max-width: 560px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-2); padding: 16px; font-size: clamp(.66rem, .9vw, .8rem); transform: rotate(-1.2deg); transition: transform .9s var(--ease-out); }
.dish:hover .sheet { transform: rotate(0deg) scale(1.02); }
.sheet__bar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.sheet__bar b { font-weight: 700; }
.sheet__bar span, .sheet__row--head span { font-family: var(--f-mono); color: var(--muted); }
.sheet__row { display: grid; grid-template-columns: 1.6fr .8fr .9fr 1.1fr; gap: 8px; align-items: center; padding: 9px 6px; border-bottom: 1px solid var(--line); border-radius: 6px; }
.sheet__row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__row--head { padding-top: 10px; font-size: .92em; }
.sheet__row.is-hot { background: var(--butter); }
.pill { justify-self: start; padding: 3px 8px; border-radius: 999px; font-weight: 600; font-size: .92em; }
.pill--ok { background: var(--mint); } .pill--wait { background: var(--sky); } .pill--risk { background: var(--peach); }
.sheet__note { margin-top: 10px; font-size: .9em; color: var(--muted); }

/* type plate: 49-screen audit wall */
.dish__plate--audit { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(14px, 3vw, 36px); }
.audit { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, .7vw, 8px); width: 100%; max-width: 520px; margin: 0 auto; }
.audit i { position: relative; aspect-ratio: 4 / 3; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.audit i::before { content: ""; position: absolute; left: 12%; right: 12%; top: 16%; height: 12%; border-radius: 2px; background: var(--bg-3); box-shadow: 0 calc(var(--h, 1) * 1px) 0 transparent; }
.audit i::after { content: ""; position: absolute; left: 12%; width: 46%; top: 40%; height: 34%; border-radius: 2px; background: repeating-linear-gradient(var(--bg-3) 0 2px, transparent 2px 5px); }
.audit i.ok { background: var(--mint); box-shadow: none; }
.audit i.ok::before { background: rgba(37,35,59,.18); }
.audit i.ok::after { background: repeating-linear-gradient(rgba(37,35,59,.16) 0 2px, transparent 2px 5px); }
.audit__key { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; width: 100%; max-width: 520px; margin: 0 auto; font-size: .82rem; color: var(--ink-2); }
.audit__key span { display: inline-flex; align-items: center; gap: 8px; }
.k-ok { width: 12px; height: 12px; border-radius: 3px; background: var(--mint); box-shadow: inset 0 0 0 1px rgba(37,35,59,.25); }

/* text-only case studies: a figure wall instead of screenshots */
.facts { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: clamp(20px, 2.4vw, 30px); border-radius: 18px; background: var(--f, var(--bg-2)); }
.fact b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .98rem; max-width: 30ch; }
.nda { margin-top: 28px; display: inline-flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--bg-3); color: var(--ink-2); font-size: .92rem; max-width: 64ch; }
.nda svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* case hero chips row replaces the kicker above the headline */
.case-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case-hero__chips .chip { background: var(--bg-2); box-shadow: var(--shadow-1); }

/* Cozy Draft: lane claiming, recreated */
.lanes { margin-top: 36px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius); background: var(--mint); }
.lanes__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.lanes__head b { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; }
.lanes__head span { color: var(--ink-2); font-size: .92rem; }
.lanes__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 640px) { .lanes__grid { grid-template-columns: repeat(2, 1fr); } }
.lanes__grid button { display: grid; gap: 4px; padding: 14px 12px; border-radius: 14px; background: rgba(255,255,255,.7); text-align: left; min-height: 72px; transition: background-color .3s, transform .4s var(--ease-back), box-shadow .3s; }
.lanes__grid button span { font-weight: 700; }
.lanes__grid button em { font-style: normal; font-size: .86rem; color: var(--ink-2); }
.lanes__grid button[data-owner="open"] { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; cursor: pointer; }
.lanes__grid button[data-owner="open"]:hover { transform: translateY(-2px); background: var(--butter); }
.lanes__grid button[data-owner="you"] { background: var(--ink); color: #fff; }
.lanes__grid button[data-owner="you"] em { color: var(--butter); }
.lanes__grid button:disabled { cursor: not-allowed; }
.lanes__status { margin-top: 12px; font-size: .92rem; color: var(--ink-2); min-height: 1.4em; }

/* U.S. Bank: one step at three breakpoints (illustration) */
.bp { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3vw, 40px); padding: clamp(20px, 4vw, 56px); border-radius: 16px; background: var(--butter); }
.bp__frame { position: relative; display: grid; gap: 7%; align-content: start; padding: 5%; border-radius: 10px; background: #fff; box-shadow: var(--shadow-1); }
.bp__frame--lg { width: 46%; aspect-ratio: 16 / 10; grid-template-columns: 1fr 1fr; }
.bp__frame--md { width: 26%; aspect-ratio: 3 / 4; }
.bp__frame--sm { width: 14%; aspect-ratio: 9 / 19; }
.bp__frame i { display: block; height: 10px; border-radius: 3px; background: var(--bg-3); }
.bp__frame--lg i:first-child { grid-column: 1 / -1; height: 14px; background: var(--sky); }
.bp__frame--md i:first-child, .bp__frame--sm i:first-child { height: 14px; background: var(--sky); }
.bp__frame b { display: block; height: 16px; width: 60%; border-radius: 999px; background: var(--ink); }
.bp__frame--lg b { grid-column: 2; justify-self: end; width: 50%; }
@media (max-width: 899px) { .dish__plate--sheet, .dish__plate--audit { aspect-ratio: auto; } }
.case-hero__chips .chip--flame, .case-hero__chips .chip--ai { background: var(--ink); color: var(--bg); }

/* audit wall v2: screens start flagged (peach, issue dot) and turn mint as they are rebuilt */
.audit i { background: var(--peach); box-shadow: none; transition: background-color .4s; }
.audit i > b { position: absolute; right: 8%; top: 12%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--flame); transition: transform .4s var(--ease-back), opacity .3s; }
.audit i.ok > b { transform: scale(0); opacity: 0; }
.audit i:nth-child(3n)::after { width: 76%; height: 44%; background: repeating-linear-gradient(rgba(37,35,59,.14) 0 3px, transparent 3px 7px); }
.audit i:nth-child(4n+1)::after { width: 34%; height: 18%; top: 44%; border-radius: 999px; background: rgba(37,35,59,.22); }
.audit i:nth-child(5n+2)::before { right: 40%; }
.k-flag { width: 12px; height: 12px; border-radius: 3px; background: var(--peach); box-shadow: inset 0 0 0 1px rgba(37,35,59,.25); }
/* verdict-pass fixes */
@media (max-width: 999px) { .rules .rule { background: var(--rh); } }
.audit i { align-self: start; }
.audit i.ok > b { transform: none; opacity: 1; background: transparent; width: 18%; border-radius: 0; border: solid var(--ink); border-width: 0 2px 2px 0; aspect-ratio: 1 / 1.8; transform: rotate(45deg) scale(.7); }
.loader__hint { font-family: var(--f-label); font-size: .95rem; }
@media (min-width: 900px) { .ticket { align-self: start; margin-top: clamp(8px, 2vh, 24px); } }
