/*
 * Auspicious Journeys website: the base system of the "Arrival" redesign (02/11/2026, design/SPEC.md sections 2 to 4).
 * Loaded on every page after assets/aj.css (shared with the apps, untouched) and before frame.css, motion.css,
 * booking.css and the page's own CSS. It holds the tokens, the type scale, the grid, the grounds and every shared
 * component a page is built from: buttons and links, section heads, index lists, features, tiles, rows, tracks,
 * questions, forms, tables, tags, steppers, route maps, journal rows and guides.
 * Section 0 is the only place in the website's CSS that holds hex values. Everything else reads tokens, so a
 * component placed on a night ground (on-green, on-pine) adapts through the semantic layer (--text, --line, ...).
 * Motion: this file holds resting states and hover transitions only. Reveal start states live in motion.css under
 * html.mo; the one exception is the drawn line of tracks and timelines (section 8), keyed to html.mo too.
 * Sections: 0 tokens . 1 base . 2 type . 3 layout and grounds . 4 buttons and links . 5 section heads . 6 index
 * lists . 7 features, tiles, rows . 8 tracks, timelines, steps, day lists . 9 questions . 10 forms . 11 tables
 * 12 tags, steppers, segmented controls . 13 route maps . 14 journal, guides, photo band, small shared blocks
 */

/* ============================== 0. Tokens ============================== */
html:has(> body.aj-site) { --porcelain: #F2F3F3; }
.aj-site {
  /* palette (SPEC 2): neutral graphite and porcelain, vermilion the one action colour, deep green in the logo only */
  --porcelain: #F2F3F3; --paper: #FAFAFA; --sunken: #E8EAEA; --select: #E3E6E6; --celadon: #E6E8E8;
  --hair: #D5D8D8; --field: #7B8282;
  --ink: #121515; --ink-2: #4F5656; --ink-3: #5D6464;
  --pine: #0F1213; --green: #15191A; --green-raised: #1E2324; --green-high: #2A3031; --green-line: #343B3C;
  --slate: #4A5254; --green-500: #6B7476; --green-300: #A9B0B1;
  --mist: #EDEEEE; --mist-2: #A2A9AA; --mist-50: #EDEEEE80; --mist-14: #EDEEEE24; --mist-10: #EDEEEE1A;
  --raised-60: #1E232499; --press-shade: #0F12131F; --skel-band-l: #FAFAFAB3; --skel-band-d: #2A303180;
  --hair-d: #2E3435; --field-d: #858D8E; --land-d: #121617;
  --vermilion: #E74219; --vermilion-press: #C2380F; --vermilion-hover: #A9300B; --vermilion-glow: #FF9A78;
  --info: #44505A; --info-tint: #E5E9EC; --info-d: #BFC8CF; --info-d-bg: #222A30;
  --chart-1: #15191A; --chart-2: #6B7476; --chart-3: #A9B0B1; --chart-4: #DCDFE0;
  --chart-d1: #EDEEEE; --chart-d2: #A9B0B1; --chart-d3: #6B7476; --chart-d4: #343B3C;
  --map-sea: #D9DFE2; --map-land: #F6F7F7; --map-coast: #C3C9CC; --map-road: #E3E6E6; --map-xway: #D0D5D6;
  --map-sea-d: #0F1213; --map-land-d: #15191A; --map-coast-d: #2E3435; --map-road-d: #262C2D; --map-xway-d: #343B3C;
  --scrim: #0F1213CC; --scrim-clear: #0F121300; --backdrop: #0F121373;
  --scrim-b: #0F1213D1; --scrim-t: #0F121399; --scrim-0: #0F121300;
  --shadow-float: 0 1px 2px #0F12131A, 0 18px 40px -18px #0F121361;
  --shadow-object: 0 0 0 1px #0F12130F, 0 40px 80px -36px #0F121380;
  --float-line: #0F12131A; --float-shadow: 0 1px 2px #0F12131A, 0 14px 34px -16px #0F12135C;
  /* the keyless Google map is shown greyscale and soft (owner decision 12/10/2026); a map, not a photograph */
  --map-filter: grayscale(1) contrast(1.06) brightness(1.03);
  --brand: #083933; --brand-deep: #062B26;

  /* type (SPEC 2.1): Montserrat only */
  --font: "Montserrat", ui-sans-serif, system-ui, sans-serif; --serif: var(--font); --sans: var(--font);
  --fs-display: clamp(2.875rem, 1.344rem + 6.286vw, 7rem);
  --fs-h1: clamp(2.5rem, 1.387rem + 4.571vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.667vw, 3.75rem);
  --fs-statement: clamp(1.625rem, 1.206rem + 1.714vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.111rem + 0.571vw, 1.625rem);
  --fs-lede: clamp(1.125rem, 1.056rem + 0.286vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.977rem + 0.095vw, 1.0625rem);
  --fs-index: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --fs-q: clamp(1.25rem, 1.18rem + 0.3vw, 1.375rem);
  --fs-small: 0.875rem; --fs-meta: 0.8125rem; --fs-btn: 0.9375rem;

  /* space and grid (SPEC 2.2) */
  --gutter: clamp(20px, 4.2vw, 64px);
  --col-gap: clamp(16px, 2.2vw, 32px);
  --section-y: clamp(5rem, 2.6rem + 9.8vw, 11rem);
  --head-gap: clamp(48px, 2.4rem + 1.6vw, 72px);
  --row-y: clamp(28px, 1.5rem + 0.6vw, 40px);

  /* radius: square photos and bands, 2px controls, 8px floating cards, the arch for one brand moment */
  --r-0: 0; --r-1: 2px; --r-2: 2px; --r-3: 8px; --r-4: 8px; --r-arch: 100vmax 100vmax 0 0; --r-round: 50%;

  /* motion (SPEC 2.2) */
  --ease-out: cubic-bezier(.16,1,.3,1); --ease-in-out: cubic-bezier(.65,0,.35,1); --ease-in: cubic-bezier(.7,0,.84,0);
  /* masks and windows only (lines, image windows, the stage H1): a slow wind-up hidden by the mask, then a long glide.
   * Anything fully visible keeps --ease-out (reference analysis 4.0 T0.1) */
  --ease-mask: cubic-bezier(.77,0,.18,1);
  --dur-hover: 450ms; --dur-reveal: 1000ms; --dur-image: 1300ms; --dur-stage: 2200ms; --stagger: 80ms;
  --dur-qa: 600ms; --dur-draw: 1100ms;

  /* light-row roles (aj.css section 2) for the website, plus the website's own component roles */
  --bg: var(--porcelain); --surface: var(--paper); --inset: var(--sunken);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --heading: var(--ink);
  --line: var(--hair); --edge: var(--field); --sel: var(--select); --sel-edge: var(--ink); --focus: var(--vermilion);
  --field-bg: var(--paper); --field-line: var(--field); --field-fill: var(--sunken);
  --strong-bg: var(--ink); --strong-fg: var(--paper); --strong-hover: var(--green-raised);
  /* the selected segment on day: sunken with a 1px ink line, as the booking card (no ink fills on day, review 12/10/2026) */
  --seg-sel-bg: var(--sunken); --seg-sel-fg: var(--ink); --seg-sel-line: var(--ink); --link: var(--ink); --tab-bar: var(--brand);
  --line-strong: var(--ink); --fill-hover: var(--ink); --fill-hover-fg: var(--paper); --accent-fill: var(--ink); --accent-fill-fg: var(--paper);
  --card-line: var(--hair); --sheet-bg: var(--paper); --quiet-fill: var(--ink);
}
/* light grounds (also when nested in a night band) */
.aj-site :is(.on-porcelain, .on-paper, .on-celadon, .theme-light) {
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --heading: var(--ink);
  --line: var(--hair); --edge: var(--field); --focus: var(--vermilion); --link: var(--ink); --tab-bar: var(--brand);
  --field-bg: var(--paper); --field-line: var(--field); --field-fill: var(--sunken);
  --strong-bg: var(--ink); --strong-fg: var(--paper); --seg-sel-bg: var(--sunken); --seg-sel-fg: var(--ink); --seg-sel-line: var(--ink);
  --line-strong: var(--ink); --fill-hover: var(--ink); --fill-hover-fg: var(--paper); --accent-fill: var(--ink); --accent-fill-fg: var(--paper);
  --strong-btn-bg: initial; --strong-btn-fg: initial; --strong-btn-line: initial; --strong-btn-fill: initial;
}
/* night grounds: graphite sections, pine stage scrims, menu and footer */
.aj-site :is(.on-green, .on-pine, .theme-dark, .statement-band, .photo-panel, .site-footer) {
  --text: var(--mist); --text-2: var(--mist-2); --text-3: var(--mist-2); --heading: var(--mist);
  --line: var(--hair-d); --edge: var(--field-d); --focus: var(--vermilion-glow); --link: var(--mist);
  --surface: var(--green-raised); --inset: var(--green-high); --sel: var(--green-high); --sel-edge: var(--mist-2);
  --field-bg: var(--green-raised); --field-line: var(--field-d); --field-fill: var(--green-raised);
  --strong-bg: var(--mist); --strong-fg: var(--ink); --strong-hover: var(--paper); --seg-sel-bg: var(--mist); --seg-sel-fg: var(--ink); --seg-sel-line: var(--mist);
  --line-strong: var(--mist); --fill-hover: var(--mist); --fill-hover-fg: var(--ink); --accent-fill: var(--mist); --accent-fill-fg: var(--ink);
  /* the strong button is a mist fill on night (on day it is a 1px ink outline: no black filled buttons, review 12/10/2026) */
  --strong-btn-bg: var(--mist); --strong-btn-fg: var(--ink); --strong-btn-line: var(--mist); --strong-btn-fill: var(--paper);
}
/* status chips: "Completed" and the like read in ink on grey, not on a green tint (success icons keep --ok) */
.aj-site .tone-ok { --tone-fg: var(--text); --tone-bg: var(--select); }
/* membership cards: three graphite steps instead of green, pine and green */
.aj-site .mcard[data-tier="jade"] { background: var(--green-high); }
.aj-site .mcard[data-tier="jade"] .mcard-window { background: var(--green); }
.aj-site .mcard[data-tier="vermilion"] .mcard-window { background: var(--green-high); }

/* ============================== 1. Base ============================== */
.aj-site {
  background: var(--porcelain); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums; counter-reset: sec-n;
}
.site-main { display: block; }
.aj-site ::selection { background: var(--ink); color: var(--paper); }
.aj-site :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: calc(var(--z-sheet) + 2); padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: var(--r-1); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; box-shadow: var(--shadow-float); }
.photo { object-position: var(--pos, 50% 50%); }
@media (min-width: 1024px) { .photo { object-position: var(--pos-lg, var(--pos, 50% 50%)); } }

