/* Hallmark · custom: the flag of Israel as the page's material · genre: editorial · job: hire (quote request) · draw: custom
 * hero: Stage between two flag stripes · nav: edge-aligned · footer: flag field (blue, a stripe above) · imagery: photographs, Wikimedia Commons 10 (3 colour, 5 archive in baked blue duotone) · signature: the quote form as a Paris to Tel-Aviv boarding pass whose stub fills in as you answer
 * axes: light/hebrew-serif/flag-blue · posture: committed (one blue field band, one board, the footer) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: the departures board is a metaphor, kept readable as a real table with plain words */
/* waive 38iii: the head is two sentences, the second set whole in flag blue on its own line, not one accented word */
/* waive 23: the flag is the material; blue fields (hero veil, boarding band, welcome, footer) are the declared committed posture */
/* waive 58: the quote form (labels, tiles) and the folded FAQ are the page's job; long explanations live on methode, alya, villes */
@import url("./tokens.css");
@import url("./base.css");

body { font-weight: 400; }
h1, h2 { font-weight: var(--display-weight); }

/* ---------- chrome ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }
.stripe { height: var(--stripe); background: var(--color-accent); }

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--color-rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1; text-decoration: none; color: var(--color-ink); letter-spacing: var(--tracking-display); }
.wordmark svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--color-accent); transition: transform var(--dur-long) var(--ease-out); }
.wordmark b { font-weight: 500; color: var(--color-accent); }
.wordmark:hover svg { transform: rotate(30deg); }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding-block: var(--space-2xs); border-bottom: 2px solid transparent; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { border-color: var(--color-accent); color: var(--color-accent); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; padding-inline: var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu ul { position: absolute; left: 0; right: 0; top: 100%; list-style: none; margin: 0; padding: var(--space-md) var(--gutter) var(--space-xl); background: var(--color-paper); border-bottom: var(--stripe) solid var(--color-accent); display: grid; gap: var(--space-2xs); }
.menu ul a { display: block; padding: var(--space-sm) 0; font-size: var(--text-lg); text-decoration: none; border-bottom: 1px solid var(--color-rule); }
@media (max-width: 60rem) { .nav__links { display: none; } .menu { display: block; } .nav__inner { position: relative; } }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); white-space: nowrap; min-height: 52px; padding: var(--space-md) var(--space-lg); font: 500 var(--text-md)/1 var(--font-body); background: var(--color-accent); color: var(--color-accent-ink); border: 0; border-radius: var(--radius-pill); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--small { min-height: 44px; padding: var(--space-sm) var(--space-lg); font-size: var(--text-sm); }
.link { font-weight: 500; color: var(--color-accent); padding-block: var(--space-2xs); border-bottom: 2px solid currentColor; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.link:hover { border-color: transparent; }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.btn-ghost { background: none; border: 0; padding: var(--space-sm) 0; font: 500 var(--text-md)/1 var(--font-body); color: var(--color-ink); cursor: pointer; min-height: 44px; border-bottom: 2px solid currentColor; }
.btn-ghost:hover { color: var(--color-accent); }
.btn-ghost:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.band { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.field-blue { background: var(--color-accent); color: var(--color-accent-ink); }
.field-blue :focus-visible { outline-color: var(--color-accent-ink); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / 8; }
.head .lead { grid-column: 8 / 13; }
.lead { color: var(--color-muted); }
.stack-lg > * + * { margin-top: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); }
@media (max-width: 60rem) { .head { display: block; } .head .lead { margin-top: var(--space-md); } }

/* ---------- hero: the flag, you in the middle ---------- */
.hero { padding-block: var(--space-xl); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-2xl); }
.hero h1 { font-size: clamp(2.75rem, 4.6vw + 0.5rem, 5.25rem); line-height: 1; max-width: 13ch; }
.hero h1 span { display: block; color: var(--color-accent); }
.hero .lead { margin-top: var(--space-lg); max-width: 32ch; color: var(--color-ink-2); }
.hero .actions { margin-top: var(--space-xl); }
.hero__photo { position: relative; margin: 0; }
.hero__photo [data-slot] { aspect-ratio: 3 / 2; border-radius: var(--radius-card); min-height: 420px; }
.hero__photo [data-slot] > img { object-position: 50% 40%; }
.hero__photo figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.tag { position: absolute; z-index: 3; left: calc(-1 * var(--space-xl)); bottom: var(--space-2xl); display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--space-lg); background: var(--color-paper); border-radius: var(--radius-input); box-shadow: 0 0 0 1px var(--color-rule), var(--shadow-card); }
.tag b { font: 400 var(--text-2xl)/1 var(--font-outlier); color: var(--color-accent); }
.tag span { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-xl); }
  .hero__photo [data-slot] { min-height: 0; }
  .tag { left: var(--space-md); bottom: calc(var(--space-md) + 1.6rem); }
}

/* ---------- promises strip ---------- */
.promise { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 7fr)); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.promise > div { padding: var(--space-xl) var(--space-lg); border-left: 1px solid var(--color-rule); }
.promise > div:first-child { border-left: 0; padding-left: 0; }
.promise .big { font: var(--display-weight) var(--text-display-s)/0.95 var(--font-display); color: var(--color-accent); letter-spacing: var(--tracking-display); }
.promise .big + p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.promise h3 { font-family: var(--font-body); font-weight: 500; font-size: var(--text-lg); margin-bottom: var(--space-xs); }
.promise p { color: var(--color-muted); }
.promise a { color: var(--color-accent); }
@media (max-width: 60rem) { .promise { grid-template-columns: minmax(0, 1fr); } .promise > div { border-left: 0; border-top: 1px solid var(--color-rule); padding-inline: 0; } .promise > div:first-child { border-top: 0; } }

