/* ==========================================================================
   Bin Bin Hotel — Guest Portal
   Editorial "Aegean" direction: cream paper, navy ink, brand blue + red.
   ========================================================================== */

:root {
  --bg: #F5F0E8;
  --bg-2: #EDE5D8;
  --surface: #FBF8F3;
  --ink: #0E1B2E;
  --ink-2: #39455A;
  --ink-3: #5B6474;
  --line: rgba(14, 27, 46, 0.14);
  --line-strong: rgba(14, 27, 46, 0.32);
  --blue: #23409A;
  --blue-soft: #DCE3F5;
  --red: #C42530;
  --on-ink: #F7F3EC;
  --shadow: 0 24px 60px -28px rgba(14, 27, 46, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(14, 27, 46, 0.35);
  --img-tint: none;

  --f-display: "Cormorant Garamond", "Noto Serif KR", "Noto Serif SC", Georgia, serif;
  --f-body: "Be Vietnam Pro", "Noto Sans KR", "Malgun Gothic", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1280px;
  --radius: 4px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220; --bg-2: #101A2C; --surface: #142036;
    --ink: #F1ECE3; --ink-2: #C9CFD9; --ink-3: #A0A9B8;
    --line: rgba(241, 236, 227, 0.14); --line-strong: rgba(241, 236, 227, 0.34);
    --blue: #9DB2F2; --blue-soft: #1B2A4C; --red: #F28189; --on-ink: #0B1220;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8); --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.8);
    --img-tint: brightness(0.86);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1220; --bg-2: #101A2C; --surface: #142036;
  --ink: #F1ECE3; --ink-2: #C9CFD9; --ink-3: #A0A9B8;
  --line: rgba(241, 236, 227, 0.14); --line-strong: rgba(241, 236, 227, 0.34);
  --blue: #9DB2F2; --blue-soft: #1B2A4C; --red: #F28189; --on-ink: #0B1220;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8); --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.8);
  --img-tint: brightness(0.86);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: var(--on-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
.eyebrow {
  font: 500 11px/1.6 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow--stack span { display: block; }
.rule-line { display: block; width: 40px; height: 1px; background: var(--ink); opacity: .6; }
.display {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; margin: 0;
}
.h-caps { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
.lead { color: var(--ink-2); font-size: clamp(15px, 1.2vw, 17px); max-width: 44ch; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 0;
  font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--ink);
  transition: gap .3s var(--ease-out), color .2s;
}
.link-arrow:hover { gap: 18px; color: var(--blue); border-color: var(--blue); }
html[lang="ko"] .display, html[lang="zh"] .display, html[lang="ko"] .h-caps, html[lang="zh"] .h-caps { letter-spacing: 0; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  transition: transform .25s var(--ease-out), background-color .2s, color .2s, box-shadow .25s;
}
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-sm); }
.btn--ink:hover { background: var(--blue); color: #fff; }
.btn--ghost { border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong); transition: background-color .2s, border-color .2s, transform .25s var(--ease-out);
}
.icon-btn:hover { border-color: var(--ink); background: var(--surface); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--plain { border-color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s ease, box-shadow .35s ease, transform .4s var(--ease-out);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand__name { font: 400 25px/1 var(--f-display); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand__name em { font-style: italic; color: var(--blue); }
.brand__name--lg { font-size: 32px; }
.brand__logo { width: 44px; height: 44px; flex: none; border-radius: 50%; box-shadow: 0 6px 16px -8px rgba(237, 50, 55, .55); transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
.brand__logo--lg { width: 56px; height: 56px; }
.signoff { display: flex; align-items: center; gap: 18px; margin: 10px 0 32px; }
.signoff .signature { margin: 0; }
.seal { width: 76px; height: 76px; border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 10px 24px -12px rgba(237, 50, 55, .6); }
.nav {
  margin-left: auto; display: flex; align-items: center; gap: clamp(4px, 1vw, 10px); padding: 4px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 clamp(12px, 1.4vw, 18px);
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s, background-color .2s;
}
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 1.5px; border-radius: 2px; background: var(--red); transform: translateX(-50%); transition: width .35s var(--ease-out); }
.nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { width: 18px; }
/* Over the hero photo: frosted cream pill so links stay readable on sky and trees */
.site-header:not(.is-scrolled) .nav {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-color: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 8px 24px -14px rgba(14, 27, 46, .35);
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: clamp(8px, 2vw, 32px); }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.lang__btn:hover { background: var(--surface); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease-out);
}
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; font-size: 14px; text-align: left; }
.lang__menu button:hover { background: var(--bg-2); }
.lang__menu button[aria-checked="true"] { color: var(--blue); font-weight: 600; }
.lang__menu small { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.menu-toggle { display: none; }
/* Controls that sit over the hero photo keep a soft backing so they read in both themes */
.site-header:not(.is-scrolled) .lang__btn,
.site-header:not(.is-scrolled) #themeBtn,
.site-header:not(.is-scrolled) .menu-toggle {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: transparent;
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 8px;
  clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-out); visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu__link {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0;
  font: 400 clamp(24px, 6.4vw, 30px)/1.2 var(--f-display); color: var(--ink);
  border-bottom: 1px solid var(--line); transition: color .2s, padding-left .3s var(--ease-out);
}
.mobile-menu__link:hover, .mobile-menu__link:focus-visible { color: var(--blue); padding-left: 6px; }
.mobile-menu__num { width: 22px; font: 500 11px/1 var(--f-body); letter-spacing: .16em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mobile-menu__link .icon { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); }
.mobile-menu__foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mobile-menu__foot .btn { gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); padding-top: var(--header-h); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; min-height: calc(min(100svh, 980px) - var(--header-h)); }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(32px, 6vh, 72px) 0 48px; }
.hero__copy .eyebrow--stack { margin-bottom: 18px; }
.hero__title { font-size: clamp(48px, min(7.2vw, 11.5vh), 112px); margin: clamp(18px, 3vh, 28px) 0 clamp(16px, 2.6vh, 24px); }
.hero__title span { display: block; }
.hero__title em { font-style: italic; color: var(--blue); }
.hero__sub { margin: 0 0 32px; }

.hero__media { position: relative; margin-right: calc((min(100vw, var(--max)) - 100vw) / 2 - var(--gutter)); margin-top: calc(-1 * var(--header-h)); }
.hero__frame {
  position: absolute; inset: 0 0 0 0; overflow: hidden;
  border-bottom-left-radius: 46% 22%;
  background: linear-gradient(160deg, #cfdcf2 0%, #eef1f4 55%, #e7dccb 100%);
}
.hero__frame picture { display: contents; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; transform: scale(1.08); transition: transform 1.8s var(--ease-out), opacity .45s ease; }
.is-ready .hero__frame img { transform: scale(1); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.18) 0%, transparent 22%, transparent 70%, rgba(11,18,32,.2) 100%); pointer-events: none; }
.hero__note {
  position: absolute; right: clamp(16px, 3vw, 40px); top: 26%; z-index: 2; width: 172px; padding: 22px 18px 18px;
  background: var(--surface); box-shadow: var(--shadow); border-radius: 20px;
  font: 400 19px/1.25 var(--f-display);
}
.hero__note .rule-line { margin-top: 14px; width: 28px; }
[data-i18n-lines] > span, .hero__note > span > span, .band__aside > span > span { display: block; }
.wifi-card {
  position: absolute; left: clamp(-80px, -5vw, -24px); bottom: clamp(48px, 10vh, 110px); z-index: 3;
  width: min(360px, 88%); padding: 22px 22px 18px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); box-shadow: var(--shadow);
}
.wifi-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wifi-card__badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
:root[data-theme="dark"] .wifi-card__badge { color: #0B1220; }
.wifi-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.wifi-card__row dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.wifi-card__row dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; text-align: right; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; margin-left: 8px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--ink); color: var(--on-ink); transition: background-color .2s; }
.copy-btn:hover { background: var(--blue); color: #fff; }
.copy-btn .icon { width: 14px; height: 14px; }

/* ---------- Title band ---------- */
.band { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); text-align: center; }
/* Hotel name set like the hero title: Playfair regular in navy, "Hotel" in blue italic */
.band__word { font: 400 clamp(52px, 12vw, 168px)/.92 var(--f-display); letter-spacing: -0.02em; margin: 0; color: var(--ink); white-space: nowrap; }
.band__word span { display: block; }
.band__word em { display: block; font-size: .46em; font-style: italic; color: var(--blue); letter-spacing: 0; margin-top: .12em; }
.band__sub { display: inline-flex; align-items: center; gap: 20px; margin-top: 22px; font-size: 12px; letter-spacing: .42em; color: var(--ink-2); text-transform: uppercase; }
.band__sub::before, .band__sub::after { content: ""; width: 44px; height: 1px; background: var(--line-strong); }
.band__aside { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); text-align: left; }
.band__aside .rule-line { margin-top: 10px; width: 24px; }