/* utilities */
html:not(.js) .js-only { display: none !important; }
.nowrap { white-space: nowrap; }
.aj-site .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 479px) { .hide-sm { display: none; } }
.source-line { margin-top: 40px; font-size: var(--fs-meta); line-height: 1.5; color: var(--text-2); max-width: 72ch; }
.source-line a { color: var(--text); }
.meta-dots > * + *::before { content: "\00a0\00b7\00a0"; color: var(--text-2); }

/* ============================== 2. Type ============================== */
.aj-site :is(.t-display, .t-h1, .t-h2, .t-h3, .t-statement, .t-screen, .t-page, .t-panel, .t-tier, .sheet-title, .doc-title, .mcard-tier) {
  font-family: var(--font); font-stretch: 100%; font-style: normal; color: var(--heading); }
.aj-site :is(.t-display, .t-h1, .t-h2, .t-h3, .t-statement) { text-wrap: balance; }
.aj-site .t-display { font-size: var(--fs-display); font-weight: 500; line-height: 0.96; letter-spacing: -0.045em; max-width: 13ch; }
.aj-site .t-h1, .aj-site .mh-title { font-size: var(--fs-h1); font-weight: 500; line-height: 1; letter-spacing: -0.04em; max-width: 13ch; }
.aj-site .t-h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.aj-site .t-statement { font-size: var(--fs-statement); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch; white-space: normal; font-variant-numeric: proportional-nums lining-nums; }
.aj-site .t-h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.aj-site .t-lede { font-size: var(--fs-lede); font-weight: 400; line-height: 1.5; letter-spacing: 0; max-width: 44ch; }
.aj-site .t-small { font-size: var(--fs-small); font-weight: 500; line-height: 1.45; }
.aj-site .t-meta { font-size: var(--fs-meta); font-weight: 500; line-height: 1.4; letter-spacing: 0.01em; }
.aj-site .t-tier { font-style: italic; font-weight: 500; letter-spacing: 0.02em; }
.aj-site .t-panel { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.aj-site .sheet-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.aj-site .t-2 { color: var(--text-2); }
/* an eyebrow: existing short text set small, optionally after a 32px hairline */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-meta); font-weight: 500; line-height: 1.4; letter-spacing: 0.01em; color: var(--text-2); }
.eyebrow.has-rule::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
/* running text */
.prose { max-width: 64ch; font-variant-numeric: proportional-nums lining-nums; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 1em; }

