:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --surface: #fffdf7;
  --ink: #172c24;
  --muted: #505d54;
  --line: #d9dbce;
  --accent: #a34725;
  --orange: #eeaa77;
  --dark: #172d25;
  --serif: "Lora", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --page: 1240px;
  --gutter: clamp(20px, 4.5vw, 70px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 26px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}

h1, h2, p, figure, dd { margin: 0; }
h1, h2 { font: 500 1em/1.12 var(--serif); letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.85rem); text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ae5028; outline-offset: 5px; }

.wrap { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(58px, 8vw, 110px); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .experience-options input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 3; top: 10px; left: 10px; transform: translateY(-150%); padding: 9px 16px; background: var(--surface); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; min-height: 76px; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; font-weight: 700; line-height: 1.12; }
.brand img { flex: none; object-fit: contain; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .67rem; font-weight: 600; }
.desktop-nav { display: flex; gap: clamp(19px, 3vw, 45px); font-size: .86rem; font-weight: 600; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--accent); }
.mobile-nav { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.35;
  font-weight: 700;
}
.button .icon, .text-link .icon { width: 18px; height: 18px; }
.button-dark { min-height: 42px; padding: 9px 14px; background: var(--dark); color: white; }
.button-dark:hover { background: #28473a; }
.button-primary { background: var(--orange); color: #2b261d; }
.button-primary:hover { background: #f5b98d; }
.text-link { display: inline-flex; gap: 9px; align-items: center; width: fit-content; min-height: 44px; font-size: .87rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: clamp(24px, 5.6vw, 78px);
  padding-block: clamp(30px, 4.4vw, 64px) clamp(28px, 4vw, 59px);
}
.hero-copy { padding-block: 14px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: .76rem; line-height: 1.45; letter-spacing: .045em; font-weight: 700; }
.eyebrow span { width: 17px; height: 1px; flex: none; background: currentColor; }
.hero h1 { margin: 17px 0 25px; font-size: clamp(2.7rem, 5.1vw, 5.05rem); }
.hero h1 em { display: inline-block; color: var(--accent); font-weight: inherit; }
.hero-description, .section-intro { max-width: 44ch; color: var(--muted); font-size: clamp(.95rem, 1.23vw, 1.09rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 22px; margin-top: 30px; }
.hero-exhibit { position: relative; isolation: isolate; display: flex; align-items: end; justify-content: center; height: clamp(435px, 44vw, 594px); padding: 20px; overflow: hidden; border-radius: 12px; background: #24251a; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.exhibit-label {
  position: absolute;
  top: 19px;
  left: 19px;
  padding: 5px 9px;
  border: 1px solid #fff7df52;
  border-radius: 4px;
  background: #25271ee8;
  color: #fff8e8;
  font-size: .72rem;
  font-weight: 600;
}
.audio-preview { width: min(100%, 452px); padding: 15px 17px; border: 1px solid #fff6dc55; border-radius: 8px; background: #17261ff5; color: #fff9ed; }
.audio-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1px 10px; }
.audio-kicker { color: #e2c6a6; font-size: .72rem; font-weight: 600; }
.audio-preview figcaption strong { font-size: .87rem; font-weight: 700; }
.audio-controls:has(button:not([hidden])) { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-top: 9px; }
.audio-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); }
.audio-toggle:hover { background: #f5b98d; }
.audio-track { min-width: 0; }
.audio-track input { display: block; width: 100%; margin: 0; height: 23px; accent-color: #f0b085; cursor: pointer; }
.audio-time { display: flex; justify-content: space-between; color: #e3dfd0; font-size: .66rem; line-height: 1; font-variant-numeric: tabular-nums; }
.audio-controls select { min-height: 40px; max-width: 120px; padding: 4px 5px; border: 1px solid #fff6dc55; border-radius: 4px; background: #27372c; color: #fff9ed; font-size: .72rem; }
.audio-preview :focus-visible { outline-color: var(--orange); }
.audio-preview audio { display: block; width: 100%; margin-top: 9px; }
.audio-status { margin-top: 9px; color: #f8d4ab; font-size: .76rem; }

.quick-benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding-block: 20px; }
.quick-benefits > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 13px; }
.quick-benefits > div + div { border-left: 1px solid var(--line); }
.quick-benefits .icon { width: 25px; height: 25px; color: var(--accent); }
.quick-benefits span { font-size: clamp(.75rem, 1.16vw, .92rem); font-weight: 700; }
.quick-benefits small { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }

.experience { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(32px, 7.4vw, 96px); align-items: center; }
.experience h2, .operator h2, .deployments h2, .contact h2 { margin-top: 12px; }
.experience .section-intro, .operator .section-intro, .deployments .section-intro, .contact .section-intro { margin-top: 17px; }
.experience-options { min-inline-size: 0; border: 0; padding: 0; margin: 27px 0 0; }
.experience-options label {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  cursor: pointer;
  font-size: .92rem;
}
.experience-options label:has(:checked) { border-color: #d6d5c6; border-radius: 6px; background: var(--surface); }
.experience-options label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.experience-options label:hover { color: var(--accent); }
.experience-options small { display: none; margin-top: 4px; color: var(--muted); font-size: .83rem; }
.experience-options :checked ~ span small { display: block; }
.option-icon { color: var(--accent); }
.option-arrow { width: 18px; height: 18px; margin-top: 3px; opacity: .45; }
.experience-options :checked ~ .option-arrow { opacity: 1; }

.experience-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--dark);
  color: #fcf6e7;
}
.experience-stage::before, .contact::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 300px;
  aspect-ratio: 1;
  border: 1px solid #e2c29128;
  border-radius: 50%;
  box-shadow: 0 0 0 36px var(--dark), 0 0 0 37px #e2c29128, 0 0 0 73px var(--dark), 0 0 0 74px #e2c29128, 0 0 0 110px var(--dark), 0 0 0 111px #e2c29128, 0 0 0 147px var(--dark), 0 0 0 148px #e2c29128;
  transform: translate(-50%, -50%);
  content: "";
}
.stage-panel { display: none; width: fit-content; max-width: 100%; padding: 21px; text-align: center; }
.experience:has([value=qr]:checked) .stage-qr,
.experience:has([value=photo]:checked) .stage-photo,
.experience:has([value=list]:checked) .stage-list { display: block; }
.stage-caption { margin-top: 17px; color: #f2dfc2; font-size: .78rem; }
.qr-ticket { display: grid; justify-items: center; gap: 9px; padding: 17px 18px; border-radius: 7px; background: var(--surface); color: var(--ink); }
.qr-ticket span, .qr-ticket strong { display: flex; align-items: center; gap: 6px; font-size: .78rem; }
.qr-ticket span .icon, .qr-ticket strong .icon { width: 16px; height: 16px; color: var(--accent); }
.qr-ticket img { width: 176px; image-rendering: pixelated; }
.qr-ticket:hover strong, .point-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.experience-stage :focus-visible, .contact :focus-visible { outline-color: var(--orange); }
.photo-preview { position: relative; margin-inline: auto; max-width: 275px; aspect-ratio: 1.14; overflow: hidden; border: 4px solid #ede4d2; border-radius: 10px; background: #2e2920; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 13% 12% 19%; border: 1px dashed #f9ce8d; border-radius: 13px; }
.scan-result { position: absolute; inset: auto 10px 10px; display: flex; gap: 7px; justify-content: center; align-items: center; padding: 6px; border-radius: 4px; background: var(--dark); font-size: .76rem; }
.scan-result .icon { width: 16px; height: 16px; color: var(--orange); }
.point-list { width: min(310px, 100%); padding: 16px 17px; border-radius: 7px; background: var(--surface); color: var(--ink); text-align: left; }
.point-list > strong { display: block; margin-bottom: 10px; }
.point-list > a, .point-list > div { display: flex; align-items: center; gap: 9px; min-height: 45px; padding-block: 6px; border-top: 1px solid var(--line); font-size: .83rem; }
.point-list span { display: inline-grid; place-items: center; width: 30px; height: 28px; flex: none; border-radius: 3px; background: #efece2; color: var(--accent); font-size: .73rem; font-weight: 700; }
.point-list .icon { width: 16px; height: 16px; margin-left: auto; }

.operator { background: #e8ebde; }
.operator-grid, .faq-grid, .contact-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(29px, 6vw, 72px); }
.operator h2 em { color: #48604f; font-weight: inherit; }
.operator .text-link { margin-top: 15px; }
.operator-list { margin: 0; border-top: 1px solid #c8cebd; }
.operator-list > div { display: flex; align-items: flex-start; gap: 15px; padding-block: 17px; border-bottom: 1px solid #c8cebd; }
.operator-list > div > .icon { margin-top: 2px; color: var(--accent); }
.operator-list dt { font-size: 1rem; font-weight: 700; }
.operator-list dd { margin-top: 4px; color: var(--muted); font-size: .9rem; }

.place-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
.place { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 20px); min-height: 134px; padding: 20px; border: 1px solid transparent; border-radius: 7px; }
.place-museum { background: #e6e9da; }
.place-archive { background: #efe5d4; }
.place:hover { border-color: var(--accent); }
.place-logo { display: grid; width: clamp(52px, 7vw, 88px); aspect-ratio: 1; place-items: center; padding: 9px; border-radius: 4px; background: var(--surface); }
.place-logo img { max-height: 62px; object-fit: contain; }
.place-type { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.place strong { display: block; margin-top: 4px; font: 500 clamp(1.11rem, 2.2vw, 1.67rem)/1.22 var(--serif); }
.place-description { display: block; margin-top: 7px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.place > .icon { align-self: start; width: 19px; height: 19px; color: var(--accent); }

.faq { border-top: 1px solid var(--line); }
.faq h2, .contact h2 { text-wrap: initial; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 15px 0; font-size: .92rem; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.25rem; line-height: 1; font-weight: 400; color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 16px 0; color: var(--muted); font-size: .88rem; }

.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff9eb; }
.contact::before { left: 85%; width: 360px; opacity: .45; }
.contact .eyebrow { color: var(--orange); }
.contact .section-intro { color: #e2e5d8; }
.contact-inner { align-items: center; }
.contact-actions { display: grid; justify-items: start; justify-self: center; gap: 6px; }
.contact-text { min-height: 38px; display: inline-flex; align-items: center; font-size: .9rem; text-underline-offset: 4px; }
.contact-text:hover { text-decoration: underline; }
.contact-actions .button { margin-bottom: 5px; }

.footer-inner { display: flex; min-height: 100px; justify-content: space-between; align-items: center; gap: 14px; padding-block: 13px; }
.footer-inner p { color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 22px; }

.zalo-float {
  position: fixed;
  z-index: 2;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 8px 16px;
  border: 1px solid #ffffff72;
  border-radius: 999px;
  background: #005ad5;
  color: #fff;
  box-shadow: 0 4px 16px #172c2440;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;
}
.zalo-float:hover { background: #034cac; }

@media (max-width: 920px) {
  .hero { gap: 27px; }
  .hero-actions { column-gap: 14px; }
  .hero h1 { font-size: clamp(2.5rem, 5.15vw, 4rem); }
  .experience { gap: 33px; }
  .operator-grid, .faq-grid, .contact-inner { gap: 33px; }
}

@media (max-width: 740px) {
  .header-inner { min-height: 65px; gap: 10px; }
  .brand img { width: 39px; height: 39px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 5px; list-style: none; cursor: pointer; }
  .mobile-nav nav { position: absolute; z-index: 2; inset: calc(100% + 1px) 0 auto; display: grid; padding: 6px 16px; border: 1px solid var(--line); border-radius: 0 0 7px 7px; background: var(--surface); }
  .mobile-nav a { display: block; padding-block: 11px; font-size: .9rem; font-weight: 600; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
  .hero, .experience, .operator-grid, .faq-grid, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 23px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin: 13px 0 16px; font-size: clamp(2.48rem, 7.8vw, 4.55rem); }
  .hero-actions { margin-top: 18px; }
  .hero-exhibit { height: clamp(395px, 104vw, 530px); }
  .section { padding-block: 55px; }
  .quick-benefits { padding-block: 13px; }
  .quick-benefits > div { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding-inline: 10px; }
  .quick-benefits > div:first-child { padding-left: 0; }
  .quick-benefits small { display: none; }
  .experience-stage { min-height: 350px; }
  .contact-actions { justify-self: start; }
  .contact::before { left: 98%; }
  .audio-controls { margin-right: 26px; }
  .zalo-float {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 1px;
    width: 51px;
    padding: 4px;
    font-size: .67rem;
  }
  .zalo-float .icon { width: 20px; height: 20px; }
  .zalo-verb { display: none; }
}

@media (max-width: 495px) {
  .hero-exhibit { padding: 13px; }
  .exhibit-label { top: 13px; left: 13px; }
  .audio-preview { padding: 11px; }
  .audio-preview figcaption { display: grid; }
  .place-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .place { min-height: 104px; padding: 13px; }
  .place-logo { width: 60px; }
  .footer-inner { flex-wrap: wrap; padding-right: 48px; }
  .footer-inner p { flex-basis: 100%; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
