/* Red Coffee · one evening. Tokens first; everything else reads from them. */
:root {
  --sc-canvas:     #140e0b;
  --sc-surface:    #1c1511;
  --sc-ink:        #f3e9da;
  --sc-ink-soft:   #bcab97;
  --sc-accent:     #c9302a;
  --sc-accent-ink: #fff6ec;
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text:    "Be Vietnam Pro", system-ui, sans-serif;
  --sc-shadow-color: 20 40% 3%;

  --folio-w: clamp(12rem, 14vw, 14rem);
  --gold: #e3b664;           /* only ever lamp light inside images; not a UI accent */
  /* evening grade, written by evening.js: 0 at 17:30, 1 at 22:00 */
  --eve: 0;
}

html { scroll-padding-top: 0; }
body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); font-weight: 400; letter-spacing: 0.005em; }
.sc-display { font-family: var(--sc-font-display); font-weight: 400; font-variation-settings: "opsz" 120, "SOFT" 30; }
.sc-display em { font-style: italic; color: var(--sc-ink-soft); }
.sc-body { line-height: 1.7; }
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; border-radius: 2px; }

/* Content sits to the right of the folio on wide screens. */
main { padding-left: var(--folio-w); }

/* ---------------------------------------------------------------- FOLIO */
.folio {
  position: fixed; inset: 0 auto 0 0; width: var(--folio-w); z-index: var(--sc-z-chrome);
  display: flex; flex-direction: column; gap: var(--sc-5);
  padding: var(--sc-6) var(--sc-5) var(--sc-6) var(--sc-6);
  background: linear-gradient(90deg, rgb(10 7 5 / 0.92), rgb(10 7 5 / 0.72));
  border-right: 1px solid var(--sc-hairline);
  backdrop-filter: blur(6px);
}
.folio__mark { font-family: var(--sc-font-display); font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.folio__mark::first-letter { color: var(--sc-accent); }
.folio__clock { margin: auto 0 0; font-family: var(--sc-font-display); font-size: clamp(2.2rem, 3.3vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.folio__hours { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: var(--sc-2); }
.folio__hours a {
  display: flex; gap: var(--sc-3); align-items: baseline; padding: var(--sc-1) 0;
  text-decoration: none; font-variant-numeric: tabular-nums; font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.folio__hours a span { color: inherit; opacity: 0.75; }
.folio__hours a:hover, .folio__hours a[aria-current="true"] { color: var(--sc-ink); }
.folio__hours a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent); align-self: center; margin-left: -12px; margin-right: 6px; }
.folio__cta {
  display: inline-block; text-decoration: none; text-align: center; font-weight: 500; font-size: var(--sc-t-sm);
  padding: var(--sc-3) var(--sc-4); border-radius: var(--sc-r-pill);
  background: var(--sc-accent); color: var(--sc-accent-ink);
  transition: background-color var(--sc-d-base) var(--sc-ease-out);
}
.folio__cta:hover { background: #b2241f; }

/* ---------------------------------------------------------------- 17:30 ĐẾN */
.den { overflow: hidden; background: #0b1230; }
.den__plane { position: absolute; will-change: transform; }
.den__plane img { max-width: none; width: 100%; height: auto; }
.den__plane--sky { inset: -12% -2% auto; }
.den__plane--sky img { width: 100%; height: 125vh; object-fit: cover; }
.den__plane--bld { width: min(56vh, 46vw); right: 9%; bottom: 7vh; filter: brightness(0.92) saturate(1.05); }
.den__plane--fg  { left: -2%; right: -2%; bottom: 11vh; }
.den__plane--fg::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 2px); height: 45vh; background: linear-gradient(#3a2412, var(--sc-canvas) 60%); }
.den__plane--fg img { width: 100%; }
.den__title {
  position: absolute; left: var(--sc-gutter); top: 12vh; margin: 0; z-index: 1;
  font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(4.5rem, 13vw, 13rem); line-height: 0.86; letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.den__title-line { display: block; }
.den__title-line:first-child { color: var(--sc-accent); font-style: italic; filter: drop-shadow(0 6px 30px rgb(0 0 0 / 0.45)); }
.den__mobile { display: none; }
.den__floor { position: absolute; inset: auto 0 0; height: 22vh; background: linear-gradient(to top, var(--sc-canvas), transparent); z-index: 4; pointer-events: none; }
.den__copy, .den__second { position: absolute; z-index: 5; left: var(--sc-gutter); }
.den__copy { bottom: 7vh; max-width: 31rem; }
.den__copy .sc-lede { font-size: var(--sc-t-lg); line-height: 1.5; text-shadow: 0 2px 20px rgb(0 0 0 / 0.95), 0 0 2px rgb(0 0 0 / 0.6); }
.den__second { bottom: 7vh; }
.den__second p { text-shadow: 0 2px 24px rgb(0 0 0 / 0.75); margin: 0; }
.den__plane--fg { z-index: 3; }
.den__plane--bld { z-index: 2; }


/* ---------------------------------------------------------------- 19:00 GÓC NHỎ */
.goc__head { margin: 0 0 var(--sc-8); max-width: 14ch; margin-left: auto; text-align: right; }
.goc__row { display: grid; grid-template-columns: 1.25fr 0.8fr 1.1fr; gap: var(--sc-6); align-items: start; }
.goc__fig { margin: 0; }
.goc__fig img { width: 100%; height: auto; border-radius: 2px; }
.goc__fig--b { margin-top: var(--sc-10); }
.goc__fig--c { margin-top: var(--sc-7); }
.goc__fig figcaption { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 34ch; line-height: 1.55; }

/* ---------------------------------------------------------------- 20:00 SÂN KHẤU (peak) */
.nhac__stage { background: #050403; overflow: hidden; }
.nhac__img { position: absolute; inset: 0; }
.nhac__img img { width: 100%; height: 100%; object-fit: cover; }
/* The dark layer: the room before the music. */
.nhac__img--dark img { filter: brightness(calc(0.16 + var(--stage-lit, 0) * 0.5)) saturate(0.55); }
/* The lit layer is revealed through one radial window per bulb (evening.js). */
.nhac__img--lit { -webkit-mask-image: var(--bulbs, linear-gradient(transparent, transparent)); mask-image: var(--bulbs, linear-gradient(transparent, transparent)); }
.nhac__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); bottom: clamp(3rem, 11vh, 8rem); max-width: 40rem; }
.nhac__copy > * { position: absolute; left: 0; bottom: 0; width: max-content; max-width: min(40rem, 80vw); margin: 0; }
.nhac__time { font-family: var(--sc-font-display); font-size: var(--sc-t-3xl); font-style: italic; color: var(--sc-ink); }
.nhac__line { font-size: var(--sc-t-xl); line-height: 1.4; }
.nhac__head { max-width: 12ch !important; text-shadow: 0 4px 40px rgb(0 0 0 / 0.6); }
.nhac .sc-scrim--lead { opacity: 0.85; }

/* ---------------------------------------------------------------- 21:00 GỌI MÓN */
.mon__grid { display: grid; grid-template-columns: minmax(16rem, 0.75fr) 1.5fr; gap: var(--sc-9); align-items: start; }
.mon__intro { position: sticky; top: var(--sc-8); }
.mon__intro h2 { margin: 0 0 var(--sc-3); }
.mon__menu { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-7) var(--sc-7); }
.dish h3 {
  margin: 0 0 var(--sc-4); font-family: var(--sc-font-display); font-weight: 400; font-style: italic;
  font-size: var(--sc-t-xl); color: var(--sc-ink); padding-bottom: var(--sc-3); border-bottom: 1px solid var(--sc-hairline-strong);
}
.dish ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-3); }
.dish li { display: flex; gap: var(--sc-4); justify-content: space-between; align-items: baseline; font-size: var(--sc-t-base); line-height: 1.5; }
.dish li span { color: var(--sc-ink); }
.dish li b { font-weight: 500; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mon__drinks { grid-column: 1 / -1; margin: var(--sc-4) 0 0; }
.mon__drinks img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; }

/* ---------------------------------------------------------------- 22:00 TẮT ĐÈN */
.ghe__stage { background: #030201; overflow: hidden; }
.ghe__img { position: absolute; inset: 0; }
.ghe__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.ghe__img--dark img { filter: brightness(0.2) saturate(0.6) contrast(1.05); }
.ghe__img--lit { -webkit-mask-image: var(--lights, none); mask-image: var(--lights, none); }
.ghe .sc-scrim--bottom { opacity: 0.95; }
.ghe__inner { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(5rem, 14vh, 9rem); max-width: 44rem; }
.ghe__inner h2 { margin: 0 0 var(--sc-4); }
.ghe__now { margin: 0 0 var(--sc-6); color: var(--sc-ink); text-shadow: 0 1px 12px rgb(0 0 0 / 0.8); font-size: var(--sc-t-lg); }
.ghe__actions { display: flex; flex-wrap: wrap; gap: var(--sc-3); }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--sc-5); border-radius: var(--sc-r-pill);
  text-decoration: none; font-weight: 500; border: 1px solid var(--sc-hairline-strong); color: var(--sc-ink);
  background: rgb(16 11 9 / 0.88); backdrop-filter: blur(4px);
  transition: background-color var(--sc-d-base) var(--sc-ease-out), border-color var(--sc-d-base) var(--sc-ease-out);
}
.btn:hover { border-color: var(--sc-ink); }
.btn--main { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--main:hover { background: #b2241f; }
.ghe__addr { margin-top: var(--sc-5); font-style: normal; color: var(--sc-ink); text-shadow: 0 1px 10px rgb(0 0 0 / 0.8); font-size: var(--sc-t-sm); }
.foot { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); right: var(--sc-gutter); bottom: var(--sc-5); display: flex; justify-content: space-between; gap: var(--sc-4); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); opacity: 0.8; }
.foot__credit a { color: var(--sc-ink); text-decoration: none; letter-spacing: 0.06em; border-bottom: 1px solid rgb(243 233 218 / 0.35); padding-bottom: 1px; pointer-events: auto; transition: border-color .2s, color .2s; }
.foot__credit a:hover, .foot__credit a:focus-visible { color: var(--sc-accent); border-color: currentColor; }

