/* ==========================================================================
   Today's by Dalton — shared styles
   Tokens, base, header, menu overlay, footer, buttons, reveals, page heroes,
   forms, and the EN/中文 layer.
   The palette is taken from the café itself: the oat-white of their paper
   cups and walls, the espresso-black line of the portafilter mark, the
   caramel of a croffle straight off the iron, and the matcha green that
   sits beside the lattes on their counter.
   ========================================================================== */

:root {
  --ink: #2a1f17;
  --ink-soft: rgba(42, 31, 23, 0.76);
  --ink-muted: rgba(42, 31, 23, 0.55);
  --ink-line: rgba(42, 31, 23, 0.14);
  --night: #17110c;
  --night-2: #2e2219;
  --royal: #5b4331;
  --gold: #b27838;
  --gold-soft: #dcb783;
  --gold-deep: #86561f;
  --lotus: #6f7d3c;
  --chilli: #7d8a46;
  --ember: #6f7d3c;
  --paper: #f7f3ec;
  --sand: #efe7da;
  --cream: #e4d5bf;
  --petrol: #5b4331;
  --sky: #b27838;

  --font-display: "Playfair Display", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-script: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-head: "Playfair Display", "Noto Serif SC", Georgia, serif;
  --font-num: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Jost", "Noto Sans SC", "Futura", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.14, 0.85, 0.2, 1);
  --reveal-duration: 1.05s;
  --interaction: 0.55s;

  --gutter: clamp(22px, 4.2vw, 60px);
  --header-h: 96px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.68;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  /* Without this the width/height attributes win whenever CSS sets only the
     width, and object-fit:fill then stretches the picture. Anything that
     genuinely needs a fixed height sets it on its own class, which is more
     specific and still wins. */
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--night);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type helpers ---------- */

.kicker {
  margin: 0;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.72);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-transform: uppercase;
}

.script {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-script);
  font-size: 1.62em;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.88;
  text-transform: none;
}

.lede {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.footnote {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.4;
}

.footnote::before {
  content: "";
  display: block;
  width: clamp(62px, 8vw, 116px);
  height: 1px;
  margin-bottom: 12px;
  background: currentColor;
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  --btn-border: var(--ink);
  --btn-fill: var(--ink);
  --btn-fill-color: var(--paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 48px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid var(--btn-border);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color var(--interaction) ease,
    border-color var(--interaction) ease,
    transform var(--interaction) var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 100% -2px auto;
  z-index: -1;
  height: 130%;
  background: var(--btn-fill);
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  transition: transform 0.7s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: var(--btn-fill-color);
  border-color: var(--btn-fill);
  transform: translateY(-3px);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(-96%);
}

.btn:active {
  transform: translateY(-1px);
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-color: var(--night);
  --btn-border: var(--gold);
  --btn-fill: var(--night);
  --btn-fill-color: var(--gold-soft);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-color: var(--paper);
  --btn-border: var(--ink);
  --btn-fill: var(--gold);
  --btn-fill-color: var(--night);
}

.btn--light {
  --btn-bg: #fff;
  --btn-color: var(--ink);
  --btn-border: rgba(255, 255, 255, 0.8);
  --btn-fill: var(--gold);
  --btn-fill-color: var(--night);
}

.btn--ghost {
  --btn-border: var(--ink-line);
}

.btn--ghost-light {
  --btn-color: #fff;
  --btn-border: rgba(255, 255, 255, 0.55);
  --btn-fill: #fff;
  --btn-fill-color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.round-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}

.round-btn svg {
  width: 20px;
  height: 20px;
}

.round-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.text-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(0);
  transform-origin: right;
}

.text-link--light {
  color: #fff;
}

.text-link--gold {
  color: var(--gold-deep);
}

/* ---------- Reveal & image fade ---------- */

html.js-motion [data-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--reveal-duration) var(--ease),
    filter var(--reveal-duration) var(--ease),
    transform var(--reveal-duration) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

html.js-motion [data-reveal].is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

html.js-motion img[data-fade]:not(.is-loaded) {
  opacity: 0;
}

.light-wash {
  position: absolute;
  inset: -18% 0;
  z-index: 1;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 222, 160, 0.11) 45%,
    rgba(255, 255, 255, 0.04) 52%,
    transparent 68%
  );
  background-size: 150% 100%;
  background-position: 0% 50%;
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: light-travel 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes light-travel {
  to {
    background-position: 100% 50%;
  }
}

