/* =====================================================================
   AAINZ ENTERPRISES — STYLES
   The page is one vending-machine story. Colours shift chapter by
   chapter (set from JavaScript through the --bg / --fg variables).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* live theme (animated by JS — starts as the dark "power on" theme) */
  --bg: #1A120D;
  --fg: #F3E6D6;
  --fg-2: rgba(243, 230, 214, .68);
  --card: rgba(255, 240, 225, .06);
  --line: rgba(243, 230, 214, .14);
  --accent: #E3A867;

  /* fixed palette */
  --espresso: #1A120D;
  --roast: #24170F;
  --mocha: #4A3224;
  --caramel: #C08552;
  --amber: #E3A867;
  --cream: #F6D9B5;
  --latte: #E9DAC6;
  --foam: #F6EDE1;
  --ink: #2A1B13;
  --ink-2: #6A5444;
  --lcd-bg: #0E0906;
  --wa: #187A51;
  --wa-2: #12663F;

  --radius: 26px;
  --shadow-sm: 0 1px 2px rgba(40, 22, 12, .08), 0 10px 24px -14px rgba(40, 22, 12, .35);
  --shadow: 0 2px 6px rgba(40, 22, 12, .06), 0 30px 60px -30px rgba(40, 22, 12, .5);
  --shadow-lg: 0 50px 100px -40px rgba(20, 10, 5, .65);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --nav-h: 78px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}
@media (max-width: 959px) { :root { --nav-h: 66px; --radius: 22px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:not(.js) { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; line-height: 1.15; }
::selection { background: var(--amber); color: var(--espresso); }
[hidden] { display: none !important; }
main, footer { overflow-x: clip; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--amber); color: var(--espresso);
  padding: .7rem 1rem; border-radius: 12px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked { overflow: hidden; }

/* Fine film grain over everything — gives the colour a rich, printed feel */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating beans canvas sits behind all content */
.beans { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.h2 em, .h3 em, .hero__title em, .footer__big em, .boot__brand em, .brand__word em, .bento__photo figcaption em {
  font-style: italic; color: var(--accent); font-weight: 330;
}
.lede { font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: var(--fg-2); max-width: 58ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: .7; }

/* SplitText line masks (keeps descenders & italics from clipping) */
.sl-mask { padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh);
  padding: .85em 1.55em;
  border-radius: 999px;
  font-weight: 750; font-size: .95rem; letter-spacing: .005em; line-height: 1.1;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { width: 1.12em; height: 1.12em; transition: transform .5s var(--ease); }
.btn:hover > .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--fg); color: var(--bg); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent);
  transform: translateY(102%); transition: transform .6s var(--ease);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--fg-2); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px -16px rgba(24, 122, 81, .8); }
.btn--wa:hover { background: var(--wa-2); }
.btn--sm { --bh: 42px; padding: .6em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: var(--bh); }

/* The hero "Press start" button looks like a real machine button */
.btn--press {
  --bh: 58px;
  padding-inline: 1.4em 1.7em;
  background: linear-gradient(180deg, #3A2A20, #1C130E);
  color: var(--cream);
  font-family: var(--font-mono); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1.5px rgba(227, 168, 103, .45), 0 0 0 6px rgba(227, 168, 103, .07), 0 20px 44px -16px rgba(227, 168, 103, .5);
}
.btn--press:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1.5px rgba(227, 168, 103, .8), 0 0 0 8px rgba(227, 168, 103, .12), 0 24px 54px -16px rgba(227, 168, 103, .7); }
.btn__led { width: 9px; height: 9px; border-radius: 50%; background: #8CD08F; box-shadow: 0 0 10px #8CD08F; animation: ledPulse 1.6s ease-in-out infinite; }
@keyframes ledPulse { 50% { opacity: .35; box-shadow: 0 0 2px #8CD08F; } }

/* ---------- Status dot / pill ---------- */
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #8CC08F;
  animation: dotPulse 2.4s var(--ease) infinite;
}
.dot.is-closed { background: #D98872; animation: none; box-shadow: 0 0 0 4px rgba(217, 136, 114, .18); }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(140, 192, 143, .5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(140, 192, 143, 0); }
}
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .95rem .5rem .8rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .83rem; font-weight: 700; color: var(--fg-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- Boot screen ---------- */
.boot { display: none; }
.js .boot {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, #2A1B12 0%, #120B08 70%);
}
.boot__panel { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: min(320px, 80vw); }
.boot__mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(227, 168, 103, .3), 0 20px 40px -10px rgba(227, 168, 103, .35); }
.boot__brand { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; color: var(--cream); font-weight: 400; }
.boot__lcd {
  width: 100%; display: flex; justify-content: space-between;
  padding: .7rem 1rem; border-radius: 12px;
  background: var(--lcd-bg); border: 1px solid rgba(227, 168, 103, .28);
  font-family: var(--font-mono); color: var(--amber); letter-spacing: .14em; font-size: .85rem;
  text-shadow: 0 0 8px rgba(227, 168, 103, .6);
}
.boot__bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(227, 168, 103, .15); overflow: hidden; }
.boot__bar i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--amber); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #F6D9B5, var(--amber) 40%, var(--caramel) 75%, #6B3F22); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70;
  height: var(--nav-h);
  color: var(--fg);
  transition: transform .7s var(--ease), background-color .5s, box-shadow .5s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding-inline: var(--gutter);
  max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; min-width: 0; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; flex: none; box-shadow: 0 0 0 1px rgba(227, 168, 103, .22), 0 10px 22px -12px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; font-weight: 500; white-space: nowrap; }
.brand__word em { font-size: .92em; }