/* ---------------------------------------------------------------- PHONE */
@media (max-width: 900px) {
  :root { --folio-w: 0px; }
  .folio {
    inset: 0 0 auto 0; width: auto; height: auto; flex-direction: row; align-items: center; gap: var(--sc-3);
    padding: var(--sc-3) var(--sc-4); border-right: 0; border-bottom: 1px solid var(--sc-hairline);
    background: rgb(10 7 5 / 0.82);
  }
  .folio__mark { font-size: 1.1rem; }
  .folio__clock { margin: 0 auto 0 0; font-size: 1.1rem; color: var(--sc-ink-soft); }
  .folio__hours { display: none; }
  .folio__cta { padding: var(--sc-2) var(--sc-4); min-height: 44px; display: inline-flex; align-items: center; }

  .den__plane { display: none; }
  .den__mobile { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  .den__title { top: 13vh; font-size: clamp(3.6rem, 21vw, 6rem); }
  .den__title-line:last-child { text-shadow: 0 4px 24px rgb(0 0 0 / 0.6); }
  .den__copy, .den__second { right: var(--sc-gutter); top: auto; bottom: 7vh; }
  .den__second .sc-display { font-size: var(--sc-t-xl); }


  .goc__head { text-align: left; margin-left: 0; margin-bottom: var(--sc-6); }
  .goc__row { grid-template-columns: 1fr 1fr; gap: var(--sc-4); }
  .goc__fig--a { grid-column: 1 / -1; }
  .goc__fig--b, .goc__fig--c { margin-top: 0; }
  .goc__fig--c { margin-top: var(--sc-8); }

  .nhac__copy { right: var(--sc-gutter); bottom: 8vh; }
  .nhac__copy > * { width: auto; max-width: 100%; }
  .nhac__head { font-size: var(--sc-t-2xl); }

  .mon__grid { grid-template-columns: 1fr; gap: var(--sc-7); }
  .mon__intro { position: static; }
  .mon__menu { grid-template-columns: 1fr; gap: var(--sc-6); }
  .mon__drinks img { aspect-ratio: 4 / 3; }

  .ghe__inner { bottom: 5.5rem; }
  .ghe__img { inset: 0 0 38% 0; }
  .ghe__img::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, #030201); }
  .ghe .sc-scrim--lead { display: none; }
  .den__floor { height: 52vh; background: linear-gradient(to top, rgb(13 9 7 / 0.96) 0%, rgb(13 9 7 / 0.75) 45%, transparent); }
  .ghe__inner h2 { font-size: var(--sc-t-2xl); }
  .foot { flex-direction: column; gap: var(--sc-1); bottom: var(--sc-4); }
  .btn { flex: 1 1 auto; justify-content: center; }
}



/* ================================================================ ROUND 2 */

/* ---- the walk to the door (camera driven by moments.js) */
.den__marker { position: absolute; left: 0; top: 207vh; width: 1px; height: 1px; }
.den__world { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; z-index: 1; }
.den__world .den__plane--sky { z-index: 0; }
.den__door { position: absolute; left: 0; top: 0; z-index: 2; opacity: 0; transform-origin: 0 0; will-change: transform, opacity; pointer-events: none; }
.den__door img { display: block; max-width: none; }
.den__floor { z-index: 3; }
.den__copy, .den__second { z-index: 5; }

/* ---- the yellow room, behind the arch */
.room {
  position: absolute; inset: 0; z-index: 6; overflow: hidden; visibility: hidden;
  -webkit-mask-image: var(--arch); mask-image: var(--arch);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: var(--arch-w, 0px) var(--arch-h, 0px); mask-size: var(--arch-w, 0px) var(--arch-h, 0px);
  -webkit-mask-position: var(--arch-x, 50%) var(--arch-y, 50%); mask-position: var(--arch-x, 50%) var(--arch-y, 50%);
  background: #120c08;
}
.room.is-open { -webkit-mask-image: none; mask-image: none; }
.room__base, .room__lamps { position: absolute; inset: 0; will-change: transform; }
.room__base img { width: 100%; height: 100%; object-fit: cover; }
.room__lamps img { position: absolute; max-width: none; will-change: transform; filter: drop-shadow(0 0 22px rgb(255 196 120 / 0.35)); }
.room__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.room .sc-scrim--lead { z-index: 1; opacity: 0.9; }
.room__copy { position: absolute; z-index: 4; left: var(--sc-gutter); top: 50vh; max-width: 30rem; }
.room__copy h2 { margin: 0 0 var(--sc-4); text-shadow: 0 4px 30px rgb(0 0 0 / 0.6); }
.room__copy .sc-body { color: var(--sc-ink); text-shadow: 0 2px 16px rgb(0 0 0 / 0.85); }
.room__fg { position: absolute; z-index: 3; left: 56%; bottom: -22vh; width: min(92vw, 1300px); max-width: none; translate: -50% 0; will-change: transform; pointer-events: none; filter: brightness(0.85); }

/* ---- the red TV */
.goc__row { grid-template-columns: 1.6fr 0.75fr 1fr; }
.tv { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; }
.tv > img { position: absolute; width: 166.7%; max-width: none; height: auto; left: -41.7%; top: -77.8%; }
.tv__screen {
  position: absolute; left: 34.3%; top: 36.9%; width: 23%; height: 24.9%;
  padding: 0; border: 0; cursor: pointer; background: #0b0f0c; overflow: hidden;
  border-radius: 12% / 16%; box-shadow: inset 0 0 18px rgb(0 0 0 / 0.9);
}
.tv__screen canvas { width: 100%; height: 100%; display: block; }
.tv__screen:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 4px; }
.music {
  margin-top: var(--sc-4); min-height: 44px; padding: 0 var(--sc-5); border-radius: var(--sc-r-pill);
  border: 1px solid var(--sc-hairline-strong); background: transparent; color: var(--sc-ink); font: inherit; font-weight: 500; cursor: pointer;
}
.music[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }

