/* Traviis brand system: sites/shared/brand.css, served at /shared/brand.css.
 *
 * ONE stylesheet for the homepage, the catalogue and every tour landing
 * page, so the three read as one designer's work. Approved 2026-10-19
 * (tasks/redesign/approved_mockup_template.html).
 *
 *   Type    DM Serif Display for every heading, the logo, prices-as-headings
 *           and the seal number; Source Sans 3 for everything else. The
 *           italic of DM Serif Display is the only emphasis device.
 *   Sizes   --t-xs .82rem, --t-s 1rem, --t-m 1.3rem, --t-l 1.85rem, --t-xl.
 *   Colour  sea = brand, headings, labels, prices, links
 *           sun = highlights only: tags, the seal, italic emphasis on dark
 *           coral = ACTIONS ONLY (buttons)
 *           stone = quiet surfaces; ink = text (#56616C secondary, #E6DECF lines)
 *
 * How it is applied. Landing pages are NOT regenerated (two dozen patchers
 * have edited them in place); scripts/patch_landing_brand.py links this
 * file AFTER each page's own <style> and puts a class on <body>. Each page
 * family is skinned under its body class (.tv-landing, .tv-catalog,
 * .tv-home), which also lifts these rules above the page's own by
 * specificity, so link order is a second guarantee rather than the only one.
 *
 * Fonts are self-hosted from /fonts/ (website/fonts/, nginx). Never load
 * them from Google: tests/test_no_third_party_fonts.py explains why.
 * Licence: SIL Open Font License 1.1 (both families).
 *
 * Cache: pages reference this as /shared/brand.css?v=<content hash>.
 * After editing it, re-run scripts/patch_landing_brand.py --apply (which
 * re-stamps the hash on every landing) and rebuild the homepage/catalogue.
 */

@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-serif-display-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-serif-display-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-serif-display-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-serif-display-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-var-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ───────────────────────────────────────────────────────────
   The page-level names (--accent, --paper, --font-display, --font-mono,
   --ink ...) are the tokens the older inline stylesheets use. Remapping
   them here restyles every rule we do not override by hand, and pointing
   --font-mono at the body face takes the monospace out of the design. */
:root {
  --sea: #127A8A; --sea-dark: #0C5A66; --sun: #F5D35C;
  --coral: #E8874A; --coral-dark: #C8552D;
  --stone: #F6F1E7; --line: #E6DECF; --ink: #1F2A36; --ink-2: #56616C; --white: #FFFFFF;
  --f-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --t-xs: .82rem; --t-s: 1rem; --t-m: 1.3rem; --t-l: 1.85rem; --t-xl: clamp(2.3rem, 5vw, 3rem);
  --radius: 10px; --radius-btn: 8px;
  --gutter: max(16px, 4vw);
  /* Left/right padding that lines full-bleed sections up with a 1120px column. */
  --pad-x: calc(max(0px, (100% - 1120px) / 2) + var(--gutter));
  --seal: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23F5D35C' d='M50.0 6.0A5.7 5.7 0 0 1 61.4 7.5A5.7 5.7 0 0 1 72.0 11.9A5.7 5.7 0 0 1 81.1 18.9A5.7 5.7 0 0 1 88.1 28.0A5.7 5.7 0 0 1 92.5 38.6A5.7 5.7 0 0 1 94.0 50.0A5.7 5.7 0 0 1 92.5 61.4A5.7 5.7 0 0 1 88.1 72.0A5.7 5.7 0 0 1 81.1 81.1A5.7 5.7 0 0 1 72.0 88.1A5.7 5.7 0 0 1 61.4 92.5A5.7 5.7 0 0 1 50.0 94.0A5.7 5.7 0 0 1 38.6 92.5A5.7 5.7 0 0 1 28.0 88.1A5.7 5.7 0 0 1 18.9 81.1A5.7 5.7 0 0 1 11.9 72.0A5.7 5.7 0 0 1 7.5 61.4A5.7 5.7 0 0 1 6.0 50.0A5.7 5.7 0 0 1 7.5 38.6A5.7 5.7 0 0 1 11.9 28.0A5.7 5.7 0 0 1 18.9 18.9A5.7 5.7 0 0 1 28.0 11.9A5.7 5.7 0 0 1 38.6 7.5A5.7 5.7 0 0 1 50.0 6.0Z'/><circle cx='50' cy='50' r='39' fill='none' stroke='%231F2A36' stroke-opacity='.35' stroke-width='.8' stroke-dasharray='2 2'/></svg>");

  --accent: var(--sea); --accent-dark: var(--sea-dark); --accent-light: var(--sun);
  --accent-subtle: var(--stone); --text-on-accent: var(--white);
  --ink-1: var(--ink); --ink-3: var(--ink-2);
  --paper: var(--white); --paper-2: var(--line);
  --font-display: var(--f-head); --font-mono: var(--f-body);
  color-scheme: light;
}

/* ── Shared components ───────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.label { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.tag { display: inline-block; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 4px 10px;
  font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.btn { display: inline-block; font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none;
  padding: 12px 22px; border-radius: var(--radius-btn); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-main { background: var(--coral); color: var(--white); }
.btn-main:hover { background: var(--coral-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .8); }
.btn-ghost:hover { background: rgb(255 255 255 / .15); }
.btn-line { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn-line:hover { background: var(--stone); }
.stamp { position: absolute; z-index: 1; right: max(16px, 6vw); top: 36px; min-width: 150px; height: 92px; padding: 0 22px;
  border: 2px solid rgb(255 255 255 / .85); border-radius: 50%;
  background: rgb(12 50 60 / .16); box-shadow: 0 0 6px rgb(0 0 0 / .18), inset 0 0 6px rgb(0 0 0 / .18); display: grid; place-items: center;
  color: var(--white); transform: rotate(-8deg); pointer-events: none; }
.stamp span { font: 700 .7rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-align: center; white-space: nowrap;
  text-shadow: 0 1px 3px rgb(0 0 0 / .45); }
.seal { position: absolute; z-index: 2; width: 124px; height: 124px; display: grid; place-content: center; text-align: center;
  color: var(--ink); background: var(--seal) center / contain no-repeat; }
.seal > * { display: block; }
.seal b, .seal .stat-num { font: var(--t-l)/1 var(--f-head); }
.seal small, .seal .stat-label { font: 700 .62rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 520px) { .stamp { display: none; } .seal { width: 104px; height: 104px; } }
@media (prefers-reduced-motion: reduce) { .tv-landing *, .tv-catalog *, .tv-home * { transition: none !important; animation: none !important; } }

/* "Before you go": a short safety note from official travel advice
   (1-3 sentences plus a source line). Calm by design: stone, never red.
   Unscoped so it reads the same in a dark hero or on a white section. */