/* ============================== 3. Layout and grounds ============================== */
.aj-site .container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.aj-site .container.is-narrow { max-width: calc(64ch + 2 * var(--gutter)); }
.aj-site .section { position: relative; padding-block: var(--section-y); }
.aj-site .section.is-tall { padding-block: calc(var(--section-y) * 1.25); }
.aj-site .section.is-flush-top { padding-top: 0; }
.aj-site .on-porcelain { --bg: var(--porcelain); background: var(--porcelain); color: var(--text); }
.aj-site .on-paper { --bg: var(--paper); background: var(--paper); color: var(--text); }
.aj-site .on-celadon { --bg: var(--celadon); --inset: var(--paper); background: var(--celadon); color: var(--text); }
.aj-site .on-green { --bg: var(--green); background: var(--green); color: var(--text); }
.aj-site .on-pine { --bg: var(--pine); background: var(--pine); color: var(--text); }
/* the 12-column grid. Children span the whole row until told otherwise (g-N spans, g-from-N starts, from 1024px) */
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(32px, 2rem + 1vw, 56px); }
.grid-12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) {
  .grid-12 > .g-3 { grid-column: span 3; } .grid-12 > .g-4 { grid-column: span 4; } .grid-12 > .g-5 { grid-column: span 5; }
  .grid-12 > .g-6 { grid-column: span 6; } .grid-12 > .g-7 { grid-column: span 7; } .grid-12 > .g-8 { grid-column: span 8; }
  .grid-12 > .g-9 { grid-column: span 9; }
  .grid-12 > .g-from-5 { grid-column-start: 5; } .grid-12 > .g-from-6 { grid-column-start: 6; } .grid-12 > .g-from-7 { grid-column-start: 7; }
  .grid-12 > .g-from-8 { grid-column-start: 8; } .grid-12 > .g-from-9 { grid-column-start: 9; }
  .grid-12 > [class*="g-from-"]:not([class*="g-3"]):not([class*="g-4"]):not([class*="g-5"]):not([class*="g-6"]):not([class*="g-7"]):not([class*="g-8"]):not([class*="g-9"]) { grid-column-end: -1; }
  .grid-12 > .is-sticky { position: sticky; top: calc(var(--frame-top, 96px) + 32px); align-self: start; }
}
.aj-site .split { gap: var(--col-gap); }
@media (min-width: 1024px) { .aj-site .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--col-gap) * 3); } }

/* ============================== 4. Buttons and links ============================== */
/* .btn: a 56px slab, 2px corners; on hover a fill rises from the bottom and the label swaps colour */
.aj-site .btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-line: transparent; --btn-fill: var(--inset); --btn-fill-fg: var(--text);
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--btn-line); border-radius: var(--r-1); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font); font-size: var(--fs-btn); font-weight: 600; line-height: 1; letter-spacing: 0;
  transition: color calc(var(--dur-hover) * 0.6) var(--ease-out), border-color calc(var(--dur-hover) * 0.6) var(--ease-out), transform 160ms var(--ease-out);
}
.aj-site .btn:where(:not(.btn-link, .no-fill))::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); transform: translateY(101%); transition: transform var(--dur-hover) var(--ease-out); pointer-events: none; }
.aj-site .btn:where(:not(.btn-link, .no-fill, [disabled], [aria-disabled="true"])):hover { color: var(--btn-fill-fg); border-color: var(--btn-line-h, var(--btn-line)); }
.aj-site .btn:where(:not(.btn-link, .no-fill, [disabled], [aria-disabled="true"])):hover::before { transform: translateY(0); }
/* aj.css hover backgrounds stand down: the rising fill is the hover */
.aj-site :is(.btn-primary, .btn-secondary, .btn-strong, .btn-quiet, .btn-danger):hover { background: var(--btn-bg); }
.aj-site .btn:active:not([disabled]) { transform: scale(.98); }
.aj-site .btn .icon { transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .btn:hover :is(.icon-arrow-right, .icon-arrow-up-right) { transform: translateX(4px); }
.aj-site .btn:where(:not(.btn-icon, .btn-link, .btn-sm)) { height: 56px; padding-inline: 28px; gap: 10px; }
@media (max-width: 767px) { .aj-site .btn:where(:not(.btn-icon, .btn-link, .btn-sm)) { height: 52px; } }
.aj-site .btn-lg, .aj-site .btn-step { font-size: var(--fs-btn); }
.aj-site .btn-sm { height: 36px; padding-inline: 14px; font-size: 14px; }
.aj-site .btn-primary { --btn-bg: var(--vermilion-press); --btn-fg: var(--paper); --btn-fill: var(--vermilion-hover); --btn-fill-fg: var(--paper); }
.aj-site .btn-light { --btn-bg: var(--mist); --btn-fg: var(--ink); --btn-fill: var(--paper); --btn-fill-fg: var(--ink); }
.aj-site :is(.btn-secondary, .btn-outline) { --btn-line: currentColor; --btn-line-h: var(--fill-hover); --btn-fg: var(--text); --btn-fill: var(--fill-hover); --btn-fill-fg: var(--fill-hover-fg); }
/* strong: a 1px ink outline on day grounds (the owner review of 12/10/2026: no black filled buttons), the fill rising in
 * the sunken grey; a mist fill on night grounds (the --strong-btn-* roles, set on night grounds only) */
.aj-site .btn-strong { --btn-bg: var(--strong-btn-bg, transparent); --btn-fg: var(--strong-btn-fg, var(--text)); --btn-line: var(--strong-btn-line, var(--line-strong)); --btn-fill: var(--strong-btn-fill, var(--inset)); --btn-fill-fg: var(--strong-btn-fg, var(--text)); }
.aj-site .btn-quiet { --btn-fg: var(--text-2); --btn-fill: var(--inset); --btn-fill-fg: var(--text); }
.aj-site .btn-danger { --btn-line: var(--danger-fg); --btn-fg: var(--danger-fg); --btn-fill: var(--danger-bg); --btn-fill-fg: var(--danger-fg); }
.aj-site .btn-icon.btn-secondary { --btn-line: var(--edge); }
.aj-site .btn[disabled], .aj-site .btn[aria-disabled="true"] { --btn-bg: var(--inset); --btn-fg: var(--text-3); --btn-line: transparent; }
@media (prefers-reduced-motion: reduce) { .aj-site .btn, .aj-site .btn::before, .aj-site .btn .icon { transition-duration: 1ms; } }

/* links: a quiet 1px underline; on hover a second, full-strength one wipes in from the left */
.aj-site :where(.link, .btn-link, .prose a, p a:not([class]), .source-line a, .form-consent a) {
  color: var(--link); font-weight: inherit; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--link-base, color-mix(in srgb, currentColor 32%, transparent)), var(--link-base, color-mix(in srgb, currentColor 32%, transparent)));
  background-size: 0% 1px, 100% 1px; background-position: 0 var(--link-y, calc(100% - 0.02em)), 0 var(--link-y, calc(100% - 0.02em)); background-repeat: no-repeat;
  transition: background-size var(--dur-hover) var(--ease-out);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.aj-site :where(.link, .btn-link, .prose a, p a:not([class]), .source-line a, .form-consent a):hover { background-size: 100% 1px, 100% 1px; }