/* ---- the menu: a drink rises where you point */
.mon__hint { grid-column: 1 / -1; margin: 0 0 calc(-1 * var(--sc-3)); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.dish li[data-drink] { cursor: default; border-radius: 4px; padding: 2px 6px; margin: 0 -6px; transition: background-color var(--sc-d-fast) var(--sc-ease-out); }
.dish li[data-drink]:hover, .dish li[data-drink]:focus-visible, .dish li[data-drink].is-on { background: rgb(201 48 42 / 0.16); outline: none; }
.dish li[data-drink].is-on span { color: #fff; }
.drinkcard {
  position: fixed; left: 0; top: 0; z-index: 70; width: clamp(13rem, 19vw, 18rem); aspect-ratio: 1;
  pointer-events: none; opacity: 0; border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.06);
  transition: opacity 220ms var(--sc-ease-out); will-change: transform, opacity;
}
.drinkcard.is-on { opacity: 1; }
.drinkcard img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .den__marker { top: 207vh; }
  .room__copy { right: var(--sc-gutter); top: auto; bottom: 30vh; }
  .room__copy h2 { font-size: var(--sc-t-2xl); }
  .room__lamps { display: none; }
  .room__fg { width: 160vw; bottom: -10vh; }
  .goc__row { grid-template-columns: 1fr 1fr; }
  .drinkcard { left: 50%; top: auto; bottom: 16px; width: min(70vw, 18rem); translate: -50% 0; transform: none !important; }
  .dish li[data-drink] { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .room__lamps img { transform: none !important; }
}
/* local scrim under the room copy: only where the text sits */
.room__copy::before { content: ""; position: absolute; inset: -18% -30% -18% -40%; z-index: -1; background: radial-gradient(closest-side, rgb(14 9 6 / 0.82), rgb(14 9 6 / 0.55) 60%, transparent); pointer-events: none; }
.room__copy em { color: var(--sc-ink); }

/* ================================================================ ROUND 3 · GRAND HERO */
.folio__cta { white-space: nowrap; padding: var(--sc-3) var(--sc-3); font-size: 0.85rem; }
.den { background: #070b22; }
.den__plane--sky { inset: 0; }
.den__plane--sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.den__halo {
  position: absolute; left: 50%; top: 58%; width: 120vh; height: 120vh; translate: -50% -50%; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 170 90 / 0.38), rgb(220 90 50 / 0.16) 45%, transparent 72%);
  mix-blend-mode: screen;
}
.den__title-wrap { position: absolute; left: 0; right: 0; top: 4vh; z-index: 1; text-align: center; pointer-events: none; }
.den__kicker { margin: 0 0 var(--sc-2); font-size: var(--sc-t-xs); letter-spacing: 0.42em; text-transform: uppercase; color: rgb(243 233 218 / 0.82); }
.den__title {
  position: static; margin: 0; white-space: nowrap;
  font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(4rem, 15.5vw, 16rem); line-height: 0.9; letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 0; color: var(--sc-ink);
  text-shadow: 0 10px 60px rgb(0 0 0 / 0.35);
}
.den__title-red { color: var(--sc-accent); font-style: italic; font-weight: 400; }
/* SEO: H1 đủ nghĩa cho máy tìm kiếm + trình đọc màn hình, mắt chỉ thấy "Red Coffee" (kicker đã ghi Nhà Bè) */
.den__title > .den__title-seo { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; display: inline; transition: none; }
.den__plane--bld { z-index: 2; width: auto; height: 104vh; aspect-ratio: 1100 / 1419; left: 50%; right: auto; bottom: -14vh; translate: -50% 0; filter: brightness(0.95) saturate(1.06) drop-shadow(0 0 60px rgb(255 120 60 / 0.25)); }
.den__plane--bld img { width: 100%; height: 100%; }
.den__fog { position: absolute; left: -10%; right: -10%; bottom: -4vh; height: 34vh; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgb(12 8 8 / 0.95), rgb(40 22 30 / 0.55) 45%, transparent); }
.den__plane--fg { z-index: 4; left: -2%; right: -2%; top: 0; bottom: auto; height: 100%; }
.den__plane--fg::after { content: none; }
.den__plane--fg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.den__floor { height: 16vh; }
.den__open { position: absolute; z-index: 5; right: var(--sc-gutter); bottom: 7vh; margin: 0; font-size: var(--sc-t-sm); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink); text-shadow: 0 2px 14px rgb(0 0 0 / 0.8); }

