:root {
  --glass-ink: #153648;
  --glass-accent: #074e76;
  --glass-edge: #ffffffdb;
  --glass-solid: #f7fcff;
  --glass-tint:
    radial-gradient(ellipse at 16% 0%, #ffffffb3, #ffffff00 57%),
    linear-gradient(155deg, #ffffff4d 0%, #ffffff05 48%, #b5dcf32e 100%);
  --glass-highlight: inset 0 1px 1px #fff, inset 1px 0 1px #ffffff9c, inset -1px -1px 1px #9eddf98c;
  --glass-glint: conic-gradient(from 220deg, #9ff3e200, #b8d6fcf2 15%, #ffffffe6 24%, #ffd1eea4 32%, #ffffff00 49%, #d7f8ffa8 69%, #d4fbf3e8 79%, #c3b3e55e 89%, #9ff3e200);
  --glass-liquid:
    radial-gradient(ellipse 34% 92% at 91% 15%, #ffffff00 51%, #ffffffc4 54%, #9beeee95 57%, #91aff12d 67%, #ffffff00 76%),
    radial-gradient(ellipse 72% 76% at 15% 115%, #6eb2e22e 53%, #a9f0ed87 55%, #fffffff0 58%, #98dffc5e 61%, #ffffff00 66%),
    radial-gradient(ellipse 65% 91% at 109% 104%, #a8d7f584 36%, #d4e7ff 48%, #cfb7ee70 55%, #fff9 60%, #ffffff00 68%),
    radial-gradient(ellipse at 30% -12%, #fffefa, #e7f8f41e 64%),
    linear-gradient(130deg, #d3eafa, #e8f7f8 44%, #badcf4 80%, #d9e9ff);
  --glass-shadow: 0 0 0 1px #46739121, 0 3px 8px #2b567b17, 0 15px 29px -9px #2b567b3b, var(--glass-highlight);
  --glass-control:
    linear-gradient(150deg, #ffffffeb 0%, #effaff6b 45%, #a5d9f77d 100%),
    #ecf8ff5c;
  --glass-panel:
    radial-gradient(ellipse at 0% 0%, #ffffff85, #ffffff00 66%),
    linear-gradient(145deg, #fbfdff94 0%, #f5fbff36 51%, #b8dff633 100%);
  --glass-panel-line: #d3e7f5;
  --glass-rail: #f0f9fcc4;
  --glass-radius: clamp(18px, 2.55vw, 32px);
  --glass-paper: #f2f9ff;
  --glass-blue: #086fae;
  --glass-action:
    radial-gradient(ellipse at 12% 0%, #ffffffe0, #ffffff00 72%),
    linear-gradient(155deg, #f5fdff36 14%, #aee3fd50 77%, #b5dbf750);
  --glass-action-hover:
    radial-gradient(ellipse at 12% 0%, #ffffffe8, #ffffff00 73%),
    linear-gradient(155deg, #eaf9ff70 14%, #90d5ff78 77%, #b2cfed63);
}

body {
  background: var(--glass-liquid);
  background-attachment: fixed;
  background-color: var(--glass-paper);
}

.site-header {
  top: 10px;
  width: min(1352px, calc(100% - 40px));
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 34px;
}

.site-header::after {
  height: 2px;
  background: var(--glass-accent);
}

.site-header,
.mobile-bottom,
.mobile-menu:not([hidden]),
.btn-passport,
.hero-actions .btn-glass,
.map-pin,
.gallery-card button,
.point-card,
.journey-editorial,
.utility-dialog {
  background: var(--glass-tint), var(--glass-solid);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

.site-header .nav-wrap {
  width: calc(100% - 36px);
  height: 64px;
}

.desktop-nav {
  gap: 4px;
  padding: 4px;
  border: 1px solid #fff9;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8eff765, #f5fcff2e);
  box-shadow: inset 0 1px 5px #26618915, 0 1px 0 #fffd;
}

.desktop-nav a {
  padding: 8px 13px;
  border-radius: 999px;
}

.desktop-nav a:hover {
  color: var(--glass-accent);
  background: #fffc;
}

.desktop-nav a::after {
  display: none;
}

.site-header .brand-symbol {
  background: var(--glass-control);
  color: #105d84;
  box-shadow: 0 3px 12px #3681b12f, var(--glass-highlight);
}

.btn,
.filter,
.passport-count {
  border-radius: 999px;
}

.btn-passport {
  color: var(--glass-accent);
  border-color: #fff;
}

.passport-count {
  background: #d6edfc;
  color: #124958;
}

.hero-shade {
  background: var(--glass-liquid);
}

.hero .hero-content {
  align-self: center;
  padding: clamp(22px, 3.2vw, 46px);
  border: 1px solid var(--glass-edge);
  border-radius: clamp(23px, 3.5vw, 45px);
  background: var(--glass-panel), #f5fbff83;
  box-shadow: 0 0 0 1px #376d951c, 0 20px 48px -13px #396e9854, var(--glass-highlight);
}

.hero h1 > span { color: #12628b; }
.hero-eyebrow { color: #315975; }

.hero .hero-desc { color: #234859; }


.hero .cover-frame {
  border-top-color: #fff;
  border-inline-end-color: #f4fbff;
}

.cover-frame {
  border: 1px solid var(--glass-edge);
  box-shadow: 0 16px 42px #2762822a, -6px 5px 0 #fff9, -12px 9px 0 #d2edfbab;
}

.cover-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 2px 3px #fff9, inset 0 -1px 0 #fbffff98;
}

.cover-postcard {
  background: var(--glass-tint), #e4f3fce0;
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

@media (width > 750px) {
  .cover-postcard {
    left: 50%;
    bottom: max(12%, 78px);
  }
}

.cover-frame figcaption {
  background: var(--glass-tint), #eff9ff;
}

.hero-actions .btn-gold,
.hero-actions .btn-gold:hover {
  background: var(--glass-control);
  border-color: #f5fdff;
  color: #103b61;
  box-shadow: 0 1px 2px #207bb542, 0 9px 23px #438ab138, var(--glass-highlight);
}

.hero-actions .btn-gold:hover {
  background: var(--glass-action-hover);
}

.hero-actions .btn-glass {
  color: var(--glass-accent);
  border-color: #fff;
}

.hero-actions .btn-glass:hover {
  border-color: #c2e7ff;
  background: var(--glass-action-hover);
}

.map-section {
  background:
    radial-gradient(ellipse at 9% 5%, #dff5ff, #dff5ff00 56%),
    radial-gradient(ellipse at 95% 92%, #ddedff, #ddedff00 60%),
    linear-gradient(155deg, #fcfeff, #edf8ff 68%, #f6fbff);
}

.map-canvas,
.journey-editorial,
.point-card,
.gallery-card button,
.passport-banner {
  border-radius: var(--curve-card);
}

.map-canvas {
  border-color: var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

.map-pin {
  color: var(--glass-ink);
  border-radius: 20px;
}

.map-pin:hover,
.map-pin.active {
  color: var(--glass-ink);
  background: #fff;
  border-color: #81bddf;
  box-shadow: var(--glass-shadow);
}

.map-pin .stop-copy em {
  color: #385b65;
}

.map-pin .stop-category {
  color: #3d6169 !important;
}

.stop-arrow {
  background: var(--glass-control);
  box-shadow: var(--glass-highlight);
}

.filter {
  border-color: #c6e0ef;
  background: #ffffffb8;
  color: var(--glass-ink);
}

.map-section .filter:is(.active, [aria-pressed="true"]) {
  background: var(--glass-control);
  color: #103b61;
  border-color: #83bddf;
  box-shadow: var(--glass-highlight);
}

.filter:is(.active, [aria-pressed="true"]) b {
  color: inherit;
}

.point-section {
  background:
    radial-gradient(ellipse at 12% 47%, #e0f3ff, #e0f3ff00 58%),
    radial-gradient(ellipse at 87% 69%, #dcebff, #dcebff00 52%);
}

.point-card .point-number {
  color: #104b73;
  background: var(--glass-control);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-highlight);
}

.passport-banner {
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

dialog::backdrop {
  background: #e5f5ffad;
}

.experience-head .icon-btn,
.utility-header .icon-btn,
.menu-toggle,
.to-top {
  color: var(--glass-ink);
  background: var(--glass-control);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-highlight);
}

.experience-dialog {
  --step-nav-surface: var(--glass-rail);
  --step-divider: #c8e1f1;
  border-color: var(--glass-edge);
  box-shadow: 0 22px 68px #153f6945, var(--glass-highlight);
  background:
    radial-gradient(ellipse at 98% 12%, #d3efff, transparent 44%),
    radial-gradient(ellipse at 0% 87%, #dfecff, transparent 60%),
    #f8fcff;
}

.step-tab:is(.active, [aria-selected="true"]) {
  background: var(--glass-control);
  color: #104260;
  box-shadow: var(--glass-highlight), inset 0 -2px var(--glass-blue);
}

:where(.site-header, .hero, .map-section, .point-section, .mobile-bottom)
  :is(a, button):focus-visible {
  outline-color: var(--glass-accent);
  outline-offset: 2px;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .mobile-bottom,
  .map-pin,
  .point-card,
  .journey-editorial,
  .hero-actions .btn-glass {
    background: var(--glass-tint), #f6fcff24;
    -webkit-backdrop-filter: blur(7px) saturate(122%);
    backdrop-filter: blur(7px) saturate(122%);
  }

  .site-header,
  .mobile-bottom {
    background: var(--glass-tint), #f6fcff6b;
  }

  .hero .hero-content {
    background: linear-gradient(94deg, #f8fdff78 0%, #f8fdff45 58%, #f7fdff1a 100%), var(--glass-tint);
    -webkit-backdrop-filter: blur(2px) saturate(122%);
    backdrop-filter: blur(2px) saturate(122%);
  }

  .map-pin {
    -webkit-backdrop-filter: blur(3px) saturate(115%);
    backdrop-filter: blur(3px) saturate(115%);
  }

  .map-pin:is(:hover, .active) {
    background: var(--glass-tint), #f7fcff75;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 6px;
    width: calc(100% - 16px);
    margin-top: 6px;
    border-radius: 25px;
  }

  .site-header .nav-wrap {
    width: calc(100% - 20px);
    height: 57px;
  }

  .mobile-menu:not([hidden]) {
    padding: 8px 14px 12px;
    border: 0;
    border-top: 1px solid #c7e3e7;
    box-shadow: none;
  }

  .mobile-menu a {
    padding-inline: 12px;
    border-radius: 12px;
  }

  .mobile-menu a:is(:hover, :focus-visible) {
    background: #fff;
  }

  .site-header .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 650px) {
  .mobile-bottom {
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    height: 58px;
    padding: 5px 12px;
    border-radius: 25px;
  }

  .mobile-bottom :is(a, button) {
    min-height: 44px;
    padding-inline: 8px;
    border-radius: 16px;
    color: var(--glass-accent);
  }

  .mobile-bottom .passport-count {
    right: -6px;
  }

  .to-top,
  .toast {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

/* Main sections and reading surfaces */
.story-section,
.closing {
  border-block: 1px solid var(--glass-edge);
  background: linear-gradient(145deg, #f0fbf492, #eff7ff56), var(--glass-liquid);
}

:is(.story-layout, .creation, .creative-launch, .community-section, .passport-banner, .about-section, .footer) {
  border: 1px solid var(--glass-edge);
  border-radius: var(--glass-radius);
  background: var(--glass-panel), #f6fcff24;
  box-shadow: var(--glass-shadow);
}

.story-layout,
.about-section {
  padding: clamp(18px, 3.4vw, 45px);
}

.about-section {
  margin-block: clamp(28px, 5vw, 72px);
}

.story-layout {
  gap: clamp(20px, 4vw, 55px);
}

.story-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid var(--glass-edge);
  background: var(--glass-paper);
  box-shadow: var(--glass-shadow);
}

.story-visual > img {
  position: static;
  min-height: 0;
}

.story-visual > .image-source-overlay {
  position: static;
  max-width: none;
  padding: 8px 12px 10px;
  border-radius: 0;
  pointer-events: auto;
}

.image-source-under,
.story-visual > .image-source-overlay {
  color: #38566a;
  background: linear-gradient(150deg, #fbfdff, #e7f5ff);
  border-color: #cfe4f1;
}

.image-source-under a,
.story-visual > .image-source-overlay a {
  color: var(--glass-accent);
}

.story-label {
  top: clamp(10px, 1.5vw, 21px);
  bottom: auto;
  left: clamp(10px, 1.5vw, 21px);
  color: var(--glass-ink);
  background: #f4fbffde;
  border-color: var(--glass-edge);
  border-radius: 22px;
  box-shadow: var(--glass-shadow);
}

.story-label .icon,
.closing :is(.closing-wave, h2 em) {
  color: var(--glass-accent);
}

:is(.audio-card, .passport-stamp, .creation-options button, .about-accordions details,
    .community-form, .community-entry, .creative-photo-form, .creative-photo-card,
    .cham-five-upload-card, .community-edit-dialog, .info-box,
    .station-location, .station-topics details, .cham-one-discovery-note,
    .interview-archive-card, .station-table, .discovery-video,
    .station-video > figure, .stamp-award:not(:empty), .quiz-group,
    .note-saved, .photo-ref-pair) {
  background: var(--glass-panel), #f7fcff52;
  border: 1px solid var(--glass-panel-line);
  border-radius: clamp(14px, 1.85vw, 23px);
  box-shadow: 0 5px 18px #24648d13, var(--glass-highlight);
}

.story-section .audio-card {
  margin-top: 22px;
}

:is(.audio-card, .station-video, .discovery-video) :is(.audio-play, .video-toggle) {
  border-radius: 999px;
}

.story-shortcuts a,
.audio-card .audio-play,
.about-accordions summary > span {
  background: var(--glass-control);
  color: var(--glass-accent);
  border-color: #b5d5e9;
  border-radius: 999px;
  box-shadow: var(--glass-highlight);
}

.about-accordions details {
  padding: 5px clamp(13px, 2vw, 22px) 9px;
  margin-bottom: 12px;
}

.about-accordions details p {
  color: #345a70;
  padding-right: 0;
  margin: 2px 0 12px;
}

.about-accordions summary > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
}

.passport-banner .passport-art {
  background:
    radial-gradient(ellipse at 22% 30%, #ffffffd9, transparent 55%),
    linear-gradient(140deg, #a5d8f5, #e5f4ff 54%, #a9caec);
}

.passport-art::before {
  background: #b3daef;
}

.passport-art .passport-book {
  color: #124366;
  background: var(--glass-tint), linear-gradient(150deg, #ecf9ffb5, #a8d6f49c);
  border: 1px solid #f5fcff;
  box-shadow: 7px 11px 0 #78a8cc77, 0 21px 40px #245c8a3b, var(--glass-highlight);
}

.passport-art .passport-book::after {
  border-color: #5c93bd6b;
}

.passport-stamp small,
.passport-stamp > span {
  color: #365f79;
}

.passport-stamp.done,
.passport-banner .mini-stamp.done {
  color: #0c587d;
  background: var(--glass-control);
  border-color: #83bbdf;
}

.passport-stamp.done > span {
  color: #0c587d;
  border-color: #6ea4c5;
}

.passport-art .paper-stamp,
.passport-banner .mini-stamps > * {
  border-color: #acd2e8;
  box-shadow: var(--glass-highlight);
}

.passport-banner .passport-copy {
  color: var(--glass-ink);
}

.closing .btn,
.btn-primary,
.step-content .btn-primary,
.community-form .btn-primary,
.community-touch-form .btn-primary {
  background: var(--glass-action);
  color: #0b4565;
  border-color: #f9feffce;
  box-shadow: var(--glass-shadow);
}

.closing .btn:hover,
.btn-primary:hover:not(:disabled),
.step-content .btn-primary:hover:not(:disabled),
.community-form .btn-primary:hover:not(:disabled),
.community-touch-form .btn-primary:hover:not(:disabled) {
  background: var(--glass-action-hover);
  color: #083d5b;
  border-color: #efffff;
}

.btn-outline,
.step-content .btn-outline,
.station-chapters button,
.search,
.compare-handle::after,
.quiz-option:not(.correct):not(.incorrect) {
  color: var(--glass-accent);
  background: var(--glass-tint), #f4faff3b;
  border: 1px solid #b9d9ed;
  box-shadow: var(--glass-highlight);
}

.search,
.station-chapters button {
  border-radius: 999px;
}

.station-chapters button[aria-pressed="true"],
.quiz-option:hover:not(.correct):not(.incorrect) {
  color: var(--glass-accent);
  background: var(--glass-control);
  border-color: #77b5da;
}

:is(.creation-options button, .point-card, .gallery-card button):hover {
  border-color: #8fc5e7;
  box-shadow: 0 14px 29px #2b6e9a32, var(--glass-highlight);
}

:is(.step-content, .community-section, .community-edit-dialog)
  :is(input:not([type="checkbox"]):not([type="range"]), textarea) {
  color: var(--glass-ink);
  background: linear-gradient(160deg, #f8fbff, #ffffffed);
  border-color: #afcee1;
  border-radius: 13px;
  box-shadow: inset 0 1px 4px #2e699713;
}

:is(.experience-dialog, .community-section, .community-edit-dialog) input[type="checkbox"] {
  accent-color: var(--glass-blue);
}

:is(.experience-dialog, .utility-dialog, .community-section, .about-section)
  :is(a, button, input, textarea, summary):focus-visible {
  outline-color: var(--glass-blue);
}

.utility-dialog h2,
.utility-dialog h3,
.step-content h3,
.station-body h4 {
  color: var(--glass-ink);
}

.utility-dialog :is(p, li) {
  color: #36566c;
}

.utility-dialog,
.community-edit-dialog {
  border-radius: var(--glass-radius);
}

.experience-head::after {
  background: linear-gradient(90deg, #073247db, #07324765 58%, transparent),
              linear-gradient(0deg, #0a304b9e, transparent 70%);
}

.experience-head .eyebrow {
  align-self: flex-start;
  color: #103e57;
  padding: 4px 9px;
  background: #f4fcffe3;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  box-shadow: var(--glass-highlight);
}

.step-nav :is(.step-tab > span, .step-tab:hover:not(.active)) {
  color: #254e68;
  border-color: #b4d2e8;
  background: #f6fcffe6;
}

.step-nav .step-tab.active > span {
  color: #fff;
  background: #176a9a;
  border-color: #176a9a;
}

.step-content .btn {
  border-radius: 999px;
}

.station-video > figure,
.discovery-video,
.photo-ref-pair {
  padding: clamp(6px, 1.4vw, 13px);
}

.station-video video,
.station-body > video {
  border-radius: clamp(10px, 1.65vw, 19px);
}

.station-body > video {
  display: block;
  max-width: 100%;
  height: auto;
  outline: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

.step-content .station-table th {
  background: #e7f4ff;
}

.quiz-group {
  padding: clamp(11px, 2vw, 22px);
}

.quiz-group + .quiz-group {
  margin-top: 14px;
}

.footer {
  min-width: 0;
  width: min(1344px, calc(100% - 32px));
  margin: 22px auto;
}

.footer :is(.footer-top, .footer-bottom) {
  width: calc(100% - 42px);
}

.footer :is(.footer-top > p, .footer-bottom) {
  color: #3e627a;
}

.footer-top > div {
  flex-wrap: wrap;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :is(.story-label, .utility-dialog, .community-edit-dialog) {
    -webkit-backdrop-filter: blur(7px) saturate(120%);
    backdrop-filter: blur(7px) saturate(120%);
  }

  .story-label {
    background: #f2faffb0;
  }

  @media (max-width: 800px) {
    .experience-dialog :is(.mobile-step-bar, .step-footer) {
      -webkit-backdrop-filter: blur(7px) saturate(120%);
      backdrop-filter: blur(7px) saturate(120%);
    }
  }
}

@media (max-width: 750px) {
  .hero .hero-content {
    padding: 20px 17px;
  }

  .hero .cover-frame {
    aspect-ratio: auto;
    grid-template-rows: clamp(150px, 48vw, 240px) auto;
  }

  .story-visual {
    aspect-ratio: auto;
    grid-template-rows: clamp(185px, 54vw, 340px) auto;
  }

  .experience-head::after {
    background: linear-gradient(0deg, #092a40ed, #0a344ba3 53%, transparent 90%);
  }
}

@media (max-width: 420px) {
  .hero .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  .footer {
    margin-bottom: calc(82px + env(safe-area-inset-bottom));
    padding-bottom: 0;
  }
}

/* The standalone source and survey pages share the same materials. */
:is(.glass-reference, .glass-report) {
  min-height: 100vh;
  color: var(--glass-ink);
  background:
    radial-gradient(ellipse at 0% 12%, #c4e8ff, transparent 57%),
    radial-gradient(ellipse at 100% 54%, #d5e7ff, transparent 58%),
    var(--glass-paper);
}

:is(.glass-reference, .glass-report) main {
  padding-top: clamp(24px, 5vw, 58px);
}

:is(.glass-reference, .glass-report) a {
  color: var(--glass-accent);
}

:is(.glass-reference, .glass-report) h1 {
  color: var(--glass-ink);
  letter-spacing: -.028em;
}

:is(.glass-reference #list > li, .glass-reference nav, .glass-report .card,
    .glass-report .metric, .glass-report .question, .glass-report .note) {
  background: var(--glass-panel), #f7fcff4a;
  border: 1px solid var(--glass-edge);
  border-radius: clamp(15px, 2.2vw, 24px);
  box-shadow: var(--glass-shadow);
}

.glass-reference nav {
  padding: 9px;
}

.glass-reference :is(.back, nav a),
.glass-report :is(button, select, input[type="file"]) {
  border: 1px solid #b9d7e9;
  border-radius: 999px;
  background: var(--glass-tint), #f8fcff55;
  color: var(--glass-accent);
  box-shadow: var(--glass-highlight);
}

.glass-reference .back {
  display: inline-block;
  padding: 7px 14px;
}

.glass-reference nav a[aria-current],
.glass-report button:not(.secondary):not(:disabled) {
  color: #0b4565;
  border-color: #8ec2dc;
  background: var(--glass-action);
}

.glass-reference #list > li {
  margin-bottom: 12px;
  padding-inline: clamp(9px, 2vw, 17px);
}

.glass-reference #list > li img {
  border-radius: 13px;
}

:is(.glass-reference, .glass-report) :is(a, button, select, input):focus-visible {
  outline: 2px solid var(--glass-blue);
  outline-offset: 2px;
}

@media print {
  .glass-report,
  .glass-reference,
  .glass-reference #list > li,
  .glass-report :is(.card, .metric, .question, .note) {
    background: #fff;
    box-shadow: none;
  }
}

.cover-image::after {
  z-index: 2;
  box-shadow: inset 0 2px 2px #fff9, inset 0 -2px 3px #c5f5ff70;
}

:is(.hero-content, .site-header, .mobile-bottom) {
  outline: 1px solid #fcffff80;
  outline-offset: -1px;
}

.hero .hero-content::before,
.glass-nav-indicator::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 2px;
  background: var(--glass-glint);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.desktop-nav {
  position: relative;
}

.glass-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: var(--glass-nav-width, 0px);
  height: var(--glass-nav-height, 0px);
  transform: translate3d(var(--glass-nav-x, 0px), var(--glass-nav-y, 0px), 0);
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(150deg, #ffffffb5, #e6f7fc2b 55%, #a0dbf058);
  box-shadow: inset 0 1px 5px #ffffffc9, inset 0 -2px 5px #94d4e87a, 0 3px 10px #1a597a23;
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.75,.25,1), width .28s cubic-bezier(.2,.75,.25,1), opacity .16s;
}

.glass-nav-indicator.is-visible {
  opacity: 1;
}

.desktop-nav:has(.glass-nav-indicator) a:hover {
  background: transparent;
}

:is(.desktop-nav, .mobile-bottom) > :is(a, button) {
  z-index: 1;
}

@media (max-width: 750px) {
  body { background-attachment: scroll; }

  .hero .hero-content {
    background: linear-gradient(145deg, #f7fcff85, #ffffff1a 65%, #e0f7ff24), var(--glass-tint);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-nav-indicator {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass-nav-indicator {
    display: none;
  }

  .hero .hero-content,
  .site-header,
  .mobile-bottom,
  .map-pin {
    background: var(--glass-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Keep controls clear, including native file buttons and smaller actions. */
:is(.btn, .icon-btn, .circle-btn, .filter, .step-tab, .community-edit-btn, .community-delete-btn,
    .story-shortcuts a, .audio-card .audio-play, .station-chapters button,
    .glass-report button, .glass-reference nav a):not(.community-delete-confirm) {
  text-shadow: 0 1px 1px #ffffff6b;
}

:is(.hero-actions .btn, .btn-primary, .btn-outline, .btn-passport, .icon-btn, .circle-btn,
    .filter, .step-tab.active, .audio-card .audio-play, .community-edit-btn, .community-delete-btn,
    .story-shortcuts a, .station-chapters button):not(.community-delete-confirm) {
  border-color: #f9ffffd4;
  box-shadow: var(--glass-shadow);
}

:is(.icon-btn, .circle-btn, .filter:not(.active), .community-edit-btn, .community-delete-btn,
    .station-chapters button:not([aria-pressed="true"]), .btn-passport) {
  background: var(--glass-tint), #f7fcff26;
}

:is(.step-tab.active, .audio-card .audio-play, .story-shortcuts a,
    .station-chapters button[aria-pressed="true"], .compare-handle::after) {
  background: var(--glass-action);
}

:is(.station-chapters button, .icon-btn, .circle-btn, .community-edit-btn, .community-delete-btn):hover:not(:disabled) {
  color: var(--glass-accent);
  background: var(--glass-action-hover);
}

.creation-options button {
  background: var(--glass-panel), #f7fcff18;
}

:is(.glass-report, .glass-reference) {
  background: var(--glass-liquid);
  background-attachment: fixed;
}

::file-selector-button {
  padding: .45em .8em;
  margin-inline-end: .55em;
  color: var(--glass-accent);
  border: 1px solid #e1f5ff;
  border-radius: 999px;
  background: var(--glass-action);
}

@media (forced-colors: active) {
  .glass-nav-indicator,
  .hero .hero-content::before {
    display: none;
  }
}

@media print {
  :is(.glass-report, .glass-reference) {
    background: #fff;
  }
}

/* ==========================================================================
   LIQUID GLASS 2 — kính lỏng trong suốt kiểu iOS
   Chỉnh toàn bộ hiệu ứng kính tại các biến --lg-* ngay dưới đây.
   ========================================================================== */
:root {
  --lg-blur: 18px;
  --lg-blur-panel: 26px;
  --lg-sat: 190%;
  --lg-clear: .12;          /* độ trắng ở giữa tấm kính: càng nhỏ càng trong */
  --lg-sheen: .42;          /* độ sáng của vệt sáng chạy theo con trỏ */
  --lg-edge: rgb(255 255 255 / .6);
  --lg-rim:
    inset 0 1px 0 rgb(255 255 255 / .95),
    inset 0 -1px 0 rgb(255 255 255 / .38),
    inset 1px 0 0 rgb(255 255 255 / .5),
    inset -1px 0 0 rgb(255 255 255 / .32),
    inset 0 12px 22px -16px rgb(255 255 255 / .9),
    inset 0 -12px 24px -16px rgb(120 220 255 / .55);
  --lg-drop: 0 1px 2px rgb(8 42 60 / .07), 0 14px 34px -12px rgb(8 42 60 / .3);
  --lg-spring: cubic-bezier(.34, 1.56, .64, 1);
  --lg-ambient-base: #e9f5fa;
  --lg-header-h: 86px;
}

/* --- Nền màu động phía sau để kính có thứ để "nhìn xuyên qua" --- */
body {
  background: var(--lg-ambient-base);
  background-attachment: scroll;
}

body::before {
  content: '';
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 14% 24%, rgb(52 190 210 / .5), transparent 70%),
    radial-gradient(34vmax 30vmax at 86% 16%, rgb(116 152 255 / .38), transparent 70%),
    radial-gradient(36vmax 28vmax at 74% 80%, rgb(255 196 128 / .5), transparent 70%),
    radial-gradient(34vmax 30vmax at 22% 84%, rgb(96 222 184 / .38), transparent 70%),
    radial-gradient(30vmax 24vmax at 52% 50%, rgb(255 255 255 / .55), transparent 72%);
  animation: lg-ambient 48s ease-in-out infinite alternate;
}

@keyframes lg-ambient {
  50% { transform: translate3d(3vmax, -2vmax, 0) rotate(4deg) scale(1.04); }
  100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(-3deg) scale(1.08); }
}

:is(.map-section, .point-section, .story-section, .closing) {
  background: transparent;
  border-block: 0;
}

/* --- Bề mặt kính chung --- */
:is(.site-header, .mobile-bottom, .mobile-menu:not([hidden]), .hero .hero-content,
    .btn-passport, .hero-actions .btn, .point-card, .journey-editorial, .gallery-card button,
    .story-layout, .creative-launch, .community-section, .passport-banner, .about-section, .footer,
    .filter, .search, .audio-card, .creation-options button, .about-accordions details,
    .story-label, .to-top, .menu-toggle, .map-canvas, .community-form, .community-entry,
    .story-shortcuts a, .btn-primary, .btn-outline, .closing .btn, .cover-postcard,
    .hero .cover-frame figcaption > *) {
  background:
    radial-gradient(130% 110% at var(--lg-x, 18%) var(--lg-y, -30%), rgb(255 255 255 / var(--lg-sheen)), rgb(255 255 255 / 0) 55%),
    linear-gradient(145deg, rgb(255 255 255 / calc(var(--lg-clear) + .2)), rgb(255 255 255 / var(--lg-clear)) 45%, rgb(255 255 255 / calc(var(--lg-clear) + .1)));
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) var(--lg-refract,) saturate(var(--lg-sat)) brightness(1.04);
}

/* Tấm lớn: mờ mạnh hơn để chữ luôn dễ đọc */
:is(.story-layout, .creative-launch, .community-section, .passport-banner, .about-section,
    .footer, .journey-editorial, .map-canvas, .hero .hero-content) {
  --lg-blur: var(--lg-blur-panel);
  --lg-clear: .2;
}

.map-canvas {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Viền ánh cầu vồng như kính iPhone */
:is(.site-header, .hero .hero-content, .hero-actions .btn, .btn-passport, .point-card,
    .gallery-card button)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  padding: 1.5px;
  background:
    conic-gradient(from var(--lg-angle, 210deg) at 50% 50%,
      rgb(255 255 255 / .95), rgb(160 236 255 / .25) 12%, rgb(255 255 255 / 0) 22%,
      rgb(255 214 245 / .55) 36%, rgb(255 255 255 / 0) 48%,
      rgb(255 255 255 / .9) 58%, rgb(150 255 226 / .35) 70%, rgb(255 255 255 / 0) 82%,
      rgb(190 200 255 / .5) 92%, rgb(255 255 255 / .95));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: .9;
}

:is(.hero-actions .btn, .btn-passport, .point-card) {
  position: relative;
}

.gallery-card button {
  overflow: hidden;
}

/* --- Phản hồi "chất lỏng" khi chạm và rê chuột --- */
:is(.btn, .filter, .icon-btn, .btn-passport, .story-shortcuts a, .point-card, .gallery-card button,
    .creation-options button, .audio-play, .mobile-bottom > :is(a, button)) {
  transition:
    background .3s, border-color .3s, box-shadow .35s, color .25s,
    transform .45s var(--lg-spring), scale .45s var(--lg-spring), translate .45s var(--lg-spring);
}

@media (hover: hover) {
  :is(.btn, .filter, .icon-btn, .btn-passport, .story-shortcuts a):hover:not(:disabled) {
    scale: 1.035;
  }

  :is(.point-card, .gallery-card button, .creation-options button):hover {
    scale: 1.012;
    --lg-sheen: .6;
  }
}

:is(.btn, .filter, .icon-btn, .btn-passport, .story-shortcuts a, .audio-play,
    .mobile-bottom > :is(a, button)):active:not(:disabled) {
  scale: .95;
  transition-duration: .12s;
}

:is(.point-card, .gallery-card button, .creation-options button):active {
  scale: .985;
}

/* --- Thanh trên cùng --- */
.site-header {
  --lg-clear: .28;
  --lg-blur: 14px;
  --lg-sat: 160%;
}

.site-header .desktop-nav {
  background: rgb(255 255 255 / .14);
  border-color: rgb(255 255 255 / .55);
  box-shadow: inset 0 1px 4px rgb(10 60 90 / .1), 0 1px 0 rgb(255 255 255 / .7);
}

/* --- Đầu trang: ảnh biển tràn màn hình, kính nổi lên trên --- */
.hero {
  margin-top: calc(-1 * var(--lg-header-h));
  padding:
    calc(var(--lg-header-h) + clamp(28px, 6vh, 70px))
    max(5.7vw, calc((100vw - 1320px) / 2))
    clamp(40px, 9vh, 100px);
  min-height: max(640px, 100svh);
  align-content: center;
  background: #0f5466;
  border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

.hero-shade,
.tide-lines {
  display: none;
}

.hero .cover-frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #0f5466;
}

.hero .cover-frame .cover-image {
  position: absolute;
  inset: 0;
}

.hero .cover-frame .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  filter: saturate(1.18) brightness(1.03);
}

.hero .cover-image::after {
  display: block;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgb(4 38 52 / .22), rgb(4 38 52 / 0) 26%),
    linear-gradient(0deg, rgb(4 38 52 / .28), rgb(4 38 52 / 0) 30%);
}

.hero .cover-frame figcaption {
  position: absolute;
  inset: auto clamp(14px, 3vw, 40px) clamp(16px, 3vw, 34px) auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: min(440px, 70vw);
  margin: 0;
  padding: 0;
  text-align: right;
  background: none;
  border: 0;
  box-shadow: none;
}

.hero .cover-frame figcaption > * {
  --lg-clear: .16;
  --lg-blur: 14px;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0f3c4d;
  font-size: 11px;
  line-height: 1.5;
}

.hero .cover-frame figcaption a {
  color: inherit;
}

.cover-postcard {
  --lg-clear: .2;
  left: auto;
  right: max(6vw, calc((100vw - 1320px) / 2 + 20px));
  bottom: clamp(120px, 20vh, 210px);
  z-index: -1;
  width: clamp(150px, 14vw, 220px);
  padding: 7px;
  border-radius: 20px;
  transform: rotate(5deg);
}

.cover-postcard img {
  border-radius: 14px;
}

.cover-postcard .photo-reference {
  display: block;
  margin: 6px 4px 1px;
  color: #123d4d;
  font-size: 10px;
  line-height: 1.45;
}

.hero .hero-content {
  width: min(600px, 50%);
  --lg-blur: 8px;
  --lg-sat: 150%;
  --lg-clear: .3;
  --lg-sheen: .5;
}

.hero .hero-content::before {
  padding: 2px;
}

.hero h1 > strong,
.hero .hero-desc {
  color: #0d3442;
}

.hero .hero-desc {
  font-weight: 500;
}

.hero-actions .btn {
  --lg-clear: .3;
  color: #0b3f5c;
  font-weight: 700;
}

.hero-actions .btn-gold {
  --lg-clear: .55;
  --lg-sheen: .7;
}

/* --- Thẻ, nút, ô nhập --- */
.point-card {
  --lg-clear: .16;
}

.point-card-image {
  width: 100%;
}

.filter:is(.active, [aria-pressed="true"]),
.station-chapters button[aria-pressed="true"] {
  --lg-clear: .55;
  border-color: #fff;
}

.story-label {
  --lg-clear: .26;
  background-color: transparent;
}

.mobile-menu:not([hidden]) {
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.closing .btn,
.btn-primary {
  --lg-clear: .38;
}

.btn-primary:disabled {
  --lg-clear: .08;
  opacity: .7;
}

dialog::backdrop {
  /* A steady tint avoids re-blurring the full WebGL canvas while opening. */
  background: rgb(214 236 248 / .86);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
}

/* --- Điện thoại --- */
@media (max-width: 900px) {
  :root { --lg-header-h: 69px; }
}

@media (max-width: 750px) {
  :root {
    --lg-blur-panel: 18px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    min-height: max(600px, 100svh);
    padding:
      calc(var(--lg-header-h) + 70px)
      12px
      calc(86px + env(safe-area-inset-bottom));
    border-radius: 0 0 30px 30px;
  }

  .hero .cover-frame {
    position: absolute;
    inset: 0;
    grid-row: auto;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .hero .cover-frame .hero-photo {
    object-position: 76% 40%;
  }

  .hero .cover-frame figcaption {
    inset: calc(var(--lg-header-h) + 10px) 12px auto auto;
    max-width: calc(100% - 24px);
  }

  .hero .cover-frame figcaption > * {
    font-size: 10px;
    padding: 4px 10px;
  }

  .hero .hero-content {
    width: 100%;
    grid-row: auto;
    padding: 22px 18px 18px;
    --lg-clear: .26;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 66px);
  }

  .hero .hero-desc {
    font-size: 14px;
  }

  .cover-postcard {
    display: none;
  }

  .mobile-bottom {
    --lg-clear: .34;
    --lg-blur: 20px;
    --lg-sat: 150%;
    border-radius: 28px;
  }

  .mobile-bottom::before {
    content: '';
  }
}

/* --- Người dùng tắt hiệu ứng trong suốt: dùng nền đặc, dễ đọc --- */
@media (prefers-reduced-transparency: reduce) {
  body::before { display: none; }

  :is(.site-header, .mobile-bottom, .hero .hero-content, .btn-passport, .hero-actions .btn,
      .point-card, .journey-editorial, .gallery-card button, .story-layout, .creative-launch,
      .community-section, .passport-banner, .about-section, .footer, .filter, .search,
      .audio-card, .creation-options button, .about-accordions details, .story-label,
      .to-top, .menu-toggle, .community-form, .community-entry, .story-shortcuts a,
      .btn-primary, .btn-outline, .closing .btn, .cover-postcard,
      .hero .cover-frame figcaption > *) {
    background: var(--glass-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* ==========================================================================
   Cột 8 bước trong mỗi Chạm: bước đang mở nổi bật, bước đã xem có dấu ✓,
   vạch dọc nối các bước như thanh tiến trình.
   ========================================================================== */
.experience-dialog .step-nav {
  --step-blue: #1279b0;
  --step-blue-deep: #0b5785;
  --step-dot: 22px;
  background: transparent;
  border-right-color: transparent;
}

/* Nền xanh phủ kín cả cột bên trái, từ trên xuống tận đáy khung,
   kể cả khi nội dung bên phải dài và phải cuộn. */
@media (width > 800px) {
  .experience-dialog .experience-layout::before {
    background: linear-gradient(180deg, rgb(225 243 253), rgb(206 232 248));
    border-inline-end: 1px solid rgb(18 121 176 / .18);
  }
}

.experience-dialog .step-nav .step-tab {
  position: relative;
  color: #3f6478;
  font-weight: 600;
  transition: background .25s, color .25s, box-shadow .3s, scale .4s var(--lg-spring);
}

.experience-dialog .step-nav .step-tab > span {
  position: relative;
  z-index: 1;
  width: var(--step-dot);
  height: var(--step-dot);
  color: #5d8095;
  background: #fff;
  border: 1.5px solid #b9d6e8;
  font-weight: 700;
}

.experience-dialog .step-nav .step-tab:hover:not(.active) {
  background: rgb(18 121 176 / .09);
  color: var(--step-blue-deep);
}

/* Bước đã xem */
.experience-dialog .step-nav .step-tab.done {
  color: #0f5279;
}

.experience-dialog .step-nav .step-tab.done > span {
  font-size: 0;
  color: #fff;
  background: linear-gradient(145deg, #2aa0d6, var(--step-blue));
  border-color: var(--step-blue);
}

.experience-dialog .step-nav .step-tab.done > span::before {
  content: '✓';
  font-size: 12px;
  line-height: 1;
}

/* Bước đang mở */
.experience-dialog .step-nav .step-tab.active {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 1px rgb(0 40 70 / .25);
  background:
    radial-gradient(120% 140% at 18% -20%, rgb(255 255 255 / .38), transparent 55%),
    linear-gradient(135deg, #1f93cc, var(--step-blue-deep));
  border: 1px solid rgb(255 255 255 / .55);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .55),
    inset 0 -1px 0 rgb(0 50 90 / .25),
    0 8px 20px -8px rgb(11 87 133 / .65);
}

/* Màu xanh phủ kín cả hàng, từ mép trái tới mép phải cột */
.experience-dialog .step-nav .step-tab.active {
  --step-pad: calc(10px + var(--step-nav-inline, 16px));
  margin-inline: calc(-1 * var(--step-nav-inline, 16px));
  padding-inline: var(--step-pad) 14px;
  border-radius: 0;
  border-inline: 0;
}

.experience-dialog .step-nav .step-tab.active > span {
  color: var(--step-blue-deep);
  background: #fff;
  border-color: #fff;
  font-size: 10px;
  box-shadow: 0 0 0 3px rgb(255 255 255 / .28);
}

/* Vạch nối giữa các bước */
.experience-dialog .step-nav .step-tab:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(var(--step-pad, 10px) + var(--step-dot) / 2 - 1px);
  top: calc(50% + var(--step-dot) / 2 + 3px);
  width: 2px;
  height: calc(100% + 5px - var(--step-dot) - 6px);
  border-radius: 2px;
  background: #c4dcea;
  pointer-events: none;
}

.experience-dialog .step-nav .step-tab:is(.done, .active):has(+ .step-tab:is(.done, .active))::after {
  background: linear-gradient(180deg, #2aa0d6, var(--step-blue));
}

@media (max-width: 900px) {
  .experience-dialog .step-nav { --step-dot: 20px; --step-nav-inline: 9px; }
}

@media (prefers-reduced-transparency: reduce) and (width > 800px) {
  .experience-dialog .experience-layout::before { background: #e3f2fb; }
}

/* ==========================================================================
   Trang chủ: nút chính nổi bật, nút "Nguồn ảnh" trên điện thoại,
   danh sách 5 chạm thu gọn thành một dòng.
   ========================================================================== */

/* Nút chính "Khám phá 5 điểm chạm": kính xanh biển, chữ trắng đậm */
.hero .hero-actions .btn-gold {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgb(0 40 70 / .32);
  background:
    radial-gradient(120% 140% at var(--lg-x, 22%) var(--lg-y, -30%), rgb(255 255 255 / .42), rgb(255 255 255 / 0) 55%),
    linear-gradient(135deg, rgb(34 154 210 / .84), rgb(9 82 128 / .92));
  border-color: rgb(255 255 255 / .62);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .65),
    inset 0 -1px 0 rgb(0 50 90 / .3),
    0 12px 28px -12px rgb(8 70 110 / .75);
}

.hero .hero-actions .btn-gold .icon {
  color: #fff;
}

/* Nút phụ "Cửa Việt có gì?": kính trong, viền mảnh */
.hero .hero-actions .btn-glass {
  --lg-clear: .08;
  color: #0d3a52;
  font-weight: 600;
  border-color: rgb(255 255 255 / .5);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 4px 14px -8px rgb(8 42 60 / .28);
}

/* Nút "Nguồn ảnh" chỉ dùng trên điện thoại */
.hero-credit-toggle {
  display: none;
}

@keyframes lg-pop {
  from { opacity: 0; transform: translateY(6px) scale(.97); }
}

@media (max-width: 750px) {
  /* Tiêu đề và nút bắt đầu nằm ngay dưới thanh menu */
  .hero {
    align-content: start;
    padding:
      calc(var(--lg-header-h) + 14px)
      12px
      calc(150px + env(safe-area-inset-bottom));
  }

  .hero-credit-toggle {
    position: absolute;
    right: 14px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 13px 6px 10px;
    border: 1px solid var(--lg-edge);
    border-radius: 999px;
    color: #0f3c4d;
    font-size: 12px;
    font-weight: 700;
    background:
      radial-gradient(130% 120% at 20% -30%, rgb(255 255 255 / .6), rgb(255 255 255 / 0) 55%),
      linear-gradient(145deg, rgb(255 255 255 / .5), rgb(255 255 255 / .24));
    box-shadow: var(--lg-rim), var(--lg-drop);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
    transition: scale .4s var(--lg-spring);
  }

  .hero-credit-toggle:active {
    scale: .95;
  }

  .hero .cover-frame figcaption {
    display: none;
    inset: auto 14px calc(140px + env(safe-area-inset-bottom)) 14px;
    max-width: none;
    align-items: stretch;
    gap: 4px;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--lg-edge);
    border-radius: 18px;
    background: linear-gradient(145deg, rgb(255 255 255 / .74), rgb(255 255 255 / .52));
    box-shadow: var(--lg-rim), var(--lg-drop);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
  }

  .hero .cover-frame.credit-open figcaption {
    display: flex;
    animation: lg-pop .28s var(--lg-spring);
  }

  .hero .cover-frame figcaption > * {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #0f3c4d;
    font-size: 12px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Danh sách 5 chạm: mặc định thu gọn, bản đồ là lối vào chính */
.points-collapse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 6px;
}

.points-collapse p {
  max-width: 52ch;
  margin: 0;
  color: #3f6478;
}

.points-toggle {
  font-weight: 700;
}

.points-toggle .icon {
  transform: rotate(90deg);
  transition: transform .35s var(--lg-spring);
}

#points:not(.is-collapsed) .points-toggle .icon {
  transform: rotate(-90deg);
}

#points:not(.is-collapsed) .points-collapse {
  margin-bottom: 24px;
}

#points:not(.is-collapsed) .points-collapse p {
  display: none;
}

#points.is-collapsed :is(#point-grid, #results-count) {
  display: none;
}

#points.is-collapsed {
  padding-block: clamp(30px, 5vw, 60px);
}

@media (max-width: 750px) {
  .points-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Chạm 4 · Ẩm thực làng biển: lưới ảnh đều nhau (3 cột, điện thoại 2 cột)
   ========================================================================== */
.experience-dialog .station-body .station-food-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
}

.experience-dialog .station-food-photos .station-monument {
  margin: 0;
}

.experience-dialog .station-food-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.experience-dialog .station-food-photos figcaption {
  margin-top: 6px;
  text-align: left;
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .experience-dialog .station-body .station-food-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Chạm 5 · thanh kéo "Góc nhìn": ảnh mới căn giữa */
.compare-wrap.compare-cham-five > img,
.compare-wrap.compare-cham-five .compare-top img {
  object-position: 50% 55%;
}

.experience-dialog .station-food-photos figcaption a[href*="creativecommons"] {
  white-space: nowrap;
}

/* ==========================================================================
   ĐẦU TRANG KIỂU ĐIỆN ẢNH (hero-v2)
   Ảnh tràn màn hình tông tối, tiêu đề chữ trắng lớn đặt thẳng trên ảnh,
   menu viên kính tối, cột phải có số liệu và 2 thẻ kính dẫn vào các chạm.
   ========================================================================== */
.hero.hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  column-gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: max(660px, 100svh);
  padding:
    calc(var(--lg-header-h) + clamp(24px, 4vh, 48px))
    max(5.7vw, calc((100vw - 1320px) / 2))
    clamp(48px, 9vh, 96px);
  color: #fff;
  background: #0b2b36;
  isolation: isolate;
  overflow: hidden;
}

/* Ảnh nền + lớp tối để chữ trắng luôn rõ */
.hero.hero-v2 .cover-frame .hero-photo {
  object-position: 50% 42%;
  filter: saturate(1.12) contrast(1.04);
  transform-origin: 60% 45%;
  animation: hero-drift 38s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03); }
  to { transform: scale(1.11) translate3d(-1.2%, .8%, 0); }
}

.hero.hero-v2 .cover-image::after {
  display: block;
  background:
    linear-gradient(90deg, rgb(3 22 30 / .78) 0%, rgb(3 22 30 / .5) 34%, rgb(3 22 30 / .12) 62%, rgb(3 22 30 / .3) 100%),
    linear-gradient(180deg, rgb(3 22 30 / .55) 0%, rgb(3 22 30 / 0) 24%),
    linear-gradient(0deg, rgb(3 22 30 / .62) 0%, rgb(3 22 30 / 0) 38%);
}

/* Nội dung bên trái: không còn khung kính, chữ đặt thẳng trên ảnh */
.hero.hero-v2 .hero-content {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 660px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero.hero-v2 .hero-content::before {
  display: none;
}

.hero.hero-v2 .hero-eyebrow {
  color: rgb(255 255 255 / .82);
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 700;
}

.hero.hero-v2 .hero-eyebrow span {
  background: rgb(255 255 255 / .8);
}

.hero.hero-v2 h1 {
  margin: 18px 0 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
  text-shadow: 0 2px 40px rgb(0 20 30 / .35);
}

.hero.hero-v2 h1 > span,
.hero.hero-v2 h1 > strong {
  display: block;
  color: #fff;
  font-weight: 400;
  font-style: normal;
}

.hero.hero-v2 .hero-tagline {
  display: none;
}

.hero.hero-v2 .hero-desc {
  max-width: 40ch;
  margin-top: 24px;
  color: rgb(255 255 255 / .88);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.6;
}

.hero.hero-v2 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

/* Nút chính: viên kính sáng có chấm phát sáng */
.hero.hero-v2 .hero-actions .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 26px 0 20px;
  border: 1px solid rgb(255 255 255 / .6);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: none;
  background:
    radial-gradient(120% 140% at var(--lg-x, 20%) var(--lg-y, -40%), rgb(255 255 255 / .38), rgb(255 255 255 / 0) 60%),
    rgb(255 255 255 / .16);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 14px 34px -14px rgb(0 0 0 / .6);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) var(--lg-refract,) saturate(170%);
}

.hero.hero-v2 .hero-actions .hero-cta:hover {
  background:
    radial-gradient(120% 140% at var(--lg-x, 20%) var(--lg-y, -40%), rgb(255 255 255 / .5), rgb(255 255 255 / 0) 60%),
    rgb(255 255 255 / .26);
}

.hero-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #8ae6ff;
  box-shadow: 0 0 0 4px rgb(138 230 255 / .22), 0 0 14px #8ae6ff;
  animation: hero-dot 2.4s ease-in-out infinite;
}

@keyframes hero-dot {
  50% { box-shadow: 0 0 0 7px rgb(138 230 255 / .08), 0 0 18px #8ae6ff; }
}

/* Nút tròn ▶ "Cửa Việt có gì?" */
.hero-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: none;
  cursor: pointer;
}

.hero-play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: 50%;
  background: rgb(255 255 255 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 12px 28px -12px rgb(0 0 0 / .6);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) var(--lg-refract,) saturate(170%);
  transition: scale .45s var(--lg-spring), background .25s;
}

.hero-play-icon .icon {
  width: 17px;
  height: 17px;
  margin-left: 2px;
}

.hero-play:hover .hero-play-icon {
  scale: 1.07;
  background: rgb(255 255 255 / .24);
}

.hero-play:active .hero-play-icon {
  scale: .94;
}

/* Cột phải: số liệu + 2 thẻ kính */
.hero-side {
  position: relative;
  z-index: 1;
  align-self: start;
  display: grid;
  gap: 14px;
  margin-top: clamp(4px, 3vh, 36px);
  color: #fff;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 2px;
}

.hero-stats p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgb(255 255 255 / .74);
  font-size: 11px;
  line-height: 1.3;
}

.hero-stats .icon {
  width: 17px;
  height: 17px;
  color: #fff;
}

.hero-stats b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 11px 12px;
  padding: 8px 8px 13px;
  border: 1px solid rgb(255 255 255 / .34);
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(120% 120% at var(--lg-x, 20%) var(--lg-y, -30%), rgb(255 255 255 / .24), rgb(255 255 255 / 0) 55%),
    linear-gradient(160deg, rgb(255 255 255 / .16), rgb(255 255 255 / .04)),
    rgb(8 30 38 / .32);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1px 0 rgb(255 255 255 / .12), 0 20px 44px -20px rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) var(--lg-refract,) saturate(170%);
  transition: translate .45s var(--lg-spring), box-shadow .35s, background .3s;
}

.hero-card:hover {
  translate: 0 -4px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 26px 50px -20px rgb(0 0 0 / .75);
}

.hero-card:active {
  translate: 0 -1px;
}

.hero-card-img {
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border-radius: 17px;
}

.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.hero-card:hover .hero-card-img img {
  transform: scale(1.06);
}

.hero-card-text {
  display: grid;
  gap: 2px;
  padding-left: 6px;
}

.hero-card-text small {
  color: rgb(255 255 255 / .72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-card-text strong {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-card-go {
  align-self: center;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 4px;
  border-radius: 50%;
  color: #0b3f5c;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / .5);
  transition: translate .45s var(--lg-spring);
}

.hero-card-go .icon {
  width: 15px;
  height: 15px;
}

.hero-card:hover .hero-card-go {
  translate: 3px 0;
}

/* Nút "Nguồn ảnh" dùng cho mọi màn hình */
.hero.hero-v2 .hero-credit-toggle {
  position: absolute;
  inset: auto max(5.7vw, calc((100vw - 1320px) / 2)) 22px auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgb(255 255 255 / .42);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgb(6 26 34 / .38);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  cursor: pointer;
}

.hero.hero-v2 .cover-frame figcaption {
  position: absolute;
  inset: auto max(5.7vw, calc((100vw - 1320px) / 2)) 66px auto;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: min(440px, calc(100vw - 28px));
  max-width: none;
  margin: 0;
  padding: 13px 16px;
  text-align: left;
  color: #0f3c4d;
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(255 255 255 / .86), rgb(255 255 255 / .7));
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

.hero.hero-v2 .cover-frame.credit-open figcaption {
  display: flex;
  animation: lg-pop .28s var(--lg-spring);
}

.hero.hero-v2 .cover-frame figcaption > * {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0f3c4d;
  font-size: 12px;
  line-height: 1.5;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero.hero-v2 .cover-frame figcaption > .photo-credit {
  font-weight: 700;
}

.hero.hero-v2 .cover-frame figcaption a {
  color: inherit;
}

/* Thanh trên cùng khi đang ở ảnh đầu trang: trong suốt, chữ trắng, menu viên kính tối */
.site-header .desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-header .desktop-nav a .icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.site-header {
  transition: background .35s, border-color .35s, box-shadow .35s;
}

body.on-hero .site-header {
  border-color: transparent;
  background: linear-gradient(180deg, rgb(3 22 30 / .3), rgb(3 22 30 / 0));
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.on-hero .site-header::before {
  opacity: 0;
}

body.on-hero .site-header .brand {
  color: #fff;
}

body.on-hero .site-header .desktop-nav {
  border: 1px solid rgb(255 255 255 / .24);
  background: rgb(6 24 30 / .4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 10px 30px -14px rgb(0 0 0 / .6);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

body.on-hero .site-header .desktop-nav a {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.on-hero .site-header .desktop-nav a:hover {
  background: rgb(255 255 255 / .14);
}

body.on-hero .site-header :is(.btn-passport, .menu-toggle) {
  color: #fff;
  border-color: rgb(255 255 255 / .3);
  background: rgb(6 24 30 / .4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22);
}

body.on-hero .site-header .btn-passport::before {
  opacity: .5;
}

/* Máy tính bảng */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero.hero-v2 {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .hero.hero-v2 h1 {
    font-size: clamp(60px, 8.4vw, 92px);
  }
}

/* Điện thoại */
@media (max-width: 900px) {
  .hero.hero-v2 {
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    row-gap: 26px;
    min-height: max(640px, 100svh);
    padding:
      calc(var(--lg-header-h) + 26px)
      18px
      calc(104px + env(safe-area-inset-bottom));
    border-radius: 0 0 30px 30px;
  }

  .hero.hero-v2 .cover-frame .hero-photo {
    object-position: 58% 40%;
  }

  .hero.hero-v2 .cover-image::after {
    background:
      linear-gradient(180deg, rgb(3 22 30 / .7) 0%, rgb(3 22 30 / .35) 38%, rgb(3 22 30 / .2) 55%, rgb(3 22 30 / .72) 100%);
  }

  .hero.hero-v2 .hero-content {
    align-self: start;
    padding: 0;
  }

  .hero.hero-v2 h1 {
    font-size: clamp(56px, 16vw, 86px);
    margin-top: 14px;
  }

  .hero.hero-v2 .hero-desc {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero.hero-v2 .hero-actions {
    gap: 12px 16px;
    margin-top: 24px;
  }

  .hero.hero-v2 .hero-actions .hero-cta {
    min-height: 50px;
    font-size: 14.5px;
  }

  .hero-play-icon {
    width: 50px;
    height: 50px;
  }

  .hero-side {
    align-self: end;
    margin: 0;
    gap: 10px;
  }

  .hero-stats {
    display: none;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 6px 6px 11px;
    border-radius: 20px;
  }

  .hero-card-img {
    aspect-ratio: 16 / 10;
    border-radius: 15px;
  }

  .hero-card-text {
    padding-left: 5px;
  }

  .hero-card-text small {
    font-size: 10px;
  }

  .hero-card-text strong {
    font-size: 13.5px;
  }

  .hero-card-go {
    display: none;
  }

  .hero.hero-v2 .hero-credit-toggle {
    inset: calc(var(--lg-header-h) + 10px) 14px auto auto;
    bottom: auto;
  }

  .hero.hero-v2 .cover-frame figcaption {
    inset: calc(var(--lg-header-h) + 54px) 14px auto 14px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-v2 .cover-frame .hero-photo,
  .hero-dot {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-card,
  .hero-play-icon,
  .hero.hero-v2 .hero-actions .hero-cta {
    background: rgb(8 40 52 / .92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.hero.hero-v2 .hero-content,
body.on-hero .site-header {
  outline-color: transparent;
}

body.on-hero .site-header::after {
  opacity: 0;
}

@media (max-width: 420px) {
  /* Nút "Nguồn ảnh" thu gọn thành nút tròn (i) để không chạm dòng chữ phía trên */
  .hero.hero-v2 .hero-credit-toggle {
    justify-content: center;
    width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
    gap: 0;
  }
}

/* Cho nút "Nguồn ảnh" nổi lên trên chữ (ảnh nền vẫn nằm dưới cùng) */
.hero.hero-v2 .cover-frame {
  z-index: auto;
  background: none;
}

.hero.hero-v2 .cover-frame .cover-image {
  z-index: -1;
}

body.on-hero .site-header {
  background: none;
}

/* ==========================================================================
   Đầu trang · ảnh rặng phi lao có chiều sâu (giống mẫu Sylva)
   Thứ tự lớp: ảnh nền → chữ "Chạm Cửa Việt" → rặng cây (tách từ ảnh) → nút, thẻ kính
   ========================================================================== */
.hero.hero-v2 {
  background: #4f8fd8;
}

.hero.hero-v2 .cover-frame .hero-photo,
.hero.hero-v2 .hero-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
  animation: none;
  transform: none;
  filter: saturate(1.08);
}

.hero.hero-v2 .hero-fg {
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: saturate(1.08) drop-shadow(0 18px 30px rgb(0 30 40 / .22));
}

/* Lớp tối nhẹ chỉ phủ ảnh nền (cây phía trước vẫn sáng, tạo chiều sâu) */
.hero.hero-v2 .cover-image::after {
  background:
    linear-gradient(90deg, rgb(6 38 70 / .55) 0%, rgb(6 38 70 / .32) 32%, rgb(6 38 70 / 0) 58%),
    linear-gradient(180deg, rgb(6 38 70 / .38) 0%, rgb(6 38 70 / 0) 20%),
    linear-gradient(0deg, rgb(20 40 50 / .5) 0%, rgb(20 40 50 / 0) 30%);
}

/* Chữ to nằm sau rặng cây, phần còn lại nằm trên */
.hero.hero-v2 .hero-content {
  z-index: auto;
}

.hero.hero-v2 .hero-content > * {
  position: relative;
  z-index: 3;
}

.hero.hero-v2 .hero-content > h1 {
  z-index: 1;
  text-shadow: 0 2px 28px rgb(0 30 60 / .35);
}

.hero.hero-v2 .hero-side {
  z-index: 3;
}

.hero.hero-v2 .hero-credit-toggle,
.hero.hero-v2 .cover-frame figcaption {
  z-index: 4;
}

/* Thẻ kính trên nền trời sáng: tối hơn một chút cho chữ rõ */
.hero.hero-v2 .hero-card {
  background:
    radial-gradient(120% 120% at var(--lg-x, 20%) var(--lg-y, -30%), rgb(255 255 255 / .22), rgb(255 255 255 / 0) 55%),
    linear-gradient(160deg, rgb(255 255 255 / .14), rgb(255 255 255 / .03)),
    rgb(10 40 52 / .42);
}

@media (max-width: 900px) {
  .hero.hero-v2 .cover-frame .hero-photo,
  .hero.hero-v2 .hero-fg {
    object-position: 74% 100%;
  }

  /* Điện thoại: không đè cây lên chữ để chữ luôn dễ đọc */
  .hero.hero-v2 .hero-fg {
    display: none;
  }

  .hero.hero-v2 .cover-image::after {
    background:
      linear-gradient(180deg, rgb(6 38 70 / .62) 0%, rgb(6 38 70 / .38) 42%, rgb(6 38 70 / .12) 60%, rgb(14 36 46 / .66) 100%);
  }
}

@media (min-width: 901px) {
  .hero.hero-v2 .cover-frame .hero-photo,
  .hero.hero-v2 .hero-fg {
    object-position: 0% 100%;
  }
}

.hero.hero-v2 .hero-fg {
  filter: saturate(1.08);
}

@media (min-width: 901px) {
  .hero.hero-v2 .cover-frame .hero-photo,
  .hero.hero-v2 .hero-fg {
    object-position: 100% 100%;
  }
}

.hero.hero-v2 :is(.hero-photo, .hero-fg).is-placed {
  inset: auto;
  max-width: none;
  object-fit: fill;
}

@media (max-width: 900px) {
  .hero.hero-v2 .cover-frame .hero-photo {
    object-position: 66% 100%;
  }
}

/* Thanh trên (máy tính): menu dồn sang phải, đứng cạnh nút Hộ chiếu, giống mẫu */
@media (min-width: 901px) {
  .site-header .nav-wrap {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-header .desktop-nav {
    margin-left: auto;
  }
}

/* ==========================================================================
   Hiệu năng cuộn trang
   - Nền màu phía sau đứng yên: nếu nền chuyển động, mọi tấm kính phải vẽ lại
     ở từng khung hình, gây giật khi cuộn.
   - Nền được ghim cố định và tách lớp riêng để trình duyệt không vẽ lại.
   ========================================================================== */
body::before {
  animation: none;
  transform: translateZ(0);
}



/* Kính lồng trong kính: tấm bên trong không cần làm mờ thêm (tấm ngoài đã mờ),
   bỏ đi giúp cuộn mượt hơn nhiều mà nhìn gần như không khác. */
:is(.story-layout, .creative-launch, .community-section, .passport-banner, .about-section,
    .footer, .journey-editorial, .map-canvas) :is(*, *::before, *::after) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:root {
  --lg-blur-panel: 20px;
}

/* Hiệu ứng rê chuột ở đầu trang */
.hero.hero-v2 :is(.hero-photo, .hero-fg) {
  transform-origin: 50% 100%;
}

.hero.hero-v2 .hero-side {
  perspective: 900px;
}

.hero.hero-v2 .hero-card {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    transform .26s cubic-bezier(.2, .75, .25, 1),
    translate .26s cubic-bezier(.2, .75, .25, 1), box-shadow .26s;
}

.hero.hero-v2 .hero-card:hover {
  transition:
    transform .16s ease-out,
    translate .26s cubic-bezier(.2, .75, .25, 1), box-shadow .26s;
}

/* Nút chính hơi phồng và sáng lên khi rê chuột */
@media (hover: hover) {
  .hero.hero-v2 .hero-actions .hero-cta:hover {
    scale: 1.04;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 0 0 6px rgb(255 255 255 / .08), 0 18px 40px -14px rgb(0 0 0 / .6);
  }

  .hero.hero-v2 .hero-actions .hero-cta:hover .hero-dot {
    background: #fff;
  }
}

/* Màu đã được chỉnh sẵn trong ảnh: bỏ bộ lọc để rê chuột và cuộn nhẹ hơn */
.hero.hero-v2 .cover-frame .hero-photo,
.hero.hero-v2 .hero-fg {
  filter: none;
}

.hero.hero-v2 :is(.hero-photo, .hero-fg) {
  transform-origin: 50% 60%;
}