@keyframes float-soft {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -7px;
    rotate: 1.2deg;
  }
}

@keyframes presence {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Page curtain (between pages) ---------- */

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.page-curtain.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Arrival: the same colour, drawn by html::after so it exists before any
   script runs (no one-frame flash of the new page), then fades away. */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

html.is-arriving::after {
  opacity: 1;
  transition: none;
}

/* ---------- Header ---------- */

.site-header {
  --glass-reveal: 0%;
  --pattern-opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 34px var(--gutter);
  color: #fff;
  isolation: isolate;
  transition:
    padding 0.42s ease,
    box-shadow 0.42s ease;
}

.site-header::before,
.site-header::after {
  background-image: linear-gradient(transparent, transparent);
  border-bottom: 1px solid rgba(220, 183, 131, var(--pattern-opacity));
  opacity: 1;
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
  -webkit-mask-size: 100% var(--glass-reveal);
  mask-size: 100% var(--glass-reveal);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition:
    -webkit-mask-size 0.72s var(--ease),
    mask-size 0.72s var(--ease),
    opacity 0.42s ease;
}

.site-header.is-scrolled {
  --glass-reveal: 100%;
  --pattern-opacity: 0.55;
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 8px 30px rgba(14, 10, 8, 0.16);
}

.site-header.is-scrolled::before {
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
}

.site-header__side {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.site-header__side--right {
  justify-content: flex-end;
}

.site-header__link,
.site-header__book {
  position: relative;
  padding: 6px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header__link::after,
.site-header__book::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.site-header__link:hover::after,
.site-header__book:hover::after,
.site-header__link[aria-current="page"]::after,
.site-header__book[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__book {
  padding: 11px 18px;
  border: 1px solid rgba(220, 197, 155, 0.55);
  color: var(--gold-soft);
  transition: background-color 0.4s ease, color 0.4s ease;
}

.site-header__book::after {
  display: none;
}

.site-header__book:hover {
  background: var(--gold);
  color: var(--night);
}

/* The logo box has a fixed height so the full logo never makes the scrolled header taller. */
.site-header__logo {
  --logo-x: -50%;
  grid-column: 2;
  position: relative;
  width: 160px;
  height: 44px;
  color: #fff;
  text-decoration: none;
}

.logo-full,
.logo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform, opacity;
}

.logo-full {
  gap: 6px;
  opacity: 1;
  transform: translate3d(var(--logo-x), -50%, 0) scale(1);
  transition:
    opacity 0.2s ease,
    transform 0.36s var(--ease);
}

.logo-icon {
  opacity: 0;
  transform: translate3d(var(--logo-x), -50%, 0) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.34s var(--ease);
}

.site-header.is-scrolled .logo-full {
  opacity: 0;
  transform: translate3d(var(--logo-x), -50%, 0) scale(0.96);
  pointer-events: none;
}

.site-header.is-scrolled .logo-icon {
  opacity: 1;
  transform: translate3d(var(--logo-x), -50%, 0) scale(1);
  transition-delay: 0.06s;
  pointer-events: auto;
}

.emblem {
  width: 100%;
  height: auto;
  color: var(--gold);
}

.logo-full .emblem {
  width: 50px;
}

.logo-icon .emblem {
  width: 42px;
}

/* The owner's wordmark. Single colour so it can sit on any background. */
.wordmark {
  display: block;
  width: 100%;
  height: auto;
  color: currentColor;
}

.logo-full .wordmark {
  width: 132px;
}

.logo-icon .wordmark {
  width: 96px;
}

.logo-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  padding-left: 0.2em;
}

/* MANNAM wordmark (traced from page 1 of their menu). */
.logo-word span {
  margin-top: 3px;
  color: var(--gold-soft);
  font-size: 1em;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle__line {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.46s var(--ease),
    opacity 0.3s ease,
    width 0.46s var(--ease),
    background-color 0.3s ease;
}

.menu-toggle__line:nth-child(1) {
  transform: translateY(-8px);
}

.menu-toggle__line:nth-child(2) {
  width: 18px;
  left: 17px;
}

.menu-toggle__line:nth-child(3) {
  transform: translateY(8px);
}

.menu-toggle:hover .menu-toggle__line:nth-child(2) {
  width: 26px;
  left: 9px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line {
  background: var(--gold-soft);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: rotate(-45deg);
}

/* ---------- Menu overlay ---------- */

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.5s;
}

.site-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 10, 8, 0.8);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.site-menu.is-open .site-menu__backdrop {
  opacity: 1;
}

.site-menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: min(440px, 100%);
  padding: 150px 48px 44px var(--gutter);
  overflow-y: auto;
  background: rgba(22, 17, 15, 0.86);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  color: #fff;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-menu.is-open .site-menu__panel {
  transform: translate3d(0, 0, 0);
}

.site-menu__links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__links a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 32px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.site-menu__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.site-menu__links a:hover,
.site-menu__links a[aria-current="page"] {
  color: var(--gold-soft);
}

.site-menu__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-menu__meta {
  display: grid;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.site-menu__meta a {
  text-decoration: none;
}

.site-menu__meta > .text-link {
  justify-self: start;
  margin-bottom: 8px;
}

.site-menu__contact,
.site-menu__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-menu__contact a:hover,
.site-menu__social a:hover {
  color: var(--gold-soft);
}

.site-menu__gallery {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 440px;
  z-index: 1;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 120px var(--gutter) 60px clamp(32px, 4vw, 64px);
  pointer-events: none;
}

.site-menu.is-open .site-menu__gallery {
  pointer-events: auto;
}

.site-menu__tile {
  display: grid;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.site-menu__tile .site-menu__visual {
  display: block;
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
  filter: saturate(0.9);
}

.site-menu__tile:hover .site-menu__visual {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* Type-set cards, printed like MANNAM's own table cards. */
.site-menu__card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 18px;
  border: 1px solid rgba(221, 182, 119, 0.5);
  outline: 1px solid rgba(221, 182, 119, 0.22);
  outline-offset: -9px;
  background: var(--night-2);
  color: var(--paper);
  text-align: center;
}

.site-menu__card--gold {
  background: radial-gradient(120% 90% at 50% 0%, #c99552 0%, var(--gold-deep) 70%, #6b4418 100%);
  border-color: rgba(247, 243, 236, 0.45);
  outline-color: rgba(247, 243, 236, 0.25);
}

.site-menu__card-code {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.site-menu__card--gold .site-menu__card-code {
  color: var(--paper);
}

.site-menu__card-big {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12;
}

.site-menu__card .site-menu__card-big:not(:has(span)) {
  font-family: var(--font-num);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.site-menu__card-rule {
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.site-menu__card-price {
  font-family: var(--font-num);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.site-menu__card-small {
  max-width: 17ch;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

.site-menu__tile-label {
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-menu__tile-label em {
  color: var(--gold-soft);
  font-family: var(--font-script);
  font-size: 30px;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.site-menu__tile {
  overflow: hidden;
}

@media (min-width: 1100px) {
  .site-menu__gallery {
    display: grid;
  }
}

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 78vh, 760px);
  padding: 160px var(--gutter) clamp(110px, 14vw, 180px);
  overflow: hidden;
  background: var(--night);
  color: #fff;
  text-align: center;
}

.page-hero__media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
  animation: presence 1.4s var(--ease) 0.15s both;
  will-change: transform;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 13, 11, 0.55) 0%, rgba(18, 13, 11, 0.35) 45%, rgba(18, 13, 11, 0.62) 100%);
}

.page-hero__content {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: min(100%, 1000px);
  animation: presence 1.15s var(--ease) 0.6s both;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 84px);
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.page-hero__title .script {
  display: block;
  margin-top: 0.06em;
  font-size: 0.78em;
  color: var(--gold-soft);
}

.page-hero__lede {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.75;
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  width: 100%;
  height: clamp(60px, 9vw, 130px);
  color: var(--paper);
  pointer-events: none;
}

.wave-divider path {
  fill: currentColor;
}

/* ---------- Layout helpers ---------- */

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

.section--sand {
  background: var(--sand);
}

.section--night {
  background: var(--night);
  color: #fff;
}

.container {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-transform: uppercase;
}

.section-title .script {
  display: block;
  margin: -0.12em 0 0 1.1em;
  font-size: 0.95em;
}

.section-head--center .section-title .script {
  margin-left: 0;
}

.section--night .section-title {
  color: #fff;
}

.section--night .lede {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.framed-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}

.framed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.framed-photo:hover img {
  transform: scale(1.03);
}

.framed-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  padding: 8px 14px;
  border: 1px solid var(--ink-line);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section--night .badge-list li {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.status-pill:empty {
  display: none;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fbf73;
  box-shadow: 0 0 0 4px rgba(111, 191, 115, 0.18);
}

.status-pill.is-closed::before {
  background: var(--chilli);
  box-shadow: 0 0 0 4px rgba(155, 59, 50, 0.18);
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease;
}

.field select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314262e' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.field:has(.field__error:not(:empty))::after,
.field:focus-within::after {
  transform: scaleX(1);
}

.field:has(.field__error:not(:empty))::after {
  background: var(--chilli);
}

.field--choice::after {
  display: none;
}

.field__error {
  min-height: 0;
  color: var(--chilli);
  font-size: 11px;
}

.field__hint {
  color: var(--ink-muted);
  font-size: 11px;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink-line);
  color: var(--ink-soft);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-note {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-success {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.6);
}

.form-success[hidden] {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) var(--gutter) 28px;
  background:
    radial-gradient(circle at 85% 0%, rgba(46, 34, 25, 0.45), transparent 55%),
    var(--night);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__watermark {
  position: absolute;
  right: -6%;
  bottom: -12%;
  z-index: -1;
  width: min(62vw, 760px);
  opacity: 0.05;
  pointer-events: none;
}

.site-footer__watermark .emblem {
  color: var(--gold);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 120px);
  padding-bottom: clamp(50px, 7vw, 90px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.site-footer__logo .wordmark {
  width: 190px;
}

.site-footer__watermark .wordmark {
  width: 100%;
}

.site-footer__logo .emblem {
  width: 64px;
}

.site-footer__logo .logo-word {
  align-items: flex-start;
  padding-left: 0;
}

.site-footer__tagline {
  max-width: 400px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  color: #fff;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.footer-accordion {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0 16px;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-accordion__trigger:hover {
  opacity: 0.82;
}

.footer-accordion__icon {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.footer-accordion__icon::before {
  content: "";
  position: absolute;
  inset: 1px 3px 1px 0;
  border-top: 1.5px solid var(--gold-soft);
  border-right: 1.5px solid var(--gold-soft);
  transform: rotate(45deg);
}

.footer-accordion__trigger[aria-expanded="true"] .footer-accordion__icon {
  transform: rotate(90deg);
}

.footer-accordion__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.35s ease,
    padding 0.35s ease;
}

.footer-accordion__panel.is-open {
  padding-bottom: 36px;
  opacity: 1;
}

.footer-accordion__panel p {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-accordion__subtitle {
  margin-bottom: 10px !important;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px !important;
}

.footer-accordion__subtitle strong {
  color: var(--gold-soft);
  font-weight: 400;
}

.site-footer__info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: clamp(40px, 6vw, 70px) 0;
  font-size: 13px;
  line-height: 1.75;
}

.site-footer__info a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__info a:hover {
  color: var(--gold-soft);
}

.site-footer__info .status-pill {
  margin-top: 10px;
}

.site-footer__label {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
}

/* ---------- Mobile dock ---------- */

.mobile-dock {
  display: none;
}

@media (max-width: 767px) {
  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(22, 17, 15, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 16px 40px rgba(14, 10, 8, 0.28);
    transform: translateY(calc(100% + 30px));
    transition: transform 0.6s var(--ease);
  }

  .mobile-dock.is-visible {
    transform: none;
  }

  .mobile-dock__item {
    display: grid;
    place-items: center;
    min-height: 52px;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-dock__item + .mobile-dock__item {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-dock__item--primary {
    background: var(--gold);
    color: var(--night);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 24px;
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .site-header__side--left {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__logo {
    --logo-x: 0%;
    grid-column: 1;
    width: 180px;
  }

  .logo-full,
  .logo-icon {
    left: 0;
    transform-origin: left center;
  }

  .logo-full {
    flex-direction: row;
    gap: 10px;
  }

  .logo-full .wordmark {
    width: 104px;
  }

  .logo-icon .wordmark {
    width: 78px;
  }

  .logo-full .emblem {
    width: 38px;
  }

  .logo-word {
    align-items: flex-start;
    padding-left: 0;
    font-size: 14px;
  }

  .logo-icon {
    align-items: flex-start;
  }

  .logo-icon .emblem {
    width: 34px;
  }

  .site-header__side--right {
    grid-column: 3;
  }

  .site-header__book {
    display: none;
  }

  .site-menu__panel {
    width: 100%;
    padding-top: 120px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .btn {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js-motion [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ---------- Typographic page hero (no photo) ----------
   Used on the inner pages. Cream ground with soft ember / basil / grape
   shapes drifting behind the title, so the type carries the page instead of
   an upscaled photograph. */

.page-hero--art {
  background: var(--paper);
  color: var(--ink);
}

.page-hero--art::before {
  background:
    radial-gradient(58% 60% at 12% 18%, rgba(220, 183, 131, 0.36) 0%, rgba(220, 183, 131, 0) 62%),
    radial-gradient(52% 54% at 88% 12%, rgba(91, 67, 49, 0.24) 0%, rgba(91, 67, 49, 0) 60%),
    radial-gradient(64% 66% at 78% 92%, rgba(178, 120, 56, 0.26) 0%, rgba(178, 120, 56, 0) 62%),
    radial-gradient(48% 50% at 22% 88%, rgba(220, 183, 131, 0.2) 0%, rgba(220, 183, 131, 0) 60%);
}

.page-hero--art .page-hero__title {
  text-shadow: none;
}

.page-hero--art .page-hero__title .script {
  color: var(--gold-deep);
}

.page-hero--art .page-hero__lede {
  color: var(--ink-soft);
}

.page-hero--art .kicker--light {
  color: var(--gold-deep);
}

.page-hero__blob {
  position: absolute;
  z-index: -1;
  display: block;
  width: clamp(240px, 34vw, 520px);
  opacity: 0.9;
  animation: presence 1.5s var(--ease) 0.2s both;
  pointer-events: none;
}

.page-hero__blob--a {
  top: -6%;
  left: -6%;
  color: var(--gold);
}

.page-hero__blob--b {
  right: -8%;
  bottom: -14%;
  color: var(--lotus);
}

.page-hero__blob--c {
  top: 8%;
  right: 6%;
  width: clamp(120px, 14vw, 220px);
  color: var(--chilli);
}

@media (max-width: 760px) {
  .page-hero__blob--c {
    display: none;
  }
}

/* ==========================================================================
   MANNAM brand layer
   Their menu pairs a high-contrast serif for the big words with an italic
   serif for the asides ("Sometimes, a good meeting is simply with yourself"),
   so the shared layout's script accent is set in that italic rather than the
   handwriting the reference layout used.
   ========================================================================== */

.script,
.journey__signature,
.skybar__arch figcaption,
.golden__copy > span,
.signatures__note {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
  transform: none;
}

.script {
  color: var(--gold);
  font-size: 0.74em;
  line-height: 1;
}

.journey__signature,
.skybar__arch figcaption,
.signatures__note {
  font-size: 15px;
}

.golden__copy > span {
  font-size: clamp(17px, 1.7vw, 24px);
  letter-spacing: 0.02em;
}

/* Anything numeric lines up on a tabular grid: prices, hours, phone numbers. */
.price,
.menu-item__price,
.hours-table,
.stat__value,
.spend-table,
.pack__price,
[data-open-status],
time,
.tel {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* Their own roof-and-chopsticks mark, traced from page 1 of the menu PDF. */
.wordmark,
.emblem {
  height: auto;
}

.emblem path[fill^="var(--ember"],
.wordmark path[fill^="var(--ember"] {
  fill: var(--ember);
}

/* ==========================================================================
   EN / 中文
   Every line of copy is in the markup twice; only one half is ever shown, so
   switching is instant and no half-translated state can appear. English mode
   must contain no Chinese at all, and the other way round -- raw/check-lang.mjs
   enforces that on the built pages.
   ========================================================================== */

html[data-lang="en"] [lang="zh"],
html[data-lang="zh"] [lang="en"] {
  display: none !important;
}

/* Chinese has no word spaces, so the wide tracking that flatters English caps
   pulls the characters apart instead. */
html[data-lang="zh"] .kicker,
html[data-lang="zh"] .display,
html[data-lang="zh"] .section-title,
html[data-lang="zh"] .page-hero__title,
html[data-lang="zh"] .menu-group__title {
  letter-spacing: 0.06em;
}

html[data-lang="zh"] body {
  font-family: "Noto Sans SC", "Jost", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[data-lang="zh"] .display,
html[data-lang="zh"] .section-title,
html[data-lang="zh"] .menu-group__title,
html[data-lang="zh"] .menu-section__title,
html[data-lang="zh"] .page-hero__title {
  font-family: "Noto Serif SC", "Playfair Display", serif;
}

html[data-lang="zh"] .script {
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  font-size: 0.6em;
  letter-spacing: 0.08em;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--interaction) ease, color var(--interaction) ease, border-color var(--interaction) ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.site-header.is-solid .lang-btn,
.site-header:not(.is-solid) .lang-btn {
  border-color: currentColor;
  opacity: 0.85;
}

.site-menu__panel .lang-btn {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.site-menu__panel .lang-btn:hover {
  background: #fff;
  color: var(--ink);
}

/* Menu page extras: the ordering code on their signature, and the Korean name
   some dishes are printed with. */
.menu-item__code {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--gold-deep);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.menu-item__ko {
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.62em;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ---------- Today's by Dalton additions ---------- */
.tag--top {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.tag--nocoffee {
  border-color: rgba(111, 125, 60, 0.45);
  color: var(--lotus);
}

.tag--bestseller {
  color: var(--royal);
}

/* The typeset wordmark (portafilter over TODAY'S / BY DALTON) needs more room
   than MANNAM's traced one. */
.site-header__logo {
  width: 200px;
  height: 62px;
}

.logo-full .wordmark {
  width: 178px;
}

.logo-icon .wordmark {
  width: 128px;
}

@media (max-width: 760px) {
  .site-header__logo {
    width: 150px;
    height: 52px;
  }

  .logo-full .wordmark {
    width: 138px;
  }

  .logo-icon .wordmark {
    width: 104px;
  }
}

/* Scrolled header glass. The shared engine's ::before/::after had no content
   or box, so the glass never painted and white nav vanished over the cream
   sections. Give it a box and an espresso tint so the white type always reads. */
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-header::before {
  background-color: rgba(30, 22, 16, 0.78);
}

.site-header::after {
  background: none;
}