/* ---------- boarding pass (the quote form) ---------- */
.boarding { padding-block: var(--section-gap-s); }
.boarding .head h2 { color: var(--color-accent-ink); }
.boarding .head .lead { color: color-mix(in oklab, var(--color-accent-ink) 82%, transparent); }
.pass { --notch: 320px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--notch); background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); }
.pass::before, .pass::after { content: ""; position: absolute; right: calc(var(--notch) - 16px); width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); z-index: 2; }
.pass::before { top: -16px; } .pass::after { bottom: -16px; }
.pass :focus-visible { outline-color: var(--color-focus); }
.pass__main { padding: var(--space-xl) var(--space-2xl); min-width: 0; }
.pass__stub { padding: var(--space-xl); border-left: 2px dashed var(--color-rule); background: var(--color-paper-2); border-radius: 0 var(--radius-card) var(--radius-card) 0; display: flex; flex-direction: column; gap: var(--space-lg); }
.pass__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-bottom: var(--space-lg); margin-bottom: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.pass__brand { display: inline-flex; align-items: center; gap: var(--space-xs); font: 500 var(--text-md)/1 var(--font-display); color: var(--color-accent); }
.pass__brand svg { width: 22px; height: 22px; }
.route { display: flex; align-items: center; gap: var(--space-md); font: 400 var(--text-xl)/1 var(--font-outlier); color: var(--color-ink); }
.route svg { width: 22px; height: 22px; color: var(--color-accent); }
.stub__row { display: grid; gap: var(--space-2xs); }
.stub__row small { font-size: var(--text-xs); color: var(--color-muted); }
.stub__row b { font: 400 var(--text-lg)/1.25 var(--font-outlier); color: var(--color-ink); overflow-wrap: anywhere; }
.stub__row b.empty { color: var(--color-muted); }
.stub__codes { display: flex; justify-content: space-between; align-items: end; padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.stub__codes b { font: 400 var(--text-3xl)/1 var(--font-outlier); color: var(--color-accent); }
.stub__codes svg { width: 24px; height: 24px; color: var(--color-muted); margin-bottom: var(--space-xs); }
.stub__bars { margin-top: auto; height: 56px; background: repeating-linear-gradient(90deg, var(--color-ink) 0 2px, transparent 2px 5px, var(--color-ink) 5px 6px, transparent 6px 9px, var(--color-ink) 9px 12px, transparent 12px 14px); opacity: 0.85; border-radius: 2px; }
.stub__row b.pulse { animation: pulse var(--dur-long) var(--ease-out); }
@keyframes pulse { from { opacity: 0.2; } to { opacity: 1; } }
@media (max-width: 64rem) {
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass::before, .pass::after { display: none; }
  .pass__stub { order: -1; border-left: 0; border-bottom: 2px dashed var(--color-rule); border-radius: var(--radius-card) var(--radius-card) 0 0; padding: var(--space-lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .stub__codes { grid-column: 1 / -1; }
  .stub__bars, .stub__row--hide-s { display: none; }
  .pass__main { padding: var(--space-lg); }
  .pass__top { display: none; }
}

.progress { display: none; gap: var(--space-xs); list-style: none; margin: 0 0 var(--space-xl); padding: 0; counter-reset: s; }
.js .progress { display: flex; }
.progress li { flex: 1; font-size: var(--text-sm); color: var(--color-muted); padding-top: var(--space-sm); border-top: 3px solid var(--color-rule); counter-increment: s; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.progress li::before { content: counter(s) ". "; font-family: var(--font-outlier); }
.progress li.is-done { border-color: var(--color-accent-soft); }
.progress li[aria-current="step"] { border-color: var(--color-accent); color: var(--color-ink); font-weight: 500; }
@media (max-width: 40rem) { .progress li { font-size: 0; } .progress li::before { font-size: var(--text-sm); } }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: var(--space-2xl); }
.js .step + .step { margin-top: 0; }
.js .step:not(.is-active) { display: none; }
.js .step.is-active { animation: stepIn var(--dur-long) var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step > legend { padding: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); line-height: 1.05; letter-spacing: var(--tracking-display); margin-bottom: var(--space-xs); }
.step__hint { color: var(--color-muted); margin-bottom: var(--space-xl); }
.group { border: 0; margin: 0 0 var(--space-xl); padding: 0; min-width: 0; }
.group > legend, .field > label, .label { display: block; font-weight: 500; margin-bottom: var(--space-sm); padding: 0; }
.optional { font-weight: 400; color: var(--color-muted); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile > span { display: block; height: 100%; padding: var(--space-md) var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.tile svg { width: 28px; height: 28px; color: var(--color-accent); margin-bottom: var(--space-sm); }
.tile b { display: block; font-weight: 500; font-size: var(--text-md); }
.tile small { display: block; margin-top: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); line-height: 1.4; }
.tile:hover > span { border-color: var(--color-accent-soft); background: var(--color-paper-2); }
.tile input:checked + span { border-color: var(--color-accent); background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-accent); }
.tile input:checked + span b { color: var(--color-accent); }
.tile input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tiles--compact .tile > span { padding: var(--space-sm) var(--space-md); }
@media (max-width: 64rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .tiles--2 { grid-template-columns: minmax(0, 1fr); } }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-md); }
.field { margin-bottom: var(--space-md); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.input { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-short) var(--ease-out); }
textarea.input { min-height: 112px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-accent) 50%), linear-gradient(135deg, var(--color-accent) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.input:hover { border-color: var(--color-accent-soft); }
.input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.input::placeholder { color: var(--color-muted); opacity: 1; }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.err { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); margin-top: var(--space-2xs); }
.check { display: flex; gap: var(--space-sm); align-items: flex-start; cursor: pointer; padding-block: var(--space-xs); }
.check input { width: 20px; height: 20px; margin: var(--space-3xs) 0 0; flex-shrink: 0; accent-color: var(--color-accent); }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-lg); }
.consent { font-size: var(--text-sm); color: var(--color-ink-2); }
.consent a { color: var(--color-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.form-nav .btn { margin-left: auto; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.js .nojs-only { display: none; }
.form-status { margin-top: var(--space-md); }
.form-status[data-state="error"] { color: var(--color-error); }
.done { padding-block: var(--space-xl); }
.done h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); line-height: 1.05; margin-bottom: var(--space-md); color: var(--color-accent); }
.done p + p { margin-top: var(--space-md); }
@media (max-width: 40rem) { .fields, .checks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- departures board ---------- */
.board { background: var(--color-board); color: var(--color-board-ink); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-2xl); overflow-x: auto; }
.board__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.board__top p { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-board-ink); }
.board__top span { font-size: var(--text-sm); color: var(--color-board-muted); }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 var(--space-xs); min-width: 680px; }
.board th { text-align: left; font-weight: 400; font-size: var(--text-sm); color: var(--color-board-muted); padding: 0 var(--space-md) var(--space-xs); }
.board td { background: var(--color-board-2); padding: var(--space-md); font-family: var(--font-outlier); font-size: var(--text-md); }
.board td:first-child { border-radius: var(--radius-input) 0 0 var(--radius-input); color: var(--color-accent-soft); white-space: nowrap; }
.board td:last-child { border-radius: 0 var(--radius-input) var(--radius-input) 0; color: var(--color-board-muted); }
.board td.step-name { font-family: var(--font-body); font-weight: 500; font-size: var(--text-lg); }
.board tr.is-now td { background: var(--color-accent); color: var(--color-accent-ink); }
.board-note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .board { padding: var(--space-lg); } }