.safety-note { background: var(--stone); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px 16px; margin: 16px 0; max-width: 62ch; text-align: left; }
.safety-note .label { display: block; font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin: 0 0 6px; }
.safety-note p { margin: 0; font: 400 var(--t-s)/1.6 var(--f-body); color: var(--ink); }
.safety-note .source { display: block; margin-top: 8px; font: 400 var(--t-xs)/1.5 var(--f-body); color: var(--ink-2); }
.safety-note a { color: var(--sea); }

/* ══ Tour landing pages (body.tv-landing) ═════════════════════════════ */
.tv-landing { background: var(--white); color: var(--ink); font: 400 var(--t-s)/1.6 var(--f-body); }
.tv-landing::after { display: none; }                      /* the old grain overlay */
.tv-landing h1, .tv-landing h2, .tv-landing h3 { text-wrap: balance; }

/* Header: white sticky bar, sea serif logo, nav, one coral button. */
.tv-landing .site-header, .tv-landing .site-header.scrolled {
  position: sticky; top: env(safe-area-inset-top, 0px); inset: auto; z-index: 100;
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px;
  padding: 12px var(--pad-x); background: var(--white); border-bottom: 1px solid var(--line);
  backdrop-filter: none; -webkit-backdrop-filter: none; }
.tv-landing .logo, .tv-landing .site-header.scrolled .logo {
  font: 400 var(--t-l)/1 var(--f-head); letter-spacing: 0; text-transform: lowercase; color: var(--sea); }
.tv-landing .nav-back, .tv-landing .site-header.scrolled .nav-back {
  margin-left: auto; font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.tv-landing .nav-back:hover, .tv-landing .site-header.scrolled .nav-back:hover { color: var(--sea); }
.tv-landing .lang-switch { margin-left: 0; gap: 2px; }
.tv-landing .lang-opt, .tv-landing .site-header.scrolled .lang-opt {
  font: 600 var(--t-xs)/1 var(--f-body); letter-spacing: .06em; padding: 6px; color: var(--ink-2); text-shadow: none;
  border-bottom: 2px solid transparent; }
.tv-landing .lang-opt:hover, .tv-landing .site-header.scrolled .lang-opt:hover { color: var(--sea); }
.tv-landing .lang-opt.is-active, .tv-landing .site-header.scrolled .lang-opt.is-active { color: var(--ink); border-bottom-color: var(--sea); }
.tv-landing .tv-header-buy { padding: 10px 18px; white-space: nowrap; }

/* Hero */
.tv-landing .hero { min-height: 0; padding: 88px var(--pad-x) 72px; background: var(--ink); align-items: flex-end; }
.tv-landing .hero-bg { animation: none; transform: none; }
.tv-landing .hero-bg::after { background:
  linear-gradient(to right, rgb(12 50 60 / .84) 0%, rgb(12 50 60 / .62) 45%, rgb(12 50 60 / .2) 78%, rgb(12 50 60 / .08) 100%),
  linear-gradient(to top, rgb(12 40 50 / .55), transparent 45%); }
.tv-landing .hero-content { max-width: 720px; }
.tv-landing .hero-eyebrow, .tv-landing .hero-badge { display: block; font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.tv-landing .hero-title { font: 400 var(--t-xl)/1.1 var(--f-head); letter-spacing: 0; margin-bottom: 16px; }
.tv-landing .hero-title em { display: block; font: italic 400 var(--t-l)/1.2 var(--f-head); color: var(--sun); margin-top: .3em; }
.tv-landing .hero-sub { font: 400 var(--t-s)/1.6 var(--f-body); font-style: normal; color: rgb(255 255 255 / .92); max-width: 62ch; margin-bottom: 24px; }
.tv-landing .hero-preview { display: inline-block; padding: 12px 16px 14px; margin-bottom: 24px; background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .28); border-radius: var(--radius); }
.tv-landing .hero-preview-label { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.tv-landing .hero-cta { gap: 12px; align-items: flex-start; margin-bottom: 16px; scroll-margin-top: 96px; }
.tv-landing .hero-meta, .tv-landing .hero-details { gap: 6px 20px; margin-top: 20px; font: 600 var(--t-xs)/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .85); }
.tv-landing .hero-meta span, .tv-landing .hero-details span { align-items: flex-start; }
.tv-landing .hero-meta span::before, .tv-landing .hero-details span::before { background: var(--sun); flex: none; margin-top: .5em; }
.tv-landing .hero-credit { font-size: .7rem; }
.tv-landing .port-day { font-size: var(--t-s); color: rgb(255 255 255 / .88); }

/* Buttons. Coral is for actions only: buy / start. Everything secondary is
   a ghost on a photo or a dark band, and a sea outline on white. */
.tv-landing .btn-buy, .tv-landing .btn-primary {
  font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; padding: 13px 22px;
  background: var(--coral); color: var(--white); border: 1px solid var(--coral); border-radius: var(--radius-btn); }
.tv-landing .btn-buy:hover, .tv-landing .btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: none; }
.tv-landing .btn-continue, .tv-landing .btn-download, .tv-landing .btn-ghost {
  font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; padding: 12px 20px;
  background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .8); border-radius: var(--radius-btn); }