/* ---------- Welcome ---------- */
.section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }
.welcome__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.welcome__title { font-size: clamp(40px, 4.8vw, 68px); margin-bottom: 28px; }
.welcome__letter p { margin: 0 0 16px; color: var(--ink-2); max-width: 40ch; }
.welcome__letter .salute { color: var(--ink); font-weight: 500; }
.signature { font-size: 40px; color: var(--blue); margin: 8px 0 32px; line-height: 1; }
.tiles { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: start; }
.tile { display: block; position: relative; }
.tile__img { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5; }
.tile:first-child .tile__img { aspect-ratio: 4 / 4.6; }
.tile:nth-child(2) { margin-top: 40px; }
.tile:nth-child(3) { margin-top: 0; }
.tile:nth-child(3) .tile__img { aspect-ratio: 3 / 4.4; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-tint); transition: transform 1.1s var(--ease-out); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__img::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s; }
.tile__cap { margin-top: 16px; display: grid; gap: 2px; }
/* Closing wish, written like the last line of a real letter, just above the signature */
.welcome__letter .closing { margin: 26px 0 0; max-width: 18em; text-wrap: balance; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.2; color: var(--ink-2); }
html[lang="ko"] .welcome__letter .closing, html[lang="zh"] .welcome__letter .closing { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); }

