/* indochine.tours: the old site's look on Wagtail (Ink Navy, Imperial Forest, Lacquer Crimson, Burnished Gold, Celadon). Light only.
   WCAG 2.2 AAA and COGA: text 7:1, borders and focus 3:1, 44 px targets, 65-character lines, nothing moves without reduced-motion respect.
   config/tests/test_theme_contrast.py reads the :root block and fails below those ratios. A pair that fails is fixed by darkening the token, never the test.
   Token names are shared with the other sites: red-text is the crimson, blue-text the ocean blue, navy-text the ink navy. */
   text 7:1, borders and focus 3:1, 48 px targets, 65-character lines, nothing moves without reduced-motion respect.
   Direction: docs/design/direction.md. config/tests/test_theme_contrast.py reads the :root block and fails below those ratios.
   Text colours are the old site's 800/900 shades, which already clear 7:1; a pair that fails is fixed by darkening the token, never the test. */
@font-face { font-family: Lexend; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/lexend-latin.7e692144d823.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lexend; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/lexend-latin-ext.a981ad4865c7.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-400.f1f8a8210104.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-700.13a58e05dfd2.woff2") format("woff2"); }
@font-face { font-family: OpenDyslexic; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/opendyslexic-400.209dda5cb267.woff2") format("woff2"); }
@font-face { font-family: OpenDyslexic; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/opendyslexic-700.df553171a66f.woff2") format("woff2"); }
:root {
  color-scheme: light;
  /* Old SvelteKit palette, exposed as stable tokens for templates and UnoCSS. */
  --brand-navy: hsl(228 42% 20%); --brand-forest: hsl(158 38% 18%); --brand-jade: hsl(155 35% 24%);
  --brand-crimson: hsl(355 58% 27%); --brand-amber: hsl(30 70% 25%); --brand-gold: hsl(40 65% 23%); --brand-ocean: hsl(214 48% 25%);
  --brand-forest-500: hsl(155 32% 25%); --brand-navy-50: hsl(228 25% 95%); --brand-forest-50: hsl(158 20% 95%);
  --brand-ocean-50: hsl(214 30% 95%); --brand-amber-50: hsl(38 60% 94%);
  --indochine-emerald: hsl(160 42% 23%); --indochine-teal: hsl(184 42% 16%); --indochine-gold: hsl(42 60% 24%); --indochine-light-green: hsl(120 20% 93%);
  --accent: hsl(184 42% 20%); --accent-strong: hsl(184 45% 13%); --accent-soft: hsl(184 30% 94%); --accent-contrast: hsl(0 0% 100%);
  --bg: #ffffff;  --surface: #fafafa; --surface-strong: #f4f4f5; --code-bg: #f4f4f5;
  --bg-card: #ffffff;
  --text: #18181b; --text-muted: #3f3f46;
  --border: #71717a; --focus: #213c5e; --a11y-focus-color: var(--focus);
  --red-text: #6d1d24; --blue-text: #213c5e; --navy-text: #1e2648; --sand-text: #594a3a; --gold-text: #614715;
  --hero-bg: #1e2648; --hero-accent: #eff0f5; --footer-bg: #1e2648; --cta-bg: #6d1d24; --gold: #e0b84a;
  --sand-bg: #eaf1ea; --on-navy-soft: #e4e7f1; --header-bg: #ffffff; --gutter: clamp(1rem, 4vw, 3rem);
  font-family: Lexend, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1.0625rem; line-height: 1.7; }
p { margin-block: 1em; }
ul, ol { margin-block: 1em; padding-inline-start: 2.5rem; }
ul { list-style: disc; }
ol { list-style: decimal; }
a { color: var(--blue-text); text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }
a:any-link { text-decoration-line: underline; }
a:hover { color: var(--red-text); }
:where(a, button, input, select, summary):focus-visible { border-radius: 0.2rem; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
source { display: none; }
.skip-link { position: fixed; z-index: 20; top: 0.75rem; left: 0.75rem; padding: 0.75rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
/* header and footer always run edge to edge, with the same side gutter as the home page bands */
.site-header, .site-footer { width: 100%; padding-inline: var(--gutter); }
.site-header { flex-wrap: wrap; position: sticky; z-index: 10; top: 0; min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg); color: var(--navy-text); border-bottom: 1px solid var(--border); transition: transform 0.2s ease; }
.site-header.header-hidden { transform: translateY(calc(-100% - 1px)); }
.site-header:focus-within { transform: translateY(0); }
.brand { min-height: 3rem; display: inline-flex; align-items: center; gap: 0.75rem; color: var(--navy-text); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.brand-logo { width: auto; height: 3rem; flex: none; }
.vietnam-flag { width: 3rem; height: 2rem; flex: none; border-radius: 0.25rem; box-shadow: 0 0.1rem 0.35rem rgb(0 0 0 / 20%); }
/* the logo is a 177 x 70 banner, so it keeps its shape */
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin-left: auto; }
.menu-toggle { display: none; padding-inline: 0.8rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--surface); color: var(--text); font: inherit; font-weight: 800; }
.nav-dropdown { position: static; }
.nav-dropdown summary { min-height: 3rem; display: inline-flex; align-items: center; padding-inline: 0.8rem; color: var(--navy-text); font-weight: 700; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; margin-left: 0.4rem; }
.primary-nav-book { border-radius: 0.5rem; background: var(--cta-bg); color: #fff !important; text-decoration: none; }
main { width: min(76rem, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--blue-text); font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 850; letter-spacing: 0.1em; }
.lede { max-width: 38rem; color: var(--text-muted); font-size: clamp(1.15rem, 2vw, 1.4rem); }
.primary-action { min-height: 3rem; display: inline-flex; align-items: center; margin-top: 1rem; padding: 0.65rem 1.1rem; border-radius: 0.6rem; background: var(--blue-text); color: var(--bg); font-weight: 850; text-decoration: none; }
.primary-action:hover { background: var(--blue-text); color: var(--bg); }
.site-footer { padding-block: clamp(3rem, 7vw, 6rem) 2rem; border-top: 1px solid var(--border); color: var(--text-muted); }
.footer-main { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr); gap: 3rem; max-width: 76rem; margin-inline: auto; }
.footer-brand-block { min-width: 0; }
.footer-brand { display: inline-flex; padding: 0.6rem 0.8rem; border-radius: 0.7rem; background: var(--bg); }
.footer-brand img { width: min(11rem, 100%); height: auto; }
.footer-tagline { max-width: 28rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-socials a { color: inherit; }
.footer-navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2rem; }
.footer-navigation section h2 { margin-top: 0; color: #fff; }
.footer-navigation address { font-style: normal; }
.footer-legal, .footer-operating { max-width: 76rem; margin-inline: auto; }
.article-shell { width: min(52rem, 100%); margin-inline: auto; padding-block: clamp(3rem, 8vw, 7rem); font-size: 1.15rem; }
.page-header { max-width: 52rem; padding-block: clamp(3rem, 8vw, 6rem); }
.page-header h1 { margin: 0.2rem 0 1rem; font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.05em; }
.article-header { margin-bottom: 2rem; }
.article-header h1 { max-width: none; font-size: clamp(2.5rem, 7vw, 5rem); }
.prose { margin-inline: auto; font-size: inherit; }
.prose :is(h2, h3) { margin-top: 2.2em; line-height: 1.2; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; }
.prose :is(p, li) { max-width: 65ch; }
.prose a { display: inline; vertical-align: baseline; }
.prose pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--border); border-radius: 0.6rem; background: var(--code-bg); }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.prose :not(pre) > code { padding: 0.1em 0.3em; border-radius: 0.25rem; background: var(--surface-strong); }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 0.3rem solid var(--blue-text); color: var(--text-muted); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose :is(th, td) { padding: 0.6rem; border: 1px solid var(--border); text-align: left; }
.prose figure { max-width: 100%; margin: 2rem 0; }
.prose figcaption { margin-top: 0.65rem; color: var(--text-muted); font-size: 0.9rem; }
.prose iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .kg-bookmark-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 14rem); gap: 1rem; width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; color: var(--text); text-decoration: none; }
.prose .kg-bookmark-title { font-weight: 800; }
.prose .kg-bookmark-description, .prose .kg-bookmark-metadata { color: var(--text-muted); font-size: 0.9rem; }
.prose .missing-media { padding: 1rem; border: 1px dashed var(--border); color: var(--text-muted); }
.prose .video-link a { display: inline-flex; min-height: 3rem; align-items: center; padding: 0.65rem 1rem; border: 1px solid var(--border); border-radius: 0.6rem; background: var(--surface); }
.error-page { width: min(42rem, 100%); margin-inline: auto; padding-block: clamp(3rem, 9vw, 7rem); text-align: center; }
.error-avatar { width: 6rem; height: 6rem; margin-inline: auto; object-fit: cover; border: 0.2rem solid var(--blue-text); border-radius: 9999px; background: var(--surface); }
.error-heading { margin-top: 2.5rem; }
.error-heading h1 { margin: 0.25rem 0 1rem; font-size: clamp(2.75rem, 8vw, 5rem); line-height: 1; letter-spacing: -0.05em; }
.error-heading > p:last-child { margin-inline: auto; color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.error-navigation { margin-top: clamp(3rem, 7vw, 5rem); text-align: left; }
.error-navigation h2 { margin: 0 0 0.75rem; font-size: 1rem; }
.error-navigation ul { margin: 0; padding: 0; border-block: 1px solid var(--border); list-style: none; }
.error-navigation li + li { border-top: 1px solid var(--border); }
.error-navigation li > a { min-height: 6.5rem; display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.25rem; align-items: center; gap: 1rem; padding-block: 1rem; color: var(--text); text-decoration: none; }
.error-navigation li > a:hover .error-link-copy strong { color: var(--blue-text); text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }
.error-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 0.65rem; background: var(--surface); color: var(--blue-text); }
.error-link-copy { display: grid; gap: 0.15rem; }
.error-link-copy strong { font-size: 1rem; }
.error-link-copy > span { color: var(--text-muted); font-size: 0.92rem; }
.error-arrow { width: 1.25rem; height: 1.25rem; color: var(--text-muted); }
.error-home { min-height: 3rem; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-weight: 800; }
@media (max-width: 52rem) {
  .site-header { min-height: 5rem; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; padding: 0.75rem; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 0.75rem 0.75rem; background: var(--bg); }
  .site-header nav.menu-open { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
/* ---- additions to the live design ---- */
/* A list item that holds only a link (the importer marks it) is a standalone target: 48 px, WCAG 2.5.5. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu-toggle[hidden] { display: none; }
.menu-toggle .menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: inline-block; }
/* Breadcrumb: a quiet line above the page header (WCAG 2.4.8 asks for the location). */
.breadcrumb { padding-top: 1.25rem; font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-inline: 0.5rem; color: var(--text-muted); }
.breadcrumb a { min-width: 3rem; min-height: 3rem; display: inline-flex; align-items: center; color: var(--text-muted); }
.breadcrumb [aria-current="page"] { color: var(--text); }
.breadcrumb + .article-shell, .breadcrumb + .page-header { padding-top: clamp(1rem, 3vw, 2rem); }
/* Theme switch (footer): three radios that look like a segmented control. Hidden until site.js runs. */
/* Without JavaScript the navigation stays open on small screens (site.js adds the .js class and the menu button). */
@media (max-width: 52rem) {
  html:not(.js) .site-header { flex-wrap: wrap; }
  html:not(.js) .site-header nav { position: static; display: flex; flex-basis: 100%; border: 0; }
  html.js .site-header nav { display: none; }
  html.js .site-header nav.menu-open { display: flex; }
  .nav-dropdown-panel { position: static; box-shadow: none; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  }
@media print {
  .site-header, .site-footer, .skip-link, .breadcrumb { display: none; }
  html, body { background: #fff; color: #000; }
  a { color: #000; }
}
/* Cookie notice and the video consent gate. */
html { scroll-padding-bottom: calc(var(--cookie-banner-height, 0px) + 1rem); }
body { padding-bottom: var(--cookie-banner-height, 0px); }
.cookie-banner:not([hidden]) { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; max-height: 70vh; overflow-y: auto; padding: 1rem; border-top: 2px solid var(--border); background: var(--surface); color: var(--text); }
.cookie-banner-inner { width: min(64rem, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; }
.cookie-banner-title { flex-basis: 100%; margin: 0; font-size: 1.15rem; font-weight: 700; }
.cookie-banner-text { flex: 1 1 28rem; margin: 0; line-height: 1.6; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-banner button, .embed-gate-load { min-width: 3rem; min-height: 3rem; padding: 0.65rem 1.1rem; border: 1px solid var(--border); border-radius: 0.6rem; background: var(--bg); color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.cookie-banner .cookie-allow { background: var(--blue-text); border-color: var(--blue-text); color: #ffffff; }
.cookie-settings { min-height: 3rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-settings:hover { color: var(--blue-text); text-decoration-thickness: 2px; }
.embed-gate { width: 100%; max-width: 50rem; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; margin: 1.75rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); color: var(--text); text-align: center; }
.embed-gate-box { max-width: 34rem; }
.embed-gate-title { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.embed-gate-text { margin: 0 0 1rem; line-height: 1.5; }
.embed-gate-actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
/* Contact form. */
.contact-form { display: grid; gap: 1.25rem; max-width: 40rem; margin-top: 2rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 700; }
.form-help { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.form-error, .form-error-summary { margin: 0; padding: 0.6rem 0.9rem; border-left: 0.35rem solid var(--focus); border-radius: 0.25rem; background: var(--surface-strong); color: var(--text); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--surface); color: var(--text); font: inherit; }
.needs-form-shell { margin-top: 3rem; padding: 2rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); }
.needs-form-heading { margin: 0 0 0.5rem; color: var(--navy-text); font-size: 1.75rem; }
.needs-form-intro { margin-bottom: 1.5rem; color: var(--text-muted); }
.needs-form-success { padding: 1rem 1.5rem; border-radius: 0.5rem; background: var(--sand-bg); color: var(--navy-text); font-weight: 700; }
.needs-form-error { margin-bottom: 1.5rem; padding: 1rem; border-left: 4px solid var(--red-text); border-radius: 0.5rem; background: var(--surface-strong); color: var(--red-text); font-weight: 700; }
.needs-form { display: flex; flex-direction: column; gap: 1.5rem; }
.needs-fieldset { padding: 1.25rem; border: 1px solid var(--border); border-radius: 0.5rem; }
.needs-legend { padding-inline: 0.5rem; color: var(--navy-text); font-weight: 700; }
.needs-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.needs-option { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; cursor: pointer; }
.needs-option-control { width: 20px; height: 20px; }
.needs-font-lexend { font-family: Lexend, sans-serif; }
.needs-field-label { display: block; margin-bottom: 0.5rem; color: var(--navy-text); font-weight: 700; }
.needs-field-control { width: 100%; min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid var(--border); border-radius: 0.375rem; background: var(--bg); color: var(--text); }
.needs-field-textarea { min-height: 88px; }
.needs-submit { min-width: 160px; min-height: 48px; padding: 0.75rem 1.75rem; border: none; font-size: 1.1rem; cursor: pointer; }
.contact-form .form-help { max-width: 65ch; }
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
/* AI statement note at the bottom of a page. */
.a11y-note { max-width: 46rem; margin: 3rem auto 0; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); font-size: 0.95rem; }
.a11y-note-heading { margin: 0 0 0.5rem; font-size: 1.05rem; }
.a11y-note p { margin: 0 0 1rem; }
.a11y-note p:last-child { margin-bottom: 0; }
.embed-gate-actions a { min-width: 3rem; min-height: 3rem; display: inline-flex; align-items: center; }
/* The calendar keeps 3rem day targets, so on narrow screens the table scrolls sideways inside its own region (WCAG 1.4.10 allows this for two-dimensional data; 2.5.5 needs the targets). */
/* Header search: an icon button, as on SaigonNezumi. */
/* Theme switch, as on SaigonNezumi: three icon options in one bordered group at the right end of the header. */
@media (max-width: 64rem) {
  .site-header { flex-wrap: wrap; row-gap: 0; }
  .menu-toggle { order: 2; }
  }
@media (prefers-reduced-motion: reduce) {
  }
/* Keyboard focus on form fields, and a line length of at most 65 characters in notices and form help (WCAG 1.4.8). */

/* --- shared rules the theme needs (header, links, menu, footer) --- */
.site-header a, .site-footer a, .primary-action { min-width: 3rem; min-height: 3rem; display: inline-flex; align-items: center; }
.site-header nav > a[href="/contact/"] { margin-left: 0.5rem; border-radius: 0.5rem; background: var(--cta-bg); color: #fff; }
.site-header nav > a { min-height: 3rem; display: inline-flex; align-items: center; padding-inline: 0.8rem; color: var(--navy-text); font-weight: 700; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.brand span { white-space: nowrap; }
.footer-navigation ul { margin: 0; padding: 0; list-style: none; }
.footer-navigation a, .cookie-settings { padding-block: 0.35rem; color: #fff; }
.footer-navigation a:hover, .cookie-settings:hover { color: #fff; text-decoration-thickness: 0.2em; }
.site-footer { --focus: var(--gold); --a11y-focus-color: var(--gold); background: var(--footer-bg); border-top: 0; color: #fff; }
@media (max-width: 36rem) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* --- the Steppe Exhibition --- */
/* A page is a heading, a lead, and a body in the owner's order. A photo is an exhibition card: the photo with its story beside it from 54rem,
   stacked below that. A card without a caption is the photo alone, at the full width of the card. Eyes stay inside one card (COGA). */
.article-shell { width: min(64rem, 100%); }
.article-header h1 { display: grid; gap: 0.35rem; }
.article-header h1 .eyebrow { display: block; margin: 0; color: var(--blue-text); font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; }
.lede { max-width: 65ch; color: var(--text-muted); font-size: 1.2rem; }
.lede p { margin-block: 0.5rem; }
.story-body, .story-body.prose { min-width: 0; max-width: none; }  /* text blocks keep their own 65-character limit; the photo cards use the whole width */
.story-body > :is(p, ul, ol, h1, h2, h3, h4, blockquote, dl, .embed-link) { max-width: 65ch; }
.story-body h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.story-body h2 { margin-block: 2.5rem 0.75rem; font-size: 1.6rem; line-height: 1.2; }
.story-body h3 { margin-block: 2rem 0.5rem; font-size: 1.3rem; line-height: 1.25; }
.story-body h4 { margin-block: 1.5rem 0.5rem; font-size: 1.1rem; }
.story-body dt { font-weight: 700; }
.story-body dd { margin: 0 0 0.75rem; }
.story-body figure.photo { display: grid; gap: 1rem 1.5rem; margin: 2rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); }
.story-body figure.photo > * { min-width: 0; }
.story-body figure.photo img { width: 100%; height: auto; border: 2px solid var(--border); border-radius: 0.25rem; background: var(--surface-strong); }
.story-body figure.photo figcaption { max-width: 65ch; margin: 0; color: var(--text); font-size: 1.0625rem; line-height: 1.65; overflow-wrap: anywhere; }
.story-body figure.photo figcaption p { margin: 0 0 0.75rem; }
.story-body figure.photo figcaption p:last-child { margin-bottom: 0; }
@media (min-width: 54rem) {
  .story-body figure.photo:has(figcaption) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start; }
}
.story-body .youtube-embed, .story-body .embed-gate { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--border); border-radius: 0.75rem; background: #000; }
.story-body .embed-gate { background: var(--surface); }
.story-body :is(p, li, dd, figcaption) { overflow-wrap: anywhere; }
.story-body .link-item > a, .story-body .embed-link a { display: inline-flex; align-items: center; min-width: 3rem; min-height: 3rem; }
.story-body li.link-item { max-width: none; }


/* --- the premium bands (docs/design/direction.md) ---
   A band is a full-width colour area; `.full-bleed` lets one escape the 76rem column of `main`. Dark bands (navy, red) switch the focus ring to gold. */
body { overflow-x: clip; }
.full-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.band { padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.band-inner { width: min(76rem, 100%); margin-inline: auto; }
.band-navy, .band-red { --focus: var(--gold); --a11y-focus-color: var(--gold); color: #fff; }
.band-navy { background: var(--hero-bg); }
.band-red { background: var(--cta-bg); }
.band-sand { background: var(--sand-bg); color: var(--text); }
.band-white { background: var(--bg); }
.band-navy :is(a:not(.btn), .eyebrow), .band-red :is(a:not(.btn), .eyebrow) { color: #fff; }
.band-sand .eyebrow { color: var(--sand-text); }
/* Wave divider between bands: decorative inline SVG, `fill` is the colour of the band below. */
.wave { display: block; width: 100vw; margin-inline: calc(50% - 50vw); height: clamp(2rem, 6vw, 5rem); margin-bottom: -1px; }
.wave-on-navy { background: var(--hero-bg); fill: var(--bg); }
.wave-navy { fill: var(--hero-bg); } .wave-red { fill: var(--cta-bg); } .wave-sand { fill: var(--sand-bg); } .wave-white { fill: var(--bg); }
/* Buttons: 48 px, a visible border, readable on their band. */
.btn { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: 9999px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn-red { background: var(--cta-bg); color: #fff; } .btn-red:hover { background: var(--red-text); color: #fff; }
.btn-light { background: #fff; color: var(--navy-text); } .btn-light:hover { background: var(--surface-strong); color: var(--navy-text); }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; } .btn-outline:hover { background: #fff; color: var(--navy-text); }
.band-white .btn-outline, .band-sand .btn-outline { color: var(--navy-text); } .band-white .btn-outline:hover, .band-sand .btn-outline:hover { background: var(--navy-text); color: #fff; }
a.btn:any-link, .site-header nav > a[href="/contact/"]:any-link { text-decoration: none; }
/* Rounded photo cards: a photo, a label, one plain sentence. */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.photo-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--bg); color: var(--text); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.photo-card h3 { margin: 0 0 0.5rem; color: var(--navy-text); font-size: 1.4rem; }
.photo-card p { margin: 0; max-width: 40ch; }
/* Blocks the editors compose pages from. */
.story-body figure.photo-small { max-width: 24rem; } .story-body figure.photo-full { max-width: none; }
.story-body figure.photo img { border-radius: 1rem; }
.callout { margin: 2rem 0; padding: 1.25rem 1.5rem; border: 2px solid var(--blue-text); border-left-width: 0.5rem; border-radius: 0.75rem; background: var(--surface); }
.callout p:first-child { margin-top: 0; } .callout p:last-child { margin-bottom: 0; }
.block-button { margin: 1.5rem 0; }
.table-wrap { overflow-x: auto; margin: 2rem 0; }
.table-wrap table { display: table; overflow: visible; width: 100%; border-collapse: collapse; }
.table-wrap caption { padding-bottom: 0.5rem; font-weight: 700; text-align: left; }
.table-wrap :is(th, td) { padding: 0.75rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--surface-strong); color: var(--navy-text); }
.table-wrap td p { margin: 0; }
/* Footer: the brand, then the editable columns (Settings > Footer settings). */
.footer-main { display: grid; gap: 2rem; width: min(76rem, 100%); margin-inline: auto; }
.footer-brand { margin: 0; font-size: 1.5rem; font-weight: 800; }
.footer-navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.footer-navigation h2 { margin: 0 0 0.5rem; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-navigation ul { display: grid; justify-content: start; gap: 0.1rem; }
.footer-legal { margin: 2.5rem 0 0; font-size: 0.95rem; text-align: center; }
/* Notice bar above the header; empty text means it is not rendered. */
.site-notice { padding: 0.75rem var(--gutter); background: var(--cta-bg); color: #fff; text-align: center; --focus: var(--gold); --a11y-focus-color: var(--gold); }
.site-notice p { max-width: 65ch; margin: 0 auto; font-weight: 700; }
.site-notice a { color: #fff; }
@media (forced-colors: active) { .btn, .photo-card { border: 2px solid CanvasText; } .wave { forced-color-adjust: none; } }
.wave-red { background: var(--bg); }
/* Layout fixes after the first screenshots: a photo with no caption is not bigger than a page column; links in the owner's tables are 44 px
   targets (Alfa sia-r111); less empty space between a hero and its text. */
.story-body figure.photo-medium:not(:has(figcaption)) { max-width: 32rem; }
.table-wrap a:any-link { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ===== The Indochine look: a white sticky header with the logo and the page menu, a navy page hero, Celadon bands. ===== */
.site-header { background: var(--header-bg); border-bottom: 6px solid var(--cta-bg); box-shadow: 0 1px 4px rgb(0 0 0 / 0.12); }
.site-header nav a { min-height: 2.75rem; display: inline-flex; align-items: center; padding-inline: 0.6rem; border-radius: 0.4rem; color: var(--navy-text); font-weight: 800; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover { color: var(--red-text); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; }
.brand-logo { width: auto; height: 6rem; }
.language-switcher { display: flex; gap: 0.25rem; margin-left: 0.5rem; }
.language-switcher a { min-height: 2.75rem; min-width: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding-inline: 0.7rem; border: 1px solid var(--border); border-radius: 0.4rem; color: var(--navy-text); font-weight: 700; text-decoration: none; }
.language-switcher a[aria-current="true"] { background: var(--navy-text); border-color: var(--navy-text); color: #fff; }
.page-hero { background: var(--hero-bg); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter); }
.page-hero-inner { width: min(76rem, 100%); margin-inline: auto; }
.page-hero .eyebrow { color: var(--hero-accent); }
.page-hero h1 { margin: 0.25rem 0 0; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; color: #fff; }
.page-hero-lead { max-width: 65ch; margin-top: 1rem; color: var(--hero-accent); font-size: 1.2rem; }
.page-hero-lead a { color: #fff; }
.full-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.prose h2 { color: var(--navy-text); }
.language-switcher + .menu-toggle { margin-left: 0.5rem; }
.page-hero-photo { display: block; width: calc(100% + 2 * var(--gutter)); max-height: 26rem; margin: calc(-1 * clamp(2.5rem, 7vw, 5rem)) calc(-1 * var(--gutter)) 2rem; object-fit: cover; }
/* Photos in the old look: no frame, rounded corners, full column; the small size is a brand mark (the logo, the lotus). */
.story-body figure.photo { padding: 0; border: 0; background: none; }
.story-body figure.photo img { border: 0; border-radius: 0.75rem; background: none; }
.story-body figure.photo-small { max-width: 8rem; margin-inline: 0; }

/* ===== Plan 8 Task 2: the four home-page blocks, ported from the old home page markup.
   Colours read the :root tokens only; dark areas switch the focus ring to gold like the bands do. ===== */
/* The old hero: a 70vh photo, a dark veil on top of it, and centred white text. */
.home-hero { position: relative; overflow: hidden; isolation: isolate; --focus: var(--gold); --a11y-focus-color: var(--gold); }
.home-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 60%) 50%, rgb(0 0 0 / 70%)); }
.home-hero-inner { min-height: 70vh; min-height: max(70vh, 480px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem var(--gutter); text-align: center; }
.home-hero-label-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.home-hero-flag { width: 4.5rem; height: 3rem; flex: none; border-radius: 0.5rem; box-shadow: 0 0.1rem 0.35rem rgb(0 0 0 / 20%); }
.home-hero-label { margin: 0; color: var(--gold); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; letter-spacing: 0.02em; }
.home-hero-title { margin: 0; color: white; font-size: clamp(2.5rem, 7vw, 4.25rem); font-weight: 800; line-height: 1.1; }
.home-hero-intro { max-width: 42rem; margin: 0; color: white; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.7; }
.home-hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.home-hero-buttons .block-button { margin: 0; }
@media (min-width: 30rem) { .home-hero-buttons { flex-direction: row; } }
/* The phrase cards: centred heading, small intro, a row of small white cards that wraps. */
.phrase-heading, .card-grid-heading { margin: 0 auto 0.5rem; text-align: center; color: var(--navy-text); font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.phrase-intro { max-width: 65ch; margin: 0 auto 1.5rem; text-align: center; color: var(--text-muted); }
.phrase-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.phrase-card { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--bg); box-shadow: 0 1px 3px rgb(0 0 0 / 8%); text-align: center; }
.phrase-card p { margin: 0; }
.phrase-card-phrase { color: var(--red-text); font-size: 1.25rem; font-weight: 800; line-height: 1.5; }
.phrase-card-meaning { color: var(--navy-text); font-weight: 700; }
.phrase-card-note { color: var(--text-muted); }
/* The about split: text on the left, a 2x2 photo grid on the right; they stack on a phone. */
.about-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about-split-heading { margin: 0.5rem 0 1rem; color: var(--navy-text); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.about-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; text-align: center; }
.about-stat-value { margin: 0; color: var(--red-text); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; }
.about-stat-label { margin: 0; color: var(--text-muted); }
.about-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.about-photo { width: 100%; height: 11rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 2px 6px rgb(0 0 0 / 15%); }
/* The tour cards: photo on top, body under it; the whole card is one link where it has a target. */
.tour-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 30rem) { .tour-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .tour-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tour-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgb(0 0 0 / 12%); text-decoration: none; }
.tour-card:hover { box-shadow: 0 4px 12px rgb(0 0 0 / 20%); }
.tour-card-photo { width: 100%; height: 12rem; object-fit: cover; }
.tour-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.tour-card-label { margin: 0 0 0.25rem; color: var(--red-text); font-weight: 700; letter-spacing: 0.05em; }
.tour-card-title { margin: 0 0 0.5rem; color: var(--navy-text); font-size: 1.4rem; display: flex; align-items: center; min-height: 2.75rem; min-height: max(2.75rem, 44px); }
.tour-card-text { margin: 0; max-width: 45ch; color: var(--text-muted); flex: 1; }
.tour-card-link { margin: 1rem 0 0; color: var(--red-text); font-weight: 700; }
.eyebrow-center { text-align: center; }


/* ===== Plan 8 Task 2b: the why-us cards and the video call-to-action band (same token rules as above). ===== */
.feature-heading { margin: 0 auto 2rem; text-align: center; color: var(--navy-text); font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.feature-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 30rem) { .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .feature-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-card { padding: 1.5rem; border-radius: 1rem; background: var(--brand-forest-50); text-align: center; }
.feature-card svg { width: 2.75rem; height: 2.75rem; margin-block: 0 0.75rem; color: var(--red-text); }
.feature-title { margin: 0 0 0.5rem; color: var(--navy-text); font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; min-height: 2.75rem; }
.feature-text { margin: 0; max-width: 30ch; margin-inline: auto; color: var(--text-muted); line-height: 1.65; }
.media-cta { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 52rem) { .media-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.media-cta-video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 1rem; background: rgb(0 0 0); box-shadow: 0 4px 14px rgb(0 0 0 / 20%), 0 0 0 2px rgb(218 37 29 / 30%); }
.media-cta-poster { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 1rem; box-shadow: 0 4px 14px rgb(0 0 0 / 20%); }
.media-cta-caption { margin: 0.75rem 0 0; color: var(--text-muted); text-align: center; }
.media-cta-text { text-align: center; }
@media (min-width: 52rem) { .media-cta-text { text-align: left; } }
.media-cta-heading { margin: 0.25rem 0 1rem; color: var(--navy-text); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.media-cta-lead { max-width: 60ch; margin: 0 0 1.5rem; color: var(--text-muted); }
.media-cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.media-cta-buttons .block-button { margin: 0; }
@media (min-width: 30rem) { .media-cta-buttons { flex-direction: row; } .media-cta-text .media-cta-buttons { align-items: start; } }

/* ===== Plan 8 Task 3b: visual parity with the old home page (tokens only; see report-plan8-task3b.md). ===== */
/* 1. New tinted bands: light green-grey and blue-grey, matching the old page's alternation. */
.band-forest { background: var(--brand-forest-50); }
.band-ocean { background: var(--brand-ocean-50); }
/* 1/2. Section bands inside the story body: old-page rhythm (~80px bands, no prose heading gaps). */
.story-body .band { padding: clamp(2.75rem, 4.5vw, 5rem) var(--gutter); }
.story-body .band :is(h2, h3) { margin-top: 0; }
.phrase-heading, .feature-heading, .card-grid-heading, .media-cta-heading { margin: 0 0 2.5rem; }
/* 2. The old hero is ~626px tall at a 1440-wide window, with the title block centred. */
.home-hero-inner { min-height: max(480px, 39rem); }
/* 3. Cards: soft shadow, rounded corners, no hard outline; crimson link cue with the arrow, underlined on hover/focus. */
.phrase-card { border: 0; }
.tour-card-label { font-size: 0.85rem; letter-spacing: 0.08em; }
.tour-card:hover .tour-card-link, .tour-card:focus-visible .tour-card-link { text-decoration: underline; }
/* 4. The old hero's text shadows: the AAA defence for white text over any photo region (veil strength unchanged). */
.home-hero-title { text-shadow: 0 2px 16px rgb(0 0 0 / 95%), 0 0 40px rgb(0 0 0 / 80%); }
.home-hero-intro { text-shadow: 0 1px 8px rgb(0 0 0 / 95%), 0 0 20px rgb(0 0 0 / 80%); }
/* 5. Without a video or poster the left column keeps a video-shaped black rectangle so the layout holds. */
.media-cta-stub { width: 100%; aspect-ratio: 16 / 9; border-radius: 1rem; background: rgb(0 0 0); }
/* 6. The about split: text column ~45%, photo grid ~55%, as on the old page. */
.about-split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }
/* --- Tour pages (Plan 8, task 4): header, itinerary, gallery, policies --- */
.tour-header { max-width: 72rem; margin: 0 auto; padding: 2.5rem var(--gutter) 1rem; text-align: center; }
.tour-header-title { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); text-transform: uppercase; color: var(--navy-text); }
.tour-header-duration, .tour-header-price { margin: 0.75rem 0 0; color: var(--text); }
.tour-header-photo-band { position: relative; margin: 1.5rem auto 0; max-width: 60rem; }
.tour-header-framed { border: 6px solid var(--brand-crimson); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 0 0 3px var(--brand-amber-50); }
.tour-header-photo { display: block; width: 100%; height: clamp(14rem, 40vw, 26rem); object-fit: cover; }
.tour-header-mark { position: absolute; top: -1.25rem; width: 3.25rem; height: 3.25rem; object-fit: contain; background: var(--bg); border-radius: 0.5rem; padding: 0.25rem; }
.tour-header-mark-left { left: -1rem; }
.tour-header-mark-right { right: -1rem; background: transparent; padding: 0; }
.tour-panel { max-width: 72rem; margin: 0 auto; padding: 1.5rem var(--gutter); }
.tour-section-heading { margin: 0 0 1rem; font-size: 1.375rem; color: var(--red-text); }
.tour-table { overflow: visible; }
.tour-table table { display: table; overflow: visible; width: 100%; border-collapse: collapse; background: var(--surface); }
.tour-table th, .tour-table td { border: 1px solid var(--border); padding: 0.625rem 0.75rem; text-align: left; vertical-align: top; }
.tour-table th { background: var(--surface-strong); }
.tour-map-days { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.tour-day-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; }
.tour-day-title { margin: 0 0 0.5rem; font-size: 1.0625rem; color: var(--navy-text); }
.tour-day-bullets, .tour-policy-list { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.tour-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.tour-gallery-item { margin: 0; border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden; background: var(--bg); }
.tour-gallery-item img { display: block; width: 100%; height: 15rem; object-fit: cover; }
.tour-gallery-caption { padding: 0.5rem 0.75rem; color: var(--text-muted); font-size: 0.9375rem; }
.tour-inclusions { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.tour-policy-label { margin: 0 0 0.5rem; font-weight: 600; color: var(--navy-text); }
@media (min-width: 64rem) {
  .tour-map.tour-panel + .tour-overview { margin-top: 0; }
}

/* Headings centred like the home page's "Our Tours" (owner request) */
.tour-section-heading, .page-intro, .page-intro-title, .page-intro-lead, .page-intro .eyebrow { text-align: center; }
.tour-section-heading { margin: 0 auto 1.5rem; color: var(--navy-text); font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.page-intro { max-width: 52rem; margin: 0 auto; padding: 3rem var(--gutter) 1rem; }
.page-intro-lead { margin-inline: auto; }
.tour-policy-list, .tour-day-bullets { max-width: 44rem; margin-inline: auto; }
.tour-day-title { text-align: center; }
.card-grid-heading + .tour-cards { margin-top: 0; }
/* Card text is not underlined; only the "View details" words are (keeps links obvious, drops the noise) */
a.tour-card, a.tour-card:hover, a.tour-card * { text-decoration: none; }
a.tour-card .tour-card-link { text-decoration: underline; text-underline-offset: 0.2em; }

/* Tours mega menu: a full-width panel of cards under the header (Plan 8). Layout is UnoCSS utilities in base.html. */
.nav-dropdown-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 12; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgb(0 0 0 / 12%); }
.site-header nav .nav-dropdown-panel a { min-height: 2.75rem; padding-inline: 0; color: var(--navy-text); font-weight: 700; }
.site-header nav .nav-dropdown-panel li a { display: block; min-height: 0; }
.site-header nav .nav-dropdown-panel p { margin: 0.25rem 0 0; color: var(--text-muted); }
.nav-mega-bar { background: var(--surface-strong); border-top: 1px solid var(--border); }
.site-header nav .nav-mega-bar a { display: flex; justify-content: center; }
.site-header nav .nav-mega-bar a:hover { background: var(--brand-navy-50); color: var(--red-text); }
.nav-dropdown summary { list-style: none; }
.nav-dropdown[open] > summary { color: var(--red-text); }
@media (max-width: 63.99rem) {
  .nav-dropdown-panel { position: static; box-shadow: none; border: 0; }
}
.site-header nav .nav-dropdown-panel li a { text-transform: none; letter-spacing: 0; font-size: 1.0625rem; }
.site-header nav .nav-dropdown-panel li p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9375rem; }
.site-header nav .nav-mega-bar a { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }


/* ===== Plan 8 Task 4b: the day-tour cards (Nha Trang) — reuses the existing tour panel styles. ===== */
.day-tours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.day-tour-item { margin: 0; padding: 0; }
.day-tour-counter { margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; color: var(--red-text); }
.day-tour { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 1.25rem; align-items: start;
  background: var(--bg-card); border-radius: 1rem; padding: 1rem; box-shadow: 0 1px 4px rgb(0 0 0 / 12%); }
.day-tour-photo { width: 100%; height: auto; border-radius: .75rem; aspect-ratio: 4 / 3; object-fit: cover; }
.day-tour-title { margin: 0 0 .5rem; font-size: 1.25rem; color: var(--navy-text); }
.day-tour-facts, .day-tour-highlights { margin: 0 0 .5rem; padding: 0 0 0 1.25rem; }
.day-tour-facts { color: var(--grey-text); font-size: .95rem; }
@media (max-width: 47.999rem) {
  .day-tour { grid-template-columns: 1fr; }
}
/* Plan 8 Task 5: blocks of the content pages (about, transport, visa, welcome, accessibility, book). */
.feature-intro, .card-grid-intro { margin: 0 auto 2rem; max-width: 46rem; text-align: center; color: var(--text-muted); line-height: 1.65; }
.band-navy .feature-heading, .band-navy .card-grid-heading { color: #fff; }
.band-navy .feature-intro, .band-navy .card-grid-intro { color: var(--on-navy-soft); }
.band-navy .feature-card { background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); }
.band-navy .feature-card svg { color: var(--gold); }
.band-navy .feature-title { color: #fff; }
.band-navy .feature-text { color: var(--on-navy-soft); }
.cta-band { padding: 3.5rem var(--gutter); background: var(--hero-bg); color: #fff; text-align: center; --focus: var(--gold); --a11y-focus-color: var(--gold); }
.cta-band-heading { margin: 0 0 1rem; color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.cta-band-text { margin: 0 auto 1rem; max-width: 42rem; color: var(--on-navy-soft); line-height: 1.65; }
.cta-band .btn { margin: 0.5rem 0.4rem 0; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy-text); }
.cta-band-links { margin: 1.25rem 0 0; text-align: center; }
.cta-band .link-line, .cta-band a:not(.btn) { color: #fff; }
.link-line { color: var(--red-text); font-weight: 700; text-underline-offset: 0.2em; margin-inline-end: 1rem; }
.chips-row { max-width: 72rem; margin: 1.5rem auto; padding-inline: var(--gutter); text-align: center; }
.chips-label { margin: 0 0 0.75rem; font-weight: 700; color: var(--navy-text); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--brand-navy-50); color: var(--navy-text); border: 1px solid var(--border); }
.fact-rows, .option-cards { max-width: 72rem; margin: 1.5rem auto; padding-inline: var(--gutter); }
.fact-rows-heading { margin: 0 0 0.75rem; color: var(--navy-text); font-size: 1.25rem; }
.fact-rows-list { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 0; }
.fact-label { font-weight: 700; color: var(--navy-text); }
.fact-value { margin: 0; color: var(--text); }
.fact-suffix, .fact-note { color: var(--text-muted); }
.fact-note { margin: 0.75rem 0 0; line-height: 1.6; }
.option-cards-intro { margin: 0 auto 1.5rem; max-width: 46rem; text-align: center; color: var(--text-muted); line-height: 1.65; }
.option-cards-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .option-cards-list { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.option-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; border-radius: 1rem; background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); }
.option-card-label { margin: 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; color: var(--red-text); }
.option-card-title { margin: 0; color: var(--navy-text); font-size: 1.3rem; }
.option-card-tagline { margin: 0; font-weight: 700; color: var(--text); }
.option-card-text { margin: 0; color: var(--text-muted); line-height: 1.65; }
.option-card-notes { margin: 0; padding-inline-start: 1.25rem; color: var(--text-muted); line-height: 1.6; }
.option-card-buttons { margin: auto 0 0; }
.tour-card-plain { padding: 1.5rem; }
.cta-band .cta-band-heading { color: #fff; text-align: center; }
.cta-band .cta-band-text { margin-inline: auto; max-width: 42rem; }
.cta-band .btn { display: inline-flex; }
.cta-band .block-button, .cta-band .cta-band-links { max-width: none; margin: 0.75rem 0 0; text-align: center; }
.cta-band .block-button .btn { margin: 0; }
.option-card .fact-rows-list { grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--border); padding-top: 0.75rem; }
.option-card .fact-value { text-align: end; max-width: 11rem; }
.option-card .fact-label, .option-card .fact-value { font-size: 0.95rem; }
.page-intro { background: var(--brand-forest-50); box-shadow: 0 0 0 100vmax var(--brand-forest-50); clip-path: inset(0 -100vmax); padding-bottom: 2.5rem; }
.page-intro-title { color: var(--navy-text); }
.page-intro-lead { color: var(--text-muted); }
.fact-rows { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--bg-card); box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); max-width: 56rem; }
.option-card .fact-rows-list, .fact-rows .fact-rows-list { align-items: baseline; }
.story-body > .block-button { display: inline-block; max-width: none; margin-inline-end: 0.75rem; }

.feature-heading:has(+ .feature-intro), .card-grid-heading:has(+ .card-grid-intro) { margin-bottom: 0.75rem; }
@media (min-width: 64rem) { .feature-cards { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); } }


/* ===== Plan 8 Task 5b: fast-track band, business info card, CTA variants, welcome panels. ===== */
/* 1. Airport Fast Track: navy two-column band; the pricing card sits slightly darker on the right. */
.fast-track-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem;
  max-width: 72rem; margin: 0 auto; padding: 3rem var(--gutter); }
.fast-track-pill { display: inline-block; margin: 0 0 1rem; padding: 0.25rem 1.25rem; border-radius: 999px;
  background: var(--gold); color: var(--navy-text); font-weight: 600; font-size: 0.95rem; }
.fast-track-heading, .fast-track-pricing-heading { margin: 0 0 1rem; color: #fff; }
.fast-track-pricing-heading { font-size: 1.25rem; }
.fast-track-lead { margin: 0 0 1rem; color: #fff; }
.fast-track-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.fast-track-ticks li { padding: 0; color: #fff; }
.fast-track-ticks li::before { content: "✓"; color: var(--gold); margin-right: 0.5rem; }
.fast-track-pricing-card { background: rgb(0 0 0 / 35%); border-radius: 1rem; padding: 1.5rem; align-self: start; }
.fast-track-pricing-card .fact-label { color: #fff; }
.fast-track-pricing-card .fact-value { color: var(--gold); font-weight: 600; }
@media (max-width: 63.999rem) {
  .fast-track-inner { grid-template-columns: 1fr; }
}
/* 2. Business & Long-Term Visas: a white rounded card with a row of buttons (navy filled first,
   then outlined); the other info cards keep the red-rule label line. */
.info-card { max-width: 56rem; margin: 2rem auto; padding: 1.5rem; background: var(--bg-card);
  border-radius: 1.25rem; box-shadow: 0 1px 4px rgb(0 0 0 / 12%); }
.info-card-heading { margin: 0 0 1rem; color: var(--navy-text); }
.info-card-label { margin: 0 0 .5rem; padding-left: 1rem; border-left: .3rem solid var(--red-text);
  color: var(--red-text); font-weight: 600; letter-spacing: 0.06em; font-size: 0.95rem; }
.info-card-group-heading { margin: 1.25rem 0 .5rem; font-size: 1.125rem; color: var(--navy-text); }
.info-card-group { padding-left: 1rem; border-left: .3rem solid var(--accent-soft); }
.info-card-text { margin: 0 0 1rem; }
.info-card-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0; }
.info-card-buttons .block-button { margin: 0; }
.btn-navy { background: var(--hero-bg); color: #fff; }
.btn-navy:hover { background: var(--brand-forest); color: #fff; }
/* 3. CTA band actions: buttons side by side, centred; panel = rounded navy inside the page;
   closing = plain centred strip on the page background. The second button is outlined. */
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.cta-band-actions .block-button { margin: 0; }
.cta-band-panel { max-width: 56rem; margin: 2rem auto; border-radius: 1.25rem; padding: 2rem; }
.cta-band-panel { background: var(--hero-bg); color: #fff; }
.cta-band-panel .cta-band-heading { color: var(--gold); }
.cta-band-closing { background: var(--bg); }
.cta-band-closing .cta-band-text { text-align: center; color: var(--text); }
.cta-band-closing .cta-band-heading { color: var(--navy-text); background: unset; color: unset; }
/* navy bands keep their white text; the second button in an action row is outlined white/sand */
.cta-band-band .cta-band-heading, .cta-band-band .cta-band-text { color: #fff; }
.cta-band-band { background: var(--hero-bg); }
.cta-band-actions .block-button:nth-child(2) .btn,
.cta-band-actions .block-button:nth-child(2) .btn:hover { background: unset; }
@media (min-width: 48rem) {
  .cta-band-actions { justify-content: center; }
}
/* 4. Welcome page: the video alone centred at most 56rem wide, rounded. */
.media-cta-solo { background: unset; }
.media-cta-solo .media-cta { display: block; max-width: 56rem; margin: 0 auto; }
.media-cta-solo .media-cta-media { width: 100%; }
.media-cta-solo .media-cta-stub { border-radius: 1rem; }.fast-track .fast-track-heading, .fast-track .fast-track-pricing-heading { color: #fff; }
.fast-track-pricing-card .fact-rows-list { grid-template-columns: minmax(0, 1fr) auto; gap: 0.9rem 1rem; }
.fast-track-pricing-card .fact-value { text-align: end; }
.cta-band-closing .btn:not(.btn-red) { background: transparent; color: var(--navy-text); border-color: var(--navy-text); }
.cta-band-closing .btn:not(.btn-red):hover { background: var(--navy-text); color: #fff; }
.cta-band-closing .block-button { margin: 0; }
.cta-band-closing .cta-band-actions .block-button:nth-child(2) .btn { background: transparent; color: var(--navy-text); border-color: var(--navy-text); }
.cta-band-closing .cta-band-actions .block-button:nth-child(2) .btn:hover { background: var(--navy-text); color: #fff; }

/* Plan 8 Task 5: the booking page (Plan 4 form) in the old design: intro, contact card, photo mosaic, form card. */
.template-booking .story-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; max-width: 72rem; }
.template-booking .story-body > .page-intro, .template-booking .story-body > .fact-rows { grid-column: 1 / -1; }
.template-booking .story-body > .fact-rows { width: 100%; }
.template-booking figure.photo { margin: 0; max-width: none; }
.template-booking figure.photo img { width: 100%; height: 11rem; object-fit: cover; border-radius: 0.75rem; }
.booking-section { max-width: 40rem; margin: 2rem auto; padding: 2rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--bg-card); box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); }
.booking-form { display: grid; gap: 1.25rem; }
.booking-form .form-group label { display: block; margin-bottom: 0.4rem; color: var(--navy-text); font-weight: 700; }
.booking-form input:not([type="hidden"]), .booking-form select, .booking-form textarea { width: 100%; min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid var(--border); border-radius: 0.375rem; background: var(--bg); color: var(--text); font: inherit; }
.booking-form textarea { min-height: 7rem; }
.booking-form .required { color: var(--red-text); }
.booking-form .field-error, .booking-form .form-errors { margin-top: 0.4rem; color: var(--red-text); font-weight: 600; }
.booking-form .form-actions { display: flex; justify-content: flex-end; }
.booking-form .primary-action { min-height: 3rem; padding: 0.75rem 1.75rem; border: 0; border-radius: 0.5rem; background: var(--navy-text); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

.link-line { display: inline-block; min-height: 2.75rem; padding-block: 0.6rem; }

/* Owner review 1 (2026-11-02): centred section titles, wider visa cards, tight footer logo, media label over the video. */
.band-inner > :is(.eyebrow-center, .card-grid-heading, .feature-heading, .phrase-heading) { max-width: none; margin-inline: auto; text-align: center; }
.band-inner > .eyebrow-center { margin-bottom: 0.25rem; }
.option-cards { position: relative; left: 50%; transform: translateX(-50%); width: min(84rem, calc(100vw - 2 * var(--gutter))); max-width: none; }
@media (min-width: 48rem) { .option-cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .option-cards-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.option-card .fact-value { max-width: 14rem; }
.footer-brand { width: fit-content; max-width: 100%; padding: 0.4rem 0.6rem; }
.footer-brand img { width: 9rem; max-width: 100%; }
.media-cta-media .media-label { margin: 0 0 0.75rem; text-align: center; font-weight: 700; color: var(--navy-text); }

/* Owner review 2: the itinerary overview table, with a navy head, warm rows and a gold-crimson edge. Day labels never wrap. */
.tour-overview .tour-section-heading { text-align: center; }
.tour-overview .tour-section-heading::after { content: ""; display: block; width: 5rem; height: 0.25rem; margin: 0.6rem auto 0; border-radius: 1rem; background: linear-gradient(90deg, var(--brand-crimson), var(--brand-gold), var(--brand-crimson)); }
.tour-table { border: 1px solid var(--border); border-top: 0.375rem solid var(--brand-crimson); border-radius: 1rem; overflow: hidden; background: var(--bg); box-shadow: 0 4px 14px rgb(30 38 72 / 0.12); }
.tour-table table { border-collapse: separate; border-spacing: 0; background: transparent; }
.tour-table th, .tour-table td { border: 0; border-bottom: 1px solid var(--border); padding: 0.7rem 1rem; vertical-align: middle; }
.tour-table thead th { background: var(--navy-text); color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; border-bottom: 0.25rem solid var(--brand-gold); }
.tour-table tbody tr:nth-child(even) td { background: var(--brand-amber-50); }
.tour-table tbody tr:last-child td { border-bottom: 0; }
.tour-table tbody td:first-child { white-space: nowrap; width: 1%; font-weight: 800; color: var(--red-text); border-inline-end: 3px solid var(--brand-gold); background: var(--brand-ocean-50); }
.tour-table td p { margin: 0; }
.tour-table tbody td:first-child p { display: inline; font-weight: 800; }
.tour-table tbody td:first-child p::before { content: "◆ "; color: var(--brand-gold); font-size: 0.7em; vertical-align: 0.15em; }
.tour-table tbody td:nth-child(2), .tour-table tbody td:nth-child(2) p { font-weight: 700; color: var(--navy-text); }

/* Owner review 2: a notice box above forms (visa apply, booking). */
.callout-block { max-width: 46rem; margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px solid var(--border); border-inline-start: 0.375rem solid var(--brand-gold); border-radius: 0.75rem; background: var(--brand-amber-50); color: var(--text); }
.callout-block .callout-heading, .callout-block h3 { margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--navy-text); }
.callout-block p { margin: 0; line-height: 1.6; }

/* Vietnam map: the outline is decoration; the towns are links (44px or more, visible words, focus ring). */
.vietnam-map { display: flex; justify-content: center; }
.vietnam-map-canvas { position: relative; width: 100%; max-width: 40rem; }
.vietnam-map-shape { display: none; }
.map-pins { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.map-pin a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.35rem 1rem 0.35rem 0.5rem; border: 2px solid var(--brand-ocean); border-radius: 2rem; background: var(--bg); color: var(--navy-text); font-weight: 700; text-decoration: none; }
.map-pin a:hover { background: var(--brand-amber-50); }
.map-pin-dot { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--brand-crimson); box-shadow: 0 0 0 3px var(--brand-amber-50); }
@media (min-width: 48rem) {
  .vietnam-map-canvas { width: 20rem; }
  .vietnam-map-shape { display: block; width: 100%; height: auto; fill: var(--brand-ocean-50); stroke: var(--brand-ocean); stroke-width: 2; stroke-linejoin: round; }
  .map-pins { display: block; }
  .map-pin { position: absolute; width: max-content; transform: translate(-1.375rem, -1.375rem); }
  .map-pin a { white-space: nowrap; }
  .map-pin a { padding-inline-start: 0.7rem; }
  .map-pin-saigon { left: 58.8%; top: 83.2%; }
  .map-pin-nhatrang { left: 89.9%; top: 73.8%; }
  .map-pin-danang { left: 77.8%; top: 49%; }
  .map-pin-halong { left: 63.5%; top: 17.2%; }
  .map-pin-sapa { left: 23%; top: 8.2%; transform: translate(calc(-100% + 1.375rem), -1.375rem); }
  .map-pin-sapa a, .map-pin-saigon a { flex-direction: row-reverse; padding: 0.35rem 0.7rem 0.35rem 1rem; }
  .map-pin-saigon { transform: translate(calc(-100% + 1.375rem), -1.375rem); }
}

/* The visa apply page: the privacy note lines up with the form card under it. */
.apply-note { max-width: 40rem; margin: 2rem auto 0; }