.tv-landing .btn-continue:hover, .tv-landing .btn-download:hover, .tv-landing .btn-ghost:hover { background: rgb(255 255 255 / .15); border-color: var(--white); }
.tv-landing .buy-clarify { font-size: var(--t-s); color: rgb(255 255 255 / .88); }
.tv-landing .buy-clarify strong, .tv-landing .offline-how strong { color: var(--white); font-weight: 600; }
.tv-landing .offline-how { font-size: var(--t-xs); color: rgb(255 255 255 / .85); max-width: 62ch; }
.tv-landing .offline-how a { color: var(--white); text-decoration: underline; text-underline-offset: .15em; }
/* The multi-guide cart (sites/shared/cart.js) injects its own <style> at
   runtime; the extra class here keeps it in the system without editing it. */
.tv-landing .hero-cta .tv-cart-add, .tv-landing .cta-bottom .tv-cart-add {
  margin-top: 0; padding: 12px 18px; font: 600 var(--t-s)/1.2 var(--f-body); border: 1px solid rgb(255 255 255 / .8);
  border-radius: var(--radius-btn); color: var(--white); opacity: 1; }
.tv-landing .hero-cta .tv-cart-add[aria-pressed="true"], .tv-landing .cta-bottom .tv-cart-add[aria-pressed="true"] { background: rgb(255 255 255 / .15); }
.tv-landing .hero-cta .tv-cart-hint, .tv-landing .cta-bottom .tv-cart-hint { font-size: var(--t-xs); opacity: .85; }
.tv-landing .tv-cart-bar { background: var(--ink); font-family: var(--f-body); }
.tv-landing .tv-cart-bar .tv-cart-go { background: var(--coral); color: var(--white); border-radius: var(--radius-btn); font: 600 var(--t-s)/1.2 var(--f-body); }
.tv-landing .tv-cart-bar .tv-cart-go:hover { background: var(--coral-dark); }
.tv-landing .tv-cart-bar .tv-cart-free, .tv-landing .tv-cart-bar .tv-cart-freeline { color: var(--sun) !important; }

/* Sections */
.tv-landing section.block { padding: 64px var(--pad-x); border-top: 0; }
.tv-landing section.block:has(> .steps) { background: var(--stone); }
.tv-landing .section-tag { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin-bottom: 6px; }
.tv-landing .section-title { font: 400 var(--t-l)/1.15 var(--f-head); max-width: 34ch; margin-bottom: 24px; color: var(--ink); }
.tv-landing .section-title em { font-style: italic; font-weight: 400; color: var(--sea); }

.tv-landing .verify-block { background: var(--stone); padding-top: 64px; padding-bottom: 64px; }
.tv-landing .verify-lede { font: 400 var(--t-m)/1.5 var(--f-body); font-style: normal; color: var(--ink); max-width: 60ch; margin-bottom: 24px; }
.tv-landing .verify-steps { margin-bottom: 20px; }
.tv-landing .verify-step { padding: 16px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.tv-landing .verify-step-num { font: 400 var(--t-l)/1 var(--f-head); color: var(--sea); }
.tv-landing .verify-step-title { font: 400 var(--t-m)/1.2 var(--f-head); color: var(--sea); margin-bottom: 4px; }
.tv-landing .verify-step-body p { font-size: var(--t-s); color: var(--ink-2); }
.tv-landing .verify-step-body strong { color: var(--ink); font-weight: 600; }
.tv-landing .verify-footnote { font-size: var(--t-s); color: var(--ink-2); }
.tv-landing .verify-footnote a, .tv-landing .faq-body a { color: var(--sea); border-bottom: 1px solid currentColor; text-decoration: none; }

/* Cards: 1px line border, 10px radius, white face. */
.tv-landing .tour-sections, .tv-landing .highlights-grid, .tv-landing .features-grid {
  background: none; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tv-landing .tour-card, .tv-landing .highlight-card, .tv-landing .feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .2s; }
.tv-landing .tour-card:hover { background: var(--white); box-shadow: 0 6px 20px rgb(31 42 54 / .1); }
.tv-landing .tour-card-icon { font-size: var(--t-l); margin-bottom: 10px; }
.tv-landing .feature-icon { font-size: var(--t-m); margin-bottom: 8px; }
.tv-landing .tour-card-name, .tv-landing .highlight-name, .tv-landing .feature-name, .tv-landing .step-title {
  font: 400 var(--t-m)/1.2 var(--f-head); color: var(--ink); margin-bottom: 6px; }
.tv-landing .tour-card-desc, .tv-landing .highlight-desc, .tv-landing .feature-desc, .tv-landing .step-desc {
  font: 400 var(--t-s)/1.6 var(--f-body); color: var(--ink-2); margin-bottom: 0; }
.tv-landing .tour-card-desc { margin-bottom: 12px; }
.tv-landing .tour-card-meta, .tv-landing .highlight-period { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.tv-landing .highlight-period:not(:empty) { margin-bottom: 8px; }
.tv-landing .steps { gap: 24px; }
.tv-landing .step-number { font: 400 var(--t-xl)/1 var(--f-head); color: var(--sea); margin-bottom: 8px; }

/* FAQ */
.tv-landing .faq { padding: 64px var(--pad-x); border-top: 0; background: var(--white); }
.tv-landing .faq-title { font: 400 var(--t-l)/1.15 var(--f-head); font-style: normal; color: var(--ink); margin: 0 0 16px; }
.tv-landing .faq-list { max-width: 780px; margin: 0; }
.tv-landing .faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.tv-landing .faq-item summary { font: 400 var(--t-m)/1.3 var(--f-head); color: var(--ink); padding-right: 2.2rem; }
.tv-landing .faq-item summary::after { font: 400 var(--t-l)/1 var(--f-body); color: var(--sea); top: -2px; }
.tv-landing .faq-item summary:hover { color: var(--sea); }
.tv-landing .faq-body { font: 400 var(--t-s)/1.65 var(--f-body); color: var(--ink-2); padding-top: 10px; }
.tv-landing .faq-body strong { color: var(--ink); font-weight: 600; }

/* Bottom call to action: the teal band. */
.tv-landing .cta-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; text-align: left;
  padding: 48px var(--pad-x); background: var(--sea); color: var(--white); border-top: 0; }
.tv-landing .cta-bottom > .cta-bottom-title, .tv-landing .cta-bottom > .cta-bottom-sub,
.tv-landing .cta-bottom > .more-tours, .tv-landing .cta-bottom > p { flex-basis: 100%; }
.tv-landing .cta-bottom-title { font: 400 var(--t-l)/1.15 var(--f-head); font-style: normal; color: var(--white); margin: 0; }
.tv-landing .cta-bottom-title em { color: var(--sun); }
.tv-landing .cta-bottom-sub { font: 400 var(--t-s)/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .9); margin: 0 0 8px; }
.tv-landing .cta-bottom .btn-buy { margin-right: 0; }
.tv-landing .cta-bottom .btn-continue, .tv-landing .cta-bottom .btn-download, .tv-landing .cta-bottom .btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .8); }
.tv-landing .cta-bottom .btn-continue:hover, .tv-landing .cta-bottom .btn-download:hover, .tv-landing .cta-bottom .btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgb(255 255 255 / .15); }
.tv-landing .cta-bottom .buy-clarify, .tv-landing .cta-bottom .offline-how { color: rgb(255 255 255 / .88); }
.tv-landing .cta-bottom .buy-clarify strong, .tv-landing .cta-bottom .offline-how strong { color: var(--white); }
.tv-landing .more-tours { max-width: none; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .2); text-align: left; }
.tv-landing .more-tours-title { font: italic 400 var(--t-m)/1.2 var(--f-head); color: var(--sun); margin-bottom: 2px; }
.tv-landing .more-tours-desc { font: 400 var(--t-s)/1.5 var(--f-body); color: rgb(255 255 255 / .9); margin-bottom: 8px; }
.tv-landing .more-tours-links { gap: 6px 0; align-items: baseline; }
.tv-landing .btn-more { padding: 0; background: none; border: 0; border-radius: 0; color: var(--white);
  font: 600 var(--t-s)/1.4 var(--f-body); letter-spacing: 0; text-transform: none; }