/* opening choreography: children of the camera planes animate once on load */
.den__plane--sky img, .den__plane--bld img, .den__title > span, .den__kicker, .den__halo, .den__plane--fg img {
  transition: transform 1.8s var(--sc-ease-out), opacity 1.2s var(--sc-ease-out), clip-path 1.4s var(--sc-ease-out);
}
html:not(.is-in) .den__plane--sky img { transform: scale(1.12); }
html:not(.is-in) .den__plane--bld img { transform: translateY(7%) scale(0.97); opacity: 0; }
html:not(.is-in) .den__title > span { clip-path: inset(0 0 100% 0); transform: translateY(0.3em); }
html:not(.is-in) .den__kicker { opacity: 0; }
html:not(.is-in) .den__halo { opacity: 0; }
html:not(.is-in) .den__plane--fg img { transform: scale(1.12); opacity: 0; }
.den__title > span { display: inline-block; clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transition-delay: 0.35s; }
.den__title > span + span { transition-delay: 0.5s; }
.den__plane--bld img { transition-delay: 0.15s; }
.den__kicker { transition-delay: 0.8s; }

@media (max-width: 900px) {
  .den__title-wrap { top: 10vh; }
  .den__title { font-size: clamp(3.4rem, 19vw, 6rem); white-space: normal; }
  .den__title > span { display: block; }
  .den__open { display: none; }
  .den__fog, .den__halo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.is-in) .den__plane--sky img, html:not(.is-in) .den__plane--bld img, html:not(.is-in) .den__plane--fg img { transform: none; opacity: 1; }
  html:not(.is-in) .den__title > span { clip-path: none; transform: none; }
}