/* the vending-machine display in the middle of the nav */
.lcd {
  justify-self: center;
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .55rem .9rem .55rem .7rem;
  border-radius: 12px;
  background: var(--lcd-bg);
  border: 1px solid rgba(227, 168, 103, .3);
  box-shadow: inset 0 0 20px rgba(227, 168, 103, .07), 0 12px 26px -16px rgba(0, 0, 0, .7);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  color: var(--amber);
  transition: box-shadow .4s;
}
.lcd:hover { box-shadow: inset 0 0 20px rgba(227, 168, 103, .12), 0 0 0 4px rgba(227, 168, 103, .1), 0 12px 26px -16px rgba(0, 0, 0, .7); }
.lcd__step { color: var(--cream); padding: .1rem .4rem; border-radius: 5px; background: rgba(227, 168, 103, .14); }
.lcd__label { min-width: 6.4em; text-align: left; text-shadow: 0 0 8px rgba(227, 168, 103, .55); }
.lcd__bars { display: flex; gap: 3px; }
.lcd__bars i { width: 10px; height: 5px; border-radius: 2px; background: rgba(227, 168, 103, .18); transition: background-color .4s, box-shadow .4s; }
.lcd__bars i.is-on { background: var(--amber); box-shadow: 0 0 6px rgba(227, 168, 103, .8); }
.lcd.is-flicker .lcd__label { animation: flicker .45s steps(3) 1; }
@keyframes flicker { 0% { opacity: .2; } 50% { opacity: 1; } 70% { opacity: .4; } 100% { opacity: 1; } }

.nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.nav__toggle {
  position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s;
}
.nav__toggle:hover { background: color-mix(in srgb, var(--fg) 12%, transparent); }
.nav__toggle span {
  position: absolute; left: 15px; right: 15px; height: 1.8px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 20px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] { color: var(--cream); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.nav.menu-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: var(--cream); }
.nav.menu-open .nav__cta { opacity: 0; pointer-events: none; }

