/* ==========================================================================
   Ming Wah — site styles
   Direction: a traditional dining-room feel. Full-screen photography, centred
   classical type (italic serif kickers over bold uppercase headings), gold
   ornament and lattice details taken from the logo, motion driven by scroll.
   Palette per the brief: black, deep green and gold, on warm neutrals from
   the Pero Studio renovation mood board. Gold marks the one action per page.
   ========================================================================== */
:root {
  --black: #121413;
  --black-2: #1a1d1b;
  --green: #1f3d31;
  --green-deep: #163026;
  --green-mid: #2b5242;
  --wall: #435549;          /* dining-room wall green from the mood board: primary buttons */
  --wall-hi: #4b6152;
  --gold: #c9a24e;
  --gold-lt: #e2c27a;
  --bronze: #7f5f22;
  --rice: #f7f1e6;
  --sand: #ece2d0;
  --beige: #ddd0b8;
  --cream: #f4ede0;
  --ink: #1d1a17;
  --ink-soft: #5a524b;
  --cream-soft: rgba(244, 237, 224, 0.78);
  --line: rgba(29, 26, 23, 0.14);
  --line-light: rgba(244, 237, 224, 0.16);
  --tbc-bg: rgba(201, 162, 78, 0.35);

  --f-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Gold Chinese fret (hui wen) pattern, from the lattice in the logo */
  --fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M0 8h24v16H8v-8h8' fill='none' stroke='%23c9a24e' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: var(--rice); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 70; height: env(safe-area-inset-top, 0px); background: var(--black); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.015em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8.4vw, 7.2rem); }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 800px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--bronze); }
.on-dark .kicker, .kicker--light { color: var(--gold-lt); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.on-dark .lede { color: var(--cream-soft); }
.serif-big { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; }
.stack { display: grid; gap: 22px; }
.stack-lg { display: grid; gap: 32px; }

/* Ornament: line — diamond — line */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: clamp(40px, 8vw, 90px); background: currentColor; opacity: .8; }
.ornament span { width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.ornament--left { justify-content: flex-start; }
.ornament--left::before { display: none; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.center .actions, .actions--center { justify-content: center; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 34px; border: 1px solid transparent; border-radius: 0;
  font: 500 0.92rem/1 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary { background: var(--wall); color: var(--cream); border-color: rgba(244, 237, 224, 0.16); }
.btn--primary::before { background: var(--wall-hi); }
.btn--primary:hover { color: var(--cream); }
/* On deep-green bands and the green mobile menu, the green button would vanish: use cream */
.section--green .btn--primary, .menu-overlay .btn--primary { background: var(--cream); color: var(--green-deep); border-color: var(--cream); }
.section--green .btn--primary::before, .menu-overlay .btn--primary::before { background: var(--white, #fff); }
.section--green .btn--primary:hover, .menu-overlay .btn--primary:hover { color: var(--green-deep); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); border-color: var(--ink); }
.on-dark .btn--ghost { color: var(--cream); }
.on-dark .btn--ghost::before { background: var(--cream); }
.on-dark .btn--ghost:hover { color: var(--black); border-color: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.82rem; }
.text-link {
  font: 500 0.88rem/1 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 8px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.text-link:hover { background-size: 30% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60;
  color: var(--cream); transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: var(--black); box-shadow: 0 1px 0 var(--line-light); }
.header__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; min-height: var(--header-h); }
.header__side { display: flex; align-items: center; gap: 28px; min-width: 0; }
.header__side--left { justify-content: space-between; }
.header__side--right { justify-content: space-between; }
.nav { display: flex; gap: 22px; }
.nav a, .lang a, .lang span {
  font: 500 0.84rem/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  padding-block: 8px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.nav a[aria-current="page"] { color: var(--gold-lt); }
.lang { display: flex; gap: 10px; align-items: center; }
.lang a { color: var(--cream-soft); }
.lang [aria-current] { color: var(--cream); background-size: 100% 1px; }
.brand { display: grid; justify-items: center; gap: 4px; text-decoration: none; color: var(--cream); }
.brand svg { width: 42px; height: 42px; color: var(--cream); }
.brand strong { font: 500 1.35rem/1 var(--f-display); letter-spacing: 0.3em; text-transform: uppercase; padding-left: .3em; }
.brand small { font: italic 500 0.9rem/1 var(--f-serif); color: var(--gold-lt); letter-spacing: 0.02em; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; justify-self: end; }
.burger span { display: block; width: 26px; height: 1.5px; margin: 6px auto; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1260px) {
  .header__in { grid-template-columns: auto 1fr auto; }
  .header__side { display: none; }
  .brand { grid-auto-flow: column; align-items: center; gap: 12px; justify-items: start; }
  .brand small { display: none; }
  .brand svg { width: 36px; height: 36px; }
  .header__call { justify-self: end; }
  .burger { display: block; }
}
@media (min-width: 1261px) { .header__call, .burger { display: none; } }
.header__side .btn--sm { padding: 0 16px; letter-spacing: 0.14em; flex: none; }

/* Full-screen menu (mobile) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 55; background: var(--green-deep); color: var(--cream);
  display: grid; align-content: center; justify-items: center; gap: 28px; text-align: center;
  padding: calc(var(--header-h) + 20px) max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  background-image: var(--fret); background-size: 32px; background-blend-mode: soft-light;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-overlay nav { display: grid; gap: 8px; }
.menu-overlay nav a { font: 500 clamp(2rem, 8vw, 3rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.menu-overlay nav a[aria-current="page"] { color: var(--gold-lt); }
.menu-overlay p { color: var(--cream-soft); }

/* ---------- Photo slots ----------
   Until a real photo is in place, each slot shows a warm photographic texture.
   Save the photo in assets/img/ under its data-file name and it replaces the texture. */
.shot {
  position: relative; overflow: hidden; margin: 0; max-width: 100%; aspect-ratio: 4 / 5;
  background:
    radial-gradient(110% 80% at 28% 22%, rgba(226, 194, 122, 0.30), transparent 55%),
    radial-gradient(90% 70% at 85% 95%, rgba(31, 61, 49, 0.95), transparent 65%),
    linear-gradient(155deg, #3a3a2c 0%, #1f2a24 55%, #121413 100%);
}
.shot::before { content: ""; position: absolute; inset: 0; background-image: var(--fret); background-size: 32px; opacity: 0.08; pointer-events: none; }
.shot--warm {
  background:
    radial-gradient(100% 80% at 30% 25%, rgba(255, 238, 200, 0.55), transparent 55%),
    radial-gradient(90% 80% at 80% 90%, rgba(127, 95, 34, 0.55), transparent 60%),
    linear-gradient(160deg, #d9c69f 0%, #b39465 60%, #8a6d43 100%);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.has-photo::before { display: none; }
.shot figcaption {
  display: none; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 10px 12px; background: rgba(18, 20, 19, 0.82); color: var(--cream); font-size: 0.78rem; line-height: 1.45;
  border-left: 2px solid var(--gold);
}
.shot figcaption b { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); }
.show-notes .shot:not(.has-photo) figcaption { display: block; }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--square { aspect-ratio: 1 / 1; }
.shot--fill { position: absolute; inset: 0; aspect-ratio: auto; }
.shot--band { aspect-ratio: 16 / 6; margin-bottom: 28px; }
@media (max-width: 640px) { .shot--band { aspect-ratio: 16 / 9; } }

/* To-confirm text: plain until notes are switched on */
.show-notes .tbc { background: var(--tbc-bg); outline: 1px dashed var(--bronze); outline-offset: 1px; }
.notes-toggle {
  position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--gold); background: var(--black); color: var(--cream);
  font: 500 0.75rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.notes-toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-soft); font-style: normal; }
.show-notes .notes-toggle i { background: var(--gold); }

/* ---------- Hero (home) ----------
   Gyubee-style: the header sits inset on the hero, and a black panel hangs
   from its left end holding the headline. Everything else stays open for
   the background video. On scroll the header snaps to a full-width bar. */
:root { --frame: clamp(16px, 3vw, 48px); --panel-w: clamp(330px, 30vw, 470px); }
.hero { position: relative; height: max(640px, 100svh); overflow: hidden; color: var(--cream); background: var(--black); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media .shot { animation: slowzoom 2.6s var(--ease) both; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-ready { opacity: 1; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__panel {
  position: absolute; z-index: 2;
  top: calc(env(safe-area-inset-top, 0px) + var(--frame) + var(--header-h));
  left: var(--frame); width: var(--panel-w);
  display: grid; gap: 16px; justify-items: start;
  padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3vw, 48px) clamp(34px, 3.8vw, 56px);
  background: var(--black); overflow: hidden;
  box-shadow: inset 0 -3px 0 var(--gold);
}
/* faint lattice wash in the panel corner, our version of Gyubee's brush strokes */
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--fret) 0 0 / 28px; opacity: 0.14;
  -webkit-mask-image: radial-gradient(70% 60% at 100% 100%, #000, transparent 70%);
          mask-image: radial-gradient(70% 60% at 100% 100%, #000, transparent 70%);
}
.hero__panel { isolation: isolate; }
.hero__panel .kicker { font-size: 1.1rem; }
.hero__panel h1 { font-size: clamp(1.85rem, 2.5vw, 2.55rem); line-height: 1.04; max-width: 14ch; }
.hero__text { font-size: 0.98rem; line-height: 1.6; color: var(--cream-soft); max-width: 34ch; }
.hero__panel .actions { gap: 14px 24px; margin-top: 6px; }
.hero__panel .btn { min-height: 48px; padding: 0 24px; font-size: 0.84rem; }
.hero .shot--fill figcaption { left: auto; right: calc(var(--frame) + 12px); bottom: 24px; max-width: 380px; }

/* Header sits inset over the hero until the page scrolls */
.site-header--framed { background: var(--black); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), left .45s var(--ease), right .45s var(--ease), top .45s var(--ease); }
.site-header--framed:not(.is-solid) { top: calc(env(safe-area-inset-top, 0px) + var(--frame)); left: var(--frame); right: var(--frame); }

/* Pause / play for the background video (needed for accessibility) */
.video-toggle {
  position: absolute; z-index: 3; right: calc(var(--frame) + 4px); bottom: calc(var(--frame) + 4px);
  width: 44px; height: 44px; border: 1px solid rgba(244, 237, 224, 0.6); border-radius: 50%;
  background: rgba(18, 20, 19, 0.45); color: var(--cream); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.video-toggle:hover { background: var(--black); border-color: var(--gold); }
.video-toggle span { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.video-toggle.is-paused span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

@media (max-width: 800px) {
  :root { --frame: 0px; }
  /* Phones: header and panel stack as one black block, video below */
  .hero { height: auto; display: grid; padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); }
  .hero__panel { position: relative; top: auto; left: auto; width: auto; order: 1;
    padding: 28px max(20px, env(safe-area-inset-right, 0px)) 32px max(20px, env(safe-area-inset-left, 0px)); }
  .hero__media { position: relative; order: 2; height: 58svh; min-height: 340px; }
  .hero .shot--fill figcaption { left: 12px; right: 12px; }
}

/* ---------- Banner (inner pages) ---------- */
.banner { position: relative; min-height: clamp(460px, 72svh, 720px); display: grid; place-items: end center; overflow: hidden; color: var(--cream); background: var(--black); isolation: isolate; text-align: center; }
.banner__media { position: absolute; inset: -12% 0; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 20, 19, 0.88), rgba(18, 20, 19, 0.35) 55%, rgba(18, 20, 19, 0.5)); }
.banner__content { display: grid; gap: 20px; justify-items: center; padding-block: calc(var(--header-h) + 60px) clamp(56px, 8vw, 96px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 12vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green); color: var(--cream); }
.section--black { background: var(--black); color: var(--cream); }
.section--fret { position: relative; }
.section--fret::before { content: ""; position: absolute; inset: 0; background-image: var(--fret); background-size: 32px; opacity: 0.05; pointer-events: none; }
.on-dark { color: var(--cream); }

/* Seal (square, like the logo) */
.seal { width: 112px; height: 112px; display: grid; place-items: center; text-align: center; color: var(--bronze); border: 1px solid currentColor; outline: 1px solid currentColor; outline-offset: 5px; margin: 6px auto; }
.seal span { font: 500 0.7rem/1.4 var(--f-display); letter-spacing: 0.26em; text-transform: uppercase; }
.seal strong { display: block; font: 500 2rem/1 var(--f-display); letter-spacing: 0.06em; color: var(--ink); }
.on-dark .seal { color: var(--gold); }
.on-dark .seal strong { color: var(--cream); }

/* ---------- Home: pinned horizontal dish scroller ---------- */
.hscroll { position: relative; background: var(--black); color: var(--cream); }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: clamp(28px, 4vh, 48px); overflow: hidden; padding-top: var(--header-h); }
.hscroll__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.progress { width: min(260px, 40vw); height: 1px; background: var(--line-light); position: relative; }
.progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hscroll__track { width: max-content; max-width: none; display: flex; gap: clamp(20px, 2.4vw, 36px); padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 40px)); padding-right: 20px; will-change: transform; }
.dish { flex: 0 0 clamp(240px, min(24vw, 44vh), 380px); display: grid; gap: 14px; align-content: start; }
.dish .shot { aspect-ratio: 1 / 1; }
.dish .shot img, .dish .shot::before { transition: transform 1s var(--ease); }
.dish:hover .shot img { transform: scale(1.05); }
.dish h3 { font-size: 1.55rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish h3 span { font: 500 1.1rem/1 var(--f-body); color: var(--gold-lt); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.dish p { color: var(--cream-soft); font-size: 0.95rem; }
.dish .fr { font: italic 500 1.15rem/1.2 var(--f-serif); color: var(--gold-lt); }
.dish--end { flex-basis: clamp(260px, 22vw, 320px); align-content: center; justify-items: start; gap: 20px; }
@media (max-width: 800px) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding-block: 88px; }
  .hscroll__track { width: 100%; transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .dish { scroll-snap-align: start; flex-basis: 78vw; }
  .progress { display: none; }
}

/* ---------- Parallax feature band ---------- */
.feature { position: relative; min-height: max(560px, 86svh); display: grid; place-items: center; overflow: hidden; color: var(--cream); text-align: center; isolation: isolate; background: var(--green-deep); }
.feature__media { position: absolute; inset: -18% 0; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 20, 19, 0.55); }
.feature__content { display: grid; gap: 24px; justify-items: center; padding-block: 100px; }
.price-from { font: 500 clamp(3.4rem, 9vw, 7rem)/0.9 var(--f-display); color: var(--gold-lt); }
.price-from small { display: block; font: italic 500 1.3rem/1.4 var(--f-serif); color: var(--cream-soft); text-transform: none; }

/* ---------- Two-column (image + text) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.duo--rev > :first-child { order: 2; }
.duo__text { display: grid; gap: 24px; justify-items: start; min-width: 0; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--rev > :first-child { order: 0; } }

/* ---------- Visit block + live status ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: stretch; }
.visit__info { display: grid; gap: 26px; align-content: center; justify-items: start; }
.visit address { font-size: 1.15rem; line-height: 1.5; }
.phone { font: 500 clamp(1.8rem, 3vw, 2.3rem)/1 var(--f-display); letter-spacing: 0.06em; text-decoration: none; }
.phone:hover { color: var(--bronze); }
.on-dark .phone:hover { color: var(--gold-lt); }
.status-list { display: grid; gap: 10px; }
.status { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--beige); box-shadow: 0 0 0 4px rgba(29, 26, 23, 0.06); flex: none; }
.status.is-open::before { background: #3f9c6b; box-shadow: 0 0 0 4px rgba(63, 156, 107, 0.18); animation: pulse 2.4s ease-in-out infinite; }
.status b { font: 500 0.82rem/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; min-width: 72px; }
.on-dark .status::before { background: rgba(244, 237, 224, 0.3); box-shadow: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63, 156, 107, 0.05); } }
.map { position: relative; min-height: 440px; background: var(--sand); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; filter: saturate(0.75) contrast(1.05); }
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--ink-soft); font-size: 0.92rem; }
.map__pin { width: 26px; height: 26px; margin: 0 auto 6px; border-radius: 50% 50% 50% 0; background: var(--green); transform: rotate(-45deg); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ---------- Hours tables ---------- */
.hours-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 860px) { .hours-grid { grid-template-columns: 1fr; } }
.hours-wrap { overflow-x: auto; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; padding-bottom: 18px; font: 500 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.hours th, .hours td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line-light); white-space: nowrap; }
.hours thead th { font: 500 0.74rem/1 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-lt); }
.hours tbody th { font-weight: 600; }
.hours .closed { color: rgba(244, 237, 224, 0.45); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-lt); }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }

/* ---------- Location card (Gyubee-style) ---------- */
.loc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--rice); box-shadow: 0 40px 80px -50px rgba(29, 26, 23, 0.4); }
.loc .map { min-height: 560px; }
.loc__card { padding: clamp(32px, 4vw, 56px); display: grid; gap: 24px; align-content: center; justify-items: start; }
.loc__card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.loc__facts { display: grid; gap: 8px; font-size: 0.95rem; width: 100%; }
.loc__facts div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.loc__facts dt { font: 500 0.78rem/1.6 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }
.loc__facts dd { margin: 0; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } .loc .map { min-height: 360px; } }

/* ---------- Printed menu card (buffet prices) ---------- */
.menu-card { background: var(--rice); padding: clamp(28px, 5vw, 64px); border: 1px solid var(--bronze); outline: 1px solid var(--bronze); outline-offset: -10px; position: relative; }
.menu-card__head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 36px; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-left: 0; }
.price-table thead th { font: 500 0.78rem/1.3 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); vertical-align: bottom; }
.price-table thead th span { display: block; font: italic 500 0.95rem/1.3 var(--f-serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.price-table .meal th { font: 500 1.35rem/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 30px; border-bottom: 1px solid var(--ink); text-align: left; }
.price-table td.adult { font: 500 1.5rem/1 var(--f-display); color: var(--green); }
.price-notes { list-style: none; padding: 0; display: grid; gap: 6px; margin-top: 28px; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }

/* ---------- Takeout menu ---------- */
.menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.menu-nav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; }
.menu-nav a { display: block; padding: 9px 0 9px 18px; text-decoration: none; font: 500 0.86rem/1.2 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border-left: 1px solid var(--line); transition: color .2s, border-color .2s; }
.menu-nav a:hover { color: var(--ink); }
.menu-nav a.is-active { color: var(--ink); border-left: 2px solid var(--gold); padding-left: 17px; }
.menu-nav__call { margin-top: 24px; padding: 20px 18px; background: var(--black); color: var(--cream); display: grid; gap: 6px; }
.menu-nav__call span { font: italic 500 1.05rem/1.2 var(--f-serif); color: var(--gold-lt); }
.menu-nav__call a { padding: 0; border: 0; color: var(--cream); font-size: 1.15rem; letter-spacing: 0.06em; }
@media (max-width: 980px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-nav { top: var(--header-h); z-index: 20; display: flex; overflow-x: auto; gap: 0; margin-inline: -20px; padding: 0 20px; background: var(--rice); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu-nav a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 16px 14px; }
  .menu-nav a.is-active { border-left: 0; border-bottom-color: var(--gold); padding-left: 14px; }
  .menu-nav__call { display: none; }
}
.menu-section { padding-top: clamp(64px, 8vw, 100px); }
.menu-section:first-child { padding-top: 0; }
.menu-section__head { display: grid; gap: 8px; margin-bottom: 30px; }
.menu-section__head .kicker { font-size: 1.35rem; }
.menu-section__note { color: var(--ink-soft); font-size: 0.95rem; }
.size-key { display: flex; gap: 16px; font: 500 0.74rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }

.mi-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 56px; }
.mi-list--single { grid-template-columns: 1fr; }
@media (max-width: 760px) { .mi-list { grid-template-columns: 1fr; } }
.mi { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.mi__row { display: flex; align-items: baseline; gap: 10px; }
.mi__name { font: 600 1.02rem/1.35 var(--f-body); }
.mi__name .fav { color: var(--gold); margin-left: 4px; }
.mi__name .pcs { font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); margin-left: 6px; }
.mi__dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(29, 26, 23, 0.35); transform: translateY(-4px); }
.mi__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi__price small { font-weight: 500; color: var(--bronze); font-size: 0.72rem; letter-spacing: 0.06em; margin-right: 3px; }
.mi__price .sep { color: var(--beige); margin: 0 6px; font-weight: 400; }
.mi__fr { font: italic 500 1.08rem/1.3 var(--f-serif); color: var(--bronze); }
.mi__desc { font-size: 0.92rem; color: var(--ink-soft); }
.mi__tag { justify-self: start; margin-top: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--green); border: 1px solid rgba(31, 61, 49, 0.3); padding: 3px 9px; }