.aj-site .btn-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; font-weight: 600; font-size: inherit; --link-y: calc(50% + 0.8em); }
.aj-site .btn-link .icon { margin: 0; vertical-align: 0; transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .btn-link:hover :is(.icon-arrow-right, .icon-arrow-up-right) { transform: translateX(4px); }
.aj-site .btn-link > i:first-child .icon { margin-right: 0; }

/* the arrow circle: 56px, 1px current-colour ring, fills on hover (ink on day; mist with an ink arrow on night, so the
 * header's "Book a car" stays the one vermilion thing in view) */
.arrow-circle { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border: 1px solid currentColor; border-radius: var(--r-round); color: var(--text); overflow: hidden; transition: color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out); }
.arrow-circle.is-lg { width: 72px; height: 72px; }
.arrow-circle.is-sm { width: 44px; height: 44px; }
.arrow-circle::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--accent-fill); transform: scale(0); transition: transform var(--dur-hover) var(--ease-out); }
.arrow-circle .icon { transition: transform var(--dur-hover) var(--ease-out); }
:is(a, button):hover > .arrow-circle, :is(a, button):focus-visible > .arrow-circle, a.arrow-circle:hover, button.arrow-circle:hover { color: var(--accent-fill-fg); border-color: var(--accent-fill); }
:is(a, button):hover > .arrow-circle::before, :is(a, button):focus-visible > .arrow-circle::before, a.arrow-circle:hover::before, button.arrow-circle:hover::before { transform: scale(1); }
:is(a, button):hover > .arrow-circle .icon, a.arrow-circle:hover .icon, button.arrow-circle:hover .icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .arrow-circle, .arrow-circle::before, .arrow-circle .icon { transition-duration: 1ms; } }
.aj-site .btn-row { gap: 12px 16px; }
.sec-cta { margin-top: clamp(40px, 2rem + 1vw, 56px); }

/* ============================== 5. Section heads and landing grids ============================== */
/* .sec-head: a hairline across the top; the H2 in columns 1 to 7, the lede in 8 to 12 on the H2's last baseline */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 20px; padding-top: clamp(24px, 1rem + 1vw, 40px); margin-bottom: var(--head-gap); border-top: 1px solid var(--line); }
.sec-head > * { grid-column: 1 / -1; min-width: 0; }
.sec-head.is-bare { border-top: 0; padding-top: 0; }
.sec-head.is-numbered { counter-increment: sec-n; }
.sec-head.is-numbered::before { content: counter(sec-n, decimal-leading-zero) / ""; grid-column: 1 / -1; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
.sec-head-lede, .sec-head-lede p { color: var(--text-2); font-size: var(--fs-lede); line-height: 1.5; max-width: 44ch; }
.sec-head-lede .btn-link { margin-top: 8px; }
@media (min-width: 1024px) {
  .sec-head { align-items: last baseline; }
  .sec-head > :is(h1, h2, h3, .t-h2) { grid-column: 1 / span 7; }
  .sec-head > .sec-head-lede, .sec-head > :is(h1, h2, h3, .t-h2) + :is(p, div) { grid-column: 8 / -1; }
}
/* the older 5/7 pairing (heading column sticky beside its content) on the 12-column grid */
.section-head { display: grid; gap: 16px; max-width: 48rem; }
.section-head .t-lede { color: var(--text-2); }
.land-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.land-intro { display: grid; gap: 20px; align-content: start; }
.land-intro .t-lede, .land-intro .answer-text p { color: var(--text-2); }
.answer-text p { font-size: var(--fs-lede); line-height: 1.55; max-width: 46ch; }
@media (min-width: 1024px) {
  .land-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 0; }
  .land-grid > * { grid-column: 6 / -1; min-width: 0; }
  .land-grid > :not(.land-intro) + :not(.land-intro) { margin-top: 48px; }
  .land-grid > .land-intro { grid-column: 1 / span 4; grid-row: 1 / span 8; position: sticky; top: calc(var(--frame-top, 96px) + 32px); align-self: start; }
}
@media (min-width: 1280px) { .land-grid > :not(.land-intro) { grid-column: 7 / -1; } .land-grid > .land-intro { grid-column: 1 / span 5; } }

