/* ==========================================================
   MATCHA ZEN  ·  The Ritual of Cha
   Palette from the brand deck (Visual Identity page)
   ========================================================== */
:root {
  --matcha: #56843A;      /* Green Matcha  · Pantone 7742 C */
  --forest: #154520;      /* Dark Green    · Pantone 553 C  */
  --cream: #F4F1EA;       /* Cream                          */
  --natural: #DEAA73;     /* Natural       · Pantone 4022C  */
  --charcoal: #1C1C1C;    /* Charcoal Black                 */
  --ink: #0B0B0A;
  --foam: #C9DE7E;        /* light matcha foam highlight    */
  --concrete: #8D8B86;
  --line: rgba(28, 28, 28, .14);
  --line-light: rgba(244, 241, 234, .18);

  --font: "Figtree", "Gilroy", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--matcha); color: var(--cream); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: rgba(28, 28, 28, .62); }
.light { color: rgba(244, 241, 234, .78); }
.muted.light { color: rgba(244, 241, 234, .66); }
.tiny { font-size: 13px; letter-spacing: .02em; }

/* ---------- Type (deck: geometric sans, bold uppercase headers) ---------- */
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--matcha); margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow.light { color: var(--foam); }
.h-xl, .h-lg {
  font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; margin: 0 0 22px;
}
.h-xl { font-size: clamp(38px, 6.4vw, 92px); }
.h-lg { font-size: clamp(34px, 4.6vw, 64px); }
.h-xl em, .h-lg em { font-style: normal; color: var(--matcha); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 34em; }
.lead.light { color: rgba(244, 241, 234, .85); }

/* ---------- Logo (built in JS from geometric strokes) ---------- */
.logo { display: inline-block; color: currentColor; line-height: 0; }
.logo svg { height: 100%; width: auto; display: block; overflow: visible; }
.nav-logo .logo { height: 22px; }
.logo-xl { width: min(68vw, 980px); }
@media (max-width: 960px) { .logo-xl { width: 88vw; } }
.logo-xl svg { width: 100%; height: auto; }
.logo-foot { height: 34px; margin-bottom: 14px; color: var(--cream); }
.logo[data-animate] .lg-letter { transform-box: fill-box; opacity: 0; transform: translateY(40%); transition: transform .9s var(--bounce), opacity .6s var(--ease); }
.logo.is-in .lg-letter { opacity: 1; transform: none; }