.tv-landing .btn-more:hover { color: var(--sun); border: 0; }
.tv-landing .btn-more + .btn-more::before { content: "\00b7"; margin: 0 12px; color: var(--sun); }

/* App teaser and footer */
.tv-landing .mobile-teaser { padding: 48px var(--pad-x); text-align: left; background: var(--stone); border-top: 0; }
.tv-landing .mobile-teaser h2 { font: 400 var(--t-l)/1.15 var(--f-head); color: var(--ink); margin-bottom: 8px; }
.tv-landing .mobile-teaser p { font: 400 var(--t-s)/1.6 var(--f-body); font-style: normal; color: var(--ink-2); max-width: 60ch; margin: 0; }
.tv-landing .mobile-teaser p a { color: var(--sea) !important; }
.tv-landing footer { padding: 44px var(--pad-x) 28px; background: var(--ink); color: rgb(255 255 255 / .85); border-top: 0; gap: 16px 32px; }
.tv-landing .footer-brand { font: 400 var(--t-l)/1 var(--f-head); letter-spacing: 0; text-transform: lowercase; color: var(--sun); }
.tv-landing .footer-links { gap: 8px 24px; flex-wrap: wrap; }
.tv-landing .footer-links a { font: 400 var(--t-s)/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .85); }
.tv-landing .footer-links a:hover { color: var(--sun); }
.tv-landing .footer-text { flex-basis: 100%; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12);
  font: 400 var(--t-xs)/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .7); }


/* London bus (sites/london_transit, hand-built before the template): its
   own section, route-card and comparison classes, mapped onto the system. */