/* ============================== 6. Index lists ============================== */
/* full-width hairline rows: a counter numeral, a large title, the line beside it, an arrow circle at the end */
.aj-site .index-list, .big-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: idx; }
.aj-site .index-list > li, .big-index > li { counter-increment: idx; }
.aj-site .index-row, .bi-row {
  position: relative; display: grid; align-items: center; column-gap: var(--col-gap); row-gap: 6px;
  min-height: 0; padding-block: var(--row-y); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
}
/* the hairline thickens to ink (mist on night) with a wipe from the left */
.aj-site .index-row::after, .bi-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .index-row:hover::after, .aj-site .index-row:focus-visible::after, .bi-row:hover::after, .bi-row:focus-visible::after { transform: scaleX(1); }
.aj-site .index-row::before, .bi-row::before { content: counter(idx, decimal-leading-zero) / ""; grid-area: n; align-self: start; padding-top: 0.55em; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
:is(.index-list, .big-index).is-plain :is(.index-row, .bi-row)::before { content: none; }
/* .index-row (title, fact, arrow) */
.aj-site .index-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "n t go" "n f go"; }
.aj-site .index-row .t-h3 { grid-area: t; font-size: var(--fs-index); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .index-row .index-fact { grid-area: f; font-size: 15px; color: var(--text-2); text-align: left; }
.aj-site .index-row > i[data-icon], .bi-go {
  grid-area: go; position: relative; isolation: isolate; display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden;
  border: 1px solid var(--edge); border-radius: var(--r-round); color: var(--text); line-height: 0;
  transition: color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out);
}
.aj-site .index-row > i[data-icon]::before, .bi-go::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--accent-fill); transform: scale(0); transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .index-row > i[data-icon] .icon, .bi-go .icon { transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .index-row .icon, .aj-site .index-row:hover .icon { color: inherit; }
.aj-site .index-row:is(:hover, :focus-visible) .t-h3, .bi-row:is(:hover, :focus-visible) .bi-t { transform: translateX(12px); }
.aj-site .index-row:is(:hover, :focus-visible) > i[data-icon], .bi-row:is(:hover, :focus-visible) .bi-go { color: var(--accent-fill-fg); border-color: var(--accent-fill); }
.aj-site .index-row:is(:hover, :focus-visible) > i[data-icon]::before, .bi-row:is(:hover, :focus-visible) .bi-go::before { transform: scale(1); }
.aj-site .index-row:hover > i[data-icon] .icon, .bi-row:hover .bi-go .icon { transform: translateX(3px); }
@media (min-width: 900px) {
  .aj-site .index-row { grid-template-columns: 64px minmax(0, 7fr) minmax(0, 4fr) 56px; grid-template-areas: "n t f go"; }
  .aj-site .index-row .index-fact { align-self: center; }
}
/* .big-index / .bi-row (icon, title, line, price, go) */
.bi-row { grid-template-columns: 40px minmax(0, 1fr) 56px; grid-template-areas: "n t go" "n l go" "n p go"; }
.bi-t { grid-area: t; font-size: var(--fs-index); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; transition: transform var(--dur-hover) var(--ease-out); }
.bi-l { grid-area: l; color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 44ch; }
.bi-p { grid-area: p; color: var(--text-2); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bi-ic { display: none; }
@media (min-width: 900px) {
  .bi-row { grid-template-columns: 64px minmax(0, 6fr) 20px minmax(0, 4fr) minmax(96px, auto) 56px; grid-template-areas: "n t ic l p go"; }
  .bi-ic { grid-area: ic; display: block; align-self: center; width: 20px; height: 20px; color: var(--text-2); line-height: 0; }
  .bi-ic .icon { width: 20px; height: 20px; }
  .bi-p { text-align: right; }
}
@media (prefers-reduced-motion: reduce) { .aj-site .index-row *, .bi-row *, .aj-site .index-row::after, .bi-row::after { transition-duration: 1ms !important; } }

/* ============================== 7. Features, tiles, rows ============================== */
/* feature grid (features() in kit.mjs): a hairline above each, a 24px line icon, a title, one line. On the
 * 12-column grid; kit.mjs gives each item its span (fg-w3/4/6/12) so odd counts compose (2 + 3), never a hole. */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(40px, 2rem + 1.5vw, 64px); }
.feature-grid > .fg-item { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .feature-grid > .fg-item { grid-column: span 6; }
  .feature-grid > .fg-item:first-child:nth-last-child(2n + 1) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .feature-grid > .fg-item.fg-w3:nth-child(n) { grid-column: span 3; } .feature-grid > .fg-item.fg-w4:nth-child(n) { grid-column: span 4; }
  .feature-grid > .fg-item.fg-w6:nth-child(n) { grid-column: span 6; } .feature-grid > .fg-item.fg-w12:nth-child(n) { grid-column: 1 / -1; }
}
.fg-item { display: grid; gap: 10px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); min-width: 0; }
.fg-ic { display: block; width: 24px; height: 24px; margin-bottom: 20px; background: none; color: var(--text); line-height: 0; }
.fg-ic .icon { width: 24px; height: 24px; }
.fg-t { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
.fg-v { color: var(--text-2); max-width: 40ch; }
.fg-w12 .fg-v { max-width: 56ch; }
@media (max-width: 719px) { .feature-grid { row-gap: 28px; } .fg-item { gap: 6px; padding-top: 20px; } .fg-ic { margin-bottom: 10px; } }

/* price and fact tiles: a hairline grid, the value at H2 size, the label small */
.price-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pt { display: grid; gap: 6px; align-content: start; padding: clamp(24px, 1rem + 1.4vw, 40px) clamp(16px, 0.75rem + 1vw, 32px) clamp(24px, 1rem + 1.4vw, 40px) 0; border-bottom: 1px solid var(--line); min-width: 0; }
.pt + .pt { padding-left: clamp(16px, 0.75rem + 1vw, 32px); border-left: 1px solid var(--line); }
.price-tiles > .pt:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
.pt-k { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.01em; color: var(--text); }
.pt-when { font-size: var(--fs-small); color: var(--text-2); font-variant-numeric: tabular-nums; }
.pt-v { order: 3; margin-top: clamp(20px, 1rem + 1.5vw, 48px); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.pt-v.is-small { font-size: var(--fs-statement); letter-spacing: -0.02em; line-height: 1.1; }
.pt-was { font-size: 15px; color: var(--text-2); text-decoration: line-through; }
.pt-note, .pt > .t-small { order: 4; font-size: var(--fs-small); color: var(--text-2); }
@media (min-width: 1024px) {
  .price-tiles:not(.fact-tiles) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-tiles:not(.fact-tiles) > .pt:nth-child(2n + 1) { padding-left: clamp(16px, 0.75rem + 1vw, 32px); border-left: 1px solid var(--line); }
  .price-tiles:not(.fact-tiles) > .pt:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
}
.fact-tiles.cols-1 { grid-template-columns: minmax(0, 1fr); }
.fact-tiles.cols-3 { grid-template-columns: minmax(0, 1fr); }
.fact-tiles.cols-3 > .pt { padding-left: 0; border-left: 0; }
@media (min-width: 720px) {
  .fact-tiles.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact-tiles.cols-3 > .pt + .pt { padding-left: clamp(16px, 0.75rem + 1vw, 32px); border-left: 1px solid var(--line); }
  .fact-tiles.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact-tiles.cols-4 > .pt + .pt { padding-left: clamp(16px, 0.75rem + 1vw, 32px); border-left: 1px solid var(--line); }
}
.rates-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; }
.rates-foot p { color: var(--text-2); max-width: 52ch; }

/* spec rows: the label small and quiet on the left, the value 20px on the right */
.spec-rows { margin: 0; border-top: 1px solid var(--line); }
.spec-rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-rows dt { font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
.spec-rows dd { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* plain hairline lists (perks, needs, what is included) */
.pg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pg-list > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pg-list .pg-k { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); line-height: 1.35; }
.pg-list .pg-v { color: var(--text-2); }
@media (min-width: 720px) { .pg-list.is-pairs > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--col-gap); align-items: baseline; } }
.pg-eyebrowless { margin: 0; }

/* ============================== 8. Tracks, timelines, steps, day lists ============================== */
/* One drawn 1px line per list (::before on the list). With data-reveal="draw" on the list, the line draws itself
 * when the list enters view (motion.js adds .is-in); the list itself never scales. Numerals are CSS counters. */
html.mo :is(.track, .timeline, .day-list, .steps-rail)[data-reveal="draw"][data-reveal] { scale: none; opacity: 1; clip-path: none; translate: none; }
:is(.track, .timeline, .day-list)::before { transform-origin: 0 0; transition: transform var(--dur-draw) var(--ease-in-out); }
html.mo :is(.track, .timeline, .day-list)[data-reveal="draw"]:not(.is-in)::before { transform: scale(var(--draw-x, 1), var(--draw-y, 0)); }
html.mo :is(.track, .timeline, .day-list)[data-reveal="draw"].no-anim::before { transition: none; }

