/* ==========================================================================
   Mocean Oriental Tea — styles
   ========================================================================== */

:root {
  --ink: #07142a;
  --navy: #0c1f3b;
  --navy-2: #132c52;
  --blue: #2a4677;
  --ivory: #f4efe6;
  --paper: #ebe3d4;
  --gold: #c6a974;
  --gold-2: #e6d3ac;
  --text-dark: #13213a;
  --text-dark-2: #4a5468;
  --on-dark: #f4efe6;
  --on-dark-2: rgba(244, 239, 230, 0.66);
  --line-dark: rgba(230, 211, 172, 0.18);
  --line-light: rgba(19, 33, 58, 0.12);

  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --sans: "Manrope", "Noto Serif SC", system-ui, -apple-system, sans-serif;
  --zh: "Noto Serif SC", "Songti SC", serif;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

/* Film grain for a printed, tactile feel */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow--dark { color: #9a7d4b; }

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.section-title em { font-style: italic; color: var(--blue); }
.section-title--light { color: var(--on-dark); }
.section-title--light em { color: var(--gold-2); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.section-sub { margin: 1.25rem auto 0; max-width: 560px; color: var(--text-dark-2); font-size: 0.98rem; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  height: var(--h); padding: 0 1.9em;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s, color 0.4s, border-color 0.4s;
}
.btn svg { font-size: 1.15em; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 1.4em; font-size: 0.72rem; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a8884f);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(198, 169, 116, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold::after { /* travelling sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(198, 169, 116, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

.icon-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-light); color: var(--text-dark);
  font-size: 1.25rem; cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.icon-btn:hover { background: var(--text-dark); color: var(--ivory); transform: scale(1.06); }

.link { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color 0.3s; }
.link:hover { color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 18px var(--gutter);
  transition: background 0.5s, padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(7, 20, 42, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-dark);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__wordmark { height: 32px; width: auto; transition: opacity 0.3s; }
.nav__brand:hover .nav__wordmark { opacity: 0.8; }
.nav__links { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav__links a {
  position: relative; text-decoration: none; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-2); transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--on-dark); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 90px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, #17345f 0%, var(--navy) 45%, var(--ink) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__pattern {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.12; mix-blend-mode: screen; filter: saturate(0.4);
  /* fade out the centre of the artwork (where its own logo sits) so only the botanical edges show */
  -webkit-mask-image: radial-gradient(48% 52% at 50% 50%, transparent 55%, #000 100%);
          mask-image: radial-gradient(48% 52% at 50% 50%, transparent 55%, #000 100%);
}
.hero__glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -10vmax; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(198, 169, 116, 0.18), transparent 60%);
  filter: blur(20px);
}
.hero__inner {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
}
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: 0.96; letter-spacing: -0.02em;
}
.hero__title span { display: block; }
.hero__title em { color: var(--gold-2); font-style: italic; }
.hero__lede { max-width: 30rem; margin: 2rem 0 2.6rem; color: var(--on-dark-2); font-size: 1.04rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stage { position: relative; height: min(78vh, 700px); display: flex; flex-direction: column; }
.stage { position: relative; flex: 1; min-height: 0; perspective: 1100px; perspective-origin: 50% 40%; }

/* WebGL boba glass */
.cup-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  cursor: grab; touch-action: pan-y; outline: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.is-live .cup-canvas { opacity: 1; }
.is-grabbing .cup-canvas { cursor: grabbing; }
.cup-canvas:focus-visible { outline: 1px dashed rgba(230, 211, 172, 0.5); outline-offset: -8px; border-radius: 24px; }
.hero__stage:not(.is-fallback) .mark3d { display: none; }
.is-fallback .cup-canvas, .is-fallback .cup-ui { display: none; }

.cup-ui { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; padding-top: 6px; text-align: center; opacity: 0; transition: opacity 1s var(--ease) 0.4s; }
.is-live .cup-ui { opacity: 1; }
.cup-ui__hint { margin: 0; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-dark-2); }
.cup-ui__hint i { font-style: normal; color: var(--gold); margin: 0 0.4em; }

.mark3d {
  --size: min(34vw, 340px);
  --rx: 0deg; --ry: 0deg; --float: 0px;
  position: absolute; left: 50%; top: 42%;
  width: var(--size); height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  transform-style: preserve-3d;
  transform: translateY(var(--float)) rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.mark3d__layer {
  position: absolute; inset: 0;
  -webkit-mask: var(--logo-mask) center / contain no-repeat;
          mask: var(--logo-mask) center / contain no-repeat;
}
.mark3d__face {
  background:
    radial-gradient(120% 120% at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 45%),
    linear-gradient(140deg, #fbf7ef 0%, #efe4cf 45%, #d6bf93 100%);
}
.mark3d__back { background: linear-gradient(140deg, #2a4677, #10264a); }

.water {
  position: absolute; left: 50%; top: 88%;
  width: 130%; aspect-ratio: 1; margin-left: -65%; margin-top: -65%;
  transform: rotateX(80deg);
  transform-style: preserve-3d;
  pointer-events: none;
}
.water::before { /* the mark's soft reflection on the water */
  content: ""; position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 211, 172, 0.35), transparent 60%);
  filter: blur(10px);
}
.ripple {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(230, 211, 172, 0.55);
  transform: scale(0.08); opacity: 0;
  animation: ripple 6.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.ripple:nth-child(2) { animation-delay: 1.6s; }
.ripple:nth-child(3) { animation-delay: 3.2s; }
.ripple:nth-child(4) { animation-delay: 4.8s; }
@keyframes ripple {
  0% { transform: scale(0.08); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: scale(0.75); opacity: 0; }
}

.hero__vertical {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  margin: 0; writing-mode: vertical-rl; font-family: var(--zh); font-weight: 300;
  font-size: 1.1rem; letter-spacing: 1.2em; color: var(--gold);
  opacity: 0.8;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-2); text-decoration: none;
}
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff;
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--gold); color: var(--ink);
  border-block: 1px solid rgba(0, 0, 0, 0.1);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  padding: 1rem 0; animation: marquee 38s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); white-space: nowrap;
}
.marquee__track b { font-style: normal; font-size: 0.7em; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Signature carousel ---------- */
.signature {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(80% 60% at 50% 60%, #fffdf8 0%, transparent 70%),
    var(--ivory);
  color: var(--text-dark);
}
.carousel {
  --card-w: clamp(170px, 20vw, 230px);
  position: relative; height: clamp(360px, 42vw, 470px);
  margin-top: clamp(30px, 5vw, 60px);
  perspective: 1500px; perspective-origin: 50% 30%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.carousel.is-dragging { cursor: grabbing; }
.carousel__ring {
  position: absolute; left: 50%; top: 4%;
  width: var(--card-w); aspect-ratio: 3 / 4; margin-left: calc(var(--card-w) / -2);
  transform-style: preserve-3d;
}
.ccard {
  position: absolute; inset: 0;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f6f1e7);
  box-shadow: 0 30px 60px -30px rgba(19, 33, 58, 0.45), inset 0 0 0 1px rgba(19, 33, 58, 0.06);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: filter 0.2s linear;
}
.ccard img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.32);
  mix-blend-mode: multiply; pointer-events: none;
}
.ccard::after { /* glossy edge light */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.55), transparent 35%);
  pointer-events: none;
}
.carousel__floor {
  position: absolute; left: 50%; bottom: 0; width: min(900px, 90vw); height: 90px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 33, 58, 0.18), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.carousel__caption { text-align: center; padding: 0 var(--gutter); margin-top: 8px; min-height: 7.5rem; }