/* Mountain mark */
.mark { display: inline-block; width: 64px; line-height: 0; color: var(--matcha); }
.mark svg { width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .35s var(--bounce), background .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.btn:active { transform: scale(.96); }
.btn-light { --bg: var(--cream); --fg: var(--forest); }
.btn-light:hover { --bg: var(--foam); }
.btn-dark { --bg: var(--forest); --fg: var(--cream); }
.btn-dark:hover { --bg: var(--matcha); }
.btn-ghost { --bg: rgba(244,241,234,.08); --fg: var(--cream); border-color: rgba(244,241,234,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: var(--cream); --fg: var(--forest); }
.btn-outline { --bg: transparent; --fg: var(--forest); border-color: var(--forest); }
.btn-outline:hover { --bg: var(--forest); --fg: var(--cream); }
.btn-pill { padding: 11px 18px; font-size: 12px; }
.btn-sm { padding: 11px 18px; font-size: 12px; }
.btn:focus-visible, .tab:focus-visible, .card:focus-visible, .dna-card:focus-visible, .opt-btn:focus-visible, .swatch:focus-visible {
  outline: 3px solid var(--natural); outline-offset: 3px;
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
  .cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor-dot { width: 8px; height: 8px; background: #fff; }
  .cursor-ring { width: 38px; height: 38px; border: 1.5px solid #fff; transition: width .3s var(--ease), height .3s var(--ease), background .3s; }
  .cursor.is-hover .cursor-ring { width: 70px; height: 70px; background: rgba(255,255,255,.12); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--foam), var(--matcha)); }

/* ---------- Announcement + Nav ---------- */
.announce {
  background: var(--forest); color: var(--cream); text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.announce .dot { color: var(--foam); font-size: 9px; align-self: center; }

.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(244, 241, 234, .82); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo { color: var(--charcoal); display: flex; align-items: center; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a {
  position: relative; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--matcha);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: var(--forest); border-radius: 50%; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); transition: transform .35s var(--ease); }
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a { font-size: clamp(34px, 9vw, 56px); font-weight: 800; text-transform: uppercase; text-decoration: none; line-height: 1.15; }
.mobile-menu a:hover { color: var(--foam); }
.mm-foot { margin-top: 30px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--foam); }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: calc(100svh - 34px); display: grid; place-items: center;
  color: var(--cream); overflow: hidden; background: var(--forest); isolation: isolate;
}
.hero-bg { position: absolute; inset: -6%; background-size: cover; background-position: center 60%; z-index: -2; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 55%, rgba(10,25,12,.15), rgba(10,25,12,.55) 70%), linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 70%, rgba(0,0,0,.35));
}
.hero-inner { text-align: center; padding: 70px var(--gutter) 110px; position: relative; z-index: 2; }
.hero-eyebrow { justify-content: center; color: var(--cream); background: rgba(21,69,32,.55); backdrop-filter: blur(8px); border: 1px solid rgba(244,241,234,.25); display: inline-flex; padding: 9px 16px; border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--foam); box-shadow: 0 0 0 0 rgba(201,222,126,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(201,222,126,0); } 100% { box-shadow: 0 0 0 0 rgba(201,222,126,0); } }
.hero-logo { margin: 18px 0 18px; filter: drop-shadow(0 6px 30px rgba(0,0,0,.25)); }
.hero-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 34px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(13px, 1.5vw, 19px); }
.hero-cats i { font-style: normal; opacity: .8; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.countdown { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.countdown > div {
  min-width: 78px; padding: 12px 10px 10px; border-radius: 18px; text-align: center;
  background: rgba(244,241,234,.12); border: 1px solid rgba(244,241,234,.28); backdrop-filter: blur(10px);
}
.countdown b { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cd-label { width: 100%; margin: 6px 0 0; font-size: 13px; opacity: .85; letter-spacing: .04em; }
.countdown b.tick { animation: tick .45s var(--bounce); }
@keyframes tick { 0% { transform: translateY(-30%); opacity: .2; } 100% { transform: none; opacity: 1; } }

.hero-stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sticker {
  position: absolute; margin: 0; padding: 8px 8px 10px; background: var(--cream); border-radius: 16px;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,.6); width: clamp(110px, 13vw, 190px); transition: transform .2s linear;
}
.sticker img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.sticker figcaption { font-size: 11px; font-weight: 800; color: var(--forest); text-transform: uppercase; letter-spacing: .06em; padding: 7px 4px 0; line-height: 1.2; }
.s1 { left: 5%; top: 12%; rotate: -8deg; }
.s2 { right: 6%; top: 10%; rotate: 7deg; width: clamp(100px, 11vw, 160px); }
.s3 { left: 9%; bottom: 10%; rotate: 6deg; width: clamp(100px, 11vw, 160px); }
.s4 { right: 8%; bottom: 9%; rotate: -5deg; }
.s3 img, .s2 img { aspect-ratio: 1; }
@media (max-width: 960px) {
  .sticker { width: 96px; padding: 5px 5px 6px; border-radius: 12px; }
  .sticker figcaption { display: none; }
  .s1 { left: -14px; top: 4%; } .s2 { right: -14px; top: 6%; } .s3 { left: -18px; bottom: 4%; } .s4 { right: -16px; bottom: 3%; }
  .hero-inner { padding-top: 120px; padding-bottom: 130px; }
}
@media (max-width: 520px) {
  .countdown > div { min-width: 64px; padding: 10px 6px 8px; }
  .s2, .s3 { display: none; }
}

.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(244,241,234,.7); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; user-select: none; }
.marquee-green { background: var(--matcha); color: var(--cream); }
.marquee-cream { background: var(--cream); color: var(--forest); border-bottom: 1px solid var(--line-light); }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; will-change: transform; }
.marquee span { font-weight: 800; font-size: clamp(18px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .02em; }
.marquee b { font-size: .8em; color: var(--foam); }
.marquee-cream b { color: var(--matcha); }

/* ---------- Reveal utilities ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.reveal-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
.reveal-words.is-in .w > span { transform: none; }

/* ---------- Ritual ---------- */
.ritual { padding: clamp(80px, 12vw, 160px) 0; }
.ritual-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.signoff { font-size: 20px; margin-top: 26px; }
.signoff strong { color: var(--matcha); }
.ritual-media { position: relative; }
.tilt-card { border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease-out; box-shadow: 0 40px 80px -40px rgba(21,69,32,.6); }
.tilt-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transform: scale(1.06); }
.mark-float { position: absolute; width: 120px; left: -40px; bottom: -30px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 12px 20px rgba(21,69,32,.35)); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-4deg); } }
@media (max-width: 860px) { .ritual-grid { grid-template-columns: 1fr; } .mark-float { left: auto; right: -10px; width: 90px; } }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 40px; max-width: 820px; }