/* ---------- photographs ---------- */
.photo { margin: 0; }
.photo [data-slot] { border-radius: var(--radius-card); }
.photo [data-slot] img { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.photo figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

.arrival { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.arrival__big { grid-column: 1 / 8; grid-row: span 2; }
.arrival__big [data-slot] { aspect-ratio: 4 / 3.4; }
.arrival__text { grid-column: 9 / 13; }
.arrival__small { grid-column: 9 / 13; }
.arrival__small [data-slot] { aspect-ratio: 16 / 10; }
.arrival__text h2 { margin-bottom: var(--space-lg); }
.facts { margin: var(--space-xl) 0; border-top: 1px solid var(--color-rule); }
.facts div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 60rem) { .arrival { display: block; } .arrival__text, .arrival__small { margin-top: var(--space-xl); } }

.archive { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md); }
.archive .photo:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; display: flex; flex-direction: column; }
.archive .photo:nth-child(1) [data-slot] { flex: 1; min-height: 520px; }
.archive .photo:nth-child(2), .archive .photo:nth-child(3) { grid-column: 8 / 13; }
.archive .photo:nth-child(2) [data-slot], .archive .photo:nth-child(3) [data-slot] { aspect-ratio: 3 / 2; }
@media (max-width: 60rem) { .archive .photo:nth-child(n) { grid-column: 1 / -1; grid-row: auto; } .archive .photo:nth-child(1) [data-slot] { flex: none; min-height: 0; aspect-ratio: 3 / 2; } }

.welcome { text-align: center; }
.welcome p[lang="he"] { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.25rem, 10vw, 9.5rem); line-height: 1; color: var(--color-accent); }
.welcome h2 { margin: var(--space-lg) auto 0; }
.welcome p.small { margin: var(--space-lg) auto 0; color: var(--color-muted); max-width: 46ch; }
.welcome .actions { justify-content: center; margin-top: var(--space-xl); }

.cities { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.cities .photo:nth-child(1) { grid-column: 1 / 6; }
.cities .photo:nth-child(2) { grid-column: 6 / 10; }
.cities .photo:nth-child(3) { grid-column: 10 / 13; }
.cities [data-slot] { aspect-ratio: 3 / 4; }
.cities .photo:nth-child(1) [data-slot] { aspect-ratio: 4 / 4.6; }
.cities a { text-decoration: none; display: block; }
.cities a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-card); }
.cities h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); margin-top: var(--space-md); transition: color var(--dur-short) var(--ease-out); }
.cities a:hover h3 { color: var(--color-accent); }
.cities p { color: var(--color-muted); margin-top: var(--space-2xs); }
@media (max-width: 60rem) { .cities .photo:nth-child(n) { grid-column: 1 / -1; } .cities [data-slot], .cities .photo:nth-child(1) [data-slot] { aspect-ratio: 4 / 3; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.faq > h2 { grid-column: 1 / 5; }
.faq > div { grid-column: 6 / 13; border-top: 2px solid var(--color-accent); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); font-size: var(--text-lg); font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 var(--text-xl)/1 var(--font-outlier); color: var(--color-accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--color-accent); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); max-width: 62ch; }
@media (max-width: 60rem) { .faq { display: block; } .faq > div { margin-top: var(--space-xl); } }