.carousel__zh { margin: 0; font-family: var(--zh); font-size: 0.95rem; letter-spacing: 0.3em; color: #9a7d4b; }
.carousel__en { margin: 0.2rem 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 400; }
.carousel__meta { margin: 0; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dark-2); }
.carousel__caption.is-changing > * { animation: capIn 0.7s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }
.carousel__controls { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }

/* ---------- Menu ---------- */
.menu {
  position: relative;
  padding: clamp(90px, 12vw, 150px) var(--gutter);
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(42, 70, 119, 0.5), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(198, 169, 116, 0.1), transparent 70%),
    var(--navy);
}
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: clamp(36px, 5vw, 56px) auto 0; padding: 6px; width: fit-content; max-width: 100%;
  border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(7, 20, 42, 0.4);
}
.tab {
  position: relative; display: inline-flex; align-items: baseline; gap: 0.5em;
  padding: 0.75em 1.4em; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2);
  transition: color 0.3s, background 0.4s var(--ease);
}
.tab small { font-family: var(--zh); font-size: 0.8em; letter-spacing: 0.1em; opacity: 0.7; text-transform: none; }
.tab:hover { color: var(--on-dark); }
.tab[aria-selected="true"] { background: var(--ivory); color: var(--ink); }
.menu__blurb {
  max-width: 620px; margin: 2rem auto 0; text-align: center; color: var(--on-dark-2);
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; min-height: 3em;
}
.menu__grid {
  max-width: var(--max); margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 28px);
  perspective: 1200px;
}
.mcard {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column;
  border-radius: 24px; padding: 12px 12px 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.6s var(--ease);
  cursor: pointer; text-align: left; color: inherit; text-decoration: none;
  animation: cardIn 0.8s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) rotateX(12deg); } }