/* ================================================================ ROUND 3 · STORY SECTIONS */
.folio__hours { gap: 2px; }
.folio__hours a { padding: 3px 0; font-size: 0.8rem; }
.folio__hours li.is-acoustic a { padding-left: var(--sc-3); }
.folio__hours li.is-acoustic a span { color: #e9a19b; opacity: 1; }
.folio__clock { margin-top: var(--sc-6); }
.folio__hours { margin: var(--sc-5) 0 auto; }

/* 18:30 · chị Dung */
  font-family: "Dancing Script", cursive; font-weight: 600; font-size: 150px;
  fill: var(--sc-accent); fill-opacity: var(--sign-fill, 0); stroke: var(--sc-accent); stroke-width: 1.6;
  stroke-dasharray: 1400; stroke-dashoffset: var(--sign-dash, 1400);
}

/* 18:45 · đội ngũ */
.doingu__stage { display: flex; align-items: center; overflow: hidden; }
.doingu__rail { display: flex; gap: var(--sc-6); align-items: flex-end; padding-inline: var(--sc-gutter); will-change: transform; }
.doingu__lead { flex: 0 0 min(26rem, 80vw); align-self: center; }
.doingu__lead h2 { margin: 0 0 var(--sc-4); }
.doingu__card { flex: 0 0 auto; margin: 0; height: 66vh; }
.doingu__card img { height: 100%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; box-shadow: var(--sc-e3); }
.doingu__card--wide img { aspect-ratio: 3 / 2; }
.doingu__card figcaption { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.doingu__card { display: flex; flex-direction: column; }
.doingu__card img { flex: 1 1 auto; min-height: 0; }

/* 19:00 · kín bàn */
.dong__stage { overflow: hidden; background: #120c08; }
.dong__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dong__img[data-fill-step] { opacity: 0; }
.dong__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); bottom: clamp(3rem, 11vh, 8rem); }
.dong__copy > * { position: absolute; left: 0; bottom: 0; width: max-content; max-width: 80vw; margin: 0; text-shadow: 0 4px 30px rgb(0 0 0 / 0.7); }
.dong .sc-scrim--bottom { opacity: 0.95; }