.tv-landing section.section, .tv-landing .compare { padding: 64px var(--pad-x); border-top: 0; }
.tv-landing .compare { background: var(--stone); }
.tv-landing .routes-grid { background: none; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tv-landing .route-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tv-landing .route-card:hover { background: var(--white); box-shadow: 0 6px 20px rgb(31 42 54 / .1); }
.tv-landing .route-num { font: 700 var(--t-s)/1 var(--f-body); letter-spacing: 0; border-radius: 6px; }
.tv-landing .route-name { font: 400 var(--t-m)/1.2 var(--f-head); }
.tv-landing .route-desc { font: 400 var(--t-s)/1.6 var(--f-body); color: var(--ink-2); }
.tv-landing .route-meta, .tv-landing .compare-who { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.tv-landing .compare-grid { background: var(--line); border-color: var(--line); border-radius: var(--radius); }
.tv-landing .compare-col.is-ours { background: var(--white); box-shadow: inset 0 4px 0 var(--sun); }
.tv-landing .compare-price, .tv-landing .compare-col.is-ours .compare-price { font: 400 var(--t-xl)/1 var(--f-head); color: var(--sea); }
.tv-landing .compare-col:not(.is-ours) .compare-price { color: var(--ink); }
.tv-landing .compare-unit, .tv-landing .compare-note { font: 400 var(--t-xs)/1.6 var(--f-body); color: var(--ink-2); }
.tv-landing .compare-facts li { border-top-color: var(--line); }

/* The tour-page stamp: the city, set top right of the hero. */
.tv-landing .hero .stamp { top: 40px; }
@media (max-width: 1100px) { .tv-landing .hero .stamp { display: none; } }

@media (max-width: 720px) {
  .tv-landing .site-header { gap: 8px 16px; }
  .tv-landing .lang-switch { order: 9; flex-basis: 100%; justify-content: flex-end; }
  .tv-landing .hero { padding: 48px var(--pad-x) 56px; }
  .tv-landing .hero-title em { font-size: var(--t-m); }
  .tv-landing section.block, .tv-landing .faq { padding-top: 48px; padding-bottom: 48px; }
  .tv-landing .verify-step { grid-template-columns: 2.4rem 1fr; gap: 12px; }
  .tv-landing .hero-preview { display: block; }
  .tv-landing .hero-preview-audio { min-width: 0; width: 100%; }
  .tv-landing .hero-bg::after { background: linear-gradient(rgb(12 50 60 / .72), rgb(12 40 50 / .82)); }
  .tv-landing .verify-lede { font-size: var(--t-s); }
}
@media (max-width: 520px) {
  .tv-landing .nav-back { font-size: var(--t-xs); }
  .tv-landing .logo { font-size: var(--t-m); }
  .tv-landing .tv-header-buy { padding: 8px 12px; font-size: var(--t-xs); }
  .tv-landing .hero-cta > * { flex: 1 1 100%; text-align: center; }
  .tv-landing .hero-cta .tv-cart-add { width: 100%; }
  .tv-landing .hero-cta > .buy-clarify { text-align: left; }
}

/* ══ Catalogue (body.tv-catalog), sites/build_catalog.py ══════════════ */
.tv-catalog { background: var(--white); color: var(--ink); font: 400 var(--t-s)/1.6 var(--f-body); }
.tv-catalog::after { display: none; }
.tv-catalog .site-header, .tv-catalog .site-header.scrolled {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; display: flex; align-items: center; justify-content: flex-start;
  gap: 8px 28px; padding: 12px var(--pad-x); background: var(--white); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.tv-catalog .site-brand { font: 400 var(--t-l)/1 var(--f-head); letter-spacing: 0; color: var(--sea); }
.tv-catalog .site-nav { margin-left: auto; gap: 24px; }
.tv-catalog .site-nav a { font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.tv-catalog .site-nav a:hover { color: var(--sea); }
.tv-catalog .tv-header-cta { padding: 10px 18px; white-space: nowrap; }
.tv-catalog .lang-btn, .tv-home .lang-btn { font: 600 var(--t-xs)/1 var(--f-body); letter-spacing: .06em; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 8px 10px; background: var(--white); }
.tv-catalog .lang-btn:hover, .tv-catalog .lang-btn[aria-expanded="true"],
.tv-home .lang-btn:hover, .tv-home .lang-btn[aria-expanded="true"] { color: var(--sea); border-color: var(--sea); background: var(--white); }
.tv-catalog .lang-menu, .tv-home .lang-menu { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgb(31 42 54 / .12); }
.tv-catalog .lang-menu li, .tv-home .lang-menu li { font: 400 var(--t-s)/1.3 var(--f-body); color: var(--ink); }
.tv-catalog .lang-menu li:hover, .tv-home .lang-menu li:hover { background: var(--stone); color: var(--sea); }
.tv-catalog .lang-menu li.selected, .tv-home .lang-menu li.selected { background: var(--stone); font-style: normal; font-weight: 600; color: var(--sea); }
.tv-catalog .lang-menu li.selected::before, .tv-home .lang-menu li.selected::before { color: var(--sea); }

.tv-catalog .catalog-hero { max-width: none; padding: 56px var(--pad-x) 8px; }
.tv-catalog .hero-eyebrow { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin-bottom: 8px; }
.tv-catalog .hero-title { font: 400 var(--t-xl)/1.1 var(--f-head); letter-spacing: 0; margin-bottom: 12px; }
.tv-catalog .hero-title em { font-style: italic; color: var(--sea); }
.tv-catalog .hero-sub { font: 400 var(--t-m)/1.5 var(--f-body); font-style: normal; color: var(--ink-2); max-width: 52ch; }

.tv-catalog .search-wrap { max-width: none; padding: 24px var(--pad-x) 8px; }
.tv-catalog .search-input { font: 400 var(--t-m)/1.3 var(--f-body); padding: 14px 48px 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.tv-catalog .search-input::placeholder { color: var(--ink-2); font-style: normal; }
.tv-catalog .search-input:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgb(18 122 138 / .15); }
.tv-catalog .search-clear { font-family: var(--f-body); color: var(--ink-2); }
.tv-catalog .picker { background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
.tv-catalog .picker .field label { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.tv-catalog .picker .field select { font: 400 var(--t-s)/1.3 var(--f-body); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-btn); }
.tv-catalog .picker .field select:focus { outline: 3px solid var(--sun); border-color: var(--sea); }
.tv-catalog .picker-reset { font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--sea);
  background: var(--white); border: 1px solid var(--sea); border-radius: var(--radius-btn); }
.tv-catalog .picker-reset:hover { background: var(--stone); color: var(--sea); border-color: var(--sea); }

.tv-catalog .no-results { max-width: none; padding: 32px var(--pad-x); }
.tv-catalog .no-results-title { font: 400 var(--t-l)/1.2 var(--f-head); font-style: normal; }
.tv-catalog .no-results-sub { font: 400 var(--t-s)/1.6 var(--f-body); color: var(--ink-2); }

.tv-catalog .jump-nav { max-width: none; padding: 16px var(--pad-x) 8px; gap: 8px; }
.tv-catalog .jump-pill { font: 600 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); padding: 8px 14px; }
.tv-catalog .jump-pill:hover { border-color: var(--sea); color: var(--sea); }
.tv-catalog .jump-pill .pill-count { font: 700 var(--t-xs)/1.2 var(--f-body); background: var(--stone); color: var(--sea); }

.tv-catalog .continent-name { max-width: none; margin: 40px 0 0; padding: 16px var(--pad-x) 4px;
  font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.tv-catalog .continent-name:first-of-type { margin-top: 16px; }
.tv-catalog .continent-tour-count { font: 400 var(--t-xs)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.tv-catalog .country-group { max-width: none; padding: 8px var(--pad-x) 0; }
.tv-catalog .country-group[open] { padding-bottom: 32px; }
.tv-catalog .country-header { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tv-catalog .country-group .country-name { font: 400 var(--t-l)/1.15 var(--f-head); font-style: normal; color: var(--ink); }
.tv-catalog .country-tour-count, .tv-catalog .place-count { font: 600 var(--t-xs)/1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.tv-catalog .country-header::after, .tv-catalog .region-name::after, .tv-catalog .area-name::after { border-color: var(--sea); }
.tv-catalog .country-header:hover .country-name, .tv-catalog .region-name:hover, .tv-catalog .area-name:hover { color: var(--sea); }
.tv-catalog .region-group { border-bottom-color: var(--line); }
.tv-catalog .region-name { font: 400 var(--t-m)/1.2 var(--f-head); }
.tv-catalog .area-name { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }

/* Tour tiles: the shared card. */
.tv-catalog .tour-list { gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tv-catalog .tour-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tv-catalog .tour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tv-catalog .tour-list { grid-template-columns: 1fr; } }
.tv-catalog .tour-row { border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.tv-catalog .tour-row:hover { border-color: var(--line); transform: none; box-shadow: 0 6px 20px rgb(31 42 54 / .1); }
.tv-catalog .tour-thumb-wrap { aspect-ratio: 3 / 2; background: var(--stone); }
.tv-catalog .tour-info { padding: 14px 16px 16px; gap: 2px; }
.tv-catalog .tour-title { font: 400 var(--t-m)/1.2 var(--f-head); letter-spacing: 0; color: var(--ink); }
.tv-catalog .tour-type { font: 700 var(--t-xs)/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); order: -1; margin-bottom: 4px; }
.tv-catalog .tour-sub { font: 400 var(--t-s)/1.45 var(--f-body); font-style: normal; color: var(--ink-2); }
.tv-catalog .tour-meta { font: 400 var(--t-xs)/1.4 var(--f-body); color: var(--ink-2); padding-top: 12px; align-items: baseline; font-variant-numeric: tabular-nums; }
.tv-catalog .tour-stat + .tour-stat::before { color: var(--ink-2); }
.tv-catalog .tour-stat.is-price, .tv-catalog .tour-stat.is-free { font: 700 var(--t-s)/1.2 var(--f-body); letter-spacing: 0; color: var(--sea); order: 9; margin-left: auto; }
.tv-catalog .tour-stat.is-price::before, .tv-catalog .tour-stat.is-free::before { content: none; }
.tv-catalog .tour-stat.is-pending { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 9px; font: 700 .72rem/1.2 var(--f-body);
  letter-spacing: .1em; text-transform: uppercase; font-style: normal; order: 9; margin-left: auto; }
.tv-catalog .tour-stat.is-pending::before { content: none; }
.tv-catalog .tour-lang { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .08em; color: var(--ink-2); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

.tv-catalog .mobile-teaser { max-width: none; margin: 48px 0 0; padding: 48px var(--pad-x); text-align: left; background: var(--stone); border-top: 0; }
.tv-catalog .mobile-teaser h2 { font: 400 var(--t-l)/1.15 var(--f-head); font-style: normal; }
.tv-catalog .mobile-teaser p { font: 400 var(--t-s)/1.6 var(--f-body); margin: 0; max-width: 60ch; color: var(--ink-2); }

/* Footer: shared with the homepage. */
.tv-catalog footer, .tv-home footer { display: block; max-width: none; margin: 0; padding: 44px 0 28px; background: var(--ink); color: rgb(255 255 255 / .85); border-top: 0; }
.tv-foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.tv-foot-cols .logo { font: 400 var(--t-l)/1 var(--f-head); color: var(--sun); text-decoration: none; }
.tv-foot-cols p { margin: 10px 0 0; max-width: 32ch; }
.tv-foot-cols h3, .tv-home .tv-foot-cols h3 { font: 700 var(--t-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: 0 0 10px; }
.tv-foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tv-foot-cols a { color: rgb(255 255 255 / .85); text-decoration: none; }
.tv-foot-cols a:hover { color: var(--sun); }
.tv-foot-legal { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); font-size: var(--t-xs); color: rgb(255 255 255 / .7); }
.tv-foot-legal a { color: inherit; }
@media (max-width: 860px) { .tv-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .tv-catalog .site-nav a:not(:first-child) { display: none; }
  .tv-catalog .site-header { gap: 8px 14px; }
  .tv-catalog .site-nav { gap: 14px; }
  .tv-catalog .catalog-hero { padding-top: 40px; }
}
@media (max-width: 520px) {
  .tv-catalog .site-nav a { display: none; }
  .tv-catalog .site-brand { font-size: var(--t-m); }
  .tv-catalog .tv-header-cta { padding: 8px 12px; font-size: var(--t-xs); }
}

/* ══ Homepage (body.tv-home), website/index.html ═════════════════════
   The slideshow and tour-card JS in the page are unchanged; the classes
   it writes (.hero-slide, .hero-dot, .tour-card ...) are styled here. */
.tv-home { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--t-s)/1.6 var(--f-body); overflow-x: hidden; }
.tv-home *, .tv-home *::before, .tv-home *::after { box-sizing: border-box; }
.tv-home a { color: inherit; }
.tv-home img { max-width: 100%; display: block; }
.tv-home h1, .tv-home h2, .tv-home h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
.tv-home h2 em, .tv-home h1 em { font-style: italic; }
.tv-home .label { display: block; color: var(--sea); margin-bottom: 6px; }

.tv-home .site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.tv-home .nav { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.tv-home .logo { font: var(--t-l)/1 var(--f-head); color: var(--sea); text-decoration: none; }
.tv-home .header-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; }
.tv-home .header-nav a { text-decoration: none; color: var(--ink-2); }
.tv-home .header-nav a:hover { color: var(--sea); }
.tv-home .lang-picker { position: relative; }
.tv-home .tv-foot-cols .logo { color: var(--sun); }
.tv-home .lang-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tv-home .lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 11rem; list-style: none; margin: 0; padding: 4px 0; z-index: 30; }
.tv-home .lang-menu[hidden] { display: none; }
.tv-home .lang-menu li { padding: 8px 14px; cursor: pointer; }
.tv-home .header-coord, .tv-home .hero-accent-line { display: none; }

/* Hero: the slideshow behind the approved headline. */
.tv-home .hero { position: relative; overflow: visible; color: var(--white); background: var(--ink); min-height: 560px; display: flex; align-items: center; }
.tv-home .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; overflow: hidden; }
.tv-home .hero-slide.active { opacity: 1; }
.tv-home .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.tv-home .hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgb(12 50 60 / .78) 0%, rgb(12 50 60 / .45) 50%, rgb(12 50 60 / .1) 78%),
              linear-gradient(to top, rgb(12 40 50 / .55), transparent 40%); }
.tv-home .hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sun); z-index: 2; }
.tv-home .hero-content { position: relative; z-index: 2; width: 100%; padding-block: 96px 88px; }
.tv-home .hero-label { color: var(--sun); margin-bottom: 12px; }
.tv-home .hero-h1 { font-size: var(--t-xl); max-width: 15ch; margin-bottom: 16px; }
.tv-home .hero-h1 em { color: var(--sun); }
.tv-home .hero-lede { max-width: 40ch; font-size: var(--t-m); line-height: 1.5; margin: 0 0 28px; }
.tv-home .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.tv-home .hero-now { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 40px; padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / .25); max-width: 640px; }
.tv-home .hero-title { margin: 0; font: var(--t-m)/1.2 var(--f-head); }
.tv-home .hero-title em { font-style: italic; color: var(--sun); margin-left: .25em; }
.tv-home .hero-cta { font-weight: 600; text-decoration: none; color: var(--white); }
.tv-home .hero-cta:hover { color: var(--sun); }
.tv-home .hero-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: var(--t-xs); }
.tv-home .hero-counter { opacity: .85; font-variant-numeric: tabular-nums; }
.tv-home .hero-dots { display: flex; gap: 6px; }
.tv-home .hero-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / .8); background: transparent; cursor: pointer; }
.tv-home .hero-dot.active { background: var(--sun); border-color: var(--sun); }
.tv-home .hero-pause { background: none; border: 1px solid rgb(255 255 255 / .6); color: var(--white); border-radius: 6px; font: 700 .7rem/1 var(--f-body); padding: 5px 7px; cursor: pointer; }
.tv-home .hero .stamp { z-index: 2; top: 40px; min-width: 196px; }
.tv-home .hero .stamp span { letter-spacing: .1em; }
.tv-home .hero .seal { right: max(16px, 8vw); bottom: -58px; }