.mcard:hover { border-color: rgba(230, 211, 172, 0.45); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); transition: transform 0.15s linear, border-color 0.4s, box-shadow 0.6s var(--ease); }
.mcard__img {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 40%, #ffffff, #efe8dc);
}
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); mix-blend-mode: multiply; transition: transform 0.9s var(--ease); }
.mcard:hover .mcard__img img { transform: scale(1.28) translateY(-2%); }
.mcard__img::after { /* glare that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.55), transparent 45%);
  mix-blend-mode: soft-light;
}
.mcard:hover .mcard__img::after { opacity: 1; }
.mcard__body { padding: 18px 8px 0; flex: 1; display: flex; flex-direction: column; }
.mcard__zh { margin: 0; font-family: var(--zh); font-size: 0.82rem; letter-spacing: 0.18em; color: var(--gold); }
.mcard__en { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.mcard__foot { margin-top: auto; padding-top: 1rem; }
.mcard__size { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-2); }
.mcard__cta {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  padding: 0.45em 0.9em; border-radius: 999px; background: var(--ink); color: var(--ivory);
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.5s var(--ease);
}
.mcard:hover .mcard__cta, .mcard:focus-visible .mcard__cta { opacity: 1; transform: none; }
.menu__note { max-width: 620px; margin: 3rem auto 0; text-align: center; font-size: 0.8rem; color: var(--on-dark-2); opacity: 0.8; }

/* ---------- Story ---------- */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
  padding: clamp(90px, 12vw, 160px) max(var(--gutter), (100% - var(--max)) / 2);
  background: var(--ivory);
  color: var(--text-dark);
}
.story__media { position: relative; perspective: 1200px; padding-bottom: 14%; }
.frame {
  --rx: 0deg; --ry: 0deg; --py: 0px;
  margin: 0; border-radius: 22px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(12, 31, 59, 0.55);
  transform: translateY(var(--py)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.frame--tall { width: 82%; aspect-ratio: 4 / 5; }
.frame--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--ivory); }
.story__copy p { color: var(--text-dark-2); max-width: 32rem; }
.story__copy .section-title { margin-bottom: 1.6rem; }
.pillars { margin: 2.2rem 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.pillars > div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.pillars dt { font-family: var(--zh); font-size: 1.7rem; font-weight: 300; color: var(--blue); text-align: center; }
.pillars dd { margin: 0; font-size: 0.92rem; color: var(--text-dark-2); }
.pillars strong { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dark); }
.story__sign { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--blue) !important; }

/* ---------- Visit ---------- */
.visit {
  padding: clamp(90px, 12vw, 150px) var(--gutter);
  background: radial-gradient(70% 60% at 50% 0%, #17345f, var(--ink) 75%);
  perspective: 1400px;
}
.visit__card {
  --rx: 0deg; --ry: 0deg; --py: 0px;
  position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  border-radius: 32px; border: 1px solid var(--line-dark);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.8);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.visit__mark {
  position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; opacity: 0.07;
  background: var(--gold-2);
  -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.visit__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 60px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-dark);
}
.visit h3 { margin: 0 0 0.9rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.visit__grid p { margin: 0 0 1rem; color: var(--on-dark); font-size: 1.02rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--line-dark); color: var(--on-dark-2); font-size: 0.95rem; }
.hours li.is-today { color: var(--on-dark); }
.hours li.is-today span:first-child::after { content: " · Today"; color: var(--gold); font-size: 0.8em; }

