:root {
  color-scheme: light;
  --ink: #193039;
  --muted: #4d6061;
  --teal: #0d716a;
  --red: #bb433f;
  --gold: #b7954e;
  --peony: #efc7ca;
  --line: #c9dad5;
  --soft: #e9f2ee;
  --dark: #173d3b;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8f8f2;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }
p { line-height: 1.55; }
:focus-visible { outline: 3px solid #e6b252; outline-offset: 4px; }
.shell { width: min(100% - 48px, 1120px); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--ink); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid rgba(25,48,57,.3); }
.brand { display: block; flex: none; text-decoration: none; }
.brand img { display: block; width: 220px; height: auto; }
.header-nav { display: flex; gap: 28px; margin-left: auto; }
.header-nav a, .header-link { font-size: 14px; font-weight: 650; text-decoration: none; }
.header-nav a:hover, .header-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-link { border: 1px solid rgba(25,48,57,.55); padding: 10px 15px; }

.hero { position: relative; min-height: min(740px, 84svh); display: flex; align-items: center; isolation: isolate; color: var(--ink); background: #f5f1e6; overflow: hidden; }
.hero-map, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-map { object-fit: cover; object-position: 50% 50%; z-index: -2; animation: map-arrive 3.2s ease-out both; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(249,248,240,.98) 0%, rgba(249,248,240,.93) 42%, rgba(249,248,240,.12) 82%); }
.hero-inner { padding-top: 96px; padding-bottom: 38px; }
.hero-kicker, .eyebrow, .sample-eyebrow, .day-label { margin: 0; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero-kicker { color: #a43b35; }
h1, h2, h3 { letter-spacing: 0; }
h1, h2 { font-family: Georgia, Cambria, serif; font-weight: 700; }
h1 { max-width: 760px; margin: 18px 0 16px; font-size: 54px; line-height: 1.08; }
.hero-lede { max-width: 620px; margin: 0; font-size: 19px; line-height: 1.45; }
.hero-sample { max-width: 650px; margin-top: 23px; padding-top: 15px; border-top: 1px solid rgba(25,48,57,.5); }
.sample-eyebrow { color: #4e645f; }
.hero-cities { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 4px; font-size: 25px; font-weight: 750; line-height: 1.25; }
.hero-cities span { color: #b8493e; }
.hero-day { margin: 0; font-size: 15px; }
.hero-action { display: flex; align-items: center; gap: 26px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 23px; border: 1px solid transparent; font-size: 15px; font-weight: 750; text-align: center; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.button-primary { background: #d44f3d; color: #fff; }
.button-primary:hover { background: #b83f2f; }
.text-link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--teal); font-size: 15px; font-weight: 750; text-underline-offset: 5px; }
.text-link-light { color: var(--teal); }
.hero-note { margin: 9px 0 0; font-size: 13px; color: #344e4c; }

@keyframes map-arrive {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

.example-section { padding: 78px 0 86px; background: linear-gradient(rgba(248,250,248,.94), rgba(248,250,248,.97)), url("assets/atlas-cinematic-map.webp") center 43% / cover no-repeat; }
.section-intro { max-width: 760px; }
.eyebrow { color: var(--red); }
h2 { margin: 11px 0 15px; font-size: 40px; line-height: 1.15; }
.section-intro > p:last-child { margin: 0; max-width: 690px; color: var(--muted); font-size: 17px; }
.example-section .section-intro { padding-bottom: 44px; }
.atlas-stage { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(238,246,237,.87), rgba(249,239,237,.75)), url("assets/atlas-cinematic-map.webp") center 54% / cover no-repeat; border-block: 1px solid #d5dbd1; }
.atlas-stage-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 18px; min-height: 328px; padding-block: 22px 42px; }
.atlas-overline { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid rgba(25,48,57,.28); color: #4a5b57; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.atlas-route { position: relative; z-index: 1; grid-column: 1; display: grid; grid-template-columns: minmax(105px, 1.05fr) minmax(90px, .8fr) minmax(95px, .85fr) minmax(100px, .9fr) minmax(120px, 1.12fr); gap: 8px; align-items: center; min-width: 0; }
.atlas-stop { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.atlas-stop-number { color: #a23d3b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.atlas-stop strong { font-family: Georgia, Cambria, serif; font-size: 30px; line-height: 1.08; }
.atlas-stop > span:last-child { color: #4d6061; font-size: 13px; line-height: 1.35; }
.atlas-leg { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; min-width: 0; align-self: stretch; padding-top: 43px; }
.atlas-track { position: relative; display: block; width: 100%; height: 64px; border-bottom: 2px solid #a7884b; }
.atlas-train { position: absolute; left: -7px; bottom: -11px; width: min(100%, 128px); height: auto; }
.atlas-leg-label { max-width: 142px; color: #4b5d59; font-size: 11px; font-weight: 750; line-height: 1.3; text-align: center; }
.atlas-flight-path { position: relative; display: block; width: 100%; height: 64px; border-bottom: 2px dashed #a7884b; }
.atlas-plane { position: absolute; right: -6px; bottom: 4px; width: min(100%, 116px); height: auto; }
.atlas-pagoda { z-index: 0; grid-column: 2; align-self: end; width: 100%; height: auto; opacity: .75; }
.atlas-stage.is-revealed .atlas-train { animation: train-arrival 1.8s cubic-bezier(.22,.8,.2,1) both; }
.atlas-stage.is-revealed .atlas-plane { animation: plane-arrival 1.8s cubic-bezier(.22,.8,.2,1) both; }
.atlas-stage.is-revealed .atlas-pagoda { animation: pagoda-rise .85s ease-out both; }
.atlas-detail-shell { padding-top: 56px; }
.example-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 72px; align-items: start; }
.day-note { padding: 0 0 23px; border-bottom: 1px solid var(--line); }
.day-note + .day-note { padding-top: 23px; }
.day-label { color: var(--teal); }
.day-note h3 { margin: 8px 0 8px; font-size: 22px; line-height: 1.2; }
.day-note p { margin: 0; color: var(--muted); }
.destination-photo { margin: 0; }
.destination-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.destination-photo figcaption { padding-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.destination-art img { object-position: 74% 62%; }
.example-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 34px; }

@keyframes train-arrival {
  from { transform: translateX(-22px); opacity: .6; }
  to { transform: translateX(16px); opacity: 1; }
}

@keyframes plane-arrival {
  from { transform: translate(-17px, 10px) rotate(-3deg); opacity: .55; }
  to { transform: translate(0, 0) rotate(0); opacity: 1; }
}

@keyframes pagoda-rise {
  from { transform: translateY(20px); opacity: .45; }
  to { transform: translateY(0); opacity: 1; }
}

.process-section { padding: 78px 0 86px; background: var(--soft); }
.process-intro { margin-bottom: 40px; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 0; padding: 0; list-style: none; }
.process-list li { border-top: 2px solid var(--ink); padding-top: 19px; }
.process-list li > span { color: var(--red); font-size: 13px; font-weight: 800; }
.process-list h3 { margin: 12px 0 8px; font-size: 20px; }
.process-list p { margin: 0; color: var(--muted); }

.closing-section { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 54px 0 0; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto 180px; align-items: center; gap: 32px; min-height: 235px; }
.closing-inner > div { max-width: 690px; }
.closing-inner .eyebrow { color: #e8c78b; }
.closing-inner h2 { margin-bottom: 11px; }
.closing-inner p:last-child { margin: 0; color: #dce9e5; }
.closing-panda { align-self: end; display: block; width: 100%; height: auto; }
.closing-section.is-revealed .closing-panda { animation: panda-peek .9s ease-out both; }
.button-light { flex: 0 0 auto; background: #fff; color: var(--dark); }
.button-light:hover { background: #dce9e5; }
.site-footer { padding: 28px 0 35px; background: #fff; }
.footer-inner { display: flex; align-items: start; gap: 50px; }
.footer-brand { display: block; flex: none; width: 170px; height: auto; }
.footer-inner p { max-width: 760px; margin: 0; color: var(--muted); font-size: 13px; }
.footer-inner .legal-note { max-width: 900px; }

@keyframes panda-peek {
  from { transform: translateY(24px) rotate(-3deg); opacity: .3; }
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 36px, 1120px); }
  .header-inner { gap: 16px; }
  .brand img { width: 180px; }
  .header-nav { display: none; }
  .header-link { margin-left: auto; }
  .hero { min-height: min(760px, 86svh); }
  .hero-shade { background: linear-gradient(90deg, rgba(249,248,240,.98), rgba(249,248,240,.58)); }
  h1 { max-width: 650px; font-size: 48px; }
  .atlas-stage-inner { grid-template-columns: minmax(0, 1fr) 120px; }
  .atlas-stop strong { font-size: 25px; }
  .example-grid { gap: 32px; }
  .closing-inner { grid-template-columns: minmax(0, 1fr) auto 130px; gap: 18px; }
  .process-list { gap: 20px; }
}

@media (max-width: 700px) {
  .atlas-stage-inner { display: block; min-height: 0; padding-block: 18px 32px; }
  .atlas-route { grid-template-columns: minmax(0, 1fr); max-width: calc(100% - 110px); gap: 0; padding-top: 12px; }
  .atlas-stop { position: relative; padding: 12px 0 12px 18px; border-left: 2px solid var(--gold); }
  .atlas-stop::before { position: absolute; top: 18px; left: -5px; width: 8px; height: 8px; content: ""; background: var(--red); transform: rotate(45deg); }
  .atlas-stop strong { font-size: 24px; }
  .atlas-leg { min-height: 75px; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 0 0 7px 18px; border-left: 2px dashed var(--gold); }
  .atlas-track { max-width: 175px; height: 49px; }
  .atlas-train { width: 126px; }
  .atlas-flight-path { max-width: 175px; height: 45px; }
  .atlas-plane { right: 4px; bottom: 0; width: 123px; }
  .atlas-leg-label { max-width: 190px; text-align: left; }
  .atlas-pagoda { position: absolute; right: -12px; bottom: 18px; width: 108px; opacity: .68; }
  .closing-inner { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .closing-panda { align-self: flex-end; width: 142px; margin-top: -12px; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 62px; gap: 8px; }
  .brand img { width: 150px; }
  .header-link { font-size: 12px; padding: 8px 10px; }
  .hero { min-height: min(690px, 86svh); align-items: end; }
  .hero-map { object-position: 79% 50%; }
  .hero-shade { background: linear-gradient(0deg, rgba(249,248,240,.98) 0%, rgba(249,248,240,.94) 58%, rgba(249,248,240,.2) 100%); }
  .hero-inner { padding-top: 73px; padding-bottom: 34px; }
  h1 { max-width: 520px; margin: 10px 0 12px; font-size: 33px; line-height: 1.08; overflow-wrap: anywhere; hyphens: auto; }
  .hero-lede { font-size: 15px; line-height: 1.4; }
  .hero-sample { margin-top: 18px; padding-top: 13px; }
  .sample-eyebrow, .hero-kicker { font-size: 11px; }
  .hero-cities { margin: 8px 0 4px; gap: 6px; font-size: 19px; }
  .hero-day { font-size: 13px; }
  .hero-action { gap: 15px; margin-top: 17px; }
  .hero-action .button { min-height: 46px; padding: 10px 15px; font-size: 13px; }
  .hero-action .text-link { font-size: 12px; }
  .hero-note { font-size: 11px; }
  .example-section, .process-section { padding: 52px 0 60px; }
  h2 { font-size: 31px; }
  .section-intro > p:last-child { font-size: 15px; }
  .example-section .section-intro { padding-bottom: 28px; }
  .atlas-detail-shell { padding-top: 39px; }
  .example-grid, .process-list { grid-template-columns: 1fr; }
  .destination-photo { margin-top: 6px; }
  .example-actions { align-items: stretch; flex-direction: column; }
  .process-list { gap: 26px; }
  .closing-section { padding-top: 54px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 23px; }
}

@media (max-width: 350px) {
  .brand img { width: 130px; }
  .hero { min-height: min(500px, 87svh); }
  .hero-inner { padding-top: 64px; padding-bottom: 28px; }
  h1 { font-size: 27px; }
  .hero-lede { font-size: 13px; }
  .hero-sample { margin-top: 11px; }
  .hero-action { margin-top: 11px; }
  .hero-action .text-link { display: none; }
  .hero-note { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .hero-map, .atlas-stage.is-revealed .atlas-train, .atlas-stage.is-revealed .atlas-plane, .atlas-stage.is-revealed .atlas-pagoda, .closing-section.is-revealed .closing-panda { animation: none; }
}