.tv-home .facts { background: var(--stone); border-bottom: 1px solid var(--line); }
.tv-home .facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.tv-home .fact b { display: block; font: 400 var(--t-m)/1.2 var(--f-head); color: var(--sea); }
.tv-home .fact b .stat-label { text-transform: lowercase; }
.tv-home .fact b .stat-label::before { content: " "; }
.tv-home .fact > span { color: var(--ink-2); font-size: var(--t-xs); }

.tv-home .sec { padding-block: 64px; }
.tv-home .sec-tight { padding-top: 0; }
.tv-home .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tv-home .head h2 { font-size: var(--t-l); }
.tv-home .more { color: var(--sea); font-weight: 600; text-decoration: none; }
.tv-home .more:hover { color: var(--sea-dark); }

.tv-home .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tv-home .tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); background: var(--stone); }
.tv-home .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tv-home .tile:hover img { transform: scale(1.04); }
.tv-home .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 40 50 / .72), transparent 58%); }
.tv-home .tile .tag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.tv-home .tile .name { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.tv-home .tile h3 { font-size: var(--t-m); }
.tv-home .tile small { font-size: var(--t-xs); opacity: .92; }

.tv-home .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tv-home .card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s; }
.tv-home .card[hidden] { display: none; }
.tv-home .card:hover { box-shadow: 0 6px 20px rgb(31 42 54 / .1); }
.tv-home .card img { aspect-ratio: 3/2; width: 100%; object-fit: cover; background: var(--stone); }
.tv-home .card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tv-home .card h3 { font-size: var(--t-m); }
.tv-home .card .sub { color: var(--ink-2); }
.tv-home .card .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; font-size: var(--t-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tv-home .card .price { font-weight: 700; color: var(--sea); font-size: var(--t-s); }

.tv-home .band { background: var(--sea); color: var(--white); }
.tv-home .band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; padding-block: 32px; }
.tv-home .band h2 { font-size: var(--t-l); }
.tv-home .band h2 em { color: var(--sun); }
.tv-home .band p { margin: 4px 0 0; opacity: .92; }
.tv-home .plus { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .2); }
.tv-home .plus .word { font: italic var(--t-m)/1 var(--f-head); color: var(--sun); margin-right: 16px; }
.tv-home .plus a { text-decoration: none; font-weight: 600; }
.tv-home .plus a:hover { color: var(--sun); }
.tv-home .plus a + a::before { content: "\00b7"; margin: 0 12px; color: var(--sun); }