/* ---------- MENU ---------- */
.menu { padding: clamp(80px, 11vw, 150px) 0; background: var(--cream); }
.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #E9E4D8; border-radius: 999px; padding: 6px; margin-bottom: 40px; }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 14px 10px; border-radius: 999px; cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; transition: color .3s; line-height: 1.2; }
.tab small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .7; margin-top: 2px; }
.tab.is-active { color: var(--cream); }
.tab-ink { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--forest); transition: transform .5s var(--bounce), width .5s var(--bounce); }
@media (max-width: 640px) { .tabs { grid-template-columns: repeat(2, 1fr); border-radius: 26px; } .tab-ink { border-radius: 20px; } .tab { font-size: 12px; } }

.panel { display: none; }
.panel.is-active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } }

.drinks { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: stretch; margin-bottom: 26px; }
.drink-shelf {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 4px; padding: 30px 18px 0;
  background: linear-gradient(180deg, #2a2a28, #191918); border-radius: var(--radius); position: relative; overflow: hidden;
}
.drink-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, #8f8e8a, #5a5955 40%, #3a3936); z-index: 0; }
.drink {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 6px 2px 14px; display: flex; flex-direction: column; align-items: center;
  transition: transform .45s var(--bounce);
}
.drink svg { width: 100%; max-width: 110px; height: auto; filter: drop-shadow(0 14px 12px rgba(0,0,0,.45)); }
.drink span { margin-top: 6px; color: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; text-align: center; min-height: 2.4em; opacity: .75; transition: opacity .3s; }
.drink:hover, .drink.is-active { transform: translateY(-14px) rotate(-2deg); }
.drink.is-active span { opacity: 1; color: var(--foam); }
.drink:nth-child(n+6) { margin-top: -6px; }
.drink-detail { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.drink-detail h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.02; text-transform: uppercase; font-weight: 800; margin: 0 0 14px; }
.drink-detail p { color: rgba(244,241,234,.82); margin: 0 0 18px; }
.drink-detail .eyebrow { color: var(--foam); }
.drink-detail .btn { align-self: flex-start; --bg: var(--cream); --fg: var(--forest); }
.drink-detail.swap h3, .drink-detail.swap p { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(14px); } }
.dd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-block; padding: 7px 12px; border-radius: 999px; background: rgba(201,222,126,.16); color: var(--foam); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
@media (max-width: 1000px) { .drinks { grid-template-columns: 1fr; } .drink-detail { order: -1; padding: 26px 22px; } }
@media (max-width: 640px) { .drink-shelf { grid-template-columns: repeat(3, 1fr); } .drink span { font-size: 10px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; perspective: 1200px; cursor: pointer; background: var(--charcoal); }
.card-face, .card-back { position: absolute; inset: 0; transition: transform .8s var(--ease), opacity .5s; backface-visibility: hidden; }
.card-face img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-face h3 { position: absolute; left: 20px; bottom: 16px; right: 20px; margin: 0; color: var(--cream); text-transform: uppercase; font-size: 22px; font-weight: 800; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.card-face::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.card-face h3 { z-index: 1; }
.card-back { background: var(--matcha); color: var(--cream); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; transform: rotateY(180deg); }
.card-back h3 { font-size: 28px; text-transform: uppercase; margin: 0 0 10px; line-height: 1; }
.card-back p { margin: 0 0 18px; font-size: 18px; }
.card-back .chip { align-self: flex-start; background: rgba(244,241,234,.18); color: var(--cream); }
.card:hover .card-face, .card:focus-visible .card-face, .card.is-flipped .card-face { transform: rotateY(-180deg); }
.card:hover .card-back, .card:focus-visible .card-back, .card.is-flipped .card-back { transform: rotateY(0); }

/* ---------- BUILD ---------- */
.build { background: var(--forest); color: var(--cream); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.build::before { content: ""; position: absolute; inset: 0; background: url(../assets/img/texture.jpg) center/cover; opacity: .12; mix-blend-mode: luminosity; }
.build-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.build-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 560px; }
.stage-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,222,126,.38), transparent 65%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.build-cup { position: relative; width: min(300px, 70vw); }
.build-cup svg { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.4)); }
.build-cup.pop { animation: pop .5s var(--bounce); }
@keyframes pop { 40% { transform: scale(1.06) rotate(-3deg); } }
.build-name { position: relative; text-align: center; margin-top: 14px; }
.build-name .eyebrow { justify-content: center; margin-bottom: 4px; }
.build-name h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; font-weight: 900; line-height: 1; }
.build-name p { margin: 6px 0 0; opacity: .8; }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt legend { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--foam); margin-bottom: 10px; padding: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px 10px 10px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(244,241,234,.28); background: rgba(244,241,234,.05); color: var(--cream); font-weight: 700; font-size: 14px;
  transition: background .25s, border-color .25s, transform .35s var(--bounce);
}
.opt-btn i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); flex: none; }
.opt-btn:hover { transform: translateY(-2px); border-color: var(--foam); }
.opt-btn[aria-pressed="true"] { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 30px; }
.sliders label { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--foam); gap: 10px; }
.sliders output { color: var(--cream); letter-spacing: .04em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 9px; background: rgba(244,241,234,.18); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--foam); border: 4px solid var(--cream); cursor: grab; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--foam); border: 4px solid var(--cream); cursor: grab; }
input[type=range]:focus-visible { outline: 3px solid var(--natural); outline-offset: 6px; }
.build-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .build-grid { grid-template-columns: 1fr; } .build-stage { min-height: 0; padding: 20px 0; } .sliders { grid-template-columns: 1fr; } }

