/* The Aviation Observatory: site styles. Tokens live in tokens.css only.
   Structure per the brand designer's brief, 2 August 2026: five-movement pages,
   alternating grounds, photographic plates, the residual plot promoted. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-screen);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  font-variant-numeric: oldstyle-nums;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; text-wrap: pretty; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); margin-top: 0; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; max-width: 42rem; }
.lede { font-size: 1.3rem; line-height: 1.55; max-width: 44rem; text-wrap: pretty; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--grey); text-underline-offset: 3px; transition: text-decoration-color var(--t-instant) var(--ease-standard); }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--brass); color: var(--ink); }

.meta, .label { font-family: var(--font-ui); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.label { font-weight: 600; }
.machine { font-family: var(--font-mono); font-size: .8125rem; font-variant-numeric: tabular-nums lining-nums; }
table, .num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 42rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 40; }
.skip:focus { left: 0; }

/* Bare links (nav, card links, breadcrumbs): brass underline grows from the left */
.grow-link { text-decoration: none; background-image: linear-gradient(var(--brass), var(--brass)); background-repeat: no-repeat; background-size: 0 2px; background-position: 0 100%; transition: background-size var(--t-instant) var(--ease-standard); padding-bottom: .2rem; }
.grow-link:hover, .grow-link:focus-visible { background-size: 100% 2px; }

/* ---------- Chrome ---------- */
.site-header { background: var(--ink); color: var(--paper); position: relative; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 1.6rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand .wm-a2 { width: min(300px, 58vw); height: auto; display: block; }
.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav a { font-family: var(--font-ui); font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--grey); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-block; }
.nav-drop-panel { display: none; position: absolute; top: 100%; left: -1rem; min-width: 17rem; background: var(--ink); border: 1px solid rgba(196, 205, 214, .3); padding: .6rem 0; margin: 0; list-style: none; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { display: block; }
.nav-drop-panel a { display: block; padding: .55rem 1.2rem; background: none; }
.nav-drop-panel .meta { display: block; color: var(--grey); font-size: .6rem; letter-spacing: .14em; padding: .6rem 1.2rem .2rem; }
.btn-nav { display: inline-block; font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; padding: .6rem 1.15rem; background: var(--brass); color: var(--ink) !important; border-radius: 2px; transition: background var(--t-instant) var(--ease-standard); }
.btn-nav:hover { background: var(--paper); }
.mnav { display: none; }
@media (max-width: 60rem) {
  .site-nav { display: none; }
  .mnav { display: block; margin-left: auto; }
  .mnav > summary { list-style: none; cursor: pointer; font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); padding: .5rem .2rem; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav[open] .mnav-panel { position: fixed; inset: 0; top: 0; background: var(--ink); z-index: 50; padding: 5rem 2rem 2rem; overflow: auto; }
  .mnav-panel ul { list-style: none; margin: 0; padding: 0; }
  .mnav-panel a { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--paper); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(196, 205, 214, .2); }
  .mnav-panel .meta { color: var(--grey); margin: 1.6rem 0 .4rem; }
  .mnav-close { position: absolute; top: 1.2rem; right: 1.5rem; color: var(--grey); font-family: var(--font-ui); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
}

.staging-note { background: var(--paper); border-bottom: 1px solid var(--grey); }
.staging-note p { max-width: none; margin: 0; padding: .45rem 0; font-family: var(--font-ui); font-size: .72rem; letter-spacing: .04em; }

.breadcrumbs { padding: 1.1rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; font-family: var(--font-ui); font-size: .75rem; letter-spacing: .04em; }
.breadcrumbs li + li::before { content: "/"; color: var(--grey); margin-right: .35rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-decoration-color: var(--brass); }

/* ---------- Movements: grounds and rhythm ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.g-ink { background: var(--ink); color: var(--paper); }
.g-ink h1, .g-ink h2, .g-ink h3 { color: var(--paper); }
.g-ink p { color: var(--grey); }
.g-ink .lede { color: var(--paper); }
.g-paper { background: var(--paper); border-top: 1px solid var(--grey); border-bottom: 1px solid var(--grey); }

.h-kick { display: block; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 .5rem; }
.h-kick::before { content: ""; display: inline-block; width: 1.4rem; height: 2px; background: var(--brass-text); margin-right: .6rem; vertical-align: middle; }
.g-ink .h-kick::before, .plate-hero .h-kick::before { background: var(--brass); }
.g-ink .h-kick, .plate-hero .h-kick { color: var(--grey); }
* + .h-kick { margin-top: clamp(3.2rem, 6vw, 5.5rem); }

/* ---------- Photographic plates ---------- */
.plate-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.55) contrast(1.05); }
.plate-hero .hero-art { position: absolute; top: 50%; right: -5rem; transform: translateY(-50%); width: min(44vw, 32rem); pointer-events: none; }
.plate-hero .hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 56rem) { .plate-hero .hero-art { display: none; } }
.plate-hero .wrap { position: relative; z-index: 1; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.plate-hero h1 { color: var(--paper); max-width: 46rem; }
.plate-hero p { color: var(--paper); }
.plate-hero .kicker { color: var(--grey); margin-bottom: 1rem; }
.photo-break { position: relative; background: var(--ink); min-height: 34vh; overflow: hidden; }
.photo-break .plate-img { opacity: .5; }
.photo-break figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.photo-break figcaption .wrap { padding: 1rem 1.5rem; font-family: var(--font-ui); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.tk { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(246, 243, 236, .3); z-index: 2; pointer-events: none; }
.tk-tl { top: 24px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.tk-tr { top: 24px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.tk-bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.tk-br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--font-ui); font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-decoration: none; padding: .85rem 1.7rem; border: 1px solid var(--ink); border-radius: 2px; transition: background var(--t-instant) var(--ease-standard), color var(--t-instant) var(--ease-standard); }
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.g-ink .btn-secondary, .plate-hero .btn-secondary { color: var(--paper); border-color: var(--grey); }
.g-ink .btn-secondary:hover, .plate-hero .btn-secondary:hover { background: var(--paper); color: var(--ink); }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0 0; }

/* ---------- Cards: a table of contents, not boxes ---------- */
.card-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin: 2.2rem 0 0; padding: 0; list-style: none; }
.card { border-bottom: 1px solid var(--grey); padding: 1.7rem .1rem 1.9rem; display: flex; flex-direction: column; gap: .45rem; }
.card h2, .card h3 { margin: 0; }
.card p { flex: 1; margin-bottom: .6em; }
.g-ink .card { border-bottom-color: rgba(196, 205, 214, .3); }
.card-icon { color: var(--ink); margin-bottom: .3rem; }
.g-ink .card-icon { color: var(--grey); }
.card-icon svg { width: 40px; height: 40px; display: block; }
.card a.card-link { font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .06em; align-self: flex-start; }

