
  /* ============ TOKENS — shared ============ */
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: var(--bg);
    color: var(--fg);
    transition: background .35s ease, color .35s ease;
  }
  img { display: block; max-width: 100%; }
  button { font-family: inherit; cursor: pointer; }
  a { color: inherit; text-decoration: none; }

  /* ============ Couleurs Jacaranda — drapeau malgache ============ */
  :root {
    --jr-red:    #C8331E;  /* latérite, drapeau */
    --jr-green:  #2E7D4F;  /* végétation, drapeau */
    --jr-yellow: #E8B547;  /* soleil, savane */
    --jr-blue:   #1E5A8C;  /* océan Indien */
  }

  /* ============ Direction A — Editorial Tropical ============ */
  body[data-dir="A"] {
    --bg: #f3efe6;
    --bg-deep: #e7e1d3;
    --fg: #1a2620;
    --fg-mute: #5a6359;
    --hair: #d8d2c2;
    --accent:    var(--jr-green);
    --accent-2:  var(--jr-red);
    --accent-3:  var(--jr-blue);
    --gold:      var(--jr-yellow);
    --paper: #faf7ee;
    --serif: 'Fraunces', 'Times New Roman', serif;
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --display: 'Fraunces', serif;
  }
  body[data-dir="A"][data-dark="true"] {
    --bg: #14201a;
    --bg-deep: #0d1612;
    --fg: #efe9d9;
    --fg-mute: #9aa599;
    --hair: #2a3a31;
    --accent:   #5BA876;
    --accent-2: #E0563E;
    --accent-3: #5B92C2;
    --gold:     #F0C56A;
    --paper: #1a2620;
  }

  /* ============ Direction B — Carnet de terrain ============ */
  body[data-dir="B"] {
    --bg: #ece4d3;
    --bg-deep: #ddd2bc;
    --fg: #2a1f15;
    --fg-mute: #6b5a48;
    --hair: #c8b99e;
    --accent:    var(--jr-red);
    --accent-2:  var(--jr-green);
    --accent-3:  var(--jr-blue);
    --gold:      var(--jr-yellow);
    --paper: #f4ecd8;
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --display: 'Newsreader', Georgia, serif;
  }
  body[data-dir="B"][data-dark="true"] {
    --bg: #1d1610;
    --bg-deep: #0f0b07;
    --fg: #ece4d3;
    --fg-mute: #9a8a72;
    --hair: #3a2d1f;
    --accent:   #E0563E;
    --accent-2: #5BA876;
    --accent-3: #5B92C2;
    --gold:     #F0C56A;
    --paper: #241a12;
  }

  /* ============ Quatre-couleurs signature ============ */
  .four-bar {
    display: flex;
    height: 3px;
    width: 100%;
  }
  .four-bar > span { flex: 1; }
  .four-bar .c-r { background: var(--jr-red); }
  .four-bar .c-y { background: var(--jr-yellow); }
  .four-bar .c-g { background: var(--jr-green); }
  .four-bar .c-b { background: var(--jr-blue); }

  .four-dots {
    display: inline-flex; gap: 4px; align-items: center;
  }
  .four-dots > span {
    width: 8px; height: 8px; border-radius: 50%;
  }
  .four-dots .c-r { background: var(--jr-red); }
  .four-dots .c-y { background: var(--jr-yellow); }
  .four-dots .c-g { background: var(--jr-green); }
  .four-dots .c-b { background: var(--jr-blue); }

  /* density */
  body[data-density="compact"] { --pad-y: 64px; --pad-x: 48px; --gap: 24px; }
  body[data-density="regular"] { --pad-y: 96px; --pad-x: 64px; --gap: 32px; }
  body[data-density="comfy"]   { --pad-y: 128px; --pad-x: 80px; --gap: 48px; }

  .wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
  }

  /* ===== NAV (shared, restyled per dir) ===== */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--hair);
    transition: background .35s, border-color .35s, color .35s;
  }
  /* Transparent nav over cinemagraph hero (homepage) */
  body[data-screen-label="Homepage"] .nav.over-hero {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    color: #fff;
  }
  body[data-screen-label="Homepage"] .nav.over-hero .brand,
  body[data-screen-label="Homepage"] .nav.over-hero .nav-links a {
    color: #fff;
  }
  body[data-screen-label="Homepage"] .nav.over-hero .nav-links a.active::after {
    background: #fff;
  }
  body[data-screen-label="Homepage"] .nav.over-hero .brand-mark .p-r,
  body[data-screen-label="Homepage"] .nav.over-hero .brand-mark .p-y,
  body[data-screen-label="Homepage"] .nav.over-hero .brand-mark .p-g,
  body[data-screen-label="Homepage"] .nav.over-hero .brand-mark .p-b {
    /* keep colors as-is, they pop on dark backgrounds */
  }
  body[data-screen-label="Homepage"] .nav.over-hero .nav-cta {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
  }
  body[data-screen-label="Homepage"] .nav.over-hero .nav-cta:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-x);
  }
  .brand {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1;
    display: flex; align-items: center; gap: 10px;
  }
  body[data-dir="A"] .brand { font-style: normal; font-variation-settings: "SOFT" 50; }
  body[data-dir="B"] .brand { font-style: normal; }
  /* Brand mark : pétales aux 4 couleurs Jacaranda */
  .brand-mark {
    width: 28px; height: 28px;
    position: relative;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
  }
  .brand-mark > span {
    border-radius: 50%;
  }
  .brand-mark .p-r { background: var(--jr-red); }
  .brand-mark .p-y { background: var(--jr-yellow); }
  .brand-mark .p-g { background: var(--jr-green); }
  .brand-mark .p-b { background: var(--jr-blue); }
  .nav-links {
    display: flex; gap: 28px;
    font-size: 14px; color: var(--fg-mute);
    letter-spacing: 0.01em;
  }
  .nav-links a { transition: color .2s; position: relative; }
  .nav-links a:hover { color: var(--fg); }
  .nav-links a.active { color: var(--fg); }
  .nav-cta {
    font-family: var(--sans);
    font-size: 13px; font-weight: 500;
    padding: 10px 18px;
    background: var(--fg);
    color: var(--bg);
    border: 0;
    border-radius: 999px;
    letter-spacing: 0.01em;
    transition: transform .2s, opacity .2s;
  }
  .nav-cta:hover { transform: translateY(-1px); opacity: .9; }

  /* ===== HERO ===== */
  .hero { padding: 48px 0 var(--pad-y); position: relative; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: end;
  }
  .hero h1 {
    font-family: var(--display);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 0;
    font-size: clamp(56px, 8vw, 128px);
    color: var(--fg);
  }
  body[data-dir="A"] .hero h1 em {
    font-style: normal;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    color: var(--accent);
    font-weight: 400;
  }
  body[data-dir="B"] .hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 400;
  }
  .hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
    margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-eyebrow::before {
    content: ""; width: 24px; height: 1px; background: var(--fg-mute);
  }
  .hero-side {
    padding-bottom: 16px;
  }
  .hero-lede {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.55;
    color: var(--fg);
    max-width: 380px;
    margin: 0 0 28px;
    text-wrap: pretty;
  }
  body[data-dir="A"] .hero-lede { font-weight: 400; }
  body[data-dir="B"] .hero-lede { font-style: normal; font-weight: 400; }
  .hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .btn {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all .2s;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--fg);
    color: var(--bg);
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--fg);
  }
  .btn-ghost:hover { background: var(--fg); color: var(--bg); }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translate(2px, -2px); }

  /* Hero image — full bleed photo placeholder */
  .hero-photo {
    margin-top: 56px;
    width: 100%;
    aspect-ratio: 21/9;
    background: var(--bg-deep);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  .photo-placeholder {
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(
        135deg,
        color-mix(in oklab, var(--accent) 12%, transparent) 0 1px,
        transparent 1px 14px
      ),
      linear-gradient(180deg, var(--bg-deep), color-mix(in oklab, var(--accent) 18%, var(--bg-deep)));
    display: flex; align-items: center; justify-content: center;
    color: var(--fg-mute);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    overflow: hidden;
  }
  .photo-placeholder > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  body[data-dir="B"] .photo-placeholder > img {
    filter: saturate(0.92) contrast(1.02);
  }
  body[data-dark="true"] .photo-placeholder > img {
    filter: brightness(0.85);
  }
  .photo-placeholder span {
    background: var(--bg);
    padding: 6px 10px;
    border-radius: 2px;
    border: 1px solid var(--hair);
  }
  .hero-photo .photo-meta {
    position: absolute;
    bottom: 16px; left: 20px;
    color: color-mix(in oklab, var(--paper) 88%, transparent);
    background: color-mix(in oklab, #000 35%, transparent);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 2;
  }

  /* Hero stats below hero photo */
  .hero-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hair);
    padding-top: 24px;
  }
  .stat { padding-right: 24px; }
  .stat-num {
    font-family: var(--display);
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .stat-num em { font-style: normal; color: var(--accent); }
  .stat-label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--fg-mute);
    line-height: 1.4;
    max-width: 200px;
  }

  /* ===== HERO CINEMAGRAPH ===== */
  .hero-cine {
    position: relative;
    width: 100%;
    height: clamp(620px, 88vh, 880px);
    overflow: hidden;
    margin-top: -75px; /* slide under sticky nav (72px) + four-bar (3px) */
    color: #fff;
    isolation: isolate;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  .hero-vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg,
        rgba(20, 14, 8, 0.55) 0%,
        rgba(20, 14, 8, 0.05) 22%,
        rgba(20, 14, 8, 0.00) 45%,
        rgba(20, 14, 8, 0.35) 78%,
        rgba(20, 14, 8, 0.78) 100%),
      linear-gradient(90deg,
        rgba(20, 14, 8, 0.45) 0%,
        rgba(20, 14, 8, 0.00) 35%,
        rgba(20, 14, 8, 0.00) 65%,
        rgba(20, 14, 8, 0.25) 100%);
  }
  body[data-dir="B"] .hero-vignette {
    background:
      linear-gradient(180deg,
        rgba(40, 22, 10, 0.55) 0%,
        rgba(40, 22, 10, 0.05) 22%,
        rgba(40, 22, 10, 0.00) 45%,
        rgba(40, 22, 10, 0.40) 78%,
        rgba(40, 22, 10, 0.85) 100%);
  }

  .hero-cine-top {
    position: absolute;
    top: 72px; left: 0; right: 0;
    padding-top: 28px;
  }
  .hero-cine-top .hero-eyebrow.light {
    color: rgba(255,255,255,.85);
  }
  .hero-cine-top .hero-eyebrow.light::before {
    background: rgba(255,255,255,.55);
  }

  .hero-cine-bottom {
    position: absolute;
    bottom: 56px; left: 0; right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: end;
  }

  .hero-cine-title {
    font-family: var(--display);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin: 0;
    font-size: clamp(56px, 7.5vw, 124px);
    color: #fff;
    text-shadow: 0 2px 30px rgba(20, 14, 8, 0.35);
  }
  body[data-dir="A"] .hero-cine-title em {
    font-style: normal;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    color: color-mix(in oklab, var(--jr-yellow) 80%, #fff);
    font-weight: 400;
  }
  body[data-dir="B"] .hero-cine-title em {
    font-style: normal;
    color: color-mix(in oklab, var(--jr-yellow) 70%, #fff);
    font-weight: 400;
  }

  .hero-cine-side {
    padding-bottom: 18px;
  }
  .hero-lede.light {
    color: rgba(255,255,255,.92);
    font-size: 16.5px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 460px;
    text-wrap: pretty;
    text-shadow: 0 1px 12px rgba(20, 14, 8, 0.4);
  }
  body[data-dir="B"] .hero-lede.light { font-style: normal; }

  .btn-light {
    background: #fff;
    color: var(--fg);
    border: 1px solid #fff;
    padding: 13px 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: inline-flex; align-items: center; gap: 10px;
    transition: transform .2s, background .2s;
  }
  .btn-light:hover { transform: translateY(-1px); background: var(--jr-yellow); border-color: var(--jr-yellow); }
  .btn-light .arr { font-size: 13px; }
  .btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
    padding: 13px 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background .2s, border-color .2s;
  }
  .btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

  .hero-cine-meta {
    position: absolute;
    bottom: 18px; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
  }
  .hero-cine-meta .hcm-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--jr-red);
    margin-right: 10px;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(217, 83, 79, .6);
    animation: hcmpulse 1.8s ease-out infinite;
  }
  @keyframes hcmpulse {
    0%   { box-shadow: 0 0 0 0   rgba(217, 83, 79, .55); }
    70%  { box-shadow: 0 0 0 10px rgba(217, 83, 79, 0); }
    100% { box-shadow: 0 0 0 0   rgba(217, 83, 79, 0); }
  }
  .hero-cine-meta .hcm-coord {
    color: rgba(255,255,255,.5);
  }

  /* Stats band below the cinemagraph */
  .hero-stats-band {
    background: var(--bg);
    padding: 36px 0 0;
  }
  .hero-stats-band .hero-stats {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--hair);
  }

  /* ===== SEARCH / FLIGHTS MODULE ===== */
  .search {
    background: var(--paper);
    border-radius: 4px;
    padding: 32px;
    margin: var(--pad-y) 0 0;
    border: 1px solid var(--hair);
    position: relative;
  }
  body[data-dir="B"] .search {
    background: var(--paper);
    border: 1px solid var(--hair);
    box-shadow: 4px 4px 0 var(--hair);
  }
  .search-tabs {
    display: flex; gap: 4px; margin-bottom: 24px;
    border-bottom: 1px solid var(--hair);
  }
  .search-tab {
    background: none; border: 0;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--fg-mute);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--sans);
    transition: color .2s, border-color .2s;
  }
  .search-tab.active {
    color: var(--fg);
    border-bottom-color: var(--jr-blue);
    font-weight: 500;
  }
  .search-form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 1px;
    background: var(--hair);
    border-radius: 2px;
    overflow: hidden;
  }
  .search-field {
    background: var(--paper);
    padding: 14px 18px;
    display: flex; flex-direction: column; gap: 4px;
    cursor: text;
    transition: background .15s;
  }
  .search-field:hover { background: var(--bg); }
  .search-field-label {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
  }
  .search-field-value {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--fg);
    line-height: 1.2;
  }
  body[data-dir="B"] .search-field-value { font-style: normal; }
  .search-field-sub {
    font-size: 11px;
    color: var(--fg-mute);
  }
  .search-submit {
    background: var(--jr-blue);
    border: 0;
    color: #fff;
    padding: 0 32px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex; align-items: center; gap: 8px;
    transition: background .2s;
  }
  .search-submit:hover { background: color-mix(in oklab, var(--jr-blue) 75%, #000); }

  /* Flight pills below search */
  .flights-strip {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .flights-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
  }
  .flight-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bg);
    border: 1px solid var(--hair);
    border-radius: 999px;
    padding: 8px 14px 8px 12px;
    font-size: 12px;
    color: var(--fg);
    transition: border-color .2s, transform .2s;
    cursor: default;
  }
  .flight-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
  .flight-pill .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  }
  .flight-pill .price {
    font-family: var(--mono);
    font-weight: 500;
    color: var(--accent-2);
  }
  .flight-pill .carrier {
    color: var(--fg-mute);
    font-size: 11px;
  }

  /* ===== JOURNEYS / VOYAGES ===== */
  .section { padding: var(--pad-y) 0; border-top: 1px solid var(--hair); }
  .section-head {
    display: flex; align-items: end; justify-content: space-between;
    margin-bottom: 56px;
    gap: 32px;
  }
  .section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 16px;
  }
  .section-title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(40px, 5vw, 72px);
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin: 0;
    max-width: 720px;
  }
  body[data-dir="A"] .section-title em {
    font-style: normal;
    font-variation-settings: "SOFT" 100;
    color: var(--accent);
  }
  body[data-dir="B"] .section-title em { font-style: normal; color: var(--accent); }
  .section-aside {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-mute);
    max-width: 320px;
    text-wrap: pretty;
  }

  .journeys {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }
  .journey {
    cursor: default;
    transition: transform .3s;
  }
  .journey:hover { transform: translateY(-4px); }
  .journey-photo {
    aspect-ratio: 4/5;
    background: var(--bg-deep);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
  }
  .journey-photo .photo-placeholder { font-size: 9px; }
  .journey-num {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--paper);
    letter-spacing: 0.18em;
    background: color-mix(in oklab, #000 30%, transparent);
    padding: 4px 8px;
    z-index: 2;
    white-space: nowrap;
  }
  .j-1 { grid-column: span 5; }
  .j-2 { grid-column: span 4; margin-top: 64px; }
  .j-3 { grid-column: span 3; margin-top: 32px; }
  .j-4 { grid-column: span 4; }
  .j-5 { grid-column: span 4; margin-top: 48px; }
  .j-6 { grid-column: span 4; margin-top: 16px; }
  .j-2 .journey-photo, .j-5 .journey-photo { aspect-ratio: 3/4; }
  .j-3 .journey-photo, .j-4 .journey-photo, .j-6 .journey-photo { aspect-ratio: 1/1; }

  .journey-meta {
    display: flex; justify-content: space-between; align-items: baseline;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 6px;
  }
  .journey-title {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--fg);
    margin: 0 0 6px;
    font-weight: 400;
  }
  body[data-dir="B"] .journey-title { font-style: normal; }
  .journey-sub {
    font-size: 13px;
    color: var(--fg-mute);
    line-height: 1.4;
  }
  .journey-price {
    font-family: var(--mono);
    color: var(--accent-2);
  }

  /* ===== PROVERBE / quote ===== */
  .quote {
    padding: var(--pad-y) 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    text-align: center;
  }
  .quote-malagasy {
    font-family: var(--display);
    font-style: normal;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 auto;
    max-width: 900px;
    color: var(--fg);
    font-weight: 300;
  }
  body[data-dir="A"] .quote-malagasy {
    font-variation-settings: "SOFT" 100, "WONK" 1;
  }
  .quote-malagasy::before, .quote-malagasy::after { color: var(--accent); }
  .quote-trans {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.55;
    margin: 28px auto 0;
    max-width: 540px;
    color: var(--fg-mute);
    text-wrap: pretty;
  }
  .quote-attr {
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
  }

  /* ===== GUIDE / KNOWLEDGE ===== */
  .guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--hair);
    border: 1px solid var(--hair);
  }
  .guide-card {
    background: var(--bg);
    padding: 40px 36px;
    transition: background .2s;
    cursor: default;
    display: flex; flex-direction: column; gap: 12px;
    min-height: 240px;
    justify-content: space-between;
  }
  .guide-card:hover { background: var(--paper); }
  .guide-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent-2);
  }
  .guide-card:nth-child(1) .guide-num { color: var(--jr-red); }
  .guide-card:nth-child(2) .guide-num { color: var(--jr-yellow); }
  .guide-card:nth-child(3) .guide-num { color: var(--jr-green); }
  .guide-card:nth-child(4) .guide-num { color: var(--jr-blue); }
  .guide-card:nth-child(1) { box-shadow: inset 3px 0 0 var(--jr-red); }
  .guide-card:nth-child(2) { box-shadow: inset 3px 0 0 var(--jr-yellow); }
  .guide-card:nth-child(3) { box-shadow: inset 3px 0 0 var(--jr-green); }
  .guide-card:nth-child(4) { box-shadow: inset 3px 0 0 var(--jr-blue); }

  /* Flight pill — vary dot colors */
  .flight-pill:nth-child(2) .dot { background: var(--jr-red); }
  .flight-pill:nth-child(3) .dot { background: var(--jr-yellow); }
  .flight-pill:nth-child(4) .dot { background: var(--jr-green); }
  .flight-pill:nth-child(5) .dot { background: var(--jr-blue); }
  .flight-pill:nth-child(6) .dot { background: var(--jr-red); }

  /* Journey numbers — rotating colored backgrounds, white text */
  .journey-num { color: #fff; }
  .journey:nth-child(6n+1) .journey-num { background: var(--jr-red); }
  .journey:nth-child(6n+2) .journey-num { background: color-mix(in oklab, var(--jr-yellow) 90%, #000); color: #2a1f15; }
  .journey:nth-child(6n+3) .journey-num { background: var(--jr-green); }
  .journey:nth-child(6n+4) .journey-num { background: var(--jr-blue); }
  .journey:nth-child(6n+5) .journey-num { background: var(--jr-red); }
  .journey:nth-child(6n+6) .journey-num { background: var(--jr-green); }
  .guide-title {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
  }
  body[data-dir="B"] .guide-title { font-style: normal; }
  .guide-body {
    font-family: var(--serif);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fg-mute);
    text-wrap: pretty;
  }
  .guide-cta {
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .guide-cta::after {
    content: "→";
    transition: transform .2s;
  }
  .guide-card:hover .guide-cta::after { transform: translateX(4px); }

  /* ===== JOURNAL / blog ===== */
  .journal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .journal-item .journey-photo { aspect-ratio: 3/2; margin-bottom: 18px; }
  .journal-date {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 8px;
  }
  .journal-title {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 400;
    letter-spacing: -0.015em;
  }
  body[data-dir="B"] .journal-title { font-style: normal; }
  .journal-excerpt {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1.55;
    color: var(--fg-mute);
  }

  /* ===== CTA strip ===== */
  .cta-strip {
    background: var(--accent);
    color: var(--paper);
    padding: var(--pad-y) var(--pad-x);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
  }
  body[data-dark="true"] .cta-strip { color: var(--bg); }
  .cta-title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 0;
  }
  body[data-dir="A"] .cta-title em { font-style: normal; color: var(--gold); font-variation-settings: "SOFT" 100; }
  body[data-dir="B"] .cta-title em { font-style: normal; color: var(--gold); }
  .cta-side {
    display: flex; flex-direction: column; gap: 18px;
    align-items: flex-start;
  }
  .cta-side p {
    margin: 0;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.55;
    opacity: 0.9;
  }
  .cta-strip .btn {
    background: var(--paper);
    color: var(--accent);
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--bg-deep);
    color: var(--fg);
    padding: 80px var(--pad-x) 32px;
  }
  .foot-grid {
    max-width: 1320px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--hair);
  }
  .foot-brand {
    font-family: var(--display);
    font-size: 56px;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
  }
  body[data-dir="A"] .foot-brand em { font-style: normal; color: var(--accent); font-variation-settings: "SOFT" 100; }
  body[data-dir="B"] .foot-brand em { font-style: normal; color: var(--accent); }
  .foot-tag {
    font-family: var(--serif);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fg-mute);
    max-width: 320px;
    text-wrap: pretty;
  }
  .foot-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin: 0 0 18px;
    font-weight: 500;
  }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a { font-size: 14px; color: var(--fg); transition: color .2s; }
  .foot-col a:hover { color: var(--accent); }
  .foot-col address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg);
  }
  .foot-bottom {
    max-width: 1320px; margin: 0 auto;
    padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-mute);
  }

  /* Direction B accents — paper grain + bordered notes */
  body[data-dir="B"] .hero {
    background-image:
      radial-gradient(circle at 20% 10%, color-mix(in oklab, var(--accent) 6%, transparent), transparent 60%),
      radial-gradient(circle at 80% 80%, color-mix(in oklab, var(--accent-2) 5%, transparent), transparent 60%);
  }
  body[data-dir="B"] .quote {
    background: var(--paper);
  }
  body[data-dir="B"] .quote::before {
    content: "✦";
    display: block;
    text-align: center;
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 24px;
  }
  body[data-dir="A"] .quote::before {
    content: "";
    display: block;
    width: 40px; height: 1px;
    background: var(--accent);
    margin: 0 auto 32px;
  }

  /* Section accent rotation — color eyebrow based on data-tone */
  .section[data-tone="green"] .section-eyebrow,
  .section-eyebrow[data-tone="green"]  { color: var(--jr-green); }
  .section[data-tone="red"]   .section-eyebrow,
  .section-eyebrow[data-tone="red"]    { color: var(--jr-red); }
  .section[data-tone="blue"]  .section-eyebrow,
  .section-eyebrow[data-tone="blue"]   { color: var(--jr-blue); }
  .section[data-tone="yellow"].section-eyebrow,
  .section-eyebrow[data-tone="yellow"] { color: color-mix(in oklab, var(--jr-yellow) 75%, var(--fg)); }

  body[data-dir="A"] .section-eyebrow[data-tone]::before,
  body[data-dir="B"] .section-eyebrow[data-tone]::before {
    content: ""; display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-1px);
  }
  body[data-dir="A"] .section-eyebrow[data-tone]::before { content: ""; }
  body[data-dir="A"] .section-eyebrow[data-tone] { padding-left: 0; }

  /* Stat numbers — rotate the 4 accents */
  .stat:nth-child(1) .stat-num em { color: var(--jr-red); }
  .stat:nth-child(2) .stat-num em { color: var(--jr-yellow); }
  .stat:nth-child(3) .stat-num em { color: var(--jr-green); }
  .stat:nth-child(4) .stat-num em { color: var(--jr-blue); }

  /* responsive-ish */
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .search-form { grid-template-columns: 1fr 1fr; }
    .journeys { grid-template-columns: repeat(6, 1fr); }
    .j-1, .j-2, .j-3, .j-4, .j-5, .j-6 { grid-column: span 3; margin-top: 0; }
    .guide-grid { grid-template-columns: 1fr; }
    .journal { grid-template-columns: 1fr; }
    .cta-strip { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
  }


  /* ============================================================
     VOLS PAGE
     ============================================================ */

  .vols-hero-grid {
    padding: 36px 0 56px;
    border-bottom: 1px solid var(--hair);
  }
  .vols-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
  }
  .vols-hero-text {
    padding-top: 12px;
    position: sticky;
    top: 96px;
  }
  .vols-hero-text h1 {
    font-family: var(--display);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 18px 0 0;
    font-size: clamp(40px, 4.6vw, 76px);
    color: var(--fg);
  }
  body[data-dir="A"] .vols-hero-text h1 em,
  body[data-dir="B"] .vols-hero-text h1 em { font-style: normal; color: var(--accent); }

  .vols-hero-lede {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.55;
    color: var(--fg-mute);
    margin: 22px 0 0;
    max-width: 460px;
    text-wrap: pretty;
  }
  body[data-dir="B"] .vols-hero-lede { font-style: normal; }

  .vols-hero-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 28px;
    max-width: 460px;
  }
  .vols-hero-stats > div {
    display: flex; flex-direction: column;
    border-left: 1px solid var(--hair);
    padding-left: 14px;
  }
  .vols-hero-stats strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--fg);
  }
  body[data-dir="B"] .vols-hero-stats strong { font-style: normal; }
  .vols-hero-stats span {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-top: 4px;
  }

  /* big search panel */
  .vols-search {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 6px;
    padding: 24px;
    position: relative;
  }
  .vols-search-hero {
    box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--fg) 30%, transparent);
  }
  body[data-dir="B"] .vols-search { box-shadow: 5px 5px 0 var(--hair); }
  body[data-dir="B"] .vols-search-hero { box-shadow: 6px 6px 0 var(--hair), 0 30px 60px -30px color-mix(in oklab, var(--fg) 25%, transparent); }

  .vols-search-tabs {
    display: flex; gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--hair);
  }
  .vs-tab {
    background: none; border: 0;
    padding: 8px 14px;
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--fg-mute);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: color .2s, border-color .2s;
  }
  .vs-tab .vs-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    opacity: .4;
  }
  .vs-tab.active {
    color: var(--fg);
    border-bottom-color: var(--jr-blue);
    font-weight: 500;
  }
  .vs-tab.active .vs-dot { background: var(--jr-blue); opacity: 1; }

  .vols-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--hair);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--hair);
  }
  .vols-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--hair);
  }
  .vols-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--hair);
  }
  .v-field {
    background: var(--paper);
    padding: 12px 16px;
    display: flex; flex-direction: column; gap: 4px;
    transition: background .15s;
    cursor: text;
    position: relative;
  }
  .v-field:hover { background: var(--bg); }
  .v-field-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
    display: flex; align-items: center; gap: 6px;
  }
  .v-field-label .dot-r { width: 5px; height: 5px; border-radius: 50%; background: var(--jr-red); display:inline-block; }
  .v-field-label .dot-g { width: 5px; height: 5px; border-radius: 50%; background: var(--jr-green); display:inline-block; }
  .v-field-label .dot-b { width: 5px; height: 5px; border-radius: 50%; background: var(--jr-blue); display:inline-block; }
  .v-field-label .dot-y { width: 5px; height: 5px; border-radius: 50%; background: var(--jr-yellow); display:inline-block; }
  .v-input {
    appearance: none;
    border: 0;
    background: transparent;
    font-family: var(--serif);
    font-size: 17px;
    color: var(--fg);
    line-height: 1.2;
    outline: none;
    padding: 0;
    width: 100%;
  }
  body[data-dir="B"] .v-input { font-style: normal; }
  .v-sub {
    font-size: 11px;
    color: var(--fg-mute);
  }
  .v-airport-code {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-left: 8px;
    background: color-mix(in oklab, var(--accent) 10%, transparent);
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
  }

  .swap-btn {
    position: absolute;
    right: -20px; top: 50%;
    transform: translate(50%, -50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--hair);
    color: var(--fg-mute);
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s, color .2s;
  }
  .swap-btn:hover { color: var(--jr-blue); transform: translate(50%, -50%) rotate(180deg); }

  .vols-options {
    display: flex; align-items: center; gap: 8px;
    margin-top: 14px; flex-wrap: wrap;
  }
  .v-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px;
    background: var(--bg);
    border: 1px solid var(--hair);
    border-radius: 999px;
    font-size: 11.5px;
    color: var(--fg);
    cursor: default;
    transition: border-color .2s, background .2s;
  }
  .v-chip:hover { border-color: var(--accent); }
  .v-chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .v-chip-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-right: 4px;
  }

  .vols-cta-row {
    margin-top: 18px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
  }
  .vols-cta-row .help {
    font-family: var(--serif);
    font-size: 12.5px;
    color: var(--fg-mute);
    line-height: 1.5;
    max-width: 320px;
    margin: 0;
  }
  body[data-dir="B"] .vols-cta-row .help { font-style: normal; }
  .vols-submit {
    background: var(--jr-blue);
    color: #fff;
    border: 0;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: inline-flex; align-items: center; gap: 10px;
    transition: transform .2s, background .2s;
  }
  .vols-submit:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--jr-blue) 80%, #000); }

  /* RESULTS */
  .results {
    padding: var(--pad-y) 0;
    border-top: 1px solid var(--hair);
  }
  .results-bar {
    display: flex; justify-content: space-between; align-items: end;
    margin-bottom: 32px; gap: 24px;
    flex-wrap: wrap;
  }
  .results-count {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 44px);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
  }
  body[data-dir="A"] .results-count em { font-style: normal; color: var(--accent); }
  body[data-dir="B"] .results-count em { font-style: normal; color: var(--accent); }
  .results-route {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-top: 8px;
  }
  .sort-bar {
    display: flex; gap: 6px;
    background: var(--paper);
    padding: 4px;
    border: 1px solid var(--hair);
    border-radius: 999px;
  }
  .sort-bar button {
    background: none; border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--fg-mute);
    transition: background .2s, color .2s;
  }
  .sort-bar button.active {
    background: var(--fg);
    color: var(--bg);
  }

  .results-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  /* Filters */
  .filters {
    position: sticky; top: 96px;
    align-self: start;
  }
  .filter-group {
    border-top: 1px solid var(--hair);
    padding: 18px 0;
  }
  .filter-group:first-child { border-top: 0; padding-top: 0; }
  .filter-h {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg);
    margin: 0 0 12px;
  }
  .filter-list { display: flex; flex-direction: column; gap: 8px; }
  .filter-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px;
    color: var(--fg);
  }
  .filter-row .check {
    width: 14px; height: 14px;
    border: 1px solid var(--hair);
    border-radius: 2px;
    background: var(--bg);
    flex-shrink: 0;
    margin-right: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; color: var(--bg);
    transition: background .15s, border-color .15s;
  }
  .filter-row.on .check {
    background: var(--jr-blue);
    border-color: var(--jr-blue);
  }
  .filter-row.on .check::after { content: "✓"; color: #fff; }
  .filter-label {
    flex: 1;
    display: inline-flex; align-items: center;
  }
  .filter-count {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-mute);
  }
  .price-range {
    margin-top: 8px;
    height: 4px; background: var(--hair); border-radius: 2px;
    position: relative;
  }
  .price-range::before {
    content: ""; position: absolute;
    left: 22%; right: 28%; top: 0; bottom: 0;
    background: var(--jr-blue);
    border-radius: 2px;
  }
  .price-range::after {
    content: ""; position: absolute;
    left: 22%; top: 50%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--jr-blue);
    transform: translate(-50%,-50%);
    box-shadow: 80px 0 0 -2px var(--bg), 80px 0 0 0 var(--jr-blue);
  }
  .price-range-labels {
    display: flex; justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--fg-mute);
    margin-top: 10px;
    letter-spacing: 0.1em;
  }

  /* Flight cards */
  .flights-list {
    display: flex; flex-direction: column;
    gap: 14px;
  }
  .flight-card {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 4px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
  }
  .flight-card:hover {
    border-color: var(--jr-blue);
    transform: translateY(-2px);
  }
  body[data-dir="B"] .flight-card:hover { box-shadow: 4px 4px 0 color-mix(in oklab, var(--jr-blue) 30%, transparent); }
  .flight-card[data-promo="true"] {
    border-color: color-mix(in oklab, var(--jr-yellow) 60%, var(--hair));
  }
  .flight-card[data-promo="true"]::before {
    content: "Coup de cœur";
    position: absolute;
    top: -1px; left: 24px;
    background: var(--jr-yellow);
    color: #2a1f15;
    padding: 4px 10px;
    border-radius: 0 0 3px 3px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .leg {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
  }
  .leg + .leg { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--hair); }
  .airline-mark {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
  }
  .airline-mark.af { background: var(--jr-blue); }
  .airline-mark.cs { background: var(--jr-red); }
  .airline-mark.et { background: var(--jr-green); }
  .airline-mark.kq { background: color-mix(in oklab, var(--jr-yellow) 80%, #000); color: #2a1f15; }

  .times {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
  }
  .time-block .t {
    font-family: var(--display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    color: var(--fg);
    letter-spacing: -0.02em;
  }
  body[data-dir="B"] .time-block .t { font-style: normal; }
  .time-block .ap {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
    margin-top: 5px;
  }
  .time-block.right { text-align: right; }

  .duration {
    text-align: center;
    color: var(--fg-mute);
  }
  .duration .d {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .duration .line {
    height: 1px; background: var(--hair);
    margin: 6px 0;
    position: relative;
  }
  .duration .line::after {
    content: "✈";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: var(--paper);
    padding: 0 6px;
    color: var(--accent);
    font-size: 10px;
  }
  .duration .stops {
    font-size: 11px;
    color: var(--fg-mute);
  }
  .duration .stops .direct { color: var(--jr-green); font-weight: 500; }

  .leg-meta {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--fg-mute);
    letter-spacing: 0.1em;
    text-align: right;
  }
  .leg-meta strong {
    display: block;
    color: var(--fg);
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 2px;
  }

  .price-block {
    display: flex; flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    border-left: 1px solid var(--hair);
    padding-left: 28px;
  }
  .price-amount {
    font-family: var(--display);
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--fg);
  }
  .price-amount em { color: var(--jr-red); font-style: normal; }
  body[data-dir="A"] .price-amount { font-variation-settings: "SOFT" 30; }
  .price-from {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
  }
  .price-cta {
    background: var(--fg);
    color: var(--bg);
    border: 0;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 13px;
    transition: transform .2s, background .2s;
    white-space: nowrap;
  }
  .price-cta:hover { transform: translateY(-1px); background: var(--jr-blue); }
  .price-stock {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--jr-red);
    letter-spacing: 0.1em;
  }
  .price-stock.ok { color: var(--jr-green); }

  /* Calendar strip */
  .cal-strip {
    margin: 32px 0 0;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 4px;
  }
  .cal-strip-h {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 16px;
  }
  .cal-strip-h h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 20px;
    margin: 0;
    letter-spacing: -0.015em;
  }
  body[data-dir="B"] .cal-strip-h h3 { font-style: normal; }
  .cal-strip-h .nav-arrows {
    display: flex; gap: 6px;
  }
  .cal-strip-h .nav-arrows button {
    width: 28px; height: 28px;
    background: var(--bg);
    border: 1px solid var(--hair);
    border-radius: 50%;
    color: var(--fg-mute);
    transition: color .2s, border-color .2s;
  }
  .cal-strip-h .nav-arrows button:hover { color: var(--jr-blue); border-color: var(--jr-blue); }
  .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }
  .cal-day {
    background: var(--bg);
    border: 1px solid var(--hair);
    border-radius: 3px;
    padding: 12px 10px;
    cursor: default;
    transition: border-color .2s, background .2s;
    text-align: left;
  }
  .cal-day:hover { border-color: var(--jr-blue); }
  .cal-day.selected { background: var(--jr-blue); color: #fff; border-color: var(--jr-blue); }
  .cal-day.cheapest { border-color: var(--jr-green); }
  .cal-day .cd-day {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
  }
  .cal-day .cd-num {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    margin: 4px 0 6px;
    letter-spacing: -0.02em;
  }
  body[data-dir="B"] .cal-day .cd-num { font-style: normal; }
  .cal-day .cd-price {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--fg);
  }
  .cal-day.cheapest .cd-price { color: var(--jr-green); font-weight: 500; }
  .cal-day.selected .cd-price { color: #fff; }

  /* Reassurance row */
  .reassure {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hair);
    margin-top: 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
  }
  .reassure-cell {
    background: var(--bg);
    padding: 32px 28px;
    display: flex; flex-direction: column; gap: 8px;
  }
  .reassure-cell .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
  }
  .reassure-cell:nth-child(1) .num { color: var(--jr-red); }
  .reassure-cell:nth-child(2) .num { color: color-mix(in oklab, var(--jr-yellow) 70%, var(--fg)); }
  .reassure-cell:nth-child(3) .num { color: var(--jr-green); }
  .reassure-cell:nth-child(4) .num { color: var(--jr-blue); }
  .reassure-cell h4 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  body[data-dir="B"] .reassure-cell h4 { font-style: normal; }
  .reassure-cell p {
    margin: 0;
    font-family: var(--serif);
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--fg-mute);
    text-wrap: pretty;
  }

  /* Mobile-ish */
  @media (max-width: 1100px) {
    .vols-hero-wrap { grid-template-columns: 1fr; gap: 32px; }
    .vols-hero-text { position: static; }
  }
  @media (max-width: 980px) {
    .results-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .vols-row, .vols-row-3 { grid-template-columns: 1fr; }
    .swap-btn { display: none; }
    .flight-card { grid-template-columns: 1fr; }
    .price-block { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 16px; align-items: flex-start; }
    .reassure { grid-template-columns: 1fr 1fr; }
    .cal-grid { grid-template-columns: repeat(4, 1fr); }
    .leg { grid-template-columns: auto 1fr; }
    .leg-meta { display: none; }
  }