/* ---------- WHISK ---------- */
.whisk { padding: clamp(80px, 11vw, 150px) 0; background: #E9E5DB; }
.whisk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.meter { height: 16px; border-radius: 10px; background: rgba(21,69,32,.14); overflow: hidden; margin-top: 30px; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--matcha), var(--foam)); border-radius: 10px; transition: width .2s; }
.meter-label { display: flex; gap: 8px; align-items: baseline; margin: 10px 0 22px; }
.meter-label b { font-size: 28px; font-weight: 900; color: var(--forest); font-variant-numeric: tabular-nums; }
.meter-label em { margin-left: auto; font-style: normal; color: var(--matcha); font-weight: 700; text-align: right; }
.whisk-stage { position: relative; display: grid; place-items: center; }
.whisk-canvas { width: min(520px, 100%); aspect-ratio: 1; touch-action: none; cursor: grab; border-radius: 50%; }
.whisk-canvas:active { cursor: grabbing; }
.whisk-hint { position: absolute; bottom: 4%; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); background: var(--cream); padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.3); transition: opacity .4s; pointer-events: none; }
@media (max-width: 860px) { .whisk-grid { grid-template-columns: 1fr; } .whisk-stage { order: -1; } }

/* ---------- CAKES ---------- */
.cakes { position: relative; color: var(--cream); padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.cakes-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: opacity .6s; }
.cakes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,14,13,.92) 0%, rgba(14,14,13,.7) 45%, rgba(14,14,13,.35)); }
.cakes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.swatch {
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; outline-offset: 3px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.18), 0 8px 18px -8px rgba(0,0,0,.6); transition: transform .35s var(--bounce), border-color .2s;
}
.swatch:hover { transform: translateY(-4px) scale(1.06); }
.swatch[aria-checked="true"] { border-color: var(--cream); transform: scale(1.12); }
.cake-stage { display: flex; flex-direction: column; align-items: center; }
.cake { width: min(440px, 90%); }
.cake svg { width: 100%; height: auto; overflow: visible; }
.cake .cake-body { transition: fill .6s var(--ease); }
.cake.bounce { animation: cakeBounce .6s var(--bounce); }
@keyframes cakeBounce { 30% { transform: scale(1.04, .96); } 60% { transform: scale(.98, 1.03); } }
.cake-name { margin: 10px 0 0; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 860px) { .cakes-grid { grid-template-columns: 1fr; } }