/* Combos + party-size calculator */
.party { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; background: var(--black); color: var(--cream); margin-bottom: 28px; }
.party__label { font: italic 500 1.2rem/1.2 var(--f-serif); color: var(--gold-lt); }
.party__opts { display: flex; gap: 6px; }
.party button { width: 46px; height: 46px; border: 1px solid var(--line-light); background: transparent; color: var(--cream); font: 500 1.05rem/1 var(--f-display); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.party button:hover { border-color: var(--gold); }
.party button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.party__hint { font-size: 0.85rem; color: var(--cream-soft); margin-left: auto; }
.combo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .combo-grid { grid-template-columns: 1fr; } }
.combo { background: var(--white, #fff); border: 1px solid var(--line); padding: 26px 28px; display: grid; gap: 14px; align-content: start; position: relative; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.combo:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(29, 26, 23, 0.45); }
.combo__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.combo h3 { font-size: 1.7rem; }
.combo h3 .fav { color: var(--gold); font-size: 1.1rem; margin-left: 6px; }
.combo__price { text-align: right; font: 500 1.9rem/1 var(--f-display); color: var(--green); font-variant-numeric: tabular-nums; }
.combo__price small { display: block; margin-top: 6px; font: italic 500 0.98rem/1.2 var(--f-serif); color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.combo__price .na { font: italic 500 1.05rem/1.2 var(--f-serif); color: var(--ink-soft); }
.combo ul { list-style: none; padding: 0; display: grid; gap: 4px; font-size: 0.95rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }
.combo li::before { content: "·"; color: var(--gold); font-weight: 700; margin-right: 8px; }
.combo__save { font-size: 0.82rem; color: var(--bronze); }
.rules { margin-top: 28px; padding: 26px 28px; border: 1px solid var(--bronze); display: grid; gap: 12px; }
.rules h3 { font-size: 1.3rem; }
.rules ul { padding-left: 1.1em; display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-soft); }
.menu-foot { margin-top: 48px; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Story: sticky chapters ---------- */
.chapters { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.chapters__aside { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 12px; }
.chapters__year { font: 600 clamp(5rem, 11vw, 9.5rem)/0.85 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--bronze); transition: opacity .3s; }
.chapters__label { font: italic 500 1.6rem/1.2 var(--f-serif); color: var(--bronze); }
.chapters__list { display: grid; gap: clamp(90px, 14vw, 180px); }
.chapter { display: grid; gap: 28px; }
.chapter .prose { display: grid; gap: 1em; color: var(--ink-soft); max-width: 58ch; }
@media (max-width: 860px) {
  .chapters { grid-template-columns: 1fr; }
  .chapters__aside { position: static; }
  .chapters__year { font-size: 4.5rem; }
}
.gallery { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: start; }
.gallery > :nth-child(2) { margin-top: clamp(40px, 8vw, 110px); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery > :nth-child(3) { display: none; } }
.quote { font: italic 500 clamp(1.9rem, 4vw, 3.2rem)/1.25 var(--f-serif); max-width: 26ch; margin-inline: auto; }
.quote-by { font: 500 0.82rem/1 var(--f-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line-light); }
.timeline li { padding-top: 22px; display: grid; gap: 6px; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.timeline strong { font: 500 2.2rem/1 var(--f-display); }
.timeline span { color: var(--cream-soft); }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.roles { display: grid; border-top: 1px solid var(--line); }
.role { border-bottom: 1px solid var(--line); }
.role summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 26px 0; }
.role summary::-webkit-details-marker { display: none; }
.role summary h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); transition: color .2s; }
.role summary:hover h3 { color: var(--green); }
.role__area { font: italic 500 1.15rem/1 var(--f-serif); color: var(--bronze); }
.role__icon { width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .2s; }
.role__icon::before { content: "+"; font: 400 1.3rem/1 var(--f-body); }
.role[open] .role__icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.role__body { display: grid; gap: 16px; padding: 0 0 30px; max-width: 64ch; color: var(--ink-soft); justify-items: start; }
@media (max-width: 560px) { .role summary { grid-template-columns: 1fr auto; } .role__area { grid-row: 2; } }
.apply { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }
.contact-alt { display: grid; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--cream-soft); }
.contact-alt a { color: var(--cream); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 500 0.78rem/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(244, 237, 224, 0.35); border-radius: 0;
  background: transparent; color: var(--cream); width: 100%; transition: border-color .2s;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 6px; }