/* ---------- inner pages ---------- */
.phero { padding-block: var(--space-3xl) var(--space-2xl); }
.phero .grid12 { align-items: end; }
.phero h1 { grid-column: 1 / 8; font-size: var(--text-display-s); line-height: 1; }
.phero .lead { grid-column: 8 / 13; }
.phero__photo { margin-top: var(--space-2xl); }
.phero__photo [data-slot] { aspect-ratio: 21 / 8; }
@media (max-width: 60rem) { .phero .grid12 { display: block; } .phero .lead { margin-top: var(--space-lg); } .phero__photo [data-slot] { aspect-ratio: 16 / 10; } }

.rows { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rows > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); align-items: baseline; counter-increment: r; }
.rows > li:first-child { border-top: 2px solid var(--color-accent); }
.rows > li::before { content: counter(r, decimal-leading-zero); grid-column: 1 / 2; font: 400 var(--text-md)/1 var(--font-outlier); color: var(--color-accent); }
.rows h3 { grid-column: 2 / 6; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); line-height: 1.1; }
.rows p { grid-column: 7 / 12; color: var(--color-ink-2); }
@media (max-width: 60rem) { .rows > li { display: block; padding-block: var(--space-lg); } .rows > li::before { display: block; margin-bottom: var(--space-xs); } .rows p { margin-top: var(--space-sm); } }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: var(--space-md) var(--space-sm); border-bottom: 1px solid var(--color-rule); text-align: left; }
.compare thead th { border-bottom: 2px solid var(--color-accent); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); white-space: nowrap; }
.compare thead th:first-child { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); vertical-align: bottom; }
.compare tbody th { font-weight: 500; width: 40%; }
.compare td { color: var(--color-muted); }
.compare td.yes { color: var(--color-accent); font-weight: 500; }
.scale-wrap { overflow-x: auto; }
@media (max-width: 40rem) { .compare { min-width: 560px; } }

.prose { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.prose__toc { grid-column: 1 / 4; position: sticky; top: 112px; align-self: start; font-size: var(--text-sm); }
.prose__toc ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-accent); }
.prose__toc a { display: block; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); text-decoration: none; font-weight: 500; }
.prose__toc a:hover { color: var(--color-accent); }
.prose__body { grid-column: 5 / 12; }
.prose__body section + section { margin-top: var(--space-3xl); }
.prose__body h2 { font-size: var(--text-3xl); margin-bottom: var(--space-lg); }
.prose__body h3 { font-weight: 500; font-family: var(--font-body); font-size: var(--text-lg); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.prose__body p, .prose__body li { line-height: 1.7; color: var(--color-ink-2); max-width: 66ch; }
.prose__body p + p { margin-top: var(--space-md); }
.prose__body ul { padding-left: 1.2em; margin: var(--space-md) 0 0; }
.prose__body li + li { margin-top: var(--space-xs); }
.prose__body li::marker { color: var(--color-accent); }
.prose__body .photo { margin-block: var(--space-xl); }
.prose__body .photo [data-slot] { aspect-ratio: 16 / 10; }
.note { margin-top: var(--space-xl); padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius-input); color: var(--color-ink-2); }
@media (max-width: 60rem) { .prose { display: block; } .prose__toc { position: static; margin-bottom: var(--space-2xl); } }

.index { list-style: none; margin: 0; padding: 0; }
.index > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); align-items: start; }
.index > li:first-child { border-top: 2px solid var(--color-accent); }
.index h2 { grid-column: 1 / 5; }
.index .body { grid-column: 5 / 9; }
.index > li:not(:has(.photo)) .body { grid-column: 5 / 12; }
.index .body p + p { margin-top: var(--space-md); }
.index .body p { color: var(--color-ink-2); }
.index .photo { grid-column: 9 / 13; }
.index .photo [data-slot] { aspect-ratio: 4 / 3; }
.index dl { margin: var(--space-lg) 0 0; }
@media (max-width: 60rem) { .index > li { display: block; } .index .body, .index .photo { margin-top: var(--space-lg); } }

.fill { color: var(--color-muted); outline: 1px dashed var(--color-rule); outline-offset: 2px; padding-inline: var(--space-2xs); }

/* ---------- footer: the flag's blue ---------- */
.footer { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--space-3xl) var(--space-xl); }
.footer :focus-visible { outline-color: var(--color-accent-ink); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.footer__brand { grid-column: 1 / 6; }
.footer .wordmark { color: var(--color-accent-ink); font-size: var(--text-3xl); }
.footer .wordmark svg { color: var(--color-accent-ink); width: 40px; height: 40px; }
.footer .wordmark b { color: var(--color-accent-soft); }
.footer__brand p { margin-top: var(--space-md); color: color-mix(in oklab, var(--color-accent-ink) 84%, transparent); max-width: 38ch; }
.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 7 / 9; }
.footer__col h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-soft); margin-bottom: var(--space-md); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.footer__col a { text-decoration: none; color: var(--color-accent-ink); }
.footer__col a:hover { text-decoration: underline; }
.footer__legal { margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: 1px solid color-mix(in oklab, var(--color-accent-ink) 25%, transparent); display: grid; gap: var(--space-xs); font-size: var(--text-sm); color: color-mix(in oklab, var(--color-accent-ink) 78%, transparent); }
.footer__legal a { color: inherit; }
@media (max-width: 60rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; margin-bottom: var(--space-xl); } .footer__col, .footer__col:first-of-type { grid-column: span 1; } }