@media (max-width: 959px) {
  .nav__cta { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__word { font-size: 1.15rem; }
  .lcd { gap: .5rem; padding: .45rem .6rem; font-size: .72rem; }
  .lcd__label { min-width: 5.2em; }
  .lcd__bars i { width: 6px; height: 4px; }
}
@media (max-width: 560px) {
  .nav .brand__word em { display: none; }
  .lcd__bars { display: none; }
}
@media (max-width: 360px) {
  .brand__word { display: none; }
}

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 65;
  visibility: hidden; pointer-events: none;
  color: var(--cream);
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 85% 0%, rgba(227, 168, 103, .18), transparent 70%), #140D09;
  clip-path: circle(0% at calc(100% - 46px) 39px);
}
.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  width: 100%; max-width: calc(980px + var(--gutter) * 2); margin-inline: auto;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu__inner:focus { outline: none; }
.menu__title { font-family: var(--font-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--amber); font-size: .8rem; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mbtn {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #2A1D15, #1A110C);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(227, 168, 103, .18);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.mbtn:hover, .mbtn.is-current { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1.5px rgba(227, 168, 103, .7), 0 0 30px -6px rgba(227, 168, 103, .35); }
.mbtn__n { grid-row: span 2; align-self: center; font-family: var(--font-mono); font-size: 1rem; color: var(--espresso); background: var(--amber); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 0 18px rgba(227, 168, 103, .4); }
.mbtn__t { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; color: var(--cream); }
.mbtn__d { font-size: .84rem; color: rgba(246, 217, 181, .6); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.menu__meta { display: flex; align-items: center; gap: .6rem; margin-left: auto; font-size: .88rem; color: rgba(246, 217, 181, .7); font-weight: 600; }
.menu .btn--primary { background: var(--cream); color: var(--espresso); }
@media (max-width: 760px) {
  .menu__inner { justify-content: flex-start; gap: 1.3rem; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mbtn { grid-template-columns: 1fr; padding: 1rem; row-gap: .2rem; }
  .mbtn__n { grid-row: auto; width: 34px; height: 34px; font-size: .85rem; margin-bottom: .4rem; }
  .mbtn__t { font-size: 1.3rem; }
  .mbtn__d { font-size: .76rem; }
  .menu__foot .btn { flex: 1 1 auto; }
  .menu__meta { margin-left: 0; }
}

/* =====================================================================
   00 · HERO
   ===================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 540px;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2vh) 0 9vh;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 73% 52%, rgba(227, 168, 103, .2), transparent 70%),
    radial-gradient(50% 50% at 8% 0%, rgba(140, 82, 44, .32), transparent 70%),
    radial-gradient(60% 40% at 50% 110%, rgba(140, 82, 44, .28), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: clamp(3rem, 6.6vw, 6.3rem);
  line-height: .98;
  letter-spacing: -.038em;
  font-variation-settings: "opsz" 144;
  margin: 1.4rem 0 1.5rem;
  text-wrap: balance;
}
.hero__lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--fg-2); max-width: 33em; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.1rem 0 2.5rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.hero__facts li { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--fg-2); line-height: 1.35; }
.hero__facts .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.hero__facts strong { display: block; color: var(--fg); font-weight: 750; }

.hero__machine { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__halo {
  position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(227, 168, 103, .22) 0%, rgba(227, 168, 103, .06) 35%, transparent 62%);
  pointer-events: none;
}
.machine-wrap { position: relative; height: min(76vh, 700px); height: min(76svh, 700px); aspect-ratio: 420 / 700; transform-origin: 50% 31%; will-change: transform; }
.machine-wrap .machine { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }

.dive {
  position: absolute; left: 0; right: 0; top: -2px; height: calc(100vh + 4px); height: calc(100svh + 4px); z-index: 5;
  display: grid; place-items: center;
  background: #0F0A07;
  visibility: hidden;
  pointer-events: none;
}
.dive__inner { text-align: center; padding: 0 var(--gutter); }
.dive__lcd { font-family: var(--font-mono); letter-spacing: .3em; font-size: .9rem; color: var(--amber); margin-bottom: 1rem; }
.dive__title { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 12rem); line-height: .9; letter-spacing: -.04em; color: var(--cream); font-weight: 340; }
.dive__sub { margin-top: 1.2rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(246, 217, 181, .7); }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3.5vh, 34px); translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2);
}
.scroll-cue__mouse { width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--fg-2); position: relative; }
.scroll-cue__mouse i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 959px) {
  .hero { align-items: stretch; padding: calc(var(--nav-h) + 10px) 0 16px; }
  .hero__grid { display: flex; flex-direction: column; gap: 12px; height: 100%; }
  .hero__title { font-size: clamp(2.4rem, 10.5vw, 4rem); margin: .8rem 0 .7rem; }
  .hero__lede { font-size: .98rem; line-height: 1.55; }
  .hero__ctas { margin: 1.1rem 0 0; gap: .6rem; }
  .hero__ctas .btn { flex: 1 1 auto; --bh: 50px; }
  .hero__facts { display: none; }
  .hero__machine { flex: 1 1 0; min-height: 0; }
  .machine-wrap { height: 100%; max-height: 440px; }
  .scroll-cue { display: none; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .hero__lede { display: none; }
}

/* ---------- Machine parts (hero + finale machine) ---------- */
.m-disp-title { font-family: var(--font-display); font-size: 22px; fill: #F6D9B5; font-weight: 400; letter-spacing: -.01em; }
.m-disp-sub { font-family: var(--font-mono); font-size: 10.5px; fill: rgba(246, 217, 181, .65); letter-spacing: .08em; }
.m-disp-bar { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease); }
.m-led { fill: #86C08A; transition: fill .5s; }
.machine[data-state="2"] .m-led, .machine[data-state="3"] .m-led, .machine[data-state="4"] .m-led { fill: #E8A65A; animation: ledBlink 1s steps(2, end) infinite; }
@keyframes ledBlink { 50% { opacity: .35; } }
.m-btn__bg { fill: #2E231D; stroke: #fff; stroke-opacity: .06; transition: fill .6s var(--ease), stroke-opacity .6s; }
.m-btn__ic { fill: none; stroke: #CDB8A0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.m-btn__lbl { font-family: var(--font-body); font-size: 7.2px; font-weight: 700; fill: rgba(246, 217, 181, .55); text-anchor: middle; transition: fill .6s; }
.m-btn__ring { fill: none; stroke: #E3A867; stroke-width: 2; opacity: 0; }
.machine:not([data-state="0"]) .m-btn--pick .m-btn__bg { fill: #B9804F; stroke-opacity: .3; }
.machine:not([data-state="0"]) .m-btn--pick .m-btn__ic { stroke: #fff; }
.machine:not([data-state="0"]) .m-btn--pick .m-btn__lbl { fill: #fff; }
.machine[data-state="1"] .m-btn__ring { animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .9; } 100% { opacity: 0; } }
.m-burr { transform-box: fill-box; transform-origin: center; }
.machine[data-state="2"] .m-burr { animation: spin .7s linear infinite; }
.m-beans { transform-box: fill-box; transform-origin: center; }
.machine[data-state="2"] .m-beans { animation: shake .09s linear infinite alternate; }
@keyframes shake { from { transform: translate(-.9px, .4px); } to { transform: translate(.9px, -.4px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.machine[data-state="2"] .m-inst--grind circle:first-child,
.machine[data-state="3"] .m-inst--press circle:first-child,
.machine[data-state="3"] .m-inst--temp circle:first-child { stroke: #E3A867; stroke-opacity: .5; }
.m-needle { transform-box: fill-box; transform-origin: 50% 87.2%; transform: rotate(-120deg); transition: transform 1.6s cubic-bezier(.34, 1.4, .5, 1); }
.machine[data-state="3"] .m-needle, .machine[data-state="4"] .m-needle { transform: rotate(72deg); }
.m-press-arc { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.machine[data-state="3"] .m-press-arc, .machine[data-state="4"] .m-press-arc { stroke-dashoffset: 20; }
.m-temp-ring { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.machine[data-state="3"] .m-temp-ring, .machine[data-state="4"] .m-temp-ring, .machine[data-state="5"] .m-temp-ring { stroke-dashoffset: 8; }
.m-temp { font-family: var(--font-display); font-size: 15px; fill: #F6D9B5; }
.m-inst-lbl { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: .14em; fill: rgba(246, 217, 181, .45); }
.m-strip { opacity: 0; transition: opacity .8s; }
.machine[data-state="2"] .m-strip, .machine[data-state="3"] .m-strip, .machine[data-state="4"] .m-strip { opacity: .9; animation: stripPulse 1.6s ease-in-out infinite; }
@keyframes stripPulse { 50% { opacity: .35; } }
.m-baylight { opacity: .25; transition: opacity 1.2s var(--ease); }
.machine[data-state="3"] .m-baylight, .machine[data-state="4"] .m-baylight, .machine[data-state="5"] .m-baylight { opacity: 1; }
.m-brand { font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: .5em; fill: rgba(246, 217, 181, .45); }
.m-steam path { opacity: 0; stroke-dasharray: 34 100; stroke-dashoffset: 34; }
.machine[data-state="5"] .m-steam path { animation: steam 2.8s linear infinite; }
.machine[data-state="5"] .m-steam path:nth-child(2) { animation-delay: .9s; }
.machine[data-state="5"] .m-steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes steam { 0% { stroke-dashoffset: 34; opacity: 0; } 25% { opacity: .85; } 100% { stroke-dashoffset: -100; opacity: 0; } }

/* =====================================================================
   CHAPTERS (shared)
   ===================================================================== */
.chapter { position: relative; padding: clamp(110px, 17vh, 190px) 0; }
.bignum {
  position: absolute; top: clamp(30px, 6vh, 70px); right: -1.5vw; z-index: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(9rem, 27vw, 27rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  pointer-events: none; user-select: none;
}
.chead { max-width: 780px; position: relative; z-index: 1; margin-bottom: clamp(44px, 7vh, 80px); }
.chead--center { text-align: center; margin-inline: auto; }
.chead--center .lede { margin-inline: auto; }
.stepchip {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .35rem .8rem .35rem .35rem;
  border-radius: 10px;
  background: var(--lcd-bg);
  border: 1px solid rgba(227, 168, 103, .3);
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .6);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono); text-transform: uppercase;
}
.stepchip__n { font-size: .76rem; letter-spacing: .14em; color: var(--espresso); background: var(--amber); padding: .22rem .5rem; border-radius: 6px; }
.stepchip__t { font-size: .82rem; letter-spacing: .22em; color: var(--cream); text-shadow: 0 0 8px rgba(227, 168, 103, .5); }
.scene { position: relative; z-index: 1; }
.note { margin-top: 1.4rem; font-size: .86rem; color: var(--fg-2); text-align: center; }

/* LCD read-outs */
.readout {
  display: inline-flex; flex-direction: column; gap: .4rem;
  min-width: 250px;
  padding: .9rem 1.1rem 1rem;
  border-radius: 14px;
  background: var(--lcd-bg);
  border: 1px solid rgba(227, 168, 103, .28);
  box-shadow: inset 0 0 22px rgba(227, 168, 103, .06), 0 16px 30px -18px rgba(0, 0, 0, .6);
}
.readout__k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 217, 181, .55); }
.readout__v { font-family: var(--font-mono); font-weight: 400; font-size: 1.55rem; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); text-shadow: 0 0 10px rgba(227, 168, 103, .5); }
.readout__bar { height: 4px; border-radius: 2px; background: rgba(227, 168, 103, .15); overflow: hidden; }
.readout__bar i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 8px var(--amber); }
.readout--sm { min-width: 0; flex: 1 1 0; padding: .7rem .9rem .75rem; }
.readout--sm .readout__v { font-size: 1.12rem; }

/* =====================================================================
   01 · SELECT — horizontal machine gallery
   ===================================================================== */
.chapter.select { padding-top: clamp(70px, 11vh, 120px); }
.hs-pin { position: relative; z-index: 1; }
.hs { position: relative; z-index: 1; overflow: hidden; }
.hs__track {
  display: flex; gap: clamp(16px, 1.8vw, 26px);
  width: max-content;
  padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2)) 34px;
  will-change: transform;
}
.mcard {
  --accent-m: #B9804F;
  position: relative;
  flex: none; width: clamp(290px, 27vw, 370px);
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  overflow: hidden;
  color: var(--fg);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease);
}
.mcard:hover { translate: 0 -8px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.mcard__media {
  position: relative; aspect-ratio: 5 / 4;
  display: grid; place-items: center;
  background: #EADCC8;
  background: radial-gradient(80% 75% at 50% 30%, color-mix(in srgb, var(--accent-m) 4%, #FFF9F1) 0%, color-mix(in srgb, var(--accent-m) 10%, #E8D8C2) 100%);
  overflow: hidden; cursor: pointer; isolation: isolate;
}
/* soft floor the machine stands on */
.mcard__media::before {
  content: ""; position: absolute; z-index: -1;
  left: 18%; right: 18%; bottom: 5%; height: 12%;
  background: radial-gradient(closest-side, rgba(40, 22, 12, .26), rgba(40, 22, 12, 0));
}
.mcard__media svg, .mcard__media img { height: 90%; width: auto; max-width: 90%; object-fit: contain; transition: transform 1s var(--ease); }
.mcard__media img {
  height: 80%; margin-top: 9%;
  filter: drop-shadow(0 10px 14px rgba(40, 22, 12, .22));
  opacity: 0;
  transition: transform 1s var(--ease), opacity .8s var(--ease);
}
.mcard__media img.is-loaded { opacity: 1; }
.mcard:hover .mcard__media svg, .mcard:hover .mcard__media img { transform: translateY(-6px) scale(1.04); }
.mcard__no { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; color: rgba(42, 27, 19, .45); }
.mcard__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: .32rem .7rem; border-radius: 999px;
  background: rgba(255, 250, 243, .85);
  font-size: .72rem; font-weight: 750; color: #4A3224;
}
.mcard__badge--opt { left: auto; right: 14px; background: rgba(26, 18, 13, .85); color: var(--cream); font-family: var(--font-mono); font-weight: 400; letter-spacing: .08em; }
.mcard__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.mcard__brand { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.mcard__title { font-family: var(--font-display); font-weight: 420; font-size: 1.38rem; line-height: 1.15; letter-spacing: -.012em; }
.mcard__tag { color: var(--fg-2); font-size: .93rem; line-height: 1.5; }
.mcard__drinks { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.mcard__drinks span { padding: .25rem .6rem; border-radius: 8px; background: color-mix(in srgb, var(--fg) 7%, transparent); font-size: .75rem; font-weight: 650; color: var(--fg-2); }
.mcard__best { display: flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--fg-2); font-weight: 600; }
.mcard__best .ic { width: 16px; height: 16px; color: var(--accent); }
.mcard__actions { display: flex; gap: .5rem; margin-top: .4rem; }
.mcard__actions .btn--primary { flex: 1; }

.hs__meta { display: flex; align-items: center; gap: 1.2rem; margin-top: 1rem; }
.hs__count { font-family: var(--font-mono); font-size: .95rem; letter-spacing: .12em; color: var(--fg-2); white-space: nowrap; }
.hs__count strong { color: var(--fg); font-weight: 400; }
.hs__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hs__bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.09); }
.hs__hint { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }

.helper {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem;
  margin-top: clamp(30px, 5vh, 50px);
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.helper__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--espresso); color: var(--amber); }
.helper__icon .ic { width: 28px; height: 28px; }
.helper h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 420; margin-bottom: .2rem; }
.helper p { color: var(--fg-2); font-size: .95rem; }
.helper__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (max-width: 959px) {
  .hs { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .hs::-webkit-scrollbar { display: none; }
  .hs__track { padding: 10px var(--gutter) 26px; }
  .mcard { width: min(80vw, 340px); scroll-snap-align: center; }
  .helper { grid-template-columns: auto 1fr; }
  .helper__ctas { grid-column: 1 / -1; }
  .helper__ctas .btn { flex: 1 1 auto; }
}

/* =====================================================================
   MODAL (machine details) — always light for easy reading
   ===================================================================== */
.modal {
  width: min(1000px, calc(100vw - 32px));
  max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  overflow: visible;
}
.modal::backdrop { background: rgba(20, 12, 8, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s var(--ease); }
.modal.is-open::backdrop { opacity: 1; }
.modal__sheet {
  --accent-m: #B9804F;
  position: relative;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  max-height: calc(100svh - 40px);
  background: var(--foam);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(30px) scale(.97);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.modal__sheet:focus { outline: none; }
.modal.is-open .modal__sheet { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 250, 243, .92); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close .ic { width: 20px; height: 20px; }
.modal__media {
  display: grid; place-items: center; padding: 2rem;
  background: #EADCC8;
  background: radial-gradient(90% 70% at 50% 30%, color-mix(in srgb, var(--accent-m) 4%, #FFF9F1), color-mix(in srgb, var(--accent-m) 10%, #E8D8C2));
}
.modal__media svg, .modal__media img { height: min(440px, 62svh); width: auto; max-width: 100%; object-fit: contain; }
.modal__media img { filter: drop-shadow(0 18px 24px rgba(40, 22, 12, .28)); }
.modal__body { padding: clamp(1.6rem, 3.4vw, 2.8rem); overflow-y: auto; }
.modal__brand { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #8A4F2A; margin-bottom: .4rem; }
.modal__title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; padding-right: 2.5rem; }
.modal__tag { color: var(--ink-2); margin-top: .6rem; }
.modal__drinks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.modal__drinks span { padding: .32rem .75rem; border-radius: 999px; background: #EADCC8; font-size: .8rem; font-weight: 700; color: #4A3224; }
.modal__specs { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; margin: 1.4rem 0 1.2rem; padding: 1.1rem 1.25rem; border-radius: 18px; background: #EFE3D3; font-size: .9rem; }
.modal__specs dt { color: var(--ink-2); font-weight: 600; }
.modal__specs dd { color: var(--ink); font-weight: 700; }
.modal__features { display: grid; gap: .5rem; }
.modal__features li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.modal__features .ic { width: 20px; height: 20px; color: #4F7458; margin-top: .15rem; }
.modal__best { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.modal__best strong { color: var(--ink); }
.modal__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.modal__ctas .btn--wa { flex: 1 1 auto; }
.modal .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42, 27, 19, .2); }
@media (max-width: 760px) {
  .modal { width: 100%; margin: auto 0 0; }
  .modal__sheet { grid-template-columns: 1fr; max-height: 92svh; overflow-y: auto; border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .modal__sheet::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 42px; height: 4px; border-radius: 4px; background: rgba(42, 27, 19, .2); z-index: 2; }
  .modal__media { padding: 2.2rem 1rem 1rem; }
  .modal__media svg, .modal__media img { height: 210px; }
  .modal__body { overflow: visible; padding-bottom: max(1.6rem, env(safe-area-inset-bottom)); }
  .modal__ctas .btn { flex: 1 1 100%; }
}

/* =====================================================================
   02 · GRIND
   ===================================================================== */
.grind__scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.grind__visual { display: flex; justify-content: center; }
.grinder { width: min(100%, 400px); height: auto; overflow: visible; }
.g-lcd { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; fill: var(--amber); }
.grind__copy .readout { margin-bottom: 1.5rem; }
.plist { display: grid; gap: .75rem; margin-bottom: 2rem; }
.plist li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.05rem 1.2rem;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.js .plist li:not(.is-on) { opacity: .38; }
.plist li.is-on { transform: translateX(8px); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-sm); }
.plist__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--espresso); color: var(--amber); }
.plist__icon .ic { width: 22px; height: 22px; }
.plist h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: .15rem; }
.plist p { font-size: .92rem; color: var(--fg-2); line-height: 1.5; }
.grind__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

.gallery { height: clamp(460px, 56vw, 760px); margin-top: clamp(70px, 12vh, 140px); }
.gallery__item { position: absolute; margin: 0; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); background: var(--mocha); will-change: transform; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--1 { left: var(--gutter); top: 6%; width: 30%; height: 80%; border-radius: 999px 999px 26px 26px; }
.gallery__item--2 { left: 35%; top: 0; width: 34%; height: 44%; }
.gallery__item--3 { left: 40%; top: 52%; width: 22%; height: 46%; }
.gallery__item--4 { right: var(--gutter); top: 20%; width: 30%; height: 52%; }

@media (max-width: 959px) {
  .grind__scene { grid-template-columns: 1fr; }
  .grinder { width: min(78%, 330px); }
  .gallery { height: 560px; }
  .gallery__item--1 { width: 52%; height: 60%; top: 0; }
  .gallery__item--2 { left: auto; right: var(--gutter); top: 8%; width: 40%; height: 28%; }
  .gallery__item--3 { left: auto; right: var(--gutter); top: 40%; width: 40%; height: 34%; }
  .gallery__item--4 { left: var(--gutter); right: auto; top: 64%; width: 54%; height: 34%; }
}

/* =====================================================================
   03 · BREW
   ===================================================================== */
.brew__scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.brew__gauge { position: relative; display: flex; flex-direction: column; align-items: center; }
.gauge { width: min(100%, 440px); height: auto; overflow: visible; }
.ga-num { font-family: var(--font-mono); font-size: 19px; fill: rgba(243, 230, 214, .75); }
.ga-unit { font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em; fill: rgba(243, 230, 214, .5); }
.ga-lcd { font-family: var(--font-mono); font-size: 28px; letter-spacing: .08em; fill: var(--amber); }
.brew__readouts { display: flex; gap: .7rem; width: min(100%, 440px); margin-top: 1.4rem; }
.brew__steam { position: absolute; top: -70px; left: 50%; translate: -50% 0; display: flex; gap: 22px; opacity: 0; }
.brew__steam i { width: 10px; height: 90px; border-radius: 10px; background: linear-gradient(transparent, rgba(255, 240, 225, .35)); filter: blur(5px); animation: steamUp 2.8s ease-in-out infinite; }
.brew__steam i:nth-child(2) { animation-delay: .7s; height: 110px; }
.brew__steam i:nth-child(3) { animation-delay: 1.4s; }
@keyframes steamUp { 0% { transform: translateY(30px) scaleY(.6); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-40px) scaleY(1.2) translateX(8px); opacity: 0; } }

.timeline { position: relative; display: grid; gap: 1rem; }
.timeline__line { position: absolute; left: 23px; top: 20px; bottom: 20px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__line i { position: absolute; inset: 0; background: linear-gradient(var(--amber), var(--caramel)); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 10px var(--amber); }
.tstep { position: relative; display: flex; gap: 1.2rem; padding: .9rem 0; transition: opacity .6s var(--ease); }
.js .tstep:not(.is-on) { opacity: .4; }
.tstep__dot {
  position: relative; z-index: 1; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 1.05rem;
  background: var(--lcd-bg); color: var(--fg-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .5s, color .5s, box-shadow .5s;
}
.tstep.is-on .tstep__dot { background: var(--amber); color: var(--espresso); box-shadow: 0 0 0 7px rgba(227, 168, 103, .14), 0 0 26px rgba(227, 168, 103, .55); }
.tstep h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 420; letter-spacing: -.01em; margin: .5rem 0 .35rem; }
.tstep p { color: var(--fg-2); }
@media (max-width: 959px) {
  .brew__scene { grid-template-columns: 1fr; }
  .gauge { width: min(80%, 340px); }
  .brew__readouts { width: 100%; }
}

/* =====================================================================
   04 · POUR
   ===================================================================== */
.pour__scene { padding-top: 70px; }
.pour__nozzle { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 120px; z-index: 3; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .3)); }
.pour__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.pour__cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); margin-top: 190px; }
.pcard {
  position: relative; text-align: center;
  padding: 0 clamp(1.3rem, 2vw, 1.9rem) 1.9rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 38%, #FBF5EC);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease);
}
.pcard:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.pcup { width: 116px; height: 116px; margin: -64px auto .4rem; color: var(--fg); }
.pcup svg { width: 100%; height: 100%; overflow: visible; }
.pcup__steam { opacity: 0; transition: opacity .8s; }
.pcard.is-full .pcup__steam { opacity: .7; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.pcard__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--espresso); color: var(--amber); margin-bottom: .9rem; }
.pcard__icon .ic { width: 24px; height: 24px; }
.pcard h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; margin-bottom: .5rem; }
.pcard p { color: var(--fg-2); }
.pcard__tip { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .92rem; font-weight: 750; color: var(--fg) !important; }
.pcard__tip span { display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
@media (max-width: 959px) {
  .pour__cards { grid-template-columns: 1fr; gap: 100px; margin-top: 150px; max-width: 520px; margin-inline: auto; }
}

/* =====================================================================
   05 · SERVE
   ===================================================================== */
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.bento__photo { grid-row: span 2; position: relative; margin: 0; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--mocha); box-shadow: var(--shadow); }
.bento__photo img, .visit__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.bento__photo figcaption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  padding: 1.1rem 1.3rem; border-radius: 18px;
  background: rgba(26, 18, 13, .72); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.2;
}
.bento__photo figcaption em { color: var(--amber); }
.tile {
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease);
}
.tile:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tile .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--espresso); color: var(--amber); margin-bottom: 1.5rem; }
.tile h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .35rem; }
.tile p { color: var(--fg-2); font-size: .95rem; }

.visit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; margin-top: clamp(100px, 16vh, 170px); }
.visit__media { position: relative; margin: 0; aspect-ratio: 4 / 3.6; border-radius: var(--radius); overflow: hidden; background: var(--mocha); box-shadow: var(--shadow-lg); }
.visit__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1rem .55rem .85rem; border-radius: 999px;
  background: rgba(26, 18, 13, .78); color: var(--cream);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .84rem; font-weight: 700;
}
.hours { margin: 1.8rem 0 2rem; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem .2rem; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--fg-2); }
.hours li.is-today { color: var(--fg); font-weight: 800; }
.hours li.is-today span:first-child::after {
  content: "Today"; margin-left: .6rem; padding: .18rem .5rem; border-radius: 6px;
  background: var(--espresso); color: var(--amber);
  font-family: var(--font-mono); font-size: .66rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; vertical-align: 2px;
}
.visit__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