.checks label { display: flex; gap: 10px; align-items: center; font: 400 1rem/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--cream); }
.checks input { width: 18px; height: 18px; accent-color: var(--gold); }
.form__status { grid-column: 1 / -1; min-height: 1.5em; font-size: 0.95rem; color: var(--gold-lt); }
.form__status[data-state="ok"] { color: #9fd0b0; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream-soft); font-size: 0.95rem; position: relative; }
.footer__fret { height: 40px; background-image: var(--fret); background-size: 32px; opacity: 0.5; border-bottom: 1px solid rgba(201, 162, 78, 0.4); }
.footer__top { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 64px 48px; }
.footer__top .brand { pointer-events: auto; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 40px; border-top: 1px solid var(--line-light); }
.footer__grid h3 { font: 500 0.78rem/1 var(--f-display); letter-spacing: 0.2em; color: var(--gold); margin-bottom: 16px; }
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 22px 28px; border-top: 1px solid var(--line-light); font-size: 0.84rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ----------
   Only content below the first screen starts hidden (set by main.js), so the
   page is complete at rest and still readable if scripts fail. */
.reveal-pending { opacity: 0; transform: translateY(34px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-img.reveal-pending { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.reveal-img.reveal-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.reveal-in img { animation: imgsettle 1.6s var(--ease) both; }
@keyframes imgsettle { from { transform: scale(1.15); } to { transform: scale(1); } }

/* ---------- Style guide page ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.swatch { border: 1px solid var(--line); background: #fff; }
.swatch__chip { height: 130px; display: flex; align-items: flex-end; padding: 12px; font: 500 0.82rem/1 var(--f-display); letter-spacing: 0.12em; }
.swatch__meta { padding: 14px; display: grid; gap: 4px; font-size: 0.88rem; }
.swatch__meta strong { font: 500 1.05rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; }
.swatch__meta code { color: var(--green); font-size: 0.82rem; }
.swatch__meta span { color: var(--ink-soft); }
.ratio { display: flex; height: 70px; border: 1px solid var(--line); overflow: hidden; }
.ratio div { display: flex; align-items: flex-end; padding: 8px; font-size: 0.74rem; white-space: nowrap; overflow: hidden; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.pair { padding: 24px; display: grid; gap: 6px; border: 1px solid var(--line); }
.pair b { font: 500 1.3rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.type-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.type-row > span { color: var(--cream-soft); font-size: 0.85rem; }
@media (max-width: 640px) { .type-row { grid-template-columns: 1fr; gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; clip-path: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.video-toggle[hidden] { display: none; }