.sticky-cta { display: none; }
@media (max-width: 40rem) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--gutter); background: var(--color-paper); border-top: 1px solid var(--color-rule); }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 80px; }
  .cta-off .sticky-cta { display: none; }
}

/* ================= v3: richer home ================= */
/* nav over the hero */
.has-hero .nav { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; color: var(--color-accent-ink); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.has-hero .nav .wordmark, .has-hero .nav .wordmark svg { color: var(--color-accent-ink); }
.has-hero .nav .wordmark b { color: var(--color-accent-soft); }
.has-hero .nav .btn { background: var(--color-paper); color: var(--color-accent); }
.has-hero .nav .menu summary { border-color: color-mix(in oklab, var(--color-accent-ink) 50%, transparent); }
.has-hero .nav :focus-visible { outline-color: var(--color-accent-ink); }
.has-hero .nav.is-solid { background: color-mix(in oklab, var(--color-paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: var(--color-rule); color: var(--color-ink); }
.has-hero .nav.is-solid .wordmark { color: var(--color-ink); }
.has-hero .nav.is-solid .wordmark svg, .has-hero .nav.is-solid .wordmark b { color: var(--color-accent); }
.has-hero .nav.is-solid .btn { background: var(--color-accent); color: var(--color-accent-ink); }
.has-hero .nav.is-solid .menu summary { border-color: var(--color-rule); }
.has-hero .nav.is-solid :focus-visible { outline-color: var(--color-focus); }
.has-hero .nav .menu ul { color: var(--color-ink); }
.has-hero .nav:not(.is-solid) .nav__links a:not(.btn):hover, .has-hero .nav:not(.is-solid) .nav__links a[aria-current="page"] { color: var(--color-accent-ink); border-color: var(--color-accent-soft); }

/* hero: full-bleed arrival, quick quote card */
.hero2 { position: relative; isolation: isolate; color: var(--color-accent-ink); min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; }
.hero2__bg { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.hero2__bg > img { object-position: 50% 30%; }
.hero2__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, color-mix(in oklab, var(--color-board) 92%, transparent) 0%, color-mix(in oklab, var(--color-accent) 72%, transparent) 42%, color-mix(in oklab, var(--color-accent) 30%, transparent) 75%, color-mix(in oklab, var(--color-board) 40%, transparent) 100%); }
.hero2__inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; padding-block: calc(76px + var(--space-2xl)) var(--space-2xl); }
.hero2 h1 { font-size: clamp(2.75rem, 4.8vw + 0.5rem, 5.75rem); line-height: 0.98; max-width: 12ch; color: var(--color-accent-ink); }
.hero2 h1 span { display: block; color: var(--color-accent-soft); }
.hero2 .lead { margin-top: var(--space-lg); color: color-mix(in oklab, var(--color-accent-ink) 88%, transparent); max-width: 34ch; }
.ticks { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-sm); }
.ticks li { display: flex; align-items: center; gap: var(--space-sm); font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-accent-soft); }
.hero2__flag { position: relative; z-index: 3; height: calc(var(--stripe) * 3.4); background: linear-gradient(var(--color-paper) 0 18%, var(--color-accent) 18% 46%, var(--color-paper) 46% 100%); }

.quick { background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); padding: var(--space-xl); box-shadow: var(--shadow-float); }
.quick :focus-visible { outline-color: var(--color-focus); }
.quick__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); margin-bottom: var(--space-lg); }
.quick__head h2 { font-size: var(--text-2xl); line-height: 1.1; }
.quick__head span { font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-accent); white-space: nowrap; flex-shrink: 0; }
.quick fieldset { border: 0; margin: 0 0 var(--space-lg); padding: 0; min-width: 0; }
.quick legend { font-weight: 500; margin-bottom: var(--space-sm); padding: 0; }
.quick .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.quick .tile > span { padding: var(--space-sm); text-align: center; }
.quick .tile svg { display: block; margin: 0 auto var(--space-2xs); width: 26px; height: 26px; }
.quick .tile b { font-size: var(--text-sm); line-height: 1.25; }
.quick__route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: var(--space-sm); align-items: end; }
.quick__route > svg { width: 22px; height: 22px; color: var(--color-accent); margin-bottom: var(--space-md); }
.quick__route label { display: block; font-weight: 500; font-size: var(--text-sm); margin-bottom: var(--space-xs); }
.quick .btn { width: 100%; margin-top: var(--space-md); min-height: 56px; font-size: var(--text-lg); }
.quick__note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.quick .err { min-height: 0; }
.quick .err:not(:empty) { margin-top: var(--space-sm); }
@media (max-width: 64rem) {
  .hero2__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); padding-block: calc(76px + var(--space-xl)) var(--space-xl); }
  .hero2 { min-height: 0; }
  .hero2__bg > img { object-position: 35% 90%; }
  .hero2__veil { background: linear-gradient(180deg, color-mix(in oklab, var(--color-board) 88%, transparent) 0%, color-mix(in oklab, var(--color-accent) 80%, transparent) 55%, color-mix(in oklab, var(--color-board) 70%, transparent) 100%); }
}
@media (max-width: 40rem) {
  .quick { padding: var(--space-lg) var(--space-md); }
  .quick__route { grid-template-columns: minmax(0, 1fr); }
  .quick__route > svg { display: none; }
  .ticks { display: none; }
}