/* ---------- Footer ---------- */
.footer { padding: 70px var(--gutter) 50px; text-align: center; background: var(--ink); border-top: 1px solid var(--line-dark); }
.footer__wordmark { height: 45px; width: auto; margin: 0 auto; opacity: 0.95; }
.footer__tag { margin: 1rem 0 0.4rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--on-dark-2); }
.footer__social { display: inline-flex; margin: 0.4rem 0 1.2rem; padding: 8px; color: var(--on-dark-2); transition: color 0.3s; }
.footer__social:hover { color: var(--gold-2); }
.footer__social svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__social .dot { fill: currentColor; stroke: none; }
.footer__copy { margin: 0; font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(244, 239, 230, 0.4); }

/* ---------- Order dialog ---------- */
.order {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; background: transparent; color: var(--on-dark);
  overflow: visible;
}
.order::backdrop { background: rgba(4, 12, 26, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.order[open] { animation: dlgIn 0.6s var(--ease); }
.order[open]::backdrop { animation: fadeIn 0.4s ease; }
@keyframes dlgIn { from { opacity: 0; transform: perspective(900px) translateY(30px) rotateX(14deg) scale(0.96); } }
@keyframes fadeIn { from { opacity: 0; } }
.order.is-closing { animation: dlgOut 0.3s ease forwards; }
.order.is-closing::backdrop { animation: fadeIn 0.3s ease reverse forwards; }
@keyframes dlgOut { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
.order__panel {
  position: relative; overflow: hidden;
  padding: clamp(32px, 6vw, 52px);
  border-radius: 28px; border: 1px solid var(--line-dark);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(198, 169, 116, 0.16), transparent 60%),
    linear-gradient(160deg, #142f57, var(--ink));
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}
.order__mark {
  position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: 0.06; background: var(--gold-2);
  -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat;
}
.order__close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.order__close:hover { transform: rotate(90deg); background: rgba(255, 255, 255, 0.1); }
.order__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1.05; }
.order__title em { color: var(--gold-2); }
.order__sub { margin: 0.9rem 0 1.8rem; color: var(--on-dark-2); font-size: 0.92rem; }
.order__options { display: grid; gap: 12px; }
.partner {
  --accent: #06c167;
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 2px;
  padding: 20px 22px 20px 26px; border-radius: 18px; text-decoration: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.partner[hidden] { display: none; }
.partner::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--accent); }
.partner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.partner:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.partner:hover::after { opacity: 1; }
.partner--doordash { --accent: #ff3008; }
.partner__name { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.partner__name b { font-weight: 700; }
.partner__hint { grid-column: 1; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-2); }
.partner__arrow { grid-column: 2; grid-row: 1 / 3; font-size: 1.4rem; color: var(--gold-2); transition: transform 0.5s var(--ease); }
.partner:hover .partner__arrow { transform: translate(3px, -3px); }
.order__foot { margin: 1.6rem 0 0; font-size: 0.85rem; color: var(--on-dark-2); }
.order__foot a { color: var(--gold-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stage { order: -1; height: 64vh; min-height: 440px; max-height: 600px; }
  .mark3d { --size: min(52vw, 240px); }
  .hero__vertical { display: none; }
  .hero__scroll { display: none; }
  .story { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav__wordmark { height: 26px; }
  .tabs { border-radius: 22px; }
  .tab { padding: 0.65em 1em; font-size: 0.7rem; }
  .tab small { display: none; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mcard { padding: 8px 8px 14px; border-radius: 18px; }
  .mcard__img { border-radius: 12px; }
  .mcard__body { padding: 12px 4px 0; }
  .mcard__en { font-size: 1.12rem; }
  .mcard__size { font-size: 0.62rem; letter-spacing: 0.12em; }
  .mcard__cta { display: none; }
  .btn:not(.btn--sm) { --h: 50px; padding: 0 1.5em; }
}

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