.home-header, .taste-cover {
  --cover-width: min(92%, 1440px);
  background: var(--paper);
  color: var(--ink);
}
.site-header.home-header { display: block; max-width: none; min-height: 0; padding: 0; background: #fff; }
.home-masthead {
  width: var(--cover-width);
  min-height: 126px;
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  border: 0;
  background: #fff;
}
.home-masthead .brand { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 10px; white-space: nowrap; letter-spacing: normal; }
.home-masthead .brand > .brand-lockup { display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: inherit; }
.brand-eyebrow { color: #777078; font: 600 9px/1.2 "Manrope", var(--sans); letter-spacing: .08em; }
.brand-title { display: flex; align-items: baseline; gap: clamp(12px, 1.4vw, 20px); }
.brand-name { font: 700 clamp(29px, 2.7vw, 38px)/1.12 "Manrope", var(--sans); letter-spacing: -.055em; }
.brand-local { font: 600 clamp(22px, 2.2vw, 32px)/1.2 var(--sans); letter-spacing: -.065em; }
.brand-local[hidden] { display: none; }
.brand-letter { display: inline-block; transform-origin: 50% 85%; }
.brand-name > .brand-dot { color: #9a75b5; }
.footer-wordmark { font: 700 25px/1.2 "Manrope", var(--sans); letter-spacing: -.055em; }
.brand-caption { color: #817a81; font: 500 9px/1.5 "Manrope", var(--sans); letter-spacing: .045em; }
.home-masthead nav { display: flex; align-items: center; gap: 10px; font: 600 15px/1.5 "Manrope", var(--sans); }
.home-masthead nav > a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; color: var(--ink); }
.home-masthead nav > a:is(:hover, :focus-visible) { background: #fff9; border-color: transparent; box-shadow: 0 0 0 4px #d6c3ee1f, 0 5px 24px #a87cce38; }
.home-masthead .brand:is(:hover, :focus-visible) :is(.brand-name, .brand-local) { color: #3f304b; text-shadow: 0 0 10px #b98bda66, 0 0 28px #b98bda55; }
.home-masthead nav > .my-note-link { gap: 7px; padding: 10px 21px; border: 1px solid transparent; border-radius: 999px; background: #e8dff0; color: #423348; font-weight: 700; }
.home-masthead nav > .my-note-link:is(:hover, :focus-visible) { background: #f4eafa; border-color: transparent; box-shadow: 0 0 0 4px #dbc2f22e, 0 6px 28px #b17cd34a; color: #423348; }
.home-masthead #saved-count { color: #685276; font-size: 11px; }
.home-language { position: relative; display: flex; align-items: center; border-radius: 999px; background: #ffffff70; }
.home-language::after { content: ""; position: absolute; right: 14px; top: 18px; width: 6px; height: 6px; border-right: 1.4px solid #746a78; border-bottom: 1.4px solid #746a78; transform: rotate(45deg); pointer-events: none; }
.home-language:is(:hover, :focus-within) { box-shadow: 0 0 0 4px #d6c3ee1f, 0 5px 24px #a87cce38; }
.home-language-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-language select { appearance: none; min-height: 44px; width: 98px; padding: 6px 30px 6px 16px; border: 0; border-radius: 999px; color: var(--ink); background: transparent; font: 500 12px var(--sans); cursor: pointer; }
.taste-cover { padding-bottom: 0; }
.taste-cover-inner { width: var(--cover-width); margin-inline: auto; padding-top: clamp(16px, 2vw, 30px); }
.cover-copy { position: absolute; z-index: 2; left: clamp(24px, 4vw, 62px); bottom: clamp(28px, 4vw, 60px); color: #fff; text-shadow: 0 2px 20px #0005; }
.cover-kicker { margin-bottom: 17px; color: #ffffffc9; font: 500 10px/1.5 var(--sans); letter-spacing: .18em; }
.cover-copy h1 { font: 600 clamp(38px, 5vw, 76px)/1.26 var(--serif); letter-spacing: -.055em; font-feature-settings: "palt"; }
.cover-title-lead, .cover-title-main { display: block; width: fit-content; }
.cover-title-lead { white-space: nowrap; }
.cover-title-main { font-size: 1.45em; line-height: 1.3; }
.cover-glyph { display: inline-block; overflow: clip; vertical-align: top; padding: .18em .14em; margin: -.18em -.14em; }
.cover-letter { display: inline-block; transform-origin: 50% 85%; white-space: pre; }
.cover-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0 6px; }
.cover-intro p { max-width: 43em; color: var(--muted); font-size: 13px; line-height: 2; }
.cover-start { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; width: 270px; min-height: 52px; padding: 12px 18px; background: var(--green); color: white; border: 1px solid var(--green); border-radius: 4px; font: 600 13px/1.6 var(--sans); }
.cover-start > [aria-hidden] { font-size: 22px; line-height: 1; }
.cover-start:hover { background: #17151c; border-color: #17151c; }
.cover-visual { margin: 0; }
.cover-stage { position: relative; aspect-ratio: 1672/941; overflow: hidden; isolation: isolate; border-radius: 10px; background: #242126; }
.cover-mask-defs { position: absolute; pointer-events: none; }
.cover-photo-window { position: absolute; inset: 0; overflow: hidden; }
.cover-photo { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); transform-origin: 50% 38%; }
.cover-shade { position: absolute; inset: 0; background: rgb(8 6 13 / .28); pointer-events: none; }
.cover-motion-pending .cover-photo-window, .cover-stage.is-revealing .cover-photo-window { clip-path: url("#cover-bubble-clip"); }
.cover-motion-pending .cover-copy { opacity: 0; }
.cover-stage.is-revealing .cover-copy { opacity: var(--cover-copy-opacity, 0); }
.cover-visual figcaption { display: flex; align-items: center; min-height: 28px; color: var(--muted); font: 500 9px/1.5 var(--sans); letter-spacing: .11em; }
.cover-visual figcaption > span { min-width: 0; }
.cover-shortcuts { width: var(--cover-width); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px auto 0; border-block: 1px solid var(--line); }
.scene-entry { width: min(92%, 1300px); margin: 32px auto 0; padding: clamp(22px, 3vw, 36px); background: #f0edf5; border-radius: 16px; color: var(--ink); }
.scene-entry-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.scene-entry-kicker { margin-bottom: 9px; color: #766c80; font: 600 10px/1.4 "Manrope", var(--sans); letter-spacing: .15em; }
.scene-entry-heading h2 { font: 600 clamp(23px, 2.4vw, 32px)/1.5 var(--serif); letter-spacing: -.035em; }
.scene-entry-switcher { position: relative; display: flex; gap: 4px; flex-shrink: 0; padding: 4px; background: #e6e0ee; border-radius: 999px; }
.scene-entry-switcher::before { content: ""; position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: var(--scene-tab-width, 0px); transform: translateX(var(--scene-tab-x, 0px)); border-radius: 999px; background: #fff; }
.scene-entry-switcher[hidden] { display: none; }
.scene-entry-switcher button { position: relative; min-height: 44px; padding: 8px 19px; border: 0; border-radius: 999px; background: transparent; color: #756a7d; font: 500 14px/1.5 var(--sans); cursor: pointer; }
.scene-entry-switcher button[aria-pressed="true"] { color: var(--ink); }
.scene-entry-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; }
.scene-entry-viewport::-webkit-scrollbar { display: none; }
.scene-entry-viewport[hidden] { display: none; }
.scene-entry-rail { display: flex; align-items: stretch; }
.scene-entry-panel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.scene-entry-door { display: grid; grid-template-columns: 184px minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 2.5vw, 36px); height: 100%; padding: 18px; border-radius: 10px; background: #fcfbfd; color: var(--ink); text-decoration: none; }
.scene-entry-photo { aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.scene-entry-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-entry-copy { min-width: 0; }
.scene-entry-meta { margin-bottom: 10px; color: #7b7081; font: 600 11px/1.5 "Manrope", var(--sans); letter-spacing: .055em; }
.scene-entry-copy h3 { font: 600 clamp(20px, 2vw, 27px)/1.65 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; word-break: auto-phrase; text-wrap: pretty; }
.scene-entry-note { margin-top: 10px; color: #817686; font: 400 13px/1.8 var(--sans); }
.scene-entry-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 192px; min-height: 58px; padding: 8px 10px 8px 24px; border-radius: 999px; background: #332d3c; color: #fff; font: 500 14px/1.5 var(--sans); white-space: nowrap; }
.scene-entry-cta-window { display: block; position: relative; overflow: hidden; }
.scene-entry-cta-window > span { display: block; }
.scene-entry-cta-window > span + span { position: absolute; top: 100%; left: 0; width: 100%; }
.scene-entry-play { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #ede7f3; }
.scene-entry-play::after { content: ""; width: 0; height: 0; margin-left: 3px; border-block: 4px solid transparent; border-left: 6px solid #493a57; }
.scene-entry-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; font: 400 12px/1.5 var(--sans); color: #817686; }
.scene-entry-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; max-width: 100%; }
/* Collection doorway: light frame, gallery icon and unboxed count. */
.scene-entry-all { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px; border: 1px solid #cbbcd6; border-radius: 8px; background: #fff; color: #493950; text-decoration: none; font: 500 14px/1.5 var(--sans); transition: background-color 180ms ease, border-color 180ms ease; }
.scene-entry-all-icon { width: 20px; height: 20px; flex: 0 0 auto; color: #846395; }
.scene-entry-all-label { min-width: 0; overflow-wrap: anywhere; }
.scene-entry-all-count { flex: 0 0 auto; color: #846c92; font: 600 16px/1.5 "Manrope", var(--sans); font-variant-numeric: tabular-nums; }
.scene-entry-all-arrow { width: 18px; height: 18px; flex: 0 0 auto; margin-left: 4px; color: #80608f; transition: transform 180ms ease; }
@media (hover: hover) and (pointer: fine) { .scene-entry-all:hover { background: #f5f0f8; border-color: #a88ab9; } .scene-entry-all:hover .scene-entry-all-arrow { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .scene-entry-all, .scene-entry-all-arrow { transition: none; } }
.scene-entry-status { font-family: "Manrope", var(--sans); font-variant-numeric: tabular-nums; }
.scene-entry-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #665471; text-decoration: underline; text-underline-offset: 5px; }
.home-header :focus-visible, .taste-cover :focus-visible, .scene-entry :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.scene-entry-door:focus-visible { outline-offset: -3px; }
html:lang(ko) .scene-entry :is(h2, h3) { word-break: keep-all; }
html:lang(ko) .cover-copy h1 { letter-spacing: -.055em; word-break: keep-all; }
html:lang(zh) .cover-copy h1 { letter-spacing: -.025em; }
@media (prefers-reduced-motion: no-preference) {
  .scene-entry-switcher::before { transition: transform 350ms cubic-bezier(.22, 1, .36, 1), width 350ms cubic-bezier(.22, 1, .36, 1); }
  .scene-entry-photo img, .scene-entry-cta, .scene-entry-cta-window > span, .scene-entry-play { transition: transform 350ms cubic-bezier(.22, 1, .36, 1), background-color 250ms ease, color 250ms ease; }
  .scene-entry-door:is(:hover, :focus-visible) .scene-entry-cta-window > span { transform: translateY(-100%); }
  .scene-entry-door:is(:hover, :focus-visible) .scene-entry-cta { background: #e4d9ee; color: #332d3c; }
  .scene-entry-door:is(:hover, :focus-visible) .scene-entry-play { background: #fff; transform: translateX(2px); }
  .cover-stage.is-open .cover-photo { animation: cover-drift 18s cubic-bezier(.35, .1, .65, .9) infinite alternate; }
  .cover-stage.is-paused .cover-photo { animation-play-state: paused; }
  @keyframes cover-drift {
    from { transform: translate3d(0, 0, 0) scale(1.025); }
    to { transform: translate3d(var(--cover-drift-x, -1.2%), -.4%, 0) scale(var(--cover-zoom-end, 1.115)); }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-masthead nav > a, .home-language { transition: background-color 200ms ease, box-shadow 220ms ease, transform 200ms ease; }
  .home-masthead :is(.brand-name, .brand-local) { transition: color 220ms ease, text-shadow 220ms ease; }
  .home-masthead nav > a:hover { transform: translateY(-2px); }
  .home-masthead nav > .my-note-link:hover { transform: translateY(-2px); }
  .cover-start { transition: background-color 180ms ease, transform 180ms ease; }
  .cover-start:hover { transform: translateY(-2px) scale(1.015); }
}
@media (max-width: 1050px) {
  .home-masthead { gap: 16px; }
  .home-masthead nav { gap: 3px; font-size: 14px; }
  .home-masthead nav > a { padding-inline: 13px; }
  .cover-copy h1 { font-size: clamp(30px, 4.8vw, 60px); }
}
@media (max-width: 740px) {
  .home-header, .taste-cover { --cover-width: calc(100% - 32px); }
  .home-masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding: 18px 0 12px; }
  .home-masthead .brand > .brand-lockup { gap: 5px; }
  .brand-eyebrow { font-size: 8px; }
  .brand-title { gap: 8px; }
  .brand-name { font-size: clamp(23px, 7vw, 29px); }
  .brand-local { font-size: clamp(19px, 6vw, 24px); }
  .brand-caption { font-size: 8px; }
  .home-masthead nav { grid-column: 1/-1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 5px; margin-top: 16px; padding-top: 12px; border: 0; font-size: 14px; }
  .home-masthead nav > a { display: inline-flex; }
  .home-masthead nav > .my-note-link { gap: 5px; padding-inline: 12px; min-height: 44px; }
  .home-language select { width: 82px; padding-left: 12px; padding-right: 24px; font-size: 11px; }
  .home-language::after { right: 12px; }
  .taste-cover-inner { padding-top: 16px; }
  .cover-stage { border-radius: 7px; --cover-zoom-end: 1.09; --cover-drift-x: -.65%; }
  .cover-copy { left: clamp(14px, 4vw, 26px); bottom: clamp(12px, 3.8vw, 26px); }
  .cover-kicker { display: none; }
  .cover-copy h1 { font-size: clamp(17px, 4.8vw, 32px); line-height: 1.35; }
  .cover-title-main { font-size: 1.7em; line-height: 1.28; }
  .cover-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 12px 0 0; }
  .cover-intro p { max-width: 35em; font-size: 12px; line-height: 1.95; }
  .cover-start { margin: 0; width: fit-content; min-width: min(100%, 240px); min-height: 48px; font-size: 12px; }
  .cover-visual figcaption { gap: 6px; font-size: 8px; letter-spacing: .055em; }
  .cover-shortcuts { margin-top: 20px; }
  .scene-entry { width: calc(100% - 32px); margin-top: 24px; padding: 22px 18px 10px; border-radius: 12px; }
  .scene-entry-heading { display: block; margin-bottom: 18px; }
  .scene-entry-heading h2 { font-size: clamp(21px, 5.6vw, 28px); }
  .scene-entry-switcher { width: fit-content; max-width: 100%; margin-top: 16px; }
  .scene-entry-switcher button { padding-inline: 18px; font-size: 13px; }
  .scene-entry-door { grid-template-columns: 94px minmax(0, 1fr); gap: 18px 16px; align-items: start; padding: 14px; }
  .scene-entry-photo { aspect-ratio: 1; }
  .scene-entry-meta { margin-bottom: 6px; font-size: 10px; letter-spacing: 0; }
  .scene-entry-copy h3 { font-size: clamp(17px, 4.8vw, 22px); line-height: 1.65; }
  .scene-entry-note { display: none; }
  .scene-entry-cta { grid-column: 1/-1; min-height: 54px; min-width: 0; width: 100%; padding-left: 22px; font-size: 14px; }
  .scene-entry-footer { font-size: 11px; gap: 8px; }
}
@media (min-width: 741px) and (max-width: 1050px) {
  .scene-entry-door { grid-template-columns: 140px minmax(0, 1fr); gap: 14px 22px; }
  .scene-entry-cta { grid-column: 2; width: fit-content; }
  .scene-entry-photo { grid-row: 1/3; align-self: center; }
}

/* Keep the complete Vietnamese autonym visible beside the chevron. */
@media(max-width:700px){html:lang(vi) .home-language select{width:100px;padding-left:10px}}

/* Shared guide entry remains readable alongside Map, Food and My note. */
.home-masthead nav>.atlas-nav-link[aria-current=page]{color:#654779;background:#f2ecf7}

/* Short native-language menu labels keep four primary destinations on mobile. */
@media(max-width:760px){.home-masthead nav{grid-template-columns:.9fr .9fr 1.15fr 1.85fr}.home-masthead nav>a{min-width:0;white-space:normal;text-align:center;line-height:1.45;padding-inline:4px;hyphens:auto;overflow-wrap:anywhere}.home-masthead nav>.my-note-link{padding-inline:4px}.home-masthead nav>.my-note-link>span:first-child{min-width:0}}
/* One collapsed credits disclosure instead of repeated page and footer lists. */
footer{flex-wrap:wrap;row-gap:12px}.site-credits{max-width:100%;font-size:12px;line-height:1.8;text-align:start}.site-credits>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;white-space:nowrap}.site-credits[open]{flex-basis:100%;width:100%}.site-credits-content{padding:10px 0 6px;max-width:1100px;overflow-wrap:anywhere}.site-credits-content p{font-size:12px;line-height:1.9;margin:8px 0}.site-credits-content .site-credits-note{color:var(--muted)}