/* All tours: the JS-built carousel, as a scrolling row of shared cards. */
.tv-home .section-tours .section-header { margin-bottom: 20px; }
.tv-home .tours-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tv-home .tour-filter, .tv-home .audio-toggle { font: 600 var(--t-s)/1.2 var(--f-body); color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; }
.tv-home .audio-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--sea); border-color: var(--sea); cursor: pointer; }
.tv-home .audio-toggle.on { background: var(--stone); }
.tv-home .speaker-ico { width: 18px; height: 18px; }
.tv-home .tours-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px var(--pad-x) 20px; scrollbar-width: thin; }
.tv-home .tour-card { flex: 0 0 260px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); background: var(--white); display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.tv-home .tour-card:hover { box-shadow: 0 6px 20px rgb(31 42 54 / .1); }
.tv-home .tour-card.is-active { border-color: var(--sea); }
.tv-home .tour-card.is-hidden { display: none; }
.tv-home .tour-card-img-wrap { position: relative; }
.tv-home .tour-card-img { aspect-ratio: 3/2; width: 100%; object-fit: cover; background: var(--stone); }
.tv-home .card-audio-ico { display: none; position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); place-items: center; }
.tv-home.audio-enabled .tour-card[data-preview]:not([data-preview=""]) .card-audio-ico { display: grid; }
.tv-home .card-audio-ico svg { width: 16px; height: 16px; fill: var(--ink); }
.tv-home .tour-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.tv-home .tour-card-tag { font: 700 var(--t-xs)/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.tv-home .tour-card-name { font: var(--t-m)/1.2 var(--f-head); }
.tv-home .tour-card-coord { display: none; }
.tv-home .tour-card-foot { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; font-size: var(--t-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tv-home .tour-meta { display: inline-flex; gap: 4px; }
.tv-home .tour-meta-key { text-transform: lowercase; }
.tv-home .tour-meta + .tour-meta::before { content: "\00b7"; margin-right: 6px; }
.tv-home .tour-go { margin-left: auto; color: var(--sea); font-weight: 700; font-size: var(--t-s); }

.tv-home .made { background: var(--stone); }
.tv-home .made .wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.tv-home .made figure { margin: 0; }
.tv-home .made img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.tv-home .made figcaption { font-size: var(--t-xs); color: var(--ink-2); margin-top: 6px; }
.tv-home .made h2 { font-size: var(--t-l); margin-bottom: 10px; }
.tv-home .made p { max-width: 60ch; margin: 0; }
.tv-home .made .draft { display: inline-block; background: var(--sun); color: var(--ink); padding: 2px 8px; margin-bottom: 10px; border-radius: 4px; }
.tv-home .checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tv-home .checks b { display: block; font: var(--t-m)/1.2 var(--f-head); color: var(--sea); margin-bottom: 4px; }
.tv-home .checks span { color: var(--ink-2); }
.tv-home .about-attrs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }
.tv-home .about-attr + .about-attr::before { content: "\00b7"; margin: 0 10px; color: var(--sea); }

.tv-home .app-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.tv-home .app-text h2 { font-size: var(--t-l); margin-bottom: 10px; }
.tv-home .app-text h2 em { color: var(--sea); }
.tv-home .app-text p { max-width: 52ch; margin: 0 0 10px; color: var(--ink-2); }
.tv-home .app-phones { display: flex; gap: 16px; }
.tv-home .phone { width: 150px; border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); }
.tv-home .phone-2 { transform: translateY(24px); }
.tv-home .phone-screen img { width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; }

.tv-home .section-notify { background: var(--stone); padding-block: 48px; }
.tv-home .section-notify .wrap { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 20px 40px; align-items: center; }
.tv-home .section-notify h2 { font-size: var(--t-l); margin-bottom: 6px; }
.tv-home .section-notify h2 em { color: var(--sea); }
.tv-home .section-notify p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.tv-home .notify-form { display: flex; gap: 8px; }
.tv-home .notify-input { flex: 1; min-width: 0; font: 400 var(--t-s)/1.2 var(--f-body); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--white); color: var(--ink); }
.tv-home .notify-input:focus { outline: 3px solid var(--sun); border-color: var(--sea); }
.tv-home .notify-btn { border: 0; }
.tv-home .notify-success { display: none; font-weight: 600; color: var(--sea); }
.tv-home .notify-note { margin-top: 8px; font-size: var(--t-xs); color: var(--ink-2); }