.faq { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 7vw, 110px); align-items: start; margin-top: clamp(100px, 16vh, 170px); }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.35rem 0; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.12rem, 1.6vw, 1.38rem); font-weight: 420; line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .6s var(--ease), background-color .4s, color .4s; }
.qa summary i .ic { width: 18px; height: 18px; }
.qa[open] summary i { transform: rotate(45deg); background: var(--espresso); color: var(--amber); box-shadow: none; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 3.6rem 1.5rem 0; color: var(--fg-2); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__photo { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
}
@media (max-width: 959px) {
  .visit, .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .qa__a p { padding-right: 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__photo { min-height: 280px; }
}

/* =====================================================================
   06 · ENJOY — contact
   ===================================================================== */
.enjoy__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; margin-bottom: clamp(30px, 5vh, 60px); }
.enjoy__head .chead { margin-bottom: 0; }
.enjoy__machine { height: clamp(320px, 48vh, 470px); display: flex; justify-content: center; position: relative; }
.enjoy__machine::before { content: ""; position: absolute; inset: -10% -30%; background: radial-gradient(circle, rgba(227, 168, 103, .25), transparent 60%); pointer-events: none; }
.enjoy__machine svg { position: relative; height: 100%; width: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(40, 22, 12, .35)); }

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact__cards { display: grid; gap: .7rem; }
.ccard {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.15rem; border-radius: 18px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: translate .6s var(--ease), box-shadow .5s var(--ease);
}
a.ccard:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-sm); }
.ccard__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--espresso); color: var(--amber); }
.ccard__icon .ic { width: 21px; height: 21px; }
.ccard--wa .ccard__icon { background: var(--wa); color: #fff; }
.ccard__body { flex: 1; min-width: 0; }
.ccard__body small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.ccard__body strong { display: block; font-weight: 750; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.ccard--static .ccard__body strong { font-weight: 600; font-size: .95rem; }
.ccard__go { width: 20px; height: 20px; color: var(--fg-2); transition: transform .5s var(--ease); }
a.ccard:hover .ccard__go { transform: translateX(4px); color: var(--fg); }
.owner { display: flex; align-items: center; gap: .9rem; padding: .9rem .4rem 0; }
.owner__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--amber); font-family: var(--font-display); font-size: 1.35rem; font-style: italic; }
.owner strong { display: block; font-weight: 800; }
.owner small { display: block; color: var(--fg-2); font-size: .84rem; }