/* the route map */
.route-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.route-sec__text { grid-column: 1 / 5; }
.route-sec__text h2 { margin-bottom: var(--space-lg); }
.route-sec__map { grid-column: 5 / 13; background: var(--color-paper-2); border-radius: var(--radius-card); padding: var(--space-lg); }
.legs { list-style: none; margin: var(--space-xl) 0 0; padding: 0; counter-reset: l; display: grid; gap: var(--space-lg); }
.legs li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-md); align-items: start; counter-increment: l; }
.legs li::before { content: counter(l); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-accent); color: var(--color-accent); font: 400 var(--text-md)/1 var(--font-outlier); }
.legs b { display: block; font-weight: 500; font-size: var(--text-lg); }
.legs span { color: var(--color-muted); }
.map { width: 100%; height: auto; }
.map__land { stroke: var(--color-map-land); stroke-width: 4.4; stroke-linecap: round; fill: none; }
.map__sea-route { fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linecap: round; }
.map__air-route { fill: none; stroke: var(--color-ink); stroke-width: 2; stroke-linecap: round; }
.js .map__sea-route, .js .map__air-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.map.is-drawn .map__air-route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.map.is-drawn .map__sea-route { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-in-out) 0.6s; }
.map__city circle { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 2.5; }
.map__city--il circle { fill: var(--color-accent); stroke: var(--color-paper); }
.map__city text { font: 500 17px var(--font-body); fill: var(--color-ink); paint-order: stroke; stroke: var(--color-paper-2); stroke-width: 5px; stroke-linejoin: round; }
.map__legend text { font: 400 16px var(--font-body); fill: var(--color-ink-2); }
.map__air-key { stroke: var(--color-ink); stroke-width: 2; }
.map__sea-key { stroke: var(--color-accent); stroke-width: 4; stroke-linecap: round; }
@media (max-width: 60rem) { .route-sec { display: block; } .route-sec__map { margin-top: var(--space-xl); padding: var(--space-sm); } }

/* marquee of cities */
.marquee { background: var(--color-accent); color: var(--color-accent-ink); overflow: hidden; padding-block: var(--space-lg); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: var(--space-xl); list-style: none; margin: 0; padding: 0 var(--space-xl) 0 0; }
.marquee li { display: flex; align-items: baseline; gap: var(--space-md); white-space: nowrap; font: var(--display-weight) var(--text-2xl)/1 var(--font-display); }
.marquee li span[lang="he"] { color: var(--color-accent-soft); }
.marquee li svg { width: 18px; height: 18px; color: var(--color-accent-soft); align-self: center; margin-left: var(--space-xl); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* bento of services */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md); }
.bento > * { border-radius: var(--radius-card); padding: var(--space-xl); background: var(--color-paper-2); min-width: 0; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.bento__lead { grid-column: 1 / 5; grid-row: 1 / 4; background: var(--color-accent); color: var(--color-accent-ink); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); position: relative; overflow: hidden; }
.bento__lead .big { font: var(--display-weight) clamp(4rem, 6.4vw, 6.75rem)/0.85 var(--font-display); white-space: nowrap; letter-spacing: var(--tracking-display); }
.bento__lead .big small { display: block; font-size: var(--text-2xl); margin-top: var(--space-sm); letter-spacing: 0; }
.bento__lead p { color: color-mix(in oklab, var(--color-accent-ink) 85%, transparent); max-width: 30ch; }
.bento__lead .link { color: var(--color-accent-ink); margin-top: var(--space-md); display: inline-block; }
.bento__lead > svg { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; color: var(--color-glint); }
.bento__lead :focus-visible { outline-color: var(--color-accent-ink); }
.bento__item { grid-column: span 4; }
.bento__item--wide { grid-column: span 4; }
.bento__item svg { width: 36px; height: 36px; color: var(--color-accent); margin-bottom: var(--space-lg); }
.bento__item h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); margin-bottom: var(--space-xs); }
.bento__item p { color: var(--color-ink-2); }
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
@media (max-width: 60rem) { .bento__lead { grid-column: 1 / -1; grid-row: auto; } .bento__item, .bento__item--wide { grid-column: span 6; } }
@media (max-width: 40rem) { .bento__item, .bento__item--wide { grid-column: 1 / -1; } .bento > * { padding: var(--space-lg); } }

/* board rows flip in */
.js .board tbody tr { opacity: 0; transform: perspective(600px) rotateX(-70deg); transform-origin: top; }
.board.is-in tbody tr { opacity: 1; transform: none; transition: opacity var(--dur-long) var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 90ms); }

/* collage + welcome */
.welcome2 { position: relative; overflow: hidden; padding-block: var(--section-gap); text-align: center; }
.welcome2 p[lang="he"] { position: relative; z-index: 2; font: var(--display-weight) clamp(3.25rem, 10vw, 9.5rem)/1 var(--font-display); color: var(--color-accent-ink); }
.welcome2 h2 { position: relative; z-index: 2; margin: var(--space-md) auto 0; color: var(--color-accent-ink); }
.welcome2 .small { position: relative; z-index: 2; margin: var(--space-lg) auto 0; max-width: 46ch; color: color-mix(in oklab, var(--color-accent-ink) 85%, transparent); }
.welcome2 .actions { position: relative; z-index: 2; justify-content: center; margin-top: var(--space-xl); }
.welcome2 .btn { background: var(--color-paper); color: var(--color-accent); }
.welcome2 .btn:hover { background: var(--color-paper-2); }
.polas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); margin-top: var(--space-3xl); align-items: start; }
.pola { margin: 0; background: var(--color-paper); padding: var(--space-sm) var(--space-sm) var(--space-md); border-radius: 6px; box-shadow: var(--shadow-photo); transform: rotate(var(--r, 0deg)); transition: transform var(--dur-long) var(--ease-out); }
.pola:hover { transform: rotate(0deg) translateY(-6px); }
.pola [data-slot] { aspect-ratio: 4 / 3; border-radius: 3px; }
.pola figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); text-align: left; }
.pola:nth-child(1) { --r: -4deg; margin-top: var(--space-xl); } .pola:nth-child(2) { --r: 3deg; } .pola:nth-child(3) { --r: -2deg; margin-top: var(--space-2xl); } .pola:nth-child(4) { --r: 4deg; margin-top: var(--space-md); }
@media (max-width: 60rem) { .polas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); } .pola:nth-child(n) { margin-top: 0; } }