/* 19:15 · check-in */
.checkin__stage { overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #3a1712, #1a0c09 60%, #120806); }
.checkin__copy { position: absolute; z-index: 1; left: var(--sc-gutter); top: 12vh; max-width: 30rem; }
.checkin__copy h2 { margin: 0; }
.pola {
  position: absolute; z-index: 2; margin: 0; width: clamp(11rem, 17vw, 17rem); padding: 10px 10px 0; background: #f6efe4;
  box-shadow: 0 24px 40px -18px rgb(0 0 0 / 0.75), 0 2px 6px rgb(0 0 0 / 0.3); will-change: transform, opacity; opacity: 0;
}
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pola figcaption { font-family: "Dancing Script", cursive; font-weight: 600; font-size: 1.45rem; color: #3a2a20; text-align: center; padding: 6px 0 10px; }

/* 19:45 · mùa */
.mua__stage { overflow: hidden; background: #120a08; }
.mua__img { position: absolute; inset: 0; }
.mua__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.mua__img--tet { clip-path: inset(0 0 0 var(--wipe, 100%)); }
.mua__line { position: absolute; top: 0; bottom: 0; left: var(--wipe, 100%); width: 0; z-index: 3; border-left: 1px solid rgb(255 240 220 / 0.85); box-shadow: 0 0 24px rgb(255 200 150 / 0.6); }
.mua__line span { position: absolute; top: 50%; font-size: var(--sc-t-xs); letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / 0.9); }
.mua__line span:first-child { right: 14px; }
.mua__line span:last-child { left: 14px; }
.mua__copy { position: absolute; z-index: 4; left: var(--sc-gutter); bottom: clamp(3rem, 11vh, 8rem); max-width: 26rem; }
.mua__copy::before { content: ""; position: absolute; inset: -30% -40% -30% -30%; z-index: -1; background: radial-gradient(closest-side, rgb(14 8 6 / 0.8), transparent); }
.mua__copy h2 { margin: 0 0 var(--sc-3); }
.mua__copy em, .hat__copy em { color: var(--sc-ink); }
.mua__copy .sc-body { color: var(--sc-ink); }

/* 20:15 · chị Dung hát */
.hat__stage { overflow: hidden; background: #030202; }
.hat__img { position: absolute; inset: 0; }
.hat__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: brightness(calc(0.35 + var(--spot, 0) * 0.7)) saturate(calc(0.6 + var(--spot, 0) * 0.5)); }
.hat__lights { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
.hat .sc-scrim--lead { z-index: 1; }
.hat__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 8rem); max-width: 34rem; }
.hat__copy > * { position: absolute; left: 0; bottom: 0; width: max-content; max-width: min(34rem, 82vw); margin: 0; text-shadow: 0 4px 30px rgb(0 0 0 / 0.8); }
.hat__copy .sc-lede { font-size: var(--sc-t-xl); }

/* 20:40 · khán phòng */
.khan__wide { margin: 0 0 var(--sc-8); }
.khan__wide img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; }
.khan__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--sc-5); align-items: start; }
.khan__text h2 { margin: 0 0 var(--sc-3); }
.khan__text .btn { margin-top: var(--sc-3); align-self: flex-start; }
.khan__inst { margin: 0; }
.khan__inst:nth-child(3) { margin-top: var(--sc-9); }
.khan__inst img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }

/* 21:40 · khách nói gì */

@media (max-width: 900px) {
  .doingu__card { height: 52vh; }
  .doingu__lead { flex-basis: 78vw; }
  .checkin__copy { top: 9vh; right: var(--sc-gutter); }
  .pola { width: 42vw; }
  .pola figcaption { font-size: 1.1rem; }
  .mua__copy, .hat__copy, .dong__copy { right: var(--sc-gutter); }
  .hat__copy > *, .dong__copy > * { width: auto; max-width: 100%; }
  .khan__row { grid-template-columns: 1fr 1fr 1fr; }
  .khan__text { grid-column: 1 / -1; }
  .khan__inst:nth-child(3) { margin-top: var(--sc-6); }
  .khan__wide img { aspect-ratio: 4 / 3; }
  }
