/* vietnam '26 — page styles on top of styles.css tokens (Geist · Geist Mono · Instrument Serif italic · one amber) */

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; }

.cam-head { position: sticky; top: 0; z-index: 90; background: var(--sec-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.cam-head.scrolled { border-bottom-color: var(--line); }
.cam-head__in { display: flex; align-items: center; justify-content: space-between; height: 57px; }
.cam-head nav { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.cam-head nav a { color: inherit; text-decoration: none; padding: 6px 0; position: relative; transition: color .2s; }
.cam-head nav a:hover { color: var(--fg); }
.cam-head nav a.active { color: var(--accent); }

.hero { position: relative; min-height: calc(100svh - 57px); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 120px; }
.klabel { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.krule { width: 44px; height: 1px; background: var(--accent); flex: none; }
.hero h1 { margin: 0; }
.hero__lede { max-width: 58ch; font-size: 1.05rem; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 500; color: var(--fg-2); }
.chip b { color: var(--accent); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, border-color .2s; }
.btn--acc { background: var(--accent); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .btn--acc:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px var(--card-shadow); }
  .btn--ghost:hover { background: var(--surface); transform: translateY(-2px); }
}
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.scroll-cue { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .line { width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hero-stat { text-align: right; color: var(--muted); font-size: .9rem; }
.hero-stat b { display: block; font-size: 1.9rem; font-weight: 600; color: var(--fg); letter-spacing: -.03em; line-height: 1.1; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 12px 0; margin-top: 8px; }
.marquee-track { display: flex; width: max-content; animation: mscroll 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--fg-2); padding: 0 18px; white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes mscroll { to { transform: translateX(-50%); } }

.sec { padding: 100px 0 8px; scroll-margin-top: 76px; }
.sec--tight { padding-top: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; margin: 10px 0 0; line-height: 1.1; }
.sec-head h2 em, .whybox h3 em, .cam-foot .big em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: 0; color: var(--accent); }
.idx { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; padding-bottom: 6px; }
.sec-lede { max-width: 66ch; color: var(--fg-2); font-size: 1.02rem; margin: 0 0 40px; }
.sec-art { width: 100%; height: auto; aspect-ratio: 480 / 300; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; margin-bottom: 32px; }

.whybox { margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.whybox h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.2; }
.whybox p { font-size: .92rem; color: var(--fg-2); margin: 0; }
.whybox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.whybox li { font-size: .88rem; color: var(--fg-2); padding-left: 20px; position: relative; }
.whybox li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--accent); font-size: 10px; }
.whybox li b { color: var(--fg); }

.trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trip { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.trip--pick { border-color: var(--accent); background: var(--accent-soft); }
.trip__art { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; }
.trip__art img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 300; object-fit: cover; }
.trip__tag { margin: 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.trip h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 4px; }
.trip__route { font-size: .86rem; color: var(--fg-2); margin: 0; }
.trip__stats { font-size: .78rem; color: var(--muted); margin: 12px 0; padding: 10px 0; border-block: 1px solid var(--line); }
.trip__verdict { font-size: .88rem; color: var(--fg-2); margin: 0; }
.trip__cut { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .76rem; line-height: 1.7; color: var(--muted); }
.trip__cut b { color: var(--fg-2); font-weight: 600; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); margin-top: 18px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 840px; font-size: .86rem; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--fg-2); }
.cmp thead th { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.cmp td:first-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cmp .pick { background: var(--accent-soft); }
.cmp thead .pick { color: var(--accent); }
.cmp tbody tr:last-child td { border-bottom: 0; }

.sights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sight { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.sight h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 4px; }
.sight__tag { margin: 0; display: inline-block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.chip-yes { color: var(--accent); background: var(--accent-soft); }
.chip-maybe { color: var(--fg-2); background: var(--surface); border: 1px solid var(--line-2); }
.sight__meta { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.sight p:last-child { font-size: .88rem; color: var(--fg-2); margin: 0; }

.mapcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 8px; }
.mapcard svg { width: 100%; height: auto; display: block; border-radius: 10px; }
#routeMap .graticule line { stroke: var(--line); }
#routeMap .geo text { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 2.5px; }
#routeMap .labels text { fill: var(--fg); font-family: var(--sans); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--bg-2); stroke-width: 4px; }
#routeMap .labels .sub { fill: var(--muted); font-size: 10px; font-weight: 500; }
#routeMap .labels .big-label { font-size: 13.5px; }
#routeMap .labels .leg-lbl { fill: var(--muted); font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .04em; }
#legCar { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }
#legBack { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .75; }
#legFly { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; }
.town { fill: var(--accent); }
.start-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.start-dot { fill: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 8px 6px; font-size: 12px; color: var(--fg-2); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.legend .dot--day { background: var(--bg-2); border: 2px solid var(--accent); }
.legend .dot--fly { background: transparent; border: 2px dotted var(--muted); }

.globe-card { margin-top: 18px; }
.globe-card canvas { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 10px; touch-action: pan-y; cursor: grab; }
.globe-card canvas:active { cursor: grabbing; }
.globe-hint { margin-left: auto; color: var(--muted); }

.act { margin-bottom: 52px; }
.act-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.act-head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.act-head h3 i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); font-size: .85em; margin-right: 10px; }
.act-head p { flex: 1; min-width: 240px; margin: 0; font-size: .9rem; color: var(--fg-2); }
.act-head .range { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.act-art { width: 100%; height: auto; aspect-ratio: 480 / 300; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; margin: 0 0 18px; }

.day { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
@media (hover: hover) and (pointer: fine) { .day:hover { border-color: var(--line-2); } }
.day-head { width: 100%; display: grid; grid-template-columns: 118px 1fr auto 40px; gap: 18px; align-items: center; padding: 18px 20px; text-align: left; }
.d-no { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--accent); }
.d-no small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.d-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
.d-route .arr { color: var(--accent); font-weight: 400; }
.d-sub { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.d-why { display: block; font-size: .85rem; color: var(--fg-2); margin-top: 8px; max-width: 660px; }
.d-stats { display: flex; gap: 16px; text-align: right; }
.d-stats b { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.d-stats span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.d-chev { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--fg-2); justify-self: end; transition: transform .3s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.day.open .d-chev { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--bg); }
.d-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.day.open .d-detail { grid-template-rows: 1fr; }
.d-detail-in { overflow: hidden; }
.d-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px 20px 20px 136px; border-top: 1px dashed var(--line); }
.d-detail-grid .lbl { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.d-detail-grid p { font-size: .82rem; color: var(--fg-2); margin: 0; }
.day.island { background: var(--accent-soft); border-color: transparent; }

.prac-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prac { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; }
.prac h3 { display: flex; align-items: center; gap: 12px; font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.prac .n { font-size: 11px; font-weight: 600; background: var(--accent); color: var(--bg); border-radius: 6px; padding: 3px 8px; }
.prac .tag-line { font-size: .8rem; color: var(--muted); margin: 0 0 14px; }
.prac ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.prac li { font-size: .88rem; color: var(--fg-2); padding-left: 18px; position: relative; }
.prac li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prac li b { color: var(--fg); font-weight: 600; }
.prac .cols { columns: 2; column-gap: 26px; }
.prac .cols li { break-inside: avoid; }
.prac table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.prac td { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--fg-2); }
.prac td:last-child { text-align: right; font-weight: 600; color: var(--fg); white-space: nowrap; }
.prac tr:last-child td { border-bottom: 0; }

.cam-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 72px 0 44px; }
.cam-foot .big { margin: 0; font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; font-size: 12px; color: var(--muted); }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue .line::after { animation: none; }
  html { scroll-behavior: auto; }
}
@media print {
  #progress, .cam-head, .marquee, .cta-row, .hero-foot, .scroll-cue { display: none; }
  .day .d-detail { grid-template-rows: 1fr; }
  .sec { padding: 32px 0 8px; }
}

.menu-btn { display: none; }

/* light mode only — forced regardless of OS theme (no dark mode, no theme toggle) */
:root:not([data-theme="dark"]) {
  --bg: #faf9f6;
  --bg-2: #f0eee9;
  --surface: rgba(28, 25, 20, .04);
  --line: rgba(28, 25, 20, .1);
  --line-2: rgba(28, 25, 20, .2);
  --fg: #1c1914;
  --fg-2: #3d3a33;
  --muted: #6b675e;
  --accent: #8a4f08;
  --up: #3a8f52;
  --down: #c44a38;
  --accent-soft: rgba(138, 79, 8, .1);
  --spotlight: rgba(138, 79, 8, .14);
  --card-shadow: rgba(28, 25, 20, .12);
  --term-bg: #1c1914;
  --term-fg: #f5f2ea;
  --term-muted: #8a857a;
  --term-overlay: rgba(250, 249, 246, .85);
  --sec-bg: rgba(250, 249, 246, .88);
  --paper: #fff;
  color-scheme: light;
}

@media (max-width: 1080px) { .trips { grid-template-columns: 1fr; } .cmp { min-width: 760px; } }
@media (max-width: 900px) { .prac-grid, .sights { grid-template-columns: 1fr; } .whybox { grid-template-columns: 1fr; padding: 26px; } }
@media (max-width: 860px) {
  .day-head { grid-template-columns: 96px 1fr 40px; row-gap: 8px; padding: 16px; }
  .d-no { grid-row: 1 / 3; }
  .d-stats { display: flex; grid-column: 2 / 3; grid-row: 2 / 3; gap: 18px; text-align: left; }
  .d-stats b { font-size: 1.05rem; }
  .d-chev { grid-column: 3 / 4; grid-row: 1 / 3; align-self: center; width: 40px; height: 40px; }
  .d-detail-grid { grid-template-columns: 1fr; padding-left: 20px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--fg); font-size: 12.5px; cursor: pointer; }
  .cam-head nav { display: none; position: absolute; top: 57px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--gutter) 14px; background: var(--sec-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .cam-head nav.open { display: flex; }
  .cam-head nav a { padding: 13px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .cam-head nav a:last-child { border-bottom: 0; }
  .hero { min-height: auto; padding: 56px 0 72px; }
  .hero-foot { position: static; margin-top: 44px; }
  .sec { padding: 72px 0 8px; }
  .sec--tight { padding-top: 48px; }
  .btn { min-height: 48px; }
  .cmp { min-width: 680px; font-size: .8rem; }
  .cmp th, .cmp td { padding: 8px 10px; }
  .globe-card canvas { aspect-ratio: 4 / 3; }
  .whybox { padding: 22px; }
  .prac { padding: 22px; }
  .sight { padding: 18px; }
  .trip { padding: 18px; }
  .cam-foot { padding: 56px 0 36px; }
}
@media (max-width: 560px) { .prac .cols { columns: 1; } }

/* readability & mobile pass — larger type, calmer measure, thumb-sized controls */
body { font-size: 17px; line-height: 1.7; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.sec-lede { font-size: 1.06rem; }
.trip__route, .trip__verdict, .sight p:last-child, .prac li, .whybox li, .d-why { font-size: .93rem; line-height: 1.65; }
.cmp td { font-size: .9rem; }
.d-detail-grid p { font-size: .88rem; }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .chips { gap: 8px; }
  .chip { font-size: 12px; padding: 7px 12px; }
  .sec-head h2 { font-size: 1.7rem; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .day-head { padding: 14px; gap: 12px; grid-template-columns: 88px 1fr 40px; }
  .d-no { font-size: 1.02rem; }
  .d-route { font-size: 1rem; }
  .d-why { font-size: .88rem; }
  .d-detail-grid { padding: 14px 16px 16px; }
  .trip__art { margin-bottom: 12px; }
  .sight h3 { font-size: 1.1rem; }
  .hero-stat b { font-size: 1.6rem; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .act-head .range { white-space: normal; }
}