/* ---------- Editorial grid: measure plus apparatus rail ---------- */
.duplex { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 14rem); column-gap: 4rem; align-items: start; }
.duplex > * { grid-column: 1; min-width: 0; }
.duplex > .h-kick, .duplex > h1, .duplex > h2 { grid-column: 1 / -1; }
.duplex > .rail { grid-column: 2; }
.duplex > table, .duplex > figure, .duplex > .card-grid, .duplex > .tiers, .duplex > .chart-callout, .duplex > .full { grid-column: 1 / -1; }
.rail { border-top: 1px solid var(--grey); padding-top: .8rem; font-family: var(--font-ui); font-size: .8rem; line-height: 1.55; color: var(--ink); }
.rail .meta { display: block; margin-bottom: .4rem; }
@media (max-width: 64rem) { .duplex { display: block; } .rail { max-width: 26rem; margin: 1.4rem 0; } }

/* ---------- Tables ---------- */
table { border-collapse: collapse; width: 100%; margin: 1.6rem 0; font-size: 1rem; }
caption { text-align: left; font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: .6rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--grey); vertical-align: top; }
th { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
thead th { border-bottom: 2px solid var(--ink); }
td.num, th.num { text-align: right; }
tbody tr:nth-child(even) { background: rgba(15, 27, 40, .035); }
tbody + tbody tr:nth-child(even) { background: none; }
tbody + tbody tr:nth-child(odd):not(.subhead) { background: rgba(15, 27, 40, .035); }
.col-obs { border-left: 2px solid var(--brass-text); }

/* ---------- Figures: full-width plates ---------- */
figure.plate { margin: 2.6rem 0; padding: 0; }
figure.plate svg { width: 100%; height: auto; display: block; }
.plate-wide { max-width: none; }
.fig-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chart-scroll { overflow-x: auto; }
.chart-scroll svg { min-width: 640px; }
.chart-scroll table { min-width: 42rem; margin: 1rem 0; }
.plate-table { table-layout: fixed; min-width: 62rem; }
.plate-table .col-label { width: 26%; }
.plate-table .col-score { width: 14.8%; }
.plate-table thead th:not(:first-child) { text-align: center; }
.plate-table tbody th[scope="row"] { font-family: var(--font-ui); font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.provenance { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .3rem 1.2rem; border-top: 1px solid var(--grey); margin-top: 1.25rem; padding-top: .8rem; }
.provenance div { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .08em; }
.provenance dt { display: inline; font-weight: 600; text-transform: uppercase; margin-right: .4rem; }
.provenance dd { display: inline; margin: 0; font-weight: 500; }
details.data-table { margin: 1rem 0 0; }
details.data-table summary { font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .08em; cursor: pointer; padding: .4rem 0; }

/* KPI magnitude callout beside a plot */
.chart-callout { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start; }
.kpi { border-top: 2px solid var(--brass); padding-top: 1rem; min-width: 11rem; }
.kpi .kpi-figure { font-family: var(--font-serif); font-weight: 300; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.kpi .kpi-label { font-family: var(--font-ui); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: .5rem; }
@media (max-width: 56rem) { .chart-callout { grid-template-columns: 1fr; } }

/* Draw-in enhancement (served state fully drawn) */
@media (prefers-reduced-motion: no-preference) {
  .js .plate .draw-forecast, .js .plate .draw-observed { stroke-dashoffset: var(--dash, 0); transition: stroke-dashoffset var(--t-draw) var(--ease-standard); }
  .js .plate .draw-residual, .js .plate .draw-labels { opacity: var(--fade, 1); transition: opacity var(--t-reading) var(--ease-standard); }
}

/* ---------- Product lockup (B-series SVGs from the Logo Suite) ---------- */
.lockup-svg { width: min(480px, 92%); height: auto; display: block; margin-bottom: 1.4rem; }
.hero-sub { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.45; max-width: 38rem; letter-spacing: 0; }
/* ---------- Legacy HTML lockup ---------- */
.lockup { display: grid; gap: .3rem; margin: 0 0 1.5rem; }
.lockup .lockup-inst { font-family: var(--font-ui); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.lockup .lockup-product { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; }
.lockup .lockup-function { font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.plate-hero .lockup .lockup-inst { color: var(--grey); }
.plate-hero .lockup .lockup-function { color: var(--brass); }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2.2rem 0; padding: 0; list-style: none; }
.tier { border-top: 1px solid var(--grey); padding: 1.4rem .1rem 0; }
.tier-featured { border-top: 3px solid var(--brass); }
.tier .price { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; font-variant-numeric: tabular-nums lining-nums; margin: .4rem 0 .2rem; }
.tier ul { margin: .8rem 0 0; padding-left: 1.1rem; }
.tier li { margin-bottom: .45rem; font-size: 1rem; }
.tier .excludes { font-family: var(--font-ui); font-size: .82rem; color: var(--ink); margin-top: 1rem; }

/* Pull quote (held for real client sentences; no fabricated attribution) */
.pull-quote { border-top: 1px solid var(--brass); max-width: 42rem; margin: 3rem 0; padding-top: 1.2rem; font-style: italic; font-size: 1.35rem; line-height: 1.5; }
.pull-quote cite { display: block; font-style: normal; font-family: var(--font-ui); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .8rem; }

/* Trial form */
.form-grid { display: grid; gap: 1.1rem; max-width: 34rem; margin: 1.6rem 0; }
.form-grid label { font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .35rem; }
.form-grid input, .form-grid textarea { width: 100%; font-family: var(--font-serif); font-size: 1.05rem; padding: .7rem .8rem; border: 1px solid var(--grey); border-radius: 2px; background: var(--paper-screen); color: var(--ink); }
.form-grid input:focus-visible, .form-grid textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--grey); margin-top: 0; }
.site-footer .wrap { padding-top: 3.2rem; padding-bottom: 3rem; display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer h2 { font-size: .75rem; font-family: var(--font-ui); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .5rem; }
.footer-desc { font-family: var(--font-ui); font-size: .85rem; max-width: 20rem; }
.site-footer a { color: var(--grey); text-decoration: none; font-family: var(--font-ui); font-size: .85rem; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brass); }
.footer-legal { border-top: 1px solid rgba(196, 205, 214, .25); }
.footer-legal .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.5rem; }
.footer-legal p { margin: 0; font-family: var(--font-ui); font-size: .72rem; letter-spacing: .05em; color: var(--grey); max-width: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Single-column measure for prose-led pages: deliberate, not adrift */
.wrap-narrow { max-width: 45rem; }

/* ---------- Scored comparison plate (approved option 1a) ---------- */
.plate-key { font-style: italic; font-size: 1.05rem; max-width: 42rem; margin: 1.2rem 0 .4rem; }
tr.subhead th { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1rem; text-transform: none; letter-spacing: 0; padding-top: 1.6rem; border-bottom: 1px solid var(--grey); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
td.score { text-align: center; }
.disc { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.plate-legend { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.plate-legend li { font-family: var(--font-ui); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; }
.footnotes { margin: 1.2rem 0 0; padding: 0; list-style: none; max-width: 44rem; }
.footnotes li { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .02em; line-height: 1.5; margin-bottom: .3rem; }
.footnotes .fn { font-family: var(--font-mono); margin-right: .5rem; }
sup.fn { font-family: var(--font-mono); font-size: .65em; }

/* ---------- Products page (designer proposal, 3 August 2026) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (max-width: 60rem) { .hero-grid { grid-template-columns: 1fr; } }
.anchor-chips { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.anchor-chips a { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: .25rem; }
.anchor-chips a:hover { color: var(--paper); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-stats .stat-figure { font-family: var(--font-serif); font-weight: 300; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--paper); }
.hero-stats .stat-label { font-family: var(--font-ui); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: .4rem; }
.hero-fig { position: relative; }
.hero-fig .fig-label { font-family: var(--font-ui); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: .7rem; }
.hero-fig .provenance { border-top-color: rgba(196, 205, 214, .3); }
.hero-fig .provenance div { color: var(--grey); }
.hero-fig .provenance dt { color: var(--grey); }

.page-toc { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--grey); z-index: 20; }
.page-toc .wrap { display: flex; align-items: center; gap: 1.6rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; }
.page-toc .meta { flex: none; }
.page-toc a { flex: none; font-family: var(--font-ui); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-decoration: none; }
.page-toc a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.page-toc .toc-cta { margin-left: auto; font-weight: 600; border-bottom: 2px solid var(--brass); padding-bottom: .2rem; }

.product-movement { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
.product-movement.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 8rem); }
.product-movement .device img, .product-movement .device { width: 100%; max-width: 8rem; height: auto; }
.device-kick { margin-top: 1rem !important; font-size: .62rem; }
@media (max-width: 56rem) { .product-movement, .product-movement.reverse { grid-template-columns: 1fr; } .product-movement .device { max-width: 5rem; } .product-movement.reverse .device { order: -1; } }
.compact-line { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); margin: .2rem 0 1rem; }
.spec { display: grid; gap: 0; margin: 1.8rem 0; max-width: 42rem; }
.spec > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1.4rem; padding: .65rem 0; border-bottom: 1px solid var(--grey); }
.spec dt { font-family: var(--font-ui); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-top: .2rem; }
.spec dd { margin: 0; }

/* World Routes offer pop-up (copy v4, D2). Remove with the partial on 24 October 2026. */
.offer[hidden] { display: none !important; }
.offer { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(15, 27, 40, .62); }
.offer-panel { position: relative; max-width: 30rem; width: 100%; background: var(--ink); color: var(--paper); border: 1px solid var(--brass); border-radius: 2px; padding: 2.2rem 2rem 1.6rem; box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .35); }
.offer-tag { display: inline-block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--brass); color: var(--ink); padding: .35rem .7rem; margin: 0 2.4rem 1rem 0; border-radius: 2px; }
.offer-panel h2 { color: var(--paper); font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.15; margin: 0 0 .8rem; }
.offer-panel p { color: var(--grey); }
.offer-panel .cta-row { margin: 1.2rem 0 .8rem; }
.offer-alt a { color: var(--paper); text-decoration-color: var(--brass); }
.offer-small { font-family: var(--font-ui); font-size: .75rem; margin: .8rem 0 0; color: var(--grey); opacity: .85; }
.offer-close { position: absolute; top: .5rem; right: .6rem; background: none; border: 0; color: var(--paper); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: .2rem .5rem; }
.offer-close:hover { color: var(--brass); }
html.offer-open { overflow: hidden; }
.prose .cta-row + h2 { margin-top: 2.6rem; }
@media (max-width: 600px) {
  .offer { align-items: flex-end; padding: 0; }
  .offer-panel { max-width: none; border-width: 1px 0 0; padding: 1.8rem 1.25rem 1.4rem; max-height: 88vh; overflow: auto; }
  .offer-tag { letter-spacing: .08em; font-size: .66rem; }
}

/* World Routes stand booking form inside the pop-up (17 Oct 2026). Remove with the partial on 24 October 2026. */
.offer-form label { display: block; font-family: var(--font-ui); font-size: .8rem; color: var(--paper); margin: .7rem 0 0; }
.offer-form input, .offer-form select { display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; padding: .55rem .65rem; font-family: var(--font-ui); font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--grey); border-radius: 2px; }
.offer-form input:focus, .offer-form select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.offer-opt { color: var(--grey); }
.offer-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer-status { font-family: var(--font-ui); font-size: .85rem; color: var(--paper); min-height: 1.2em; margin: .4rem 0 0; }
.offer-status a { color: var(--brass); }
.offer-panel .btn-secondary { color: var(--paper); border-color: var(--paper); }
.offer-panel button.btn { cursor: pointer; }
.offer-panel .btn-primary:hover, .offer-panel .btn-primary:focus-visible { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.offer-panel .btn-primary:disabled { opacity: .6; cursor: progress; }

/* Enquiry form on the evaluation page (17 Oct 2026). */
.enquiry-form { max-width: 34rem; margin: 1.2rem 0 0; }
.enquiry-form label { display: block; font-family: var(--font-ui); font-size: .85rem; font-weight: 500; margin: .9rem 0 0; }
.enquiry-form input, .enquiry-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .6rem .7rem; font-family: var(--font-ui); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--grey); border-radius: 2px; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.enquiry-form .cta-row { margin-top: 1.4rem; }
.enquiry-form button.btn { cursor: pointer; }
.enquiry-opt { color: var(--grey); font-weight: 400; }
.enquiry-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-status { font-family: var(--font-ui); font-size: .95rem; min-height: 1.3em; margin: .8rem 0 0; }
.enquiry-status.is-error { font-weight: 600; color: #8a2b0f; }
.enquiry-done:focus { outline: none; }
/* Pop-up: make a failed send impossible to miss (John, 17 Oct: "nothing seemed to happen"). */
.offer-status { font-size: .95rem; font-weight: 600; color: var(--brass); }
.enquiry-form, .enquiry-done { margin-bottom: 2rem; }
.enquiry-form select { display: block; width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .6rem .7rem; font-family: var(--font-ui); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--grey); border-radius: 2px; }

/* Visit statistics consent bar (EEA visitors only) and the privacy page control, 17 Oct 2026. */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); color: var(--paper); border-top: 1px solid var(--brass); }
.consent-inner { max-width: 72rem; margin: 0 auto; padding: .9rem 1.25rem; display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-inner p { margin: 0; font-family: var(--font-ui); font-size: .85rem; line-height: 1.5; color: var(--paper); max-width: 46rem; }
.consent-inner a { color: var(--paper); text-decoration-color: var(--brass); }
.consent-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.consent-bar .btn { padding: .6rem 1.2rem; cursor: pointer; }
.consent-bar .btn-secondary { color: var(--paper); border-color: var(--paper); }
.consent-bar .btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
#analytics-choice .choice-state { font-weight: 600; }
#analytics-choice button.btn { cursor: pointer; }

/* Simplified flow chart, /how-it-works/ (behind site.flowChart). One column on phones, a
   chain with arrows between steps; the two inputs side by side from tablet width up. */
.flow { list-style: none; margin: 1.2rem 0 2.4rem; padding: 0; display: grid; gap: 1.6rem; max-width: 44rem; }
.flow > li { position: relative; background: #fff; border: 1px solid var(--grey); border-left: 3px solid var(--ink); border-radius: 2px; padding: .9rem 1.1rem 1rem 3.2rem; font-family: var(--font-ui); font-size: .92rem; line-height: 1.5; }
.flow > li strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; margin-bottom: .2rem; }
.flow > li + li::before { content: ""; position: absolute; left: 1.5rem; top: -1.6rem; height: 1.6rem; border-left: 2px solid var(--brass); }
.flow > li + li::after { content: ""; position: absolute; left: calc(1.5rem - 5px); top: -.55rem; border: 6px solid transparent; border-top-color: var(--brass); border-bottom: 0; }
.flow-n { position: absolute; left: .85rem; top: .9rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.flow-k { position: absolute; left: .7rem; top: 1.05rem; width: 2rem; font-size: .55rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); text-align: center; line-height: 1.1; }
.flow > li.flow-in { border-left-color: var(--brass); background: var(--paper); }
.flow > li.flow-loop { border-left-color: var(--brass); border-style: dashed; border-left-style: solid; }
@media (min-width: 760px) {
  .flow { grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
  .flow > li { grid-column: 1 / -1; }
  .flow > li.flow-in { grid-column: auto; }
  .flow > li.flow-data::before, .flow > li.flow-data::after { display: none; }
}
/* Inputs and the loop carry a small label above the title, not beside it. */
.flow > li.flow-in, .flow > li.flow-loop { padding-left: 1.1rem; }
.flow > li.flow-in .flow-k, .flow > li.flow-loop .flow-k { position: static; display: block; width: auto; text-align: left; font-size: .62rem; margin-bottom: .25rem; color: #6b7480; }