/* hero tuning: foliage only frames the edges, never the title */
.den__plane--fg { left: -16%; right: -16%; }
.den__plane--fg img { filter: brightness(0.42) saturate(0.85); }
.den__plane--bld { height: 98vh; bottom: -11vh; }
@media (max-width: 900px) { .den__plane--fg { display: none; } }
.den__copy::before { content: ""; position: absolute; inset: -45% -25% -45% -25%; z-index: -1; background: radial-gradient(closest-side, rgb(8 5 5 / 0.92), rgb(8 5 5 / 0.7) 55%, transparent); pointer-events: none; }
@media (max-width: 900px) { .folio__cta { padding: var(--sc-2) var(--sc-4); } }
@media (max-width: 900px) {
  .den__floor { height: 58vh; background: linear-gradient(to top, rgb(10 6 6 / 0.97) 0%, rgb(10 6 6 / 0.8) 45%, transparent); }
  .den__copy::before { inset: -30% -10%; }
  .mua__stage::after, .hat__stage::after {
    content: ""; position: absolute; inset: auto 0 0; height: 62%; z-index: 3; pointer-events: none;
    background: linear-gradient(to top, rgb(8 5 4 / 0.95), rgb(8 5 4 / 0.7) 50%, transparent);
  }
  .hat__copy, .mua__copy { z-index: 5; }
  .checkin__copy h2 { font-size: var(--sc-t-2xl); }
}
.checkin__copy { z-index: 3; }
.checkin__copy h2 { text-shadow: 0 2px 4px rgb(20 8 6 / 0.9), 0 6px 30px rgb(20 8 6 / 0.9); }
.checkin__copy::before { content: ""; position: absolute; inset: -30% -20%; z-index: -1; background: radial-gradient(closest-side, rgb(26 11 8 / 0.9), transparent); }
.den__kicker { color: var(--sc-ink); text-shadow: 0 1px 10px rgb(0 0 0 / 0.9); }
.room__copy h2 em { text-shadow: 0 2px 16px rgb(0 0 0 / 0.9); }
/* people photos: pull back the glossy AI finish a touch */
.dong__img, .pola img, .khan__wide img, .doingu__card img { filter: saturate(0.88) contrast(0.94) brightness(0.97); }
.hat__copy::before { content: ""; position: absolute; left: -12vw; bottom: -10vh; width: 60vw; height: 70vh; z-index: -1; background: radial-gradient(closest-side, rgb(6 3 3 / 0.85), rgb(6 3 3 / 0.5) 55%, transparent); pointer-events: none; }
.doingu__card--team img { aspect-ratio: 3 / 4; object-position: 50% 62%; }