/* cities rail */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.rail-head h2 { max-width: 16ch; }
.rail-btns { display: flex; gap: var(--space-sm); }
.rail-btns button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-accent); cursor: pointer; display: grid; place-items: center; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.rail-btns button:hover { border-color: var(--color-accent); background: var(--color-paper-2); }
.rail-btns button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.rail-btns svg { width: 22px; height: 22px; }
.rail-btns button:first-child svg { transform: scaleX(-1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-md); scrollbar-width: thin; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.rail > * { scroll-snap-align: start; }
.city { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: var(--color-accent-ink); aspect-ratio: 3 / 4; isolation: isolate; }
.city [data-slot] { position: absolute; inset: 0; border-radius: 0; }
.city { transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.city:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.city::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, color-mix(in oklab, var(--color-board) 85%, transparent) 0%, transparent 55%); }
.city__txt { position: absolute; z-index: 3; left: var(--space-lg); right: var(--space-lg); bottom: var(--space-lg); }
.city__txt span[lang="he"] { display: table; font: var(--display-weight) var(--text-lg)/1 var(--font-display); color: var(--color-accent-soft); margin-bottom: var(--space-xs); }
.city__txt b { display: block; font: var(--display-weight) var(--text-3xl)/1 var(--font-display); }
.city__txt small { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); color: color-mix(in oklab, var(--color-accent-ink) 85%, transparent); }
.city:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.city--text { background: var(--color-accent); display: flex; align-items: end; }
.city--text::after { display: none; }
@media (max-width: 40rem) { .rail { grid-auto-columns: 78%; } .rail-btns { display: none; } }

/* reveal: content visible without JS */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

/* footer giant wordmark */
.footer__giant { margin-top: var(--space-2xl); font: var(--display-weight) clamp(4rem, 15vw, 15rem)/0.8 var(--font-display); letter-spacing: -0.04em; color: color-mix(in oklab, var(--color-accent-ink) 14%, transparent); white-space: nowrap; overflow: hidden; user-select: none; }

/* ================= v3: inner pages ================= */
.phero2 { position: relative; isolation: isolate; color: var(--color-accent-ink); min-height: min(78dvh, 760px); display: grid; grid-template-rows: 1fr auto; }
.phero2__bg { position: absolute; inset: 0; z-index: 0; }
.phero2__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(15deg, color-mix(in oklab, var(--color-board) 94%, transparent) 0%, color-mix(in oklab, var(--color-accent) 70%, transparent) 50%, color-mix(in oklab, var(--color-board) 35%, transparent) 100%); }
.phero2__inner { position: relative; z-index: 3; align-self: end; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; padding-block: calc(76px + var(--space-3xl)) var(--space-2xl); }
.phero2 h1 { grid-column: 1 / 9; font-size: clamp(2.75rem, 5vw + 0.5rem, 5.75rem); line-height: 0.98; max-width: 14ch; color: var(--color-accent-ink); }
.phero2 h1 span { display: block; color: var(--color-accent-soft); }
.phero2 .lead { grid-column: 9 / 13; color: color-mix(in oklab, var(--color-accent-ink) 88%, transparent); }
.phero2 p[lang="he"] { grid-column: 1 / -1; font: var(--display-weight) var(--text-2xl)/1 var(--font-display); color: var(--color-accent-soft); margin-bottom: calc(-1 * var(--space-md)); }
.phero2__cap { position: absolute; z-index: 3; right: var(--gutter); top: calc(76px + var(--space-lg)); font-size: var(--text-sm); color: color-mix(in oklab, var(--color-accent-ink) 75%, transparent); }
@media (max-width: 60rem) { .phero2 { min-height: 0; } .phero2__inner { display: block; padding-block: calc(76px + var(--space-3xl)) var(--space-xl); } .phero2 .lead { margin-top: var(--space-lg); } .phero2__cap { display: none; } }

/* CTA band with the quick card */
.cta-band { padding-block: var(--section-gap-s); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; background: radial-gradient(circle, var(--color-glint) 0 60%, transparent 61%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.cta-band__inner > div > h2 { color: var(--color-accent-ink); font-size: var(--text-display-s); line-height: 1; max-width: 12ch; }
.cta-band .lead { margin-top: var(--space-lg); color: color-mix(in oklab, var(--color-accent-ink) 85%, transparent); max-width: 38ch; }
@media (max-width: 64rem) { .cta-band__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } }

/* journey: the first year as a route */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-lg); position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--color-accent) 0 10px, transparent 10px 18px); }
.journey li { position: relative; padding-top: var(--space-3xl); }
.journey li::before { content: ""; position: absolute; top: 14px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--color-paper); border: 3px solid var(--color-accent); }
.journey li:first-child::before, .journey li:last-child::before { background: var(--color-accent); }
.journey small { display: block; font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-accent); margin-bottom: var(--space-sm); }
.journey b { display: block; font: var(--display-weight) var(--text-xl)/1.15 var(--font-display); margin-bottom: var(--space-xs); }
.journey p { color: var(--color-ink-2); font-size: var(--text-md); }
@media (max-width: 60rem) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-left: var(--space-2xl); }
  .journey::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--color-accent) 0 10px, transparent 10px 18px); }
  .journey li { padding-top: 0; }
  .journey li::before { left: calc(-1 * var(--space-2xl)); top: 0; }
}