/* ---------- Rules ---------- */
.rules { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-head .eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(38px, 5vw, 72px); }
.section-head p { margin: 14px 0 0; color: var(--ink-2); }
.times { display: flex; gap: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px; background: var(--surface); }
.times div { padding: 10px 26px; text-align: center; }
.times div + div { border-left: 1px solid var(--line); }
.times small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.times b { font: 400 30px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.rule-item {
  position: relative; display: flex; flex-direction: column; gap: 40px; min-height: 210px; text-align: left;
  padding: 26px 24px 24px 0; border-bottom: 1px solid var(--line-strong);
  transition: background-color .3s;
}
.rule-item:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.rule-item__num { font: 400 15px var(--f-display); font-style: italic; color: var(--ink-3); }
.rule-item__title { font: 400 clamp(21px, 1.8vw, 26px)/1.2 var(--f-display); margin: auto 0 0; max-width: 14ch; }
.rule-item__go { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); transition: color .2s, gap .3s var(--ease-out); }
.rule-item:hover { background: var(--surface); }
.rule-item:hover .rule-item__go { color: var(--blue); gap: 16px; }
.rule-item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.rule-item:hover::before { transform: scaleX(1); }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.assist {
  margin-top: 36px; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden;
}
.assist::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-ink) 18%, transparent); box-shadow: 0 0 0 30px color-mix(in srgb, var(--on-ink) 4%, transparent); }
.assist .eyebrow { color: color-mix(in srgb, var(--on-ink) 70%, transparent); }
.assist__title { font: 400 30px/1.15 var(--f-display); margin: 10px 0 6px; }
.assist__phone { font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .02em; margin: 6px 0 4px; }
.assist__meta { font-size: 14px; color: color-mix(in srgb, var(--on-ink) 78%, transparent); margin: 0 0 22px; }
.assist .btn { background: var(--on-ink); color: var(--ink); }
.assist .btn:hover { background: var(--blue-soft); }
:root[data-theme="dark"] .assist .btn:hover { background: #fff; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.menu-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 48px); box-shadow: var(--shadow-sm); }
.menu-card__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; }
.menu-card__head::before, .menu-card__head::after { content: ""; flex: 1; max-width: 60px; height: 1px; background: var(--line-strong); }
.menu-card__title { font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--f-display); text-align: center; margin: 4px 0 28px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-row:last-child { border-bottom: 0; }
.menu-row__name { font-weight: 500; }
.menu-row__unit { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.menu-row__dots { border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.menu-row__price { font: 400 20px var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-row__price small { font: 500 11px var(--f-body); color: var(--ink-3); margin-left: 4px; letter-spacing: .08em; }
.menu-row__price.is-free { font: 600 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.menu-card__note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); display: flex; gap: 10px; align-items: flex-start; }

/* ---------- Nearby ---------- */
.nearby { background: var(--bg-2); }
.branch-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.branch-bar__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.branch-bar__pin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.branch-bar__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); display: block; }
.branch-bar__name { font: 400 22px/1.2 var(--f-display); }
.branch-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 14px var(--f-body); cursor: pointer; }
.select select:hover { border-color: var(--ink); }
.select select option { color: #0E1B2E; background: #fff; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search input { width: 100%; min-height: 48px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 15px var(--f-body); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.search .icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: var(--surface); transition: background-color .2s, color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip span { font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.place {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; border-radius: 20px; background: var(--surface);
  border: 1px solid transparent; transition: border-color .25s, transform .35s var(--ease-out), box-shadow .35s;
}
.place:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.place__type { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.place__type .icon { width: 15px; height: 15px; }
.place__name { font: 400 22px/1.25 var(--f-display); margin: 6px 0 0; }
.place__desc { color: var(--ink-3); font-size: 14px; margin: 0; }
.place__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.place__dist { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.place__go { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--line-strong); transition: background-color .2s, color .2s, border-color .2s; }
.place__go:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.place__actions { display: inline-flex; align-items: center; gap: 6px; }
.place__pin { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.place__pin .icon { width: 16px; height: 16px; }
.place__pin:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Nearby map ---------- */
.nearby-map {
  position: relative; z-index: 0; height: clamp(320px, 40vw, 460px); margin-bottom: 24px;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}
.nearby-map.is-fallback { background: var(--bg-2); }
.nearby-map.is-card { height: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; background: var(--surface); }
.nearby-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.nearby-map__open { position: absolute; right: 12px; top: 12px; z-index: 1; box-shadow: var(--shadow-sm); }
.nearby-map__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.nearby-map__text { flex: 1 1 200px; display: grid; gap: 2px; }
.nearby-map__text b { font: 400 21px/1.25 var(--f-display); }
.nearby-map__text span { font-size: 13.5px; color: var(--ink-3); }
.nearby-map__hint {
  position: absolute; z-index: 500; left: 50%; top: 14px; transform: translateX(-50%); margin: 0;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); box-shadow: var(--shadow-sm); pointer-events: none;
}
/* Calm the OpenStreetMap palette to match the cream/navy design; night version for dark mode */
.nearby-map .leaflet-tile-pane { filter: grayscale(.6) sepia(.12) brightness(1.04) contrast(.92); }
:root[data-theme="dark"] .nearby-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(.5) brightness(.82) contrast(.9); }
.nearby-map.leaflet-container, .nearby-map .leaflet-container { font-family: var(--f-body); background: var(--bg-2); }
.nearby-map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.nearby-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); background: var(--surface); border-color: var(--line); }
.nearby-map .leaflet-control-attribution { font-size: 11px; background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink-3); }
.nearby-map .leaflet-control-attribution a { color: var(--ink-2); }
.nearby-map .leaflet-popup-content-wrapper { border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.nearby-map .leaflet-popup-tip { background: var(--surface); }
.nearby-map .leaflet-popup-content { margin: 14px 16px; min-width: 170px; }
.nearby-map a.leaflet-popup-close-button { color: var(--ink-3); }
.pop { display: grid; gap: 3px; }
.pop__type { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.pop__name { font: 400 18px/1.25 var(--f-display); }
.pop__meta { font-size: 12.5px; color: var(--ink-3); }
.pop__btn { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink) !important; font: 500 12.5px var(--f-body); text-decoration: none; cursor: pointer; }
.pop__btn:hover { background: var(--blue); color: #fff !important; }
/* Pins */
.pin { display: grid !important; place-items: center; border-radius: 50%; }
.pin--hotel { background: #fff; padding: 2px; box-shadow: 0 6px 16px -4px rgba(237, 50, 55, .55), 0 0 0 3px rgba(237, 50, 55, .18); }
.nearby-map .pin--hotel img { width: 100% !important; height: 100% !important; border-radius: 50%; display: block; }
.pin--place { background: var(--ink); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(14, 27, 46, .6); transition: transform .2s; }
.pin--place .icon { width: 14px; height: 14px; }
.pin--place:hover, .pin--place:focus-visible { transform: scale(1.15); }
.pin--food { background: #C2410C; } .pin--cafe { background: #7C4A2D; } .pin--shop { background: #23409A; }
.pin--health { background: #BE123C; } .pin--service { background: #0F766E; } .pin--entertainment { background: #7E22CE; }
.pin--hospital { background: #0369A1; } .pin--school { background: #4D7C0F; }
.pin--me i { width: 14px; height: 14px; border-radius: 50%; background: #2563EB; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37, 99, 235, .25); }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.empty h3 { font: 400 26px var(--f-display); margin: 0 0 8px; }
.empty p { color: var(--ink-3); margin: 0 0 20px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 36px; border-top: 1px solid var(--line); }
.site-footer .container { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand .rule-line { width: 56px; }
.footer-tag { text-align: center; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-2); }
.to-top { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.to-top .icon-btn { width: 48px; height: 48px; }
.footer-small__right { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; margin-right: -10px; border-radius: 999px; color: var(--ink-3); transition: color .2s, background-color .2s; }
.admin-link .icon { width: 14px; height: 14px; }
.admin-link:hover { color: var(--ink); background: var(--bg-2); }
.footer-small { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Drawer (rule details) ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(8, 13, 24, .5); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(0,0,0,.4);
  transform: translateX(104%); transition: transform .5s var(--ease-out); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 20px; border-bottom: 1px solid var(--line); }
.drawer__num { font: italic 400 15px var(--f-display); color: var(--ink-3); }
.drawer__title { font: 400 clamp(28px, 3vw, 38px)/1.12 var(--f-display); margin: 6px 0 0; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.drawer__foot { padding: 16px 28px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.drawer__grab { display: none; }

.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose p { margin: 0; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose h4, .prose > h5 { font: 400 22px/1.25 var(--f-display); color: var(--ink); margin-top: 28px; }
.prose ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.prose li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); color: var(--ink); }
.prose li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); border-radius: 50%; border: 1.5px solid var(--red); background: linear-gradient(135deg, transparent 45%, var(--red) 45%, var(--red) 58%, transparent 58%); }
.prose .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.prose .cards:has(.is-time) { grid-template-columns: 1fr 1fr; }
.prose .card { padding: 18px 18px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.prose .card h5 { margin: 0 0 6px; font: 600 12px/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.prose .card p { font-size: 15px; }
.prose .card p + p { margin-top: 6px; }
.prose .card.note { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 7%, var(--surface)); }
.prose .card.note h5 { color: var(--red); }
.prose .card.is-time { text-align: center; }
.prose .card.is-time p { font: 400 40px/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.comp-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.comp-table caption { text-align: left; font: 400 22px var(--f-display); color: var(--ink); padding-bottom: 12px; }
.comp-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line-strong); }
.comp-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.comp-table td:last-child, .comp-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.comp-table td:nth-child(2) { color: var(--ink-3); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--on-ink); padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); display: inline-flex; gap: 10px; align-items: center; transition: opacity .25s, transform .35s var(--ease-out); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Image fallback ---------- */
.ph.is-missing img { opacity: 0; }
.ph.is-missing::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% 10%, #cdd9f0 0%, transparent 60%), radial-gradient(90% 70% at 10% 90%, #ecd9c6 0%, transparent 60%), #eef0f2;
}

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s, 1.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__frame img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .rule-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__aside { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .site-header, .site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; margin: calc(-1 * var(--header-h)) calc(-1 * var(--gutter)) 0; height: min(74svh, 620px); }
  .hero__frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; clip-path: ellipse(120% 100% at 60% 0%); }
  .hero__note { display: none; }
  .hero__frame img { object-position: 85% 50%; }
  .wifi-card { left: var(--gutter); right: var(--gutter); bottom: -64px; width: auto; }
  .hero__copy { padding-top: 96px; }
  .welcome__grid, .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .times { justify-self: start; }
  .site-footer .container { grid-template-columns: 1fr auto; }
  .footer-tag { display: none; }
}

@media (max-width: 640px) {
  .brand__name { font-size: 21px; }
  .brand__name--lg { font-size: 26px; }
  .brand { gap: 10px; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__logo--lg { width: 48px; height: 48px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--feature { grid-column: 1 / -1; }
  .tile:first-child .tile__img { aspect-ratio: 4 / 3.4; }
  .tile:nth-child(2) { margin-top: 0; }
  .tile:nth-child(2) .tile__img, .tile:nth-child(3) .tile__img { aspect-ratio: 3 / 4; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-item, .rule-item:nth-child(even) { padding: 22px 0; border-left: 0; min-height: 0; flex-direction: row; align-items: center; gap: 18px; }
  .rule-item__title { margin: 0; flex: 1; max-width: none; font-size: 21px; }
  .rule-item__go span { display: none; }
  .places { grid-template-columns: 1fr; }
  .band__sub { letter-spacing: .3em; gap: 12px; font-size: 11px; }
  .band__sub::before, .band__sub::after { width: 24px; }
  .times div { padding: 8px 18px; }
  .assist { padding: 26px 22px; }
  .menu-row { grid-template-columns: 1fr auto; }
  .menu-row__dots { display: none; }
  .search { max-width: none; }
  .branch-bar { padding: 16px; }
  .branch-bar__actions, .branch-bar__actions .select, .branch-bar__actions select { width: 100%; }
  .branch-bar__actions .btn { flex: 1; }
  /* Drawer becomes a bottom sheet */
  .drawer { top: auto; left: 0; width: 100%; max-height: 90svh; border-radius: 24px 24px 0 0; transform: translateY(104%); }
  .drawer__grab { display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--line-strong); margin: 10px auto 0; }
  .drawer__head { padding: 14px 20px 16px; }
  .drawer__body { padding: 22px 20px; }
  .drawer__foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
  .site-footer .container { grid-template-columns: 1fr; }
  .to-top { justify-self: start; }
}

/* ==========================================================================
   Type pass (taste-skill type rules, the client's own faces kept)
   Faces: Cormorant Garamond (headings, see "Heading face" below), Playfair italic (signature only), Be Vietnam Pro 400/500 (text).
   Sentence case, labels 13px/500 untracked, nothing under 13px, body 16/26, headlines carried by size.
   ========================================================================== */
body { line-height: 1.625; font-feature-settings: "kern" 1; text-rendering: optimizeLegibility; }

/* Headings: Playfair 400, tight tracking, room for stacked Vietnamese marks (ô, ứ, ạ) */
.display, .section-title { letter-spacing: -0.02em; line-height: 1.16; text-wrap: balance; }
.hero__title { line-height: 1.16; letter-spacing: -0.025em; }   /* room for stacked Vietnamese marks (thứ under Ngôi) */
.h-caps { text-transform: none; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.band__word { line-height: .98; }
.rule-item__title, .drawer__title, .menu-card__title, .assist__title { text-wrap: balance; line-height: 1.22; }
html[lang="ko"] .display, html[lang="zh"] .display, html[lang="ko"] .h-caps, html[lang="zh"] .h-caps,
html[lang="ko"] .section-title, html[lang="zh"] .section-title, html[lang="ko"] .hero__title, html[lang="zh"] .hero__title { letter-spacing: 0; line-height: 1.25; }

/* The signature and the closing wish: Playfair italic replaces the third (script) family */
.script { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.signature { font-size: 32px; }
.welcome__letter .closing { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.3; }

/* Labels: sentence case, 13px / 500, no wide tracking (tracked capitals break Vietnamese marks) */
.eyebrow { font: 500 13px/1.45 var(--f-body); letter-spacing: .01em; text-transform: none; }
.lang__menu button[aria-checked="true"] { font-weight: 500; }
.lang__btn { letter-spacing: .02em; }
.lang__menu small { font-size: 13px; letter-spacing: .02em; }
.mobile-menu__num { font-size: 13px; letter-spacing: 0; }
.wifi-card__row dt { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.wifi-card__row dd { font-weight: 500; font-size: 17px; }
.copy-btn { font-size: 13px; }
.band__sub { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: none; }
.times small { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.menu-row__unit { font-size: 13px; letter-spacing: 0; }
.menu-row__price small { font-size: 13px; letter-spacing: 0; }
.menu-row__price.is-free { font: 500 14px var(--f-body); letter-spacing: 0; text-transform: none; }
.branch-bar__label { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.chip span { font-size: 13px; }
.place__type { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pop__type { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pop__meta { font-size: 13px; }
.footer-tag { font-size: 13px; letter-spacing: .02em; text-transform: none; }
.to-top { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.footer-small { font-size: 13px; }
.prose b, .prose strong { font-weight: 500; }
.prose .card h5 { font: 500 13px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; }
.comp-table th { font-size: 13px; letter-spacing: 0; text-transform: none; }
.place__desc, .menu-card__note { font-size: 15px; }
@media (max-width: 640px) { .band__sub { letter-spacing: .04em; font-size: 13px; } }

/* ==========================================================================
   Heading face: Cormorant Garamond 500 (client's pick, Nov 2026)
   Cormorant has a small x-height, so font-size-adjust scales it to read as large as Playfair did,
   and 500 keeps the hairlines visible on phones. Korean/Chinese keep their own serif fallbacks.
   The signature (.script) stays Playfair italic.
   ========================================================================== */
.display, .section-title, .hero__title, .h-caps, .brand__name, .mobile-menu__link, .hero__note, .band__word,
.times b, .rule-item__num, .rule-item__title, .assist__title, .assist__phone, .menu-card__title, .menu-row__price,
.branch-bar__name, .place__name, .nearby-map__text b, .pop__name, .empty h3, .drawer__num, .drawer__title,
.prose h4, .prose > h5, .prose .card.is-time p, .comp-table caption {
  font-weight: 500; font-size-adjust: 0.46; letter-spacing: -0.005em;
}
.display em, .section-title em, .hero__title em { font-weight: 500; }
.band__word { letter-spacing: -0.01em; }
.script { font-size-adjust: none; }   /* not a Cormorant heading: keep its natural size */
html[lang="ko"] :is(.display, .section-title, .hero__title, .h-caps, .rule-item__title, .drawer__title, .menu-card__title, .assist__title, .place__name, .pop__name, .branch-bar__name, .mobile-menu__link),
html[lang="zh"] :is(.display, .section-title, .hero__title, .h-caps, .rule-item__title, .drawer__title, .menu-card__title, .assist__title, .place__name, .pop__name, .branch-bar__name, .mobile-menu__link) { font-size-adjust: none; letter-spacing: 0; }
/* Cormorant defaults to old-style figures (1 looks like I): use lining figures for times, prices, phone, numbers */
.times b, .assist__phone, .menu-row__price, .rule-item__num, .drawer__num, .prose .card.is-time p { font-variant-numeric: lining-nums tabular-nums; }
.display, .section-title, .hero__title, .rule-item__title, .drawer__title, .place__name, .pop__name, .menu-card__title { font-variant-numeric: lining-nums; }

/* ==========================================================================
   Welcome tiles: soft cream mat with organic wavy edges, caption on the photo (client's sample, Nov 2026)
   The shapes are SVG clipPaths in index.html (#tileShape1-3, objectBoundingBox so they scale with the tile).
   ========================================================================== */
:root { --on-photo: #FFFFFF; --photo-shade: rgba(11, 18, 32, 0.62); --tile-drop: rgba(14, 27, 46, 0.16); }
:root[data-theme="dark"] { --tile-drop: rgba(0, 0, 0, 0.5); }
.tile-clips { position: absolute; width: 0; height: 0; overflow: hidden; }
.tile { --shape: url(#tileShape1); --mat: clamp(6px, .7vw, 10px); container-type: inline-size; filter: drop-shadow(0 18px 26px var(--tile-drop)); transition: translate .5s var(--ease-out), filter .5s var(--ease-out); }
.tile:nth-child(2) { --shape: url(#tileShape2); }
.tile:nth-child(3) { --shape: url(#tileShape3); }
.tile__img { clip-path: var(--shape); background: var(--surface); padding: var(--mat); }
.tile__img img { display: block; clip-path: var(--shape); transition: filter .5s var(--ease-out); }
.tile:hover .tile__img img { transform: none; filter: var(--img-tint) brightness(1.05); }
.tile:hover { translate: 0 -6px; filter: drop-shadow(0 26px 30px var(--tile-drop)); }
.tile__img::after {
  inset: var(--mat); border: 0; clip-path: var(--shape); pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, var(--photo-shade) 100%);
}
.ph.is-missing::before { inset: var(--mat); clip-path: var(--shape); }
.tile__cap {
  position: absolute; left: calc(var(--mat) + clamp(12px, 7cqi, 26px)); right: calc(var(--mat) + clamp(10px, 6cqi, 22px));
  bottom: calc(var(--mat) + clamp(12px, 7cqi, 26px)); margin: 0;
  display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; row-gap: 6px; color: var(--on-photo);
}
.tile__kicker { grid-column: 1; font: 500 13px/1.4 var(--f-body); opacity: .92; }
@container (max-width: 240px) { .tile__go { display: none; } }
.tile__title {
  grid-column: 1; font-family: var(--f-display); font-weight: 500; font-size-adjust: 0.46;
  font-size: clamp(19px, 10.5cqi, 32px); line-height: 1.16; text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.tile--feature .tile__title { font-size: clamp(22px, 10cqi, 40px); }
.tile__go {
  grid-column: 2; grid-row: 1 / span 2; align-self: end;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--on-photo);
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.tile__go .icon { width: 18px; height: 18px; }
.tile:hover .tile__go { background: var(--surface); color: var(--ink); transform: translateX(3px); }
.tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 28px; }
html[lang="ko"] .tile__title, html[lang="zh"] .tile__title { font-size-adjust: none; }
@media (max-width: 640px) {
  .tile__go { width: 38px; height: 38px; }
  .tile:not(.tile--feature) .tile__go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile__go { transition: none; } .tile:hover { translate: none; } }

/* ==========================================================================
   Reception card: the branch photo fills the card (branch.photo from admin, else the facade),
   shaded from the text side so the copy and button stay readable in both themes.
   ========================================================================== */
.assist { isolation: isolate; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.assist::after { display: none; }
.assist > :not(.assist__photo) { position: relative; z-index: 1; }
.assist .btn { align-self: flex-start; }
.assist__photo { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.assist__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transition: transform 1.2s var(--ease-out); }
.assist:hover .assist__photo img { transform: scale(1.03); }
.assist__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--ink) 92%, transparent) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 45%, color-mix(in srgb, var(--ink) 10%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 70%);
}
@media (max-width: 640px) { .assist { min-height: 280px; } }
@media (prefers-reduced-motion: reduce) { .assist__photo img { transition: none; } }

/* ==========================================================================
   Depth pass ("3D hơn", client's pick: subtle depth, Nov 2026)
   Layered shadows (a tight contact shadow + a soft ambient one) so surfaces sit above the page,
   a thin top highlight on raised surfaces, hover lifts, and pressed buttons. JS adds hero parallax.
   ========================================================================== */
:root {
  --depth-1: 0 1px 2px rgba(14, 27, 46, .06), 0 4px 10px -2px rgba(14, 27, 46, .08), 0 14px 28px -12px rgba(14, 27, 46, .16);
  --depth-2: 0 1px 2px rgba(14, 27, 46, .06), 0 10px 20px -6px rgba(14, 27, 46, .12), 0 30px 60px -24px rgba(14, 27, 46, .28);
  --depth-3: 0 2px 4px rgba(14, 27, 46, .06), 0 18px 36px -10px rgba(14, 27, 46, .18), 0 48px 90px -30px rgba(14, 27, 46, .38);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .75);
  --btn-depth: 0 1px 1px rgba(14, 27, 46, .18), 0 6px 14px -6px rgba(14, 27, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .14);
}
:root[data-theme="dark"] {
  --depth-1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 14px -4px rgba(0, 0, 0, .45), 0 18px 34px -14px rgba(0, 0, 0, .6);
  --depth-2: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 24px -8px rgba(0, 0, 0, .55), 0 34px 64px -26px rgba(0, 0, 0, .75);
  --depth-3: 0 2px 4px rgba(0, 0, 0, .4), 0 20px 40px -12px rgba(0, 0, 0, .6), 0 52px 96px -32px rgba(0, 0, 0, .85);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .07);
  --btn-depth: 0 1px 1px rgba(0, 0, 0, .4), 0 6px 14px -6px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --depth-1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 14px -4px rgba(0, 0, 0, .45), 0 18px 34px -14px rgba(0, 0, 0, .6);
    --depth-2: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 24px -8px rgba(0, 0, 0, .55), 0 34px 64px -26px rgba(0, 0, 0, .75);
    --depth-3: 0 2px 4px rgba(0, 0, 0, .4), 0 20px 40px -12px rgba(0, 0, 0, .6), 0 52px 96px -32px rgba(0, 0, 0, .85);
    --rim: inset 0 1px 0 rgba(255, 255, 255, .07);
    --btn-depth: 0 1px 1px rgba(0, 0, 0, .4), 0 6px 14px -6px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  }
}

/* Floating hero layers sit highest */
.wifi-card, .hero__note { box-shadow: var(--depth-3), var(--rim); }
.hero__frame img { will-change: transform, translate; }

/* Cards: resting depth, lift on hover */
.place, .menu-card, .branch-bar, .times { box-shadow: var(--depth-1), var(--rim); }
.assist { box-shadow: var(--depth-2); }
.place { border-color: var(--line); }
.place:hover { transform: translateY(-6px); box-shadow: var(--depth-3), var(--rim); border-color: var(--line-strong); }
.assist { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.assist:hover { transform: translateY(-4px); box-shadow: var(--depth-3); }
.nearby-map { box-shadow: var(--depth-2); }
.tile { filter: drop-shadow(0 4px 6px var(--tile-drop)) drop-shadow(0 22px 28px var(--tile-drop)); }
.tile:hover { filter: drop-shadow(0 6px 8px var(--tile-drop)) drop-shadow(0 34px 36px var(--tile-drop)); }

/* Buttons and chips: raised, pressed on click */
.btn--ink, .copy-btn, .chip[aria-pressed="true"] { box-shadow: var(--btn-depth); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--btn-depth), 0 12px 24px -10px color-mix(in srgb, var(--blue) 60%, transparent); }
.btn:active, .copy-btn:active, .chip:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 2px rgba(14, 27, 46, .2); }
.chip { box-shadow: 0 1px 2px rgba(14, 27, 46, .06); transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.chip:hover { transform: translateY(-1px); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(14, 27, 46, .35); }

@media (prefers-reduced-motion: reduce) {
  .place:hover, .assist:hover, .btn--ink:hover, .chip:hover { transform: none; }
}
.tab[aria-selected="true"] { box-shadow: var(--btn-depth); }


/* ==========================================================================
   Components: loading placeholders (assets/js/components/ui.js → Skeleton)
   Shaped like what they stand in for, so the page does not jump when content arrives.
   ========================================================================== */
.skeleton { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; }
.skeleton i { display: block; height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.skeleton i:nth-child(1) { width: 32%; }
.skeleton i:nth-child(2) { width: 74%; height: 20px; }
.skeleton i:nth-child(3) { width: 48%; }
.skeleton--card { min-height: 176px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.skeleton--tile { min-height: 168px; padding: 28px 24px; border-bottom: 1px solid var(--line); }
.skeleton--row { grid-template-columns: 1fr 72px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.skeleton--row i:nth-child(1) { width: 56%; }
.skeleton--row i:nth-child(2) { width: 100%; height: 14px; }
.skeleton--row i:nth-child(3) { display: none; }
.skeleton::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent);
  animation: skeleton-sweep 1.4s ease-in-out infinite;
}
@keyframes skeleton-sweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after { animation: none; display: none; } }
.menu-list__state { list-style: none; }

/* The WiFi card juts left out of the photo by clamp(24px, 5vw, 80px) (see .wifi-card). Keep the hero copy clear
   of that strip so the sub-line and button never sit under the card (it overlapped them around 1000px wide). */
@media (min-width: 901px) {
  /* only what sits level with the card: the big title keeps its full width */
  .hero__copy > .hero__sub, .hero__copy > .hero__sub ~ * { margin-right: calc(clamp(24px, 5vw, 80px) + 20px); }
}

/* ==========================================================================
   Floating contact buttons (index.html .contact-fab, assets/js/features/contact.js)
   Brand colours are the networks' own; they read the same in light and dark mode.
   ========================================================================== */
:root { --fab-facebook: #1877F2; --fab-zalo: #0068FF; --fab-call: #E03131; --fab-size: 56px; }
.contact-fab {
  position: fixed; z-index: 40; display: grid; gap: 14px;
  right: max(16px, env(safe-area-inset-right)); bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  transition: opacity .25s ease;
}
.fab {
  position: relative; width: var(--fab-size); height: var(--fab-size); border-radius: 50%;
  display: grid; place-items: center; color: #fff; text-decoration: none;
  box-shadow: 0 2px 4px rgba(14, 27, 46, .18), 0 10px 22px -8px rgba(14, 27, 46, .45);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.fab[hidden] { display: none; }
.fab .icon { width: 24px; height: 24px; }
.fab--facebook { background: var(--fab-facebook); }
.fab--facebook .icon { width: 30px; height: 30px; }
.fab--zalo { background: var(--fab-zalo); font: 500 15px/1 var(--f-body); letter-spacing: -.01em; }
.fab--call { background: var(--fab-call); }
/* Soft pulse ring behind every button, in the button's own colour (as in the client's sample).
   Staggered so the three don't beat in sync. rgba fallback first for browsers without color-mix(). */
.fab::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; z-index: -1;
  background: var(--fab-ring); animation: fab-pulse 2.4s ease-out infinite;
}
.fab--facebook { --fab-ring: rgba(24, 119, 242, .3); }
.fab--zalo { --fab-ring: rgba(0, 104, 255, .3); }
.fab--call { --fab-ring: rgba(224, 49, 49, .3); }
.fab--facebook::before { animation-delay: .8s; }
.fab--zalo::before { animation-delay: 1.6s; }
/* the call button also gives a small ring-ring shake now and then */
.fab--call .icon { animation: fab-ring 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes fab-ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); } }
@keyframes fab-pulse { 0% { transform: scale(.82); opacity: .95; } 100% { transform: scale(1.35); opacity: 0; } }
.fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 4px 8px rgba(14, 27, 46, .2), 0 16px 28px -10px rgba(14, 27, 46, .55); }
.fab:active { transform: scale(.96); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* out of the way while the rule sheet or the mobile menu is open */
body.is-locked .contact-fab { opacity: 0; pointer-events: none; }
/* The last footer row (copyright, "Quản trị") sits level with the buttons when the page is scrolled to the end:
   keep it clear of the button column (padding on the whole footer grid did not move it — its track is fixed-width) */
.site-footer .footer-small { padding-right: calc(var(--fab-size) + max(16px, env(safe-area-inset-right)) + 12px); }
.site-footer .to-top { margin-right: calc(var(--fab-size) + max(16px, env(safe-area-inset-right)) + 12px - var(--gutter)); }
@media (max-width: 640px) {
  :root { --fab-size: 50px; }
  .contact-fab { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab::before, .fab--call .icon { animation: none; }
  .fab::before { opacity: .5; }
  .fab, .contact-fab { transition: none; }
}

/* ==========================================================================
   Quick menu "Tiện ích của bạn" (client's sample, Dec 2026): three shortcut cards in the hero.
   Phones: straight under the WiFi card, before the hero title. Wide screens: a row under the hero.
   ========================================================================== */
.hero__grid { grid-template-rows: minmax(0, 1fr) auto; }
.quick { grid-column: 1 / -1; position: relative; z-index: 2; padding: clamp(36px, 5vw, 56px) 0 clamp(8px, 2vw, 24px); }
.quick__label { margin: 0 0 14px; }
.quick__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quick__item {
  display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 16px 16px 16px 16px; height: 100%;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: var(--depth-1), var(--rim);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s;
}
.quick__item:hover { transform: translateY(-3px); box-shadow: var(--depth-2), var(--rim); border-color: var(--line-strong); }
.quick__item:active { transform: translateY(1px) scale(.99); }
.quick__item:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.quick__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.quick__icon .icon { width: 24px; height: 24px; }
.quick__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.quick__title { font: 500 22px/1.15 var(--f-display); font-size-adjust: 0.46; letter-spacing: -0.005em; }
.quick__sub { font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.quick__go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); transition: background-color .2s, color .2s, transform .35s var(--ease-out); }
.quick__go .icon { width: 16px; height: 16px; }
.quick__item:hover .quick__go { background: var(--blue); color: #fff; transform: translateX(2px); }
:root[data-theme="dark"] .quick__item:hover .quick__go { color: #0B1220; }
html[lang="ko"] .quick__title, html[lang="zh"] .quick__title { font-size-adjust: none; letter-spacing: 0; font-size: 18px; }
@media (max-width: 1100px) and (min-width: 901px) { .quick__sub { font-size: 13px; } .quick__go { display: none; } }
@media (max-width: 900px) {
  .quick { order: -1; padding: 92px 0 0; }
  .quick__list { grid-template-columns: 1fr; gap: 12px; }
  .quick__item { gap: 14px; min-height: 80px; padding: 14px; }
  .quick__icon { width: 46px; height: 46px; border-radius: 14px; }
  .quick__title { font-size: 20px; }
  .quick__sub { font-size: 13px; }
  .hero__copy { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { .quick__item, .quick__go { transition: none; } .quick__item:hover { transform: none; } }

/* ==========================================================================
   Whole hero photo (client, Dec 2026: "nhìn full ảnh", keep the curve). The frame takes the photo's own
   proportions, so object-fit: cover no longer crops it, and it starts below the header instead of under it.
   Photos: hero.jpg / hero-night.jpg 2000×1333 (3:2), hero-mobile.jpg 900×1135, hero-night-mobile.jpg 900×1366.
   ========================================================================== */
@media (min-width: 901px) {
  .hero, .hero__grid { min-height: 0; }
  .hero__grid { grid-template-rows: auto auto; }
  .hero__media { margin-top: 0; align-self: center; aspect-ratio: 3 / 2; }
  .hero__frame img { object-position: 50% 50%; }
  /* the WiFi card hangs below the photo's bottom edge instead of covering the building */
  .wifi-card { bottom: clamp(-96px, -7vw, -56px); }
  /* the quick menu is for phones only: wide screens have the pinned header menu (client, Dec 2026);
     the hero keeps room at the bottom for the card that hangs below the photo (.hero clips overflow) */
  .quick { display: none; }
  .hero__grid { padding-bottom: clamp(88px, 9vw, 128px); }
}
@media (max-width: 900px) {
  .hero__media { height: auto; padding-top: var(--header-h); }
  /* the frame always spans the full width; its height follows the photo (portrait photo up to 600px wide,
     the 3:2 photo above that), capped so a short landscape screen still sees text below it */
  /* a little shorter than the photo: a strip of sky at the top and the road at the bottom are trimmed,
     so the WiFi card and quick menu sit higher (client, Dec 2026) */
  .hero__frame { position: relative; inset: auto; width: 100%; height: min(104vw, 82svh); }
  /* the night photo is a taller close-up: same frame height as the day one, framed on the lit sign
     (trims upper windows and the pavement) so the WiFi card sits as high as in light mode */
  :root[data-theme="dark"] .hero__frame { height: min(104vw, 82svh); }
  :root[data-theme="dark"] .hero__frame img { object-position: 50% 60%; }
  .hero__frame img { object-position: 50% 40%; }
  /* the card now sits under the photo, overlapping only its curved edge */
  .wifi-card { position: relative; left: auto; right: auto; bottom: auto; margin: -64px var(--gutter) 0; }
  .quick { padding-top: 20px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero__frame, :root[data-theme="dark"] .hero__frame { height: min(62vw, 82svh); }
  .wifi-card { max-width: 420px; }
}