.form {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 30px;
  background: var(--foam); color: var(--ink);
  box-shadow: var(--shadow);
}
.form__head h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: -.015em; }
.form__head p { color: var(--ink-2); font-size: .93rem; margin: .2rem 0 1.4rem; }
.field { position: relative; margin-bottom: .85rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 1.5rem 1rem .55rem;
  border-radius: 14px; border: 0;
  background: #FFFBF6;
  box-shadow: inset 0 0 0 1px rgba(42, 27, 19, .16);
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: box-shadow .35s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236A5444' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field label {
  position: absolute; left: 1rem; top: 1.02rem;
  font-size: 1rem; color: var(--ink-2); pointer-events: none;
  transform-origin: 0 0; transition: transform .35s var(--ease), color .35s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 2rem);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--caramel), 0 0 0 4px rgba(192, 133, 82, .16); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-.62rem) scale(.76); color: #8A4F2A; }
.field__hint { display: block; margin: .35rem 0 0 .2rem; font-size: .8rem; color: var(--ink-2); }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #C0715A, 0 0 0 4px rgba(192, 113, 90, .14); }
.field.is-invalid label { color: #A8553F; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.choice { border: 0; margin: .3rem 0 1rem; }
.choice legend { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.choice__opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px;
  padding: .5rem 1rem; border-radius: 999px;
  background: #FFFBF6; box-shadow: inset 0 0 0 1px rgba(42, 27, 19, .18);
  font-size: .87rem; font-weight: 700; color: #4A3224;
  cursor: pointer; transition: background-color .35s var(--ease), color .35s, box-shadow .35s;
}
.choice input:checked + span { background: var(--espresso); color: var(--cream); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--caramel); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: .3rem; padding: .7rem .9rem; border-radius: 12px; background: #F6DED4; color: #8E432F; font-size: .9rem; font-weight: 650; }
.form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.1rem; }
.form .btn--primary { background: var(--espresso); color: var(--cream); }
.form .btn--primary::before { background: #8A4F2A; }
.form .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42, 27, 19, .2); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.form__done {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  padding: 2rem; text-align: center; border-radius: inherit;
  background: var(--foam); color: var(--ink);
  animation: fadeIn .6s var(--ease);
}
.form__done h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.form__done p { color: var(--ink-2); max-width: 30em; }
.form__done p a { color: #8A4F2A; font-weight: 800; }
.form__done-cup svg { width: 110px; height: 110px; }
.done-fill { transform-box: fill-box; transform: translateY(100%); animation: cupFill 1.4s var(--ease-io) .2s forwards; }
.done-steam path { opacity: 0; stroke-dasharray: 22; stroke-dashoffset: 22; animation: cupSteam 1.6s var(--ease) 1.3s infinite; }
.done-steam path:nth-child(2) { animation-delay: 1.5s; }
.done-steam path:nth-child(3) { animation-delay: 1.7s; }
@keyframes cupFill { to { transform: translateY(0); } }
@keyframes cupSteam { 0% { opacity: 0; stroke-dashoffset: 22; } 40% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -22; } }
@keyframes fadeIn { from { opacity: 0; } }