/* rights grid */
.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.rights > div { background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-xl); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.rights > div:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.rights svg { width: 34px; height: 34px; color: var(--color-accent); margin-bottom: var(--space-lg); }
.rights h3 { font: var(--display-weight) var(--text-xl)/1.15 var(--font-display); margin-bottom: var(--space-xs); }
.rights p { color: var(--color-ink-2); }
.rights .note { grid-column: 1 / -1; margin-top: 0; background: var(--color-paper-3); }
@media (max-width: 60rem) { .rights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .rights { grid-template-columns: minmax(0, 1fr); } }

/* city rows: big alternating cards */
.cityrows { display: grid; gap: var(--space-3xl); }
.cityrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.cityrow__visual { grid-column: 1 / 8; position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 11; }
.cityrow__visual [data-slot] { position: absolute; inset: 0; }
.cityrow__visual--type { background: var(--color-accent); display: grid; place-items: center; color: var(--color-accent-ink); }
.cityrow__visual--type span { font: var(--display-weight) clamp(4rem, 10vw, 9rem)/1 var(--font-display); }
.cityrow__visual--type::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12%; height: 14px; background: var(--color-paper); opacity: 0.9; box-shadow: 0 -40px 0 0 var(--color-accent), 0 -54px 0 0 var(--color-paper); }
.cityrow__text { grid-column: 9 / 13; }
.cityrow:nth-child(even) .cityrow__visual { grid-column: 6 / 13; order: 2; }
.cityrow:nth-child(even) .cityrow__text { grid-column: 1 / 5; }
.cityrow__text p[lang="he"] { font: var(--display-weight) var(--text-2xl)/1 var(--font-display); color: var(--color-accent); margin-bottom: var(--space-sm); }
.cityrow__text h2 { margin-bottom: var(--space-lg); }
.cityrow__text > p:not([lang]) { color: var(--color-ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.chips li { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.cityrow .facts { margin: var(--space-lg) 0 0; }
@media (max-width: 60rem) { .cityrow { display: block; } .cityrow__text { margin-top: var(--space-xl); } }

/* method: vertical steps */
.vsteps { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.vsteps li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); counter-increment: v; align-items: start; position: relative; }
.vsteps li::before { content: counter(v, decimal-leading-zero); font: var(--display-weight) clamp(3rem, 5vw, 4.5rem)/0.9 var(--font-display); color: var(--color-accent); }
.vsteps li:last-child { border-bottom: 1px solid var(--color-rule); }
.vsteps h3 { font: var(--display-weight) var(--text-2xl)/1.1 var(--font-display); }
.vsteps small { display: block; font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-accent); margin-top: var(--space-sm); }
.vsteps p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .vsteps li { grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-sm) var(--space-md); } .vsteps li::before { font-size: var(--text-2xl); } .vsteps li p { grid-column: 2; } .cityrow__visual--type::after { bottom: 7%; } }

/* method: plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: stretch; }
.plan { background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-lg); box-shadow: 0 0 0 1px var(--color-rule); }
.plan--blue { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }
.plan h3 { font: var(--display-weight) var(--text-3xl)/1 var(--font-display); }
.plan > p { color: var(--color-muted); }
.plan--blue > p { color: color-mix(in oklab, var(--color-accent-ink) 82%, transparent); }
.plan ul { list-style: none; margin: 0; padding: var(--space-lg) 0 0; border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-sm); }
.plan--blue ul { border-top-color: color-mix(in oklab, var(--color-accent-ink) 25%, transparent); }
.plan li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: var(--space-3xs); color: var(--color-accent); }
.plan--blue li svg { color: var(--color-accent-soft); }
.plan li.no { color: var(--color-muted); text-decoration: line-through; text-decoration-color: var(--color-rule); }
.plan--blue li.no { color: color-mix(in oklab, var(--color-accent-ink) 55%, transparent); }
.plan li.no svg { visibility: hidden; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--blue .btn { background: var(--color-paper); color: var(--color-accent); }
.plan--blue :focus-visible { outline-color: var(--color-accent-ink); }
@media (max-width: 60rem) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* method: container sizes */
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.sizes > div { border-radius: var(--radius-card); padding: var(--space-lg); background: var(--color-paper-2); }
.sizes svg { width: 40px; height: 40px; color: var(--color-accent); margin-bottom: var(--space-md); }
.sizes b { display: block; font: var(--display-weight) var(--text-xl)/1.15 var(--font-display); margin-bottom: var(--space-xs); }
.sizes span { color: var(--color-ink-2); }
@media (max-width: 60rem) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .sizes { grid-template-columns: minmax(0, 1fr); } }

/* two-column tips */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.tips > div { border-top: 3px solid var(--color-accent); padding-top: var(--space-lg); }
.tips h3 { font: var(--display-weight) var(--text-xl)/1.15 var(--font-display); margin-bottom: var(--space-md); }
.tips ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.tips li::marker { color: var(--color-accent); }
@media (max-width: 60rem) { .tips { grid-template-columns: minmax(0, 1fr); } }