/* ================================================================ ROUND 4 */
/* menu card: two crossfading layers + the drink's name */
.drinkcard { background: #120c09; }
.drinkcard img { position: absolute; inset: 0; opacity: 0; transition: opacity 260ms var(--sc-ease-out); }
.drinkcard img.is-front { opacity: 1; }
.drinkcard__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink);
  background: linear-gradient(transparent, rgb(10 6 4 / 0.85)); line-height: 1.35;
}
/* menu intro: a rotating stack of very different drinks */
.mon__stack { position: relative; margin: var(--sc-6) 0 0; width: min(100%, 21rem); aspect-ratio: 1; }
.mon__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.9); transform-origin: 50% 110%;
  transition: transform 700ms var(--sc-ease-out), opacity 500ms var(--sc-ease-out), filter 500ms var(--sc-ease-out);
  opacity: 0; transform: rotate(-8deg) translateY(12px) scale(0.92);
}
.mon__stack img.is-prev { opacity: 0.55; transform: rotate(-7deg) translateX(-14%) scale(0.9); filter: brightness(0.6); }
.mon__stack img.is-next { opacity: 0.55; transform: rotate(7deg) translateX(14%) scale(0.9); filter: brightness(0.6); }
.mon__stack img.is-on { opacity: 1; transform: none; z-index: 2; filter: none; }
.mon__stack-name { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; font-family: var(--sc-font-display); font-style: italic; font-size: var(--sc-t-lg); color: var(--sc-ink); }
.mon__intro { padding-bottom: var(--sc-7); }
.mon__drinks img { aspect-ratio: 21 / 9; object-position: 50% 60%; }
/* a colour cue per drink family, so the menu reads as more than coffee */
.dish h3 { display: flex; align-items: center; gap: 10px; }
.dish h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, #6b3a1e); box-shadow: 0 0 12px var(--dot, #6b3a1e); }
.dish:nth-of-type(1) h3 { --dot: #6b3a1e; }
.dish:nth-of-type(2) h3 { --dot: #3b2412; }
.dish:nth-of-type(3) h3 { --dot: #8fbf5a; }
.dish:nth-of-type(4) h3 { --dot: #e8673c; }
.dish:nth-of-type(5) h3 { --dot: #d9b48a; }
.dish:nth-of-type(6) h3 { --dot: #e8507a; }
@media (max-width: 900px) { .mon__stack { margin-inline: auto; width: min(78vw, 20rem); } }
/* reviews: a reel of real quotes moved by scroll */
.khach__stage { overflow: hidden; background: radial-gradient(90% 70% at 70% 40%, #2a120d, #0a0706 70%); }
.khach__head { position: absolute; z-index: 3; left: var(--sc-gutter); top: 10vh; }
.khach__kicker { margin: 0 0 var(--sc-3); font-size: var(--sc-t-xs); letter-spacing: 0.3em; text-transform: uppercase; color: var(--sc-ink); }
.khach__score { display: flex; align-items: center; gap: var(--sc-3); color: var(--sc-ink); font-size: var(--sc-t-sm); }
.khach__stars { width: 120px; height: 22px; color: #e8b85c; }
.khach__reel { position: absolute; inset: 0; z-index: 2; }
.khach__q { position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); top: 50%; margin: 0; will-change: transform, opacity; }
.khach__q p {
  margin: 0; max-width: 18ch; font-family: var(--sc-font-display); font-style: italic; font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--sc-ink);
}
.khach__q:nth-child(2) p { margin-left: auto; text-align: right; }
.khach__marquee { position: absolute; z-index: 3; left: 0; right: 0; bottom: 13vh; overflow: hidden; border-block: 1px solid var(--sc-hairline); padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.khach__track { display: flex; width: max-content; animation: khach-marquee 38s linear infinite; }
.khach__track span { white-space: nowrap; padding-right: 0.6em; font-size: var(--sc-t-sm); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-ink-soft); }
@keyframes khach-marquee { to { transform: translateX(-50%); } }
.khach__link { position: absolute; z-index: 3; right: var(--sc-gutter); bottom: 5vh; color: var(--sc-ink); font-size: var(--sc-t-sm); text-decoration: none; border-bottom: 1px solid rgb(243 233 218 / 0.4); padding-bottom: 2px; }
.khach__link:hover { border-color: var(--sc-ink); }
@media (max-width: 900px) {
  .khach__head { top: 9vh; right: var(--sc-gutter); }
  .khach__q p { font-size: clamp(2rem, 9vw, 3rem); }
  .khach__link { left: var(--sc-gutter); right: auto; }
}
@media (prefers-reduced-motion: reduce) { .khach__track { animation: none; } }
.khach__q:nth-child(3) p { margin-left: 10%; }
@media (max-width: 900px) { .khach__q:nth-child(3) p { margin-left: 0; } }
/* closing actions: one refined primary, quiet text links */
.ghe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-5) var(--sc-6); }
.cta-main {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 22px 0 26px;
  border-radius: 2px; text-decoration: none; color: #fff7ee; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #d23a31, #a8211b); border: 1px solid rgb(255 200 180 / 0.35);
  box-shadow: 0 18px 40px -18px rgb(201 48 42 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.18);
  transition: transform var(--sc-d-base) var(--sc-ease-out), box-shadow var(--sc-d-base) var(--sc-ease-out);
}
.cta-main svg { width: 20px; height: 20px; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.cta-main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.22), transparent); transform: skewX(-18deg); transition: left 700ms var(--sc-ease-out); }
.cta-main:hover { transform: translateY(-1px); box-shadow: 0 22px 48px -18px rgb(201 48 42 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.cta-main:hover svg { transform: translateX(4px); }
.cta-main:hover::after { left: 120%; }
.cta-links { display: flex; gap: var(--sc-6); }
.cta-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sc-ink); text-decoration: none; font-size: 0.95rem; }
.cta-link svg { width: 18px; height: 18px; opacity: 0.85; }
.cta-link span { border-bottom: 1px solid rgb(243 233 218 / 0.35); padding-bottom: 2px; transition: border-color var(--sc-d-base) var(--sc-ease-out); }
.cta-link:hover span { border-color: var(--sc-ink); }
.ghe__info { display: flex; flex-wrap: wrap; margin: var(--sc-6) 0 0; padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); }
.ghe__info div { padding-right: var(--sc-5); margin-right: var(--sc-5); border-right: 1px solid var(--sc-hairline); }
.ghe__info div:last-child { border-right: 0; }
.ghe__info dt { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sc-ink-soft); }
.ghe__info dd { margin: 4px 0 0; font-size: var(--sc-t-sm); color: var(--sc-ink); }
@media (max-width: 900px) {
  .ghe__actions { gap: var(--sc-3); }
  .cta-main { width: 100%; justify-content: space-between; }
  .cta-links { width: 100%; justify-content: space-between; gap: var(--sc-3); }
  .ghe__info { gap: var(--sc-3); }
  .ghe__info div { border-right: 0; margin-right: 0; padding-right: var(--sc-3); }
  .ghe__inner { bottom: 6.75rem; }
  .foot { gap: 2px; }
  .foot > span:first-child { display: none; }   /* tagline: chỗ chật, nhường cho dòng AI + credit */
}
.mon__drinks img { aspect-ratio: 1600 / 550; }
@media (prefers-reduced-motion: reduce) { .den__copy::before { background: radial-gradient(closest-side, rgb(8 5 5 / 0.95), rgb(8 5 5 / 0.75) 65%, transparent); } }
/* round 5: longer, more literary copy needs wider measure and firmer grounds */
.mua__copy { max-width: 40rem; }
.mua__copy h2 { font-size: var(--sc-t-2xl); }
.mua__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgb(10 5 4 / 0.92), rgb(10 5 4 / 0.55) 50%, transparent); }
.mua__copy { z-index: 5; }
.dong__copy > * { max-width: min(60rem, 80vw); white-space: normal; }
@media (max-width: 900px) { .den__copy { max-width: none; } }
/* touch screens of any width: the drink card is a bottom sheet, not a cursor follower */
@media (hover: none), (pointer: coarse) {
  .drinkcard { left: 50%; top: auto; bottom: 16px; width: min(70vw, 18rem); translate: -50% 0; transform: none !important; }
}
@media (max-width: 900px) {
  .den__kicker { display: none; }
  .checkin__copy { top: 8vh; }
}
@media (max-width: 900px) { .checkin__copy { top: calc(64px + 4vh); } }