/* the journey, as a track: four stations on one line (stacked on phones) */
.track { --tr-m: 56px; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; counter-reset: tr; }
.track::before { content: ""; position: absolute; left: calc(var(--tr-m) / 2); top: calc(var(--tr-m) / 2); bottom: calc(var(--tr-m) / 2); width: 1px; background: var(--edge); }
.track > li { counter-increment: tr; position: relative; display: grid; grid-template-columns: var(--tr-m) minmax(0, 1fr); grid-template-areas: "ic n" "ic when" "ic v"; column-gap: 24px; row-gap: 6px; align-content: start; }
.track > li::before { content: counter(tr, decimal-leading-zero) / ""; grid-area: n; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tr-ic { grid-area: ic; position: relative; z-index: 1; display: grid; place-items: center; width: var(--tr-m); height: var(--tr-m); border-radius: var(--r-round); background: var(--bg); border: 1px solid var(--edge); color: var(--text); }
.tr-when { grid-area: when; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
.tr-v { grid-area: v; color: var(--text-2); max-width: 36ch; }
@media (min-width: 900px) {
  .track { --draw-x: 0; --draw-y: 1; grid-template-columns: repeat(var(--tr-n, 4), minmax(0, 1fr)); column-gap: var(--col-gap); }
  .track::before { left: 0; right: 0; bottom: auto; width: auto; height: 1px; }
  .track > li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ic" "n" "when" "v"; row-gap: 10px; }
  .track > li::before { margin-top: 22px; }
  html.mo .track[data-reveal="draw"]:not(.is-in)::before { transform: scale(0, 1); }
}

/* timelines (.timeline / .tl-item): marks on one drawn line, numerals and titles beside them */
.aj-site .timeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: tl; }
.aj-site .timeline::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--edge); }
.aj-site .tl-item { counter-increment: tl; position: relative; display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 24px; padding-bottom: 36px; line-height: 1.45; }
.aj-site .tl-item:last-child { padding-bottom: 0; }
.aj-site .tl-item:not(:last-child)::before { content: none; }
.aj-site .tl-item:has(.tl-time) { grid-template-columns: 9px 64px minmax(0, 1fr); }
.aj-site .tl-time { order: 1; color: var(--text); font-size: 1rem; font-weight: 600; text-align: left; font-variant-numeric: tabular-nums; }
.aj-site .tl-mark { order: 0; position: relative; z-index: 1; width: 9px; height: 9px; margin: 7px 0 0; border-radius: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--text); }
.aj-site .tl-item[data-state="done"] .tl-mark { background: var(--text); box-shadow: none; }
.aj-site .tl-item[data-state="current"] .tl-mark { background: var(--vermilion); box-shadow: none; }
.aj-site .tl-body { order: 2; display: grid; gap: 6px; min-width: 0; }
.aj-site .tl-body small { display: block; color: var(--text-2); font-size: var(--fs-small); }
.aj-site .timeline.land-steps .tl-body::before { content: counter(tl, decimal-leading-zero) / ""; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.land-k { display: block; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
.land-v { display: block; color: var(--text-2); max-width: 46ch; }
.aj-site .timeline.land-steps .tl-item { grid-template-columns: 9px minmax(0, 1fr); column-gap: 24px; padding-bottom: 40px; }
.aj-site .timeline.land-steps .tl-item:last-child { padding-bottom: 0; }
.aj-site .timeline.land-steps .tl-mark { margin: 6px 0 0; }

/* numbered steps as hairline rows */
.steps-rail { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps-rail > li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px var(--col-gap); padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-rail > li::before { content: counter(step, decimal-leading-zero) / ""; grid-row: 1 / span 2; padding-top: 0.2em; font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.steps-k { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; color: var(--text); line-height: 1.25; }
.steps-v { color: var(--text-2); max-width: 52ch; }
@media (min-width: 720px) { .steps-rail > li { grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; } .steps-rail > li::before { grid-row: 1; } }
.steps-rail.is-plain > li { grid-template-columns: minmax(0, 1fr); }
.steps-rail.is-plain > li::before { display: none; }
@media (min-width: 720px) { .steps-rail.is-plain > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* numbered stops beside a route map: the stop numbers ride one drawn line */
.day-list { --draw-x: 1; list-style: none; margin: 32px 0 0; padding: 0; position: relative; border-top: 1px solid var(--line); }
.day-list::before { content: ""; position: absolute; left: 14px; top: 36px; bottom: 36px; width: 1px; background: var(--edge); }
.day-list li { display: grid; grid-template-columns: 28px 64px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aj-site .day-n { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; background: var(--bg); border: 1px solid var(--text); border-radius: var(--r-round); font-size: var(--fs-meta); font-weight: 600; font-variant-numeric: tabular-nums; }
.day-list li:first-child .day-n { background: var(--text); color: var(--bg); }
.day-t { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.day-p { color: var(--text); }

/* ============================== 9. Questions (.qa, {{@faq}} and qa() in kit.mjs) ============================== */
/* hairline rows, the question at 20 to 22px, a drawn plus that turns into a cross; answers open with a height
 * transition where the browser can animate details (::details-content), the native toggle elsewhere */
.aj-site .qa { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.aj-site .qa > details, .aj-site details.qa { border-bottom: 1px solid var(--line); }
.aj-site details.qa { border-top: 0; }
.aj-site .qa summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 24px 0; list-style: none; cursor: pointer; font-size: var(--fs-q); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--text); }
.aj-site .qa summary::-webkit-details-marker { display: none; }
.aj-site .qa summary::after {
  content: ""; flex: none; width: 20px; height: 20px; -webkit-mask: none; mask: none;
  background: linear-gradient(currentColor, currentColor) center / 20px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 20px no-repeat;
  transition: transform var(--dur-hover) var(--ease-out);
}
.aj-site .qa details[open] > summary::after, .aj-site details.qa[open] > summary::after { transform: rotate(135deg); }
.aj-site .qa summary:hover .qa-q { transform: translateX(6px); }
.aj-site .qa .qa-q { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; transition: transform var(--dur-hover) var(--ease-out); }
.aj-site .qa details > :not(summary), .aj-site details.qa > :not(summary) { padding: 0 48px 28px 0; color: var(--text-2); max-width: 64ch; }
.aj-site .qa details > p + p { margin-top: -12px; }
.aj-site .qa summary:focus-visible { outline-offset: 4px; }
@supports selector(::details-content) {
  .aj-site .qa details::details-content, .aj-site details.qa::details-content { block-size: 0; overflow-y: clip; transition: block-size var(--dur-qa) var(--ease-out), content-visibility var(--dur-qa) allow-discrete; }
  .aj-site .qa details[open]::details-content, .aj-site details.qa[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .aj-site .qa details::details-content, .aj-site details.qa::details-content { transition: none; }
  .aj-site .qa summary::after, .aj-site .qa .qa-q { transition: none; }
}
.qa-stack > .qa + .qa { border-top: 0; }
/* questions on a page: the heading column sticky (columns 1 to 4), the rows in columns 6 to 12 */
.qa-split, .questions-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.qa-split-head, .questions-head { display: grid; gap: 20px; align-content: start; justify-items: start; }
@media (min-width: 1024px) {
  .qa-split, .questions-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 0; }
  .qa-split > *, .questions-grid > * { grid-column: 6 / -1; min-width: 0; }
  .qa-split > :not(.qa-split-head) + :not(.qa-split-head), .questions-grid > :not(.questions-head) + :not(.questions-head) { margin-top: 40px; }
  .qa-split > .qa-split-head, .questions-grid > .questions-head { grid-column: 1 / span 4; grid-row: 1 / span 8; position: sticky; top: calc(var(--frame-top, 96px) + 32px); align-self: start; }
}

/* ============================== 10. Forms (kit field helpers, the enquiry forms) ============================== */
.aj-site .field { gap: 8px; }
.aj-site .label, .aj-site .choice-group > legend { font-size: var(--fs-meta); font-weight: 500; line-height: 1.35; letter-spacing: 0.01em; color: var(--text); }
.aj-site .label .opt { font-weight: 400; color: var(--text-2); }
.aj-site .hint { font-size: var(--fs-meta); line-height: 1.45; color: var(--text-2); }
.aj-site :is(.input, .select, .textarea) {
  height: 56px; padding: 0 16px; background: var(--field-bg); color: var(--text);
  border: 1px solid var(--field-line); border-radius: var(--r-1); font-size: 1rem; font-weight: 500;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.aj-site .textarea { height: auto; min-height: 140px; padding: 16px; line-height: 1.55; }
.aj-site :is(.input, .textarea)::placeholder { color: var(--text-3); font-weight: 400; }
.aj-site :is(.input, .select, .textarea):hover { border-color: var(--text); }
.aj-site :is(.input, .select, .textarea):focus-visible { border-color: var(--text); outline: 2px solid var(--focus); outline-offset: 2px; }
.aj-site :is(.input, .select, .textarea)[aria-invalid="true"] { border-color: var(--danger-fg); }
.aj-site .select option { background: var(--field-bg); color: var(--text); }
.aj-site .select-wrap::after { right: 18px; border-color: var(--text-2); }
/* position: absolute again: .aj-site .btn (position: relative, for its rising fill) would otherwise drop the button below the field */
.aj-site .input-wrap .cal-btn, .aj-site .input-wrap > .btn-icon { position: absolute; top: 5px; right: 5px; width: 46px; height: 46px; border: 0; }
.aj-site .input-wrap.has-btn .input { padding-right: 60px; }
.aj-site .field-error { font-size: var(--fs-small); }
/* checkboxes and radios: 44px rows, the box in --strong-bg when chosen */
.aj-site :is(.check, .radio) { min-height: 48px; gap: 12px; font-size: 1rem; color: var(--text); }
.aj-site :is(.check input[type="checkbox"]:not(.switch), .radio input[type="radio"]) { border-color: var(--field-line); background: var(--field-bg); }
.aj-site .check input[type="checkbox"]:not(.switch) { border-radius: var(--r-1); }
/* chosen: the rule above outranks aj.css :checked (0,3,1), so the chosen look is restated here at (0,5,1) */
.aj-site :is(.check input[type="checkbox"]:not(.switch), .radio input[type="radio"]):checked,
.aj-site .check input[type="checkbox"]:not(.switch):indeterminate { border-color: var(--strong-bg); background: var(--strong-bg); }
.aj-site .radio input[type="radio"]:checked { box-shadow: inset 0 0 0 5px var(--field-bg); }
/* the enquiry form */
.enquiry-form { display: grid; gap: 32px; }
.aj-site .form-grid { gap: 20px var(--col-gap); }
.form-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.form-group + .form-group { padding-top: 32px; border-top: 1px solid var(--line); }
.form-legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 20px; font-family: var(--font); font-weight: 500; font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.2; color: var(--heading); }
.form-legend-n { font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group > legend { padding: 0; margin-bottom: 6px; }
.choice-wrap { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; }
@media (min-width: 480px) { .choice-wrap.cols-2, .choice-wrap.cols-3, .choice-wrap.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .choice-wrap.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .choice-wrap.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phone-field { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
.aj-site .phone-field .select { padding-right: 34px; }
.form-consent { font-size: var(--fs-small); color: var(--text-2); line-height: 1.5; max-width: 60ch; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.aj-site .form-actions .btn { min-width: 220px; }
@media (max-width: 479px) { .aj-site .form-actions .btn { flex: 1 1 100%; } }
.form-noscript { padding: 16px 18px; background: var(--field-fill); border-radius: var(--r-1); font-size: 15px; }
html:not(.js) .form-submit, html:not(.js) .form-steps-nav { display: none; }
.form-error { border-radius: var(--r-1); }
/* the sent state: the heading, then the ENQ reference set large */
.form-sent { display: grid; gap: 20px; justify-items: start; padding: 40px 0 8px; }
.form-sent:focus { outline: none; }
.form-sent .t-h2 { max-width: 18ch; }
.form-sent-ref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 1rem; color: var(--text-2); }
.form-sent-ref .icon { flex: none; align-self: center; color: var(--text); }
.form-sent-ref strong { flex-basis: 100%; color: var(--text); font-size: var(--fs-statement); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.form-sent-existing { max-width: 46ch; }

/* ============================== 11. Tables ============================== */
/* hairline tables on the canvas: no box, the header row small and quiet, tabular figures */
.aj-site .table-wrap { background: transparent; border: 0; border-radius: 0; overflow-x: auto; }
.aj-site .table { border-collapse: collapse; font-size: 15px; color: var(--text); }
.aj-site .table th { height: auto; padding: 14px 16px 14px 0; background: transparent; border-bottom: 1px solid var(--text); border-radius: 0; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.01em; color: var(--text-2); white-space: normal; vertical-align: bottom; }
.aj-site .table td { height: auto; padding: 18px 16px 18px 0; background: transparent; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.aj-site .table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.aj-site .table tbody th { font-size: 1rem; font-weight: 600; color: var(--text); border-bottom-color: var(--line); vertical-align: top; }
.aj-site .table .cell-main { font-weight: 600; white-space: normal; }
@media (max-width: 719px) {
  .aj-site .table-reflow tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .aj-site .table-reflow tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .aj-site .table-reflow td { padding: 4px 0; border: 0; text-align: right; }
  .aj-site .table-reflow td::before { font-size: var(--fs-meta); }
  .aj-site .table-reflow td.cell-main { font-size: 1.0625rem; padding-bottom: 8px; }
}
/* price rows */
.aj-site .rates-wrap { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.aj-site .rates-table { border-collapse: collapse; width: 100%; }
.aj-site .rates-table :is(th, td) { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 16px 18px 0; }
.aj-site .rates-table thead th { border-bottom-color: var(--text); font-size: var(--fs-meta); font-weight: 500; color: var(--text-2); }
.aj-site .rates-table tbody th { font-size: 1.0625rem; font-weight: 600; text-align: left; }
.aj-site .rates-table td { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aj-site .rates-table .th-sub { font-size: var(--fs-meta); }
.rates-extras { margin-top: 8px; font-size: 15px; }
.rates-extras dt { color: var(--text); }

/* ============================== 12. Tags, steppers, segmented controls ============================== */
.aj-site .tag { padding: 5px 9px; border-radius: var(--r-1); font-size: var(--fs-meta); font-weight: 600; line-height: 1.2; letter-spacing: 0.01em; }
.aj-site .tag-outline, .aj-site .tag.tone-muted { box-shadow: inset 0 0 0 1px var(--edge); }
/* steppers: 44px square hairline buttons, the count between them */
.aj-site .stepper { gap: 4px; }
.aj-site .stepper .btn-icon { width: 44px; min-width: 44px; height: 44px; --btn-line: var(--edge); --btn-fill: var(--fill-hover); --btn-fill-fg: var(--fill-hover-fg); }
.aj-site .stepper output { min-width: 40px; font-size: 1.125rem; font-weight: 600; }
/* segmented controls on the website: hairline frame, ink fill on the chosen one */
.aj-site .seg { border: 1px solid var(--edge); border-radius: var(--r-1); background: transparent; }
.aj-site .seg > button, .aj-site .seg > a { min-height: 48px; padding: 0 18px; font-size: 15px; font-weight: 500; color: var(--text); border-left: 1px solid var(--line); transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out); }
.aj-site .seg > :first-child { border-left: 0; }
.aj-site .seg > :hover:not([aria-checked="true"]):not([aria-pressed="true"]):not([aria-current="page"]) { background: var(--inset); }
.aj-site .seg > :is([aria-checked="true"], [aria-pressed="true"], [aria-current="page"]) { background: var(--seg-sel-bg); color: var(--seg-sel-fg); box-shadow: inset 0 0 0 1px var(--seg-sel-line); font-weight: 600; }

/* ============================== 13. Route maps (BLOCKS.routemap) ============================== */
/* the island with a route on it, drawn when it enters view (is-drawn, site.js); square-cornered frames */
.routemap { position: relative; margin: 0; overflow: hidden; background: var(--map-sea); border-radius: var(--r-0); }
.routemap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-land { fill: var(--map-land); stroke: var(--map-coast); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rm-water { fill: var(--map-sea); stroke: var(--map-coast); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rm-xway { fill: none; stroke: var(--map-xway); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rm-route { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
html.js .routemap:not(.is-drawn) .rm-route { stroke-dashoffset: 1; }
html.js .routemap .rm-route { transition: stroke-dashoffset 1800ms var(--ease-in-out); }
.rm-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-round); font-size: var(--fs-meta); font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--float-shadow); }
.rm-pin.is-start { background: var(--ink); color: var(--paper); }
html.js .routemap:not(.is-drawn) .rm-pin { opacity: 0; transform: scale(0.6); }
html.js .routemap .rm-pin { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.routemap figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: var(--fs-meta); color: var(--ink-2); }
/* the booking card's rail: a vermilion dot at the pickup, an ink square at the drop-off */
.routemap.pins-rail .rm-pin { width: 16px; height: 16px; margin: -8px 0 0 -8px; font-size: 0; border: 3px solid var(--paper); background: var(--vermilion); border-radius: var(--r-round); }
.routemap.pins-rail .rm-pin:not(.is-start) { background: var(--ink); border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { html.js .routemap .rm-route, html.js .routemap .rm-pin { transition: none; } }

/* ============================== 14. Journal rows, guides, photo band, small shared blocks ============================== */
/* hover: an underline wipes in under the title */
:is(.journal-title, .guide-title, .jh-row-title, .jh-feature-title) {
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size var(--dur-hover) var(--ease-out);
}
:is(.journal-row, .guide-row, .jh-row, .jh-feature-link):is(:hover, :focus-visible) :is(.journal-title, .guide-title, .jh-row-title, .jh-feature-title) { background-size: 100% 1px; }
.journal-block { display: grid; gap: 28px; margin-bottom: clamp(56px, 3rem + 2vw, 96px); }
.journal-head, .guides-head, .faq-col-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.journal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.journal-row { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.journal-thumb { flex: none; width: 112px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--inset); }
.journal-thumb .photo, .journal-thumb .routemap { width: 100%; height: 100%; }
.journal-text { display: grid; gap: 6px; min-width: 0; }
.journal-title { justify-self: start; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.journal-dek { color: var(--text-2); max-width: 52ch; }
.journal-meta, .guide-meta { font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
@media (min-width: 1024px) {
  .journal-list:not(.is-rows) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--col-gap); border-top: 0; }
  .journal-list:not(.is-rows) .journal-row { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 0; padding: 28px 0 0; }
  .journal-list:not(.is-rows) .journal-thumb { width: 100%; }
}
/* guides: one feature then rows (BLOCKS.journal variant before / feature), beside the questions */
.guides-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.guides-grid > * { min-width: 0; }
@media (min-width: 1024px) {
  .guides-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .guides-grid > :first-child { grid-column: 1 / span 5; }
  .guides-grid > :nth-child(2) { grid-column: 7 / -1; }
}
.guides-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-row { display: grid; gap: 8px; justify-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.guide-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.guide-row.is-feature { padding: 32px 0; }
.guide-row.is-feature .guide-title { font-size: var(--fs-statement); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; max-width: 20ch; }
.guide-dek { color: var(--text-2); max-width: 52ch; }

/* breadcrumbs */
.breadcrumbs { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.01em; color: var(--text-2); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--text-3); }
.aj-site .breadcrumbs a { color: inherit; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs [aria-current] { color: var(--text); }

/* the trust strip (BLOCKS.trust) */
.trust-strip { display: grid; gap: 16px; align-content: start; }
.trust-title { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.01em; color: var(--text-2); }
.trust-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.trust-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.45; color: var(--text); }

/* a quote (BLOCKS.testimonials, gated) */
.quote { margin: clamp(56px, 3rem + 2vw, 96px) 0 0; max-width: 32ch; }
.quote blockquote { margin: 0; font-family: var(--font); font-style: italic; font-weight: 400; font-size: var(--fs-statement); line-height: 1.25; letter-spacing: -0.015em; color: var(--heading); }
.quote figcaption { margin-top: 20px; font-size: var(--fs-small); font-weight: 600; color: var(--text-2); }

/* the photo band: the photograph full bleed and square, its words on a graphite strip under it */
.aj-site .photo-band { position: relative; overflow: clip; background: var(--green); }
.aj-site .photo-band > .photo, .aj-site .photo-band > picture > img { display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 280px; object-fit: cover; }
@media (min-width: 1024px) { .aj-site .photo-band > .photo, .aj-site .photo-band > picture > img { aspect-ratio: 21 / 9; min-height: 560px; max-height: 820px; } }
.band-caption {
  --text: var(--mist); --text-2: var(--mist-2); --heading: var(--mist); --line: var(--hair-d); --link: var(--mist); --focus: var(--vermilion-glow);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-block: clamp(28px, 1.5rem + 1.5vw, 48px); background: var(--green); color: var(--text);
}
.aj-site .band-caption .t-h3 { max-width: 30ch; font-size: var(--fs-statement); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.band-caption .btn-link { color: var(--mist); }

/* statement bands and the quiet source lines on night */
.aj-site .statement-band { background: var(--green); color: var(--text); }
.statement-band .t-lede { color: var(--text-2); }

/* the page head on pages without a stage (questions, journal, legal, forms) */
.page-head { padding-block: clamp(48px, 2rem + 5vw, 136px) clamp(48px, 2rem + 3vw, 96px); }
.page-head-in { display: grid; gap: 24px; justify-items: start; }
.page-head .t-h1 { max-width: 14ch; }
.page-head .t-lede { max-width: 46ch; color: var(--text-2); }

/* the arch: one framed photograph per page at most */
.aj-site .arch { border-radius: var(--r-arch); background: var(--inset); }

@media print { .aj-site .btn::before, .arrow-circle::before { display: none; } }