/* ---------- World reel ---------- */
.ig { color: var(--matcha); font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; }
.reel { overflow: hidden; margin-bottom: 16px; }
.reel-track { display: inline-flex; gap: 16px; will-change: transform; }
.reel img { height: clamp(200px, 26vw, 340px); width: auto; border-radius: 18px; object-fit: cover; transition: transform .5s var(--bounce), filter .4s; flex: none; }
.reel img:hover { transform: scale(1.04) rotate(-1.5deg); }

/* ---------- Visit ---------- */
.visit { padding: clamp(80px, 11vw, 150px) 0; background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.countdown-dark > div { background: var(--forest); color: var(--cream); border: 0; }
.visit-card .countdown { margin: 10px 0 30px; justify-content: flex-start; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.visit-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.visit-facts li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit-facts b { width: 80px; flex: none; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--matcha); padding-top: 3px; }
.visit-media { position: relative; }
.visit-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.visit-badge { position: absolute; left: -36px; top: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--matcha); display: grid; place-items: center; box-shadow: 0 20px 40px -15px rgba(21,69,32,.6); }
.visit-badge .mark { width: 54px; color: var(--cream); }
.badge-spin { position: absolute; inset: 0; }
.badge-spin svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .visit-badge { left: auto; right: 14px; top: -40px; width: 120px; height: 120px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; width: fit-content; }
.footer-links a:hover { color: var(--foam); }
.nomix { display: inline-flex; flex-direction: column; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 700; letter-spacing: .14em; }
.nomix span { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--natural); }
.nomix:hover span { color: var(--foam); }
.copy { opacity: .5; border-top: 1px solid var(--line-light); padding-top: 20px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 140%; z-index: 300; background: var(--forest); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 700; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transition: translate .5s var(--bounce); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { translate: -50% 0; }

/* Confetti */
.confetti { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 400; width: 12px; height: 10px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-words .w > span, .logo[data-animate] .lg-letter, .nota-final { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   v3 additions
   ========================================================== */

/* Chinese typography */
html[lang="zh"] body { font-family: "Figtree", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh"] .h-xl, html[lang="zh"] .h-lg, html[lang="zh"] .house-h { letter-spacing: .02em; line-height: 1.12; }
html[lang="zh"] .eyebrow { letter-spacing: .1em; }

/* ---------- Language switch ---------- */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #E6E1D4; }
.lang button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 8px 13px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--charcoal); transition: color .3s; min-width: 44px;
}
.lang button[lang="zh"] { font-family: "Noto Sans SC", var(--font); }
.lang button[aria-pressed="true"] { color: var(--cream); }
.lang-ink { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--forest); transition: transform .45s var(--bounce), width .45s var(--bounce); }
.lang button:focus-visible { outline: 3px solid var(--natural); outline-offset: 2px; }
@media (max-width: 420px) { .lang button { padding: 8px 9px; min-width: 38px; } .nav-logo .logo { height: 18px; } }

/* ---------- Ritual House (interactive sky) ---------- */
.house {
  position: relative; overflow: hidden; isolation: isolate; color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px);
  background: linear-gradient(180deg, #1360B5 0%, #2B7FD0 45%, #63A9E6 100%);
}
.sky { position: absolute; inset: 0; z-index: -1; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .3s ease-out; }
.cloud {
  position: absolute; display: block; width: var(--w, 360px); height: calc(var(--w, 360px) * .34); left: 0; top: var(--t, 20%);
  border-radius: 999px; background: #fff; opacity: var(--o, .9); filter: blur(var(--b, 6px));
  animation: drift var(--d, 60s) linear infinite; animation-delay: var(--delay, 0s);
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.cloud::before { width: 52%; height: 150%; left: 14%; bottom: 20%; }
.cloud::after { width: 38%; height: 120%; right: 14%; bottom: 25%; }
.c1 { --w: 420px; --t: 8%;  --d: 70s; --delay: -10s; }
.c2 { --w: 280px; --t: 30%; --d: 52s; --delay: -40s; --o: .75; --b: 8px; }
.c3 { --w: 520px; --t: 62%; --d: 90s; --delay: -60s; --o: .85; }
.c4 { --w: 220px; --t: 48%; --d: 44s; --delay: -5s;  --o: .6;  --b: 10px; }
.c5 { --w: 360px; --t: 82%; --d: 64s; --delay: -28s; --o: .8; }
.c6 { --w: 180px; --t: 18%; --d: 38s; --delay: -22s; --o: .55; --b: 12px; }
.c7 { --w: 300px; --t: 4%;  --d: 58s; --delay: -50s; --o: .7; }
@keyframes drift { from { transform: translateX(-60vw); } to { transform: translateX(160vw); } }

.house-title { position: relative; text-align: center; margin-bottom: clamp(30px, 5vw, 60px); }
.house-title .eyebrow { justify-content: center; color: #fff; text-shadow: 0 2px 12px rgba(0,40,90,.4); }
.house-h {
  margin: 0; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(54px, 11.5vw, 190px); color: #fff; text-shadow: 0 10px 50px rgba(0,40,90,.35);
}
.house-h .hw { display: inline-block; transition: transform .5s var(--bounce), color .3s; cursor: default; }
.house-h .hw > span { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform .9s var(--bounce), opacity .6s; }
.house-h.is-in .hw > span { transform: none; opacity: 1; }
.house-h .hw:hover { transform: translateY(-10px) rotate(-3deg); color: var(--foam); }
.house-h .hw.accent { color: var(--foam); }

.house-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.house-copy .lead { text-shadow: 0 2px 16px rgba(0,40,90,.35); color: #fff; font-weight: 600; }
.house-cats { display: grid; gap: 10px; margin-top: 26px; }
.house-cats button {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; padding: 16px 20px; border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
  color: #fff; font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: .02em;
  transition: transform .4s var(--bounce), background .25s, color .25s;
}
.house-cats b { font-size: 13px; color: var(--foam); letter-spacing: .1em; }
.house-cats i { margin-left: auto; font-style: normal; transition: transform .35s var(--bounce); }
.house-cats button:hover { background: #fff; color: var(--forest); transform: translateX(8px); }
.house-cats button:hover b { color: var(--matcha); }
.house-cats button:hover i { transform: translateX(6px); }

.house-stage { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.house-photo {
  position: relative; width: min(640px, 100%); border-radius: 28px; cursor: pointer; user-select: none;
  transform-style: preserve-3d; transition: transform .3s ease-out; touch-action: manipulation;
}
.house-photo img { width: 100%; border-radius: 28px; aspect-ratio: 880/1100; object-fit: cover; box-shadow: 0 50px 80px -40px rgba(0,30,70,.7); border: 6px solid rgba(255,255,255,.9); }
.house-photo.clink { animation: clink .55s var(--bounce); }
@keyframes clink { 25% { transform: rotate(-3deg) scale(1.03); } 55% { transform: rotate(2deg) scale(.99); } }
.hot {
  position: absolute; left: var(--x); top: var(--y); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cream); color: var(--forest); font-size: 26px; font-weight: 900; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8), 0 10px 20px -6px rgba(0,0,0,.4); animation: hotPulse 2s infinite; z-index: 2;
  transition: transform .35s var(--bounce), background .2s;
}
.hot:hover, .hot.is-on { transform: scale(1.15) rotate(90deg); background: var(--foam); }
@keyframes hotPulse { 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0), 0 10px 20px -6px rgba(0,0,0,.4); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 10px 20px -6px rgba(0,0,0,.4); } }
.hot-card {
  position: absolute; z-index: 3; left: 50%; bottom: 7%; transform: translateX(-50%); width: min(330px, 88%); cursor: default;
  background: var(--cream); color: var(--charcoal); border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 30px 60px -20px rgba(0,30,70,.6);
}
.hot-card[hidden] { display: none; }
.hot-card h3 { margin: 0 0 8px; font-size: 22px; text-transform: uppercase; line-height: 1.05; color: var(--forest); padding-right: 28px; }
.hot-card p { margin: 0 0 16px; font-size: 15px; }
.hot-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #E6E1D4; cursor: pointer; font-size: 20px; line-height: 1; }
.cheers-pop {
  position: absolute; left: 0; right: 0; top: 46%; text-align: center; pointer-events: none; z-index: 2;
  font-weight: 900; font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; color: #fff; white-space: nowrap;
  text-shadow: 0 6px 30px rgba(0,30,70,.6); opacity: 0;
}
.cheers-pop.go { animation: cheers 1.1s var(--ease); }
@keyframes cheers { 0% { opacity: 0; transform: scale(.4) rotate(-8deg); } 25% { opacity: 1; transform: scale(1.12) rotate(3deg); } 70% { opacity: 1; transform: scale(1) rotate(0); } 100% { opacity: 0; transform: translateY(-40px) scale(.95); } }
.clink-hint { margin: 18px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(0,40,90,.28); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); text-align: center; }
@media (max-width: 900px) { .house-grid { grid-template-columns: 1fr; } }

/* ---------- Tag us · BOGO ---------- */
.tag { padding: clamp(80px, 11vw, 150px) 0 clamp(50px, 6vw, 80px); background: var(--cream); overflow: hidden; }
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); }
.tag-copy .lead b { color: var(--matcha); }
.tag-copy .btn { margin-top: 10px; }
.tag-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tag-step {
  position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -30px rgba(21,69,32,.45);
}
.tag-step.is-in { transition: transform .45s var(--bounce), opacity .9s var(--ease); }
.tag-step:nth-child(2) { margin-left: clamp(0px, 3vw, 40px); }
.tag-step:nth-child(3) { margin-left: clamp(0px, 6vw, 80px); background: var(--forest); color: var(--cream); }
.tag-step.is-in:hover { transform: translateX(-8px) rotate(-1deg); }
.ts-num { position: absolute; top: 12px; right: 18px; font-weight: 900; font-size: 13px; letter-spacing: .1em; color: var(--matcha); }
.tag-step:nth-child(3) .ts-num { color: var(--foam); }
.ts-icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: #EEF3E2; }
.tag-step:nth-child(3) .ts-icon { background: rgba(201,222,126,.18); }
.tag-step h3 { margin: 0; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.tag-step p { margin: 2px 0 0; opacity: .8; }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.feed-head h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; }
.feed-head p { margin: 0; }
.reel { cursor: grab; touch-action: pan-y; }
.reel.dragging { cursor: grabbing; }
.reel.dragging img, .reel.dragging a { pointer-events: none; }
.reel img { -webkit-user-drag: none; user-select: none; }
.tagged { position: relative; flex: none; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; }
.tagged span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--forest); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; }
.fine { margin-top: 24px; }
@media (max-width: 860px) { .tag-grid { grid-template-columns: 1fr; } .tag-step:nth-child(n) { margin-left: 0; } }
.lang button { white-space: nowrap; }
@media (max-width: 900px) { .house-stage { order: -1; } }
@media (max-width: 480px) { .lang { padding: 3px; } .lang button { padding: 7px 8px; min-width: 0; font-size: 11px; } .nav-right { gap: 6px; } .nav-burger { width: 40px; height: 40px; } .nav-burger span { left: 12px; right: 12px; } .nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 23px; } }

/* sky section: centered photo */
.house-photo .hot { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 30px; }
@media (max-width: 600px) { .house-photo .hot { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 24px; } .house-photo img { border-width: 4px; } }

/* tag section: words only */
.tag-grid { grid-template-columns: 1fr; }
.tag-copy { max-width: 900px; }
.tag-copy .h-xl { font-size: clamp(52px, 9vw, 130px); line-height: .95; }
html[lang="zh"] .tag-copy .h-xl { line-height: 1.08; }
.tag-copy .lead { max-width: 40em; }

/* Chinese headings: break only at <br> */
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { word-break: keep-all; }