@media (max-width: 860px) {
  .tv-home .header-nav { display: none; }
  .tv-home .lang-picker { margin-left: auto; }
  .tv-home .facts .wrap, .tv-home .tiles, .tv-home .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-home .made .wrap, .tv-home .band .wrap, .tv-home .app-inner, .tv-home .section-notify .wrap { grid-template-columns: 1fr; }
  .tv-home .made img { max-width: 240px; }
  .tv-home .checks { grid-template-columns: 1fr; }
  .tv-home .hero .stamp { display: none; }
  .tv-home .facts .wrap { padding-top: 64px; }
  .tv-home .band .btn { justify-self: start; }
}
@media (max-width: 520px) {
  .tv-home .nav { gap: 12px; }
  .tv-home .logo { font-size: var(--t-m); }
  .tv-home .header-btn { padding: 8px 12px; font-size: var(--t-xs); }
  .tv-home .hero-content { padding-block: 56px 88px; }
  .tv-home .hero-overlay { background: linear-gradient(rgb(12 50 60 / .62), rgb(12 40 50 / .8)); }
  .tv-home .hero-controls { margin-left: 0; flex-basis: 100%; }
  .tv-home .cards { gap: 12px; }
  .tv-home .card .body { padding: 10px 12px 12px; }
  .tv-home .tile { aspect-ratio: 1; }
  .tv-home .tour-card { flex-basis: 78vw; }
  .tv-home .app-phones { justify-content: center; }
  .tv-home .about-attrs { flex-direction: column; }
  .tv-home .about-attr + .about-attr::before { content: none; }
  .tv-home .notify-form { flex-direction: column; }
}