.map {
  position: relative;
  margin-top: clamp(28px, 5vh, 56px);
  height: clamp(360px, 54vh, 520px);
  border-radius: 32px; overflow: hidden;
  background: var(--mocha);
  box-shadow: var(--shadow);
}
.map__frame { position: absolute; inset: 0; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.22) saturate(.9) contrast(.98); }
.map__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--cream); font-weight: 650; font-size: .9rem; }
.map__placeholder .ic { width: 30px; height: 30px; color: var(--amber); animation: bob 2s ease-in-out infinite; }
.map__card {
  position: absolute; right: 1.3rem; top: 1.3rem; max-width: 300px;
  padding: 1.3rem 1.4rem; border-radius: 22px;
  background: rgba(26, 18, 13, .9); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.map__title { font-family: var(--font-display); font-size: 1.45rem; }
.map__card p:not(.map__title) { color: rgba(246, 217, 181, .75); font-size: .92rem; line-height: 1.55; margin: .35rem 0 1rem; }
.map__card .btn--primary { background: var(--cream); color: var(--espresso); }

@media (max-width: 959px) {
  .enjoy__head { grid-template-columns: 1fr; }
  .enjoy__machine { height: 300px; order: -1; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form__actions { grid-template-columns: 1fr; }
  .map { height: auto; display: flex; flex-direction: column; }
  .map__frame { position: relative; height: 320px; }
  .map__card { position: static; max-width: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .map__card .btn { width: 100%; }
}

/* =====================================================================
   FOOTER (always dark)
   ===================================================================== */
.footer {
  position: relative; z-index: 1;
  padding: clamp(70px, 11vh, 120px) 0 calc(1.6rem + env(safe-area-inset-bottom));
  border-radius: 44px 44px 0 0;
  background: #120B08; color: #EBDDCB;
}
.footer__big {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.8rem, 9.5vw, 9rem); line-height: .98; letter-spacing: -.045em;
  color: var(--cream);
  padding-bottom: clamp(40px, 7vh, 80px);
}
.footer__big em { color: var(--amber); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.1fr; gap: 2.4rem; padding: clamp(36px, 6vh, 60px) 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer .brand__word { color: var(--cream); }
.footer .brand__word em { color: var(--amber); }
.brand--lg .brand__mark { width: 48px; height: 48px; }
.brand--lg .brand__word { font-size: 1.6rem; }
.footer__brand p { color: rgba(235, 221, 203, .65); margin-top: 1.1rem; max-width: 30em; font-size: .95rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: .74rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.footer__col a { display: block; width: fit-content; padding: .28rem 0; color: rgba(235, 221, 203, .82); transition: color .3s, translate .4s var(--ease); }
.footer__col a:hover { color: #fff; translate: 4px 0; }
.footer__col p { color: rgba(235, 221, 203, .72); font-size: .95rem; }
.footer__hours { display: flex; align-items: center; gap: .55rem; margin-top: .9rem; font-weight: 650; color: #EBDDCB !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(235, 221, 203, .55); }
@media (max-width: 959px) {
  .footer { border-radius: 32px 32px 0 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; padding-bottom: 70px; }
}

/* =====================================================================
   FLOATING BUTTONS
   ===================================================================== */
.wa-float {
  position: fixed; z-index: 60;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 16px 30px -12px rgba(24, 122, 81, .8);
  opacity: 0; scale: .6;
  transition: opacity .6s var(--ease), scale .7s var(--ease), transform .5s var(--ease);
}
.is-ready .wa-float { opacity: 1; scale: 1; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 3.2s var(--ease) infinite 2s; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(24, 122, 81, .5); } 60%, 100% { box-shadow: 0 0 0 16px rgba(24, 122, 81, 0); } }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 8px -50%;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  font-size: .8rem; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), translate .5s var(--ease);
}
@media (hover: hover) { .wa-float:hover .wa-float__tip { opacity: 1; translate: 0 -50%; } }

.cup-top {
  position: fixed; z-index: 60;
  left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lcd-bg); color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(227, 168, 103, .35), 0 14px 28px -14px rgba(0, 0, 0, .6);
  opacity: 0; translate: 0 18px; pointer-events: none;
  transition: opacity .5s var(--ease), translate .6s var(--ease), transform .5s var(--ease), scale .5s var(--ease);
}
.cup-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.cup-top:hover { transform: translateY(-3px); }
.cup-top svg { width: 36px; height: 36px; }
.cup-top__steam { opacity: 0; transition: opacity .6s; }
.cup-top.is-full .cup-top__steam { opacity: .85; animation: bob 2.4s ease-in-out infinite; }

@media (max-width: 760px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float .ic { width: 26px; height: 26px; }
  .cup-top { left: auto; right: max(22px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 66px); width: 46px; height: 46px; }
  .cup-top svg { width: 30px; height: 30px; }
  .wa-float.is-tucked, .cup-top.is-tucked { opacity: 0; scale: .7; pointer-events: none; }
}

/* =====================================================================
   SIMPLE PAGES (404 / thank-you)
   ===================================================================== */
.simple {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem var(--gutter); text-align: center;
  background: radial-gradient(60% 50% at 50% 40%, #2A1B12 0%, #120B08 75%);
  color: var(--cream);
}
.simple svg.simple__cup { width: 120px; height: 120px; color: var(--cream); }
.simple h1 { font-family: var(--font-display); font-weight: 340; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.03em; line-height: 1.05; }
.simple h1 em { font-style: italic; color: var(--amber); }
.simple p { color: rgba(246, 217, 181, .75); max-width: 32em; }
.simple p a { color: var(--amber); }
.simple .btn { margin-top: .8rem; background: var(--cream); color: var(--espresso); }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}

/* =====================================================================
   PERFORMANCE TOUCHES
   ===================================================================== */
@media (min-width: 960px) {
  /* cards animate while the gallery slides — keep them on their own layer */
  .hs .mcard { will-change: transform; }
}
@media (max-width: 959px) {
  /* lighter glass effect on phones keeps scrolling silky */
  .nav.is-scrolled { backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
}
