/* JimGO Taxis. Tokens and corner picks are in _work/design-plan.md (surfaces square, buttons pill). */

@font-face { font-family: 'Anybody'; src: url('../fonts/anybody-100-900.woff2') format('woff2'); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('../fonts/fira-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('../fonts/fira-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('../fonts/fira-sans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Anybody Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial'); font-weight: 100 900; size-adjust: 105%; ascent-override: 76%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: 'Fira Fallback'; src: local('Arial'); font-weight: 100 550; size-adjust: 101.5%; ascent-override: 92.1%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Fira Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 551 900; size-adjust: 96.6%; ascent-override: 96.8%; descent-override: 27.4%; line-gap-override: 0%; }

:root {
  --tarmac: #1D1C1A;
  --asphalt: #292825;
  --asphalt-2: #33312D;
  --kerb: #46433D;
  --amber: #E8A941;
  --amber-hot: #F2BA57;
  --cream: #FBE5C1;
  --paper: #F6ECDC;
  --ink: #1D1C1A;
  --text: #EAE0CF;
  --fog: #B8B1A5;
  --sea: #16191C;
  --display: 'Anybody', 'Anybody Fallback', 'Arial Narrow', sans-serif;
  --body: 'Fira Sans', 'Fira Fallback', Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --head-h: 104px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --media-cap: min(76vh, 760px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--tarmac); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tarmac); color: var(--text); font: 400 1.05rem/1.62 var(--body); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--cream); margin: 0; font-weight: 780; font-stretch: 88%; letter-spacing: -.012em; }
.display { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 1; font-weight: 820; font-stretch: 84%; }
.h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.04; }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.9rem); line-height: 1.12; font-weight: 720; font-stretch: 92%; }
.lede { font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--text); }
.amber { color: var(--amber); }
.muted { color: var(--fog); }
[data-split], .display, [data-fs]:is(h1, h2) { display: flow-root; }
.split-line { display: block; white-space: nowrap; }
.split-mask { display: block; overflow: clip; margin: 0 -.15em -.7em; padding: .2em .15em .5em; }
.split-mask:first-child { margin-top: -.2em; }
.split-mask:last-child { margin-bottom: -.5em; }

/* ---------- buttons (pill, per the corner pick) ---------- */
.btn { --bh: 54px; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: var(--bh); padding: 0 1.6em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; will-change: transform; white-space: nowrap; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hot); box-shadow: 0 10px 30px -10px rgba(232, 169, 65, .7); }
.btn-ghost { border-color: rgba(251, 229, 193, .45); color: var(--cream); background: rgba(29, 28, 26, .35); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { color: var(--amber); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; min-height: 44px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.text-link:hover { background-size: 100% 2px; }
.text-link .ic { transition: transform .3s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- road line: the site's structural device ---------- */
.road-line { position: relative; height: 4px; overflow: hidden; }
.road-line span { position: absolute; inset: 0; transform-origin: 0 50%; background: repeating-linear-gradient(90deg, var(--amber) 0 34px, transparent 34px 62px); background-size: 62px 4px; animation: dash-crawl 1.6s linear infinite; }
@keyframes dash-crawl { to { background-position: 62px 0; } }
.sec-road { position: absolute; left: 0; right: 0; top: 0; }
.paper .road-line span { background-image: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 62px); }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 90; transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.site-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 18, .82), rgba(20, 19, 18, 0)); pointer-events: none; transition: opacity .4s; }
.site-head.is-solid { background: rgba(29, 28, 26, .94); box-shadow: 0 1px 0 rgba(251, 229, 193, .08), 0 18px 40px -24px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); }
.site-head.is-solid::before { opacity: 0; }
.site-head.is-hidden { transform: translateY(-100%); }
.head-bar { position: relative; display: flex; align-items: center; gap: 28px; height: var(--head-h); padding-inline: var(--gut); max-width: 1680px; margin-inline: auto; transition: height .4s var(--ease); }
.site-head.is-solid .head-bar { height: 82px; }
.brand { display: block; flex: none; }
.brand img { height: 70px; width: auto; transition: height .4s var(--ease); }
.site-head.is-solid .brand img { height: 54px; }
.nav { margin-left: auto; }
.nav-list { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; white-space: nowrap; padding: 12px 12px; font-weight: 500; font-size: 1rem; color: var(--cream); text-decoration: none; position: relative; }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav-item:hover > .nav-link::after, .nav-item.is-current > .nav-link::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.has-sub .nav-link { padding-right: 2px; }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 44px; background: none; border: 0; color: var(--fog); cursor: pointer; padding: 0; }
.sub-toggle .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-item.is-open .sub-toggle .ic, .nav-item:not(.is-shut):hover .sub-toggle .ic { transform: rotate(180deg); color: var(--amber); }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 10px; background: var(--asphalt); border-top: 3px solid var(--amber); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(10px); clip-path: inset(0 0 100% 0); transition: opacity .25s, transform .3s var(--ease), clip-path .3s var(--ease), visibility 0s .3s; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:not(.is-shut):hover > .sub, .nav-item.is-open > .sub { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.sub a { display: block; padding: 11px 14px; text-decoration: none; color: var(--text); font-size: .98rem; transition: background-color .25s, color .25s, padding .3s var(--ease); }
.sub a:hover, .sub a[aria-current] { background: rgba(232, 169, 65, .1); color: var(--amber); padding-left: 20px; }
.head-call { --bh: 50px; padding: 0 1.25em; }
.menu-btn { display: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(251, 229, 193, .35); background: rgba(29, 28, 26, .5); color: var(--cream); place-items: center; cursor: pointer; padding: 0; }
.menu-btn .ic { width: 24px; height: 24px; }

.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--tarmac); display: flex; flex-direction: column; padding: calc(var(--head-h) + 4px) var(--gut) 28px; overflow-y: auto; }
html.menu-open .site-head { background: var(--tarmac); transform: none; }
html.menu-open .site-head::before { opacity: 0; }
.menu-btn span.ic-menu, .menu-btn span.ic-close { display: grid; place-items: center; }
.menu-btn span.ic-close, .menu-btn[aria-expanded='true'] span.ic-menu { display: none; }
.menu-btn[aria-expanded='true'] span.ic-close { display: grid; }
.mmenu[hidden] { display: none; }
.mmenu-nav { padding: 12px 0 24px; border-top: 1px solid rgba(251, 229, 193, .1); }
.mm-group { padding: 12px 0; border-bottom: 1px solid rgba(251, 229, 193, .08); }
.mm-link { font: 780 2rem/1.15 var(--display); font-stretch: 86%; color: var(--cream); text-decoration: none; display: block; padding: 4px 0; }
.mm-link[aria-current] { color: var(--amber); }
.mm-sub { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.mm-sub a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--fog); text-decoration: none; font-size: 1rem; }
.mm-sub a[aria-current] { color: var(--amber); }
.mmenu-foot { margin-top: auto; display: grid; gap: 12px; }
.mmenu-foot p { color: var(--fog); margin: 0; text-align: center; }
html.menu-open { overflow: hidden; }

/* ---------- hero (homepage) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1200px; overflow: hidden; background: var(--sea); isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: -2; }
.hero-map .jg-map { width: 100%; height: 100%; }
.hero-tint { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 80% 10%, rgba(232, 169, 65, .14), transparent 60%); mix-blend-mode: screen; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(22, 21, 19, .94) 0%, rgba(22, 21, 19, .8) 30%, rgba(22, 21, 19, .2) 55%, rgba(22, 21, 19, 0) 70%), linear-gradient(0deg, var(--tarmac) 0%, rgba(29, 28, 26, 0) 22%); }
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; padding-top: var(--head-h); pointer-events: none; }
.hero-copy { pointer-events: auto; }
.hero-copy { width: min(760px, 54vw); padding-bottom: 40px; }
.hero h1 { margin-bottom: .34em; }
.hero .lede { max-width: 34em; margin-bottom: 1.6em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: var(--fog); font-size: .98rem; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--amber); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars .ic { width: 1em; height: 1em; fill: currentColor; stroke: none; }
.hero-caption { position: absolute; right: var(--gut); top: 64%; width: 270px; background: rgba(29, 28, 26, .82); backdrop-filter: blur(8px); border-left: 3px solid var(--amber); padding: 16px 20px 18px; }
.hero-caption small { display: block; color: var(--fog); font-size: .9rem; margin-bottom: 4px; }
.hero-caption strong { display: flex; align-items: center; gap: .5em; font: 700 1.3rem/1.2 var(--display); font-stretch: 90%; color: var(--cream); min-height: 1.2em; }
.hero-caption strong .ic { color: var(--amber); }
.hero-caption .cap-bar { height: 3px; margin-top: 14px; background: rgba(251, 229, 193, .12); overflow: hidden; }
.hero-caption .cap-bar i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(1); }
.hero-dial { position: absolute; right: var(--gut); top: calc(var(--head-h) + 22px); display: flex; align-items: center; gap: 14px; color: var(--fog); font-size: .95rem; }
.hero-dial svg { width: 74px; height: 74px; }
.hero-dial b { display: block; font: 800 1.5rem/1 var(--display); font-stretch: 80%; color: var(--cream); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 2px; height: 46px; background: rgba(251, 229, 193, .15); overflow: hidden; }
.hero-scroll::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--amber); transform: translateY(-100%); animation: scroll-cue 2s var(--ease) infinite; }
@keyframes scroll-cue { to { transform: translateY(250%); } }

/* map styling */
.jg-map { color: rgba(251, 229, 193, .07); }
.m-sea { fill: var(--sea); }
.m-land { fill: #23221F; }
.m-coastline { fill: none; stroke: rgba(251, 229, 193, .34); stroke-width: 1.4; }
.m-contour { fill: none; stroke: rgba(251, 229, 193, .075); stroke-width: 1; }
.m-border { fill: none; stroke: rgba(251, 229, 193, .16); stroke-width: 1.2; stroke-dasharray: 2 7; }
.m-river { fill: none; stroke: #3E5A68; stroke-width: 1.8; stroke-linecap: round; opacity: .75; }
.m-rail { fill: none; stroke: rgba(251, 229, 193, .26); stroke-width: 1.4; stroke-dasharray: 1 6; stroke-linecap: round; }
.m-road { fill: none; stroke: #4C4841; stroke-width: 2.4; stroke-linecap: round; }
.m-road-a1, .m-road-a697 { stroke: #5E5850; stroke-width: 3.4; }
.m-region { font: 600 22px var(--body); letter-spacing: .32em; text-transform: uppercase; fill: rgba(251, 229, 193, .15); }
.m-sea-label { fill: rgba(251, 229, 193, .2); }
.m-route { fill: none; stroke: var(--amber); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.m-taxi { fill: #FFF4DA; }
.m-taxi-glow { mix-blend-mode: screen; }
.m-ripple { fill: none; stroke: var(--amber); stroke-width: 2; opacity: 0; }
.m-town text { font: 400 15px var(--body); fill: rgba(251, 229, 193, .58); paint-order: stroke; stroke: rgba(22, 21, 19, .85); stroke-width: 4px; stroke-linejoin: round; }
.m-town.is-major text { font: 600 19px var(--body); fill: var(--cream); }
.m-dot { fill: rgba(251, 229, 193, .55); }
.m-town.is-major .m-dot { fill: var(--amber); stroke: rgba(22, 21, 19, .9); stroke-width: 2.5; }
.m-plane { fill: var(--amber); stroke: rgba(22, 21, 19, .9); stroke-width: 1.5; }
.m-town.is-lit text { fill: var(--amber); }
.m-lamp { pointer-events: none; mix-blend-mode: screen; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(80px, 11vh, 140px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vh, 56px); }
.sec-head .h2 { flex: 1 1 520px; }
.sec-head p { flex: 1 1 360px; margin: 0; color: var(--fog); }

/* service cards */
.services { padding-top: clamp(64px, 9vh, 110px); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(62vh, 560px); padding: 26px; color: var(--cream); text-decoration: none; overflow: hidden; background: var(--asphalt); isolation: isolate; transform-style: preserve-3d; }
.card-img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.16); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 17, 16, .95) 0%, rgba(18, 17, 16, .55) 42%, rgba(18, 17, 16, 0) 70%); }
.card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.card:hover::after, .card:focus-visible::after { transform: scaleX(1); }
.card-ic { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid rgba(232, 169, 65, .7); color: var(--amber); margin-bottom: auto; background: rgba(18, 17, 16, .45); }
.card-ic .ic { width: 24px; height: 24px; }
.card h3 { font-size: clamp(1.45rem, 1.9vw, 1.95rem); line-height: 1.08; margin-bottom: .4em; }
.card p { color: var(--text); margin: 0 0 14px; font-size: 1rem; }
.card .go { display: inline-flex; align-items: center; gap: .5em; color: var(--amber); font-weight: 600; }
.card .go .ic { transition: transform .35s var(--ease); }
.card:hover .go .ic { transform: translateX(6px); }

/* local driver split */
.driver { overflow: clip; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.frame { position: relative; isolation: isolate; }
.frame::before { content: ''; position: absolute; inset: 0; opacity: var(--fo, 1); border: 2px solid var(--amber); z-index: 1; pointer-events: none; }
.frame-img { position: relative; overflow: hidden; height: var(--media-cap); max-height: 640px; background: var(--asphalt); }
.frame-img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: rgba(18, 17, 16, .86); color: var(--text); font-size: .92rem; border-left: 3px solid var(--amber); }
.spec { margin: 28px 0 32px; border-top: 1px solid rgba(251, 229, 193, .12); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(251, 229, 193, .12); }
.spec dt { color: var(--amber); font-weight: 600; }
.spec dd { margin: 0; color: var(--text); }

/* signature: door to destination drive. Static by default (no JS, reduced motion); .is-live pins it. */
.drive { position: relative; overflow: clip; background: var(--tarmac); padding-top: clamp(80px, 11vh, 140px); }
.drive-head { margin-bottom: 32px; }
.drive-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(560px, 100%), 1fr)); gap: 28px 48px; }
.drive-step b { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 800 1.2rem/1 var(--display); margin-bottom: 14px; }
.drive-step h3 { font-size: clamp(1.7rem, 2.9vw, 2.75rem); line-height: 1.08; margin-bottom: .35em; }
.drive-step p { color: var(--text); margin: 0; font-size: 1.14rem; }
.drive-list { display: none; }
.drive.is-live .drive-list { display: block; position: absolute; right: var(--gut); top: calc(var(--head-h) * .4 + 5vh + clamp(70px, 10vh, 120px)); z-index: 3; list-style: none; margin: 0; padding: 0 0 0 0; }
.drive-list li { position: relative; display: flex; align-items: center; gap: 14px; padding: 7px 0 7px 0; font: 600 1.02rem/1.2 var(--body); color: rgba(251, 229, 193, .62); transition: color .4s; }
.drive-list li i { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(251, 229, 193, .3); flex: none; transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.drive-list li + li::before { content: ''; position: absolute; left: 6px; top: -9px; width: 2px; height: 18px; background: rgba(251, 229, 193, .16); }
.drive-list li.is-done { color: rgba(251, 229, 193, .8); }
.drive-list li.is-done i { background: var(--amber); border-color: var(--amber); }
.drive-list li.is-now { color: var(--cream); }
.drive-list li.is-now i { background: var(--amber); border-color: var(--amber); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(232, 169, 65, .18); }
.drive-sky { position: absolute; left: 0; right: 0; top: 0; height: 58%; pointer-events: none; }
.drive-sky .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); }
.drive-sky { z-index: 2; }
.drive-sky .moon { position: absolute; right: 22%; top: 6%; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF4DA, #E9D7B4 60%, #CDB893); box-shadow: 0 0 40px 10px rgba(251, 229, 193, .12); }
.lm-labels text { font: 600 21px var(--body); fill: rgba(251, 229, 193, .62); text-anchor: middle; letter-spacing: .02em; }
.drive-progress { display: none; }
.drive-stage { position: relative; height: max(46vh, 380px); margin-top: 40px; background: linear-gradient(180deg, var(--tarmac) 0%, #24221F 58%, #191816 58.2%); }
.drive-world { position: absolute; left: 0; bottom: 42%; height: 58%; aspect-ratio: 5000 / 340; z-index: 1; will-change: transform; }
.drive-world svg { width: 100%; height: 100%; overflow: visible; }
.lm { fill: none; stroke: rgba(251, 229, 193, .5); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lm-amber { stroke: var(--amber); }
.lm-fill { fill: rgba(232, 169, 65, .9); stroke: none; }
.lm-hills { fill: none; stroke: rgba(251, 229, 193, .12); stroke-width: 2; }
.drive-road { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 0; background: #191816; overflow: hidden; }
.drive-road::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(251, 229, 193, .2); }
.drive-road .lane { position: absolute; left: 0; right: 0; top: 46%; height: 6px; background: repeating-linear-gradient(90deg, var(--amber) 0 90px, transparent 90px 170px); background-size: 170px 6px; opacity: .85; }
.drive-road .kerb { position: absolute; left: 0; right: 0; bottom: 16%; height: 2px; background: repeating-linear-gradient(90deg, rgba(251, 229, 193, .25) 0 6px, transparent 6px 22px); background-size: 22px 2px; }
.drive-car { position: absolute; z-index: 2; left: 10vw; bottom: 26%; width: clamp(300px, 38vw, 640px); will-change: transform; }
.drive-car > img { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); }
.drive-car .wheel { position: absolute; width: 10.5%; aspect-ratio: 1; margin: -5.25% 0 0 -5.25%; will-change: transform; }
.drive-car .wheel img { width: 100%; height: 100%; }
.drive-car .w-rear { left: 21.43%; top: 79.8%; }
.drive-car .w-front { left: 80.7%; top: 76.4%; }
.drive-car .beam { position: absolute; left: 96%; top: 50%; width: 50%; height: 34%; background: radial-gradient(ellipse at 0 50%, rgba(251, 229, 193, .34), rgba(251, 229, 193, 0) 70%); transform-origin: 0 50%; pointer-events: none; mix-blend-mode: screen; }
.drive-shadow { position: absolute; z-index: 1; left: 10vw; bottom: calc(26% - 2vw); width: clamp(300px, 38vw, 640px); height: 4vw; background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .65), transparent 70%); }

.drive.is-live { height: 100svh; min-height: 640px; padding: 0; }
.drive.is-live .drive-head { position: absolute; left: 0; right: 0; top: calc(var(--head-h) * .4 + 5vh); z-index: 3; margin: 0 auto; }
.drive.is-live .drive-progress { display: flex; gap: 8px; position: absolute; right: var(--gut); top: calc(var(--head-h) * .4 + 5vh + 18px); z-index: 3; }
.drive-progress i { width: 34px; height: 4px; background: rgba(251, 229, 193, .16); position: relative; overflow: hidden; }
.drive-progress i::after { content: ''; position: absolute; inset: 0; background: var(--amber); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.drive.is-live .drive-steps { position: absolute; left: 0; right: 0; top: calc(var(--head-h) * .4 + 5vh + clamp(70px, 10vh, 120px)); z-index: 3; margin: 0 auto; }
.drive-steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.drive.is-live .drive-steps ol { display: block; position: relative; }
.drive.is-live .drive-step { position: absolute; left: 0; top: 0; width: min(1000px, 100% - 300px); }
@media (max-width: 1080px) { .drive.is-live .drive-step { width: 100%; } }
.drive.is-live .drive-stage { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; margin: 0; }

/* areas */
.areas { overflow: clip; padding-bottom: clamp(70px, 10vh, 120px); }
.marquee { display: flex; overflow: clip; white-space: nowrap; user-select: none; }
.marquee-track { display: flex; flex: none; gap: 0; will-change: transform; }
.marquee-track span { font: 800 clamp(2.6rem, 6vw, 6rem)/1.08 var(--display); font-stretch: 78%; padding-right: .5em; color: var(--cream); }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(251, 229, 193, .5); }
.marquee-track span i { font-style: normal; color: var(--amber); -webkit-text-stroke: 0; padding-left: .5em; }
.marquee.is-b .marquee-track span { font-size: clamp(1.8rem, 3.6vw, 3.6rem); font-weight: 600; font-stretch: 100%; color: rgba(251, 229, 193, .55); }
.marquee.is-b .marquee-track span:nth-child(even) { color: rgba(232, 169, 65, .8); -webkit-text-stroke: 0; }
.areas-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vh, 72px); }
.areas-body .links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }
.photo-pair { position: relative; height: min(60vh, 540px); }
.photo-pair figure { position: absolute; margin: 0; overflow: hidden; background: var(--asphalt); }
.photo-pair figure img { width: 100%; height: 118%; object-fit: cover; }
.photo-pair .pp-a { left: 0; top: 0; width: 72%; height: 66%; }
.photo-pair .pp-b { right: 0; bottom: 0; width: 56%; height: 58%; box-shadow: -18px -18px 0 var(--tarmac); }
.photo-pair figcaption { position: absolute; left: 0; bottom: 0; background: rgba(18, 17, 16, .85); padding: 8px 14px; font-size: .9rem; color: var(--text); }

/* planner (shared by the homepage teaser and the planner page) */
.paper { background: var(--paper); color: var(--ink); }
.paper h1, .paper h2, .paper h3 { color: var(--ink); }
.paper .muted { color: #5C564C; }
.planner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.pl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; }
.pl-form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid rgba(29, 28, 26, .22); background: #fff; color: var(--ink); border-radius: 0; font-size: 1.02rem; transition: border-color .25s, box-shadow .25s; }
.field select { appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1C1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232, 169, 65, .25); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid rgba(29, 28, 26, .22); font-weight: 600; font-size: .95rem; transition: background-color .25s, border-color .25s, color .25s; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.pl-out { position: relative; background: var(--ink); color: var(--text); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; overflow: hidden; }
.pl-out::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border: 2px dashed rgba(232, 169, 65, .25); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pl-out small { color: var(--fog); font-size: .95rem; }
.pl-time { font: 820 clamp(3.6rem, 7vw, 6.4rem)/1 var(--display); font-stretch: 80%; color: var(--amber); font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.pl-day { color: var(--cream); font-weight: 500; min-height: 1.6em; }
.pl-line { position: relative; margin: 30px 0 14px; height: 70px; }
.pl-line svg { width: 100%; height: 100%; overflow: visible; }
.pl-track { stroke: rgba(251, 229, 193, .16); stroke-width: 4; }
.pl-fill { stroke: var(--amber); stroke-width: 4; }
.pl-legs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.pl-legs div { border-top: 2px solid rgba(251, 229, 193, .14); padding-top: 10px; }
.pl-legs b { display: block; color: var(--cream); font: 700 1.35rem/1.1 var(--display); font-stretch: 88%; font-variant-numeric: tabular-nums; }
.pl-legs span { color: var(--fog); font-size: .9rem; }
.pl-out .btn-row { margin-top: auto; }
.pl-note { font-size: .92rem; color: var(--fog); margin: 16px 0 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid rgba(251, 229, 193, .14); margin-top: 32px; }
.faq-item { border-bottom: 1px solid rgba(251, 229, 193, .14); }
.faq-q { position: relative; width: 100%; display: block; padding: 15px 60px 15px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 700 clamp(1.15rem, 1.5vw, 1.4rem)/1.25 var(--display); font-stretch: 92%; color: var(--cream); }
.faq-q > span:first-child { display: block; }
.faq-q .pm { position: absolute; right: 0; top: 50%; margin-top: -19px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(232, 169, 65, .6); transition: background-color .3s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--amber); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .3s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .pm { background: var(--amber); transform: rotate(180deg); }
@media (max-width: 760px) { .faq-q { font-size: 1.08rem; padding-right: 52px; } }
.faq-item.is-open .pm::before, .faq-item.is-open .pm::after { background: var(--ink); }
.faq-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; height: 0; }
.no-js .faq-a, .reveal-all .faq-a { height: auto; }
.faq-a p { padding: 0 60px 22px 0; margin: 0; color: var(--text); }
.faq-photo { position: sticky; top: 120px; }
.faq-photo .frame-img { height: min(66vh, 600px); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 14vh, 170px); text-align: center; }
.cta-bg { position: absolute; inset: -8% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(18, 17, 16, .55), rgba(18, 17, 16, .9)); }
.cta-band .h2 { margin-bottom: .3em; }
.cta-sweep { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 50% 60%, rgba(251, 229, 193, .16), transparent 70%); mix-blend-mode: screen; }
.cta-num { display: inline-block; font: 820 clamp(3rem, 8.6vw, 8.4rem)/1 var(--display); font-stretch: 78%; color: var(--amber); text-decoration: none; letter-spacing: -.01em; margin: 10px 0 26px; }
.cta-num:hover { color: var(--amber-hot); }
.cta-band .btn-row { justify-content: center; }
.cta-band .stars { justify-content: center; margin-bottom: 18px; font-size: 1.5rem; gap: 6px; }
.cta-band p { color: var(--text); }

/* footer */
.site-foot { position: relative; background: #161513; padding-top: 0; }
.foot-road { margin-bottom: clamp(56px, 8vh, 90px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-brand .brand img { height: 62px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--fog); max-width: 30em; }
.foot-brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; padding: 0; color: var(--text); }
.foot-brand a:hover { color: var(--amber); }
.foot-brand .ic { color: var(--amber); }
.foot-phone { font-weight: 600; font-size: 1.15rem; }
.foot-h { font: 700 1.2rem/1.2 var(--display); font-stretch: 92%; color: var(--cream); margin-bottom: 16px; }
.foot-col ul li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--fog); text-decoration: none; transition: color .25s, transform .3s var(--ease); }
.foot-col ul li a:hover { color: var(--amber); transform: translateX(4px); }
.foot-hours { display: flex; align-items: center; gap: 10px; color: var(--text); margin-top: 18px; }
.foot-hours .ic { color: var(--amber); }
.foot-strip { border-top: 1px solid rgba(251, 229, 193, .08); }
.foot-strip-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 28px; padding-block: 22px; font-size: .95rem; color: var(--fog); }
.foot-strip p { margin: 0; }
.credit a { color: var(--amber); display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { color: var(--fog); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-legal a:hover, .foot-legal a[aria-current] { color: var(--amber); }
.foot-col ul li a[aria-current] { color: var(--amber); }

/* reveal fallbacks */
.no-js [data-fs], .reveal-all [data-fs] { opacity: 1 !important; transform: none !important; }
html.js:not(.reveal-all) [data-fs] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-fs] { opacity: 1; }
  .road-line span, .hero-scroll::after, .pl-out::after { animation: none; }
  .faq-a { height: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1440px) {
  .nav-link { padding-inline: 10px; }
}
@media (max-width: 1280px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head-call { margin-left: auto; }
}
@media (max-width: 1080px) {
  .head-call { display: none; }
  .menu-btn { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split, .areas-body, .faq-grid, .planner { grid-template-columns: 1fr; }
  .faq-photo { position: relative; top: 0; }
  .hero-copy { width: min(640px, 66vw); }
}
@media (max-width: 760px) {
  :root { --head-h: 80px; }
  .brand img { height: 46px; }
  .site-head.is-solid .head-bar { height: 70px; }
  .site-head.is-solid .brand img { height: 40px; }
  .hero { min-height: 700px; height: 100svh; }
  .hero { height: auto; min-height: 0; max-height: none; background: var(--tarmac); }
  .hero-map { position: relative; inset: auto; height: 54svh; min-height: 400px; overflow: hidden; background: var(--sea); }
  .hero-map .jg-map { position: absolute; top: 0; height: 100%; width: auto; aspect-ratio: 1.6; left: 50%; transform: translateX(-66%); max-width: none; }
  .m-town:not(.is-major) { display: none; }
  .m-town.is-major text { font-size: 38px; stroke-width: 7px; }
  .m-town.is-major .m-dot { r: 10px; }
  .m-plane { transform-box: fill-box; }
  .m-route { stroke-width: 8; }
  .m-taxi { r: 10px; }
  .m-coastline { stroke-width: 2.6; }
  .m-road { stroke-width: 4; }
  .m-sea-label { font-size: 34px; }
  .hero-tint { bottom: auto; height: 54svh; min-height: 400px; }
  .hero-scrim { bottom: auto; height: 54svh; min-height: 400px; background: linear-gradient(0deg, var(--tarmac) 0%, rgba(29, 28, 26, 0) 28%), linear-gradient(180deg, rgba(22, 21, 19, .75) 0%, rgba(22, 21, 19, 0) 26%); }
  .hero-inner { height: auto; padding: 0 0 40px; margin-top: -12px; }
  .m-town[data-town="longframlington"] text { transform: translate(40px, 34px); }
  .m-town[data-town="rothbury"] text { transform: translate(0, -10px); }
  .m-town[data-town="newcastle"] text { transform: translate(-30px, -30px); }
  .hero .display { font-size: clamp(1.85rem, 10vw, 3rem); }
  .hero .lede { font-size: 1.02rem; margin-bottom: 1.2em; }
  .hero-copy { width: 100%; padding-bottom: 0; }
  .hero-caption { position: relative; left: auto; right: auto; top: auto; width: auto; margin: 0 var(--gut) 36px; padding: 10px 16px 12px; }
  .hero-inner { padding-bottom: 22px; }
  .hero-caption strong { font-size: .95rem; }
  .hero-caption strong .ic { width: 1em; height: 1em; }
  .hero-caption .cap-bar { margin-top: 8px; }
  .hero-dial { top: calc(var(--head-h) + 10px); }
  .hero-dial span { display: none; }
  .hero-dial svg { width: 56px; height: 56px; }
  .hero-trust { gap: 6px 18px; font-size: .95rem; margin-top: 18px; }
  .hero-scroll { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 360px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .frame-img { height: min(60vh, 460px); }
  .drive-car, .drive-shadow { width: 78vw; left: 4vw; }
  /* phones: heading, step and road stack in flow so a heading that wraps (large text settings) pushes the steps down
     instead of running under them; the steps share one grid cell so the list is as tall as the longest step */
  .drive.is-live { display: flex; flex-direction: column; }
  .drive.is-live .drive-head { position: relative; top: auto; padding-top: calc(var(--head-h) + 6px); }
  .drive.is-live .drive-head .h2 { font-size: clamp(1.75rem, 8vw, 2.1rem); }
  .drive.is-live .drive-ui { position: relative; z-index: 3; margin-top: 16px; }
  .drive.is-live .drive-step b { min-width: 36px; height: 36px; margin-bottom: 10px; }
  .drive.is-live .drive-step h3 { font-size: clamp(1.5rem, 6.6vw, 1.8rem); }
  .drive.is-live .drive-step p { font-size: 1.04rem; }
  .drive.is-live .drive-steps { position: relative; top: auto; }
  .drive.is-live .drive-steps ol { display: grid; }
  .drive.is-live .drive-step { position: relative; grid-area: 1 / 1; width: 100%; }
  .drive.is-live .drive-stage { position: relative; flex: 1 0 280px; height: auto; margin-top: 12px; }
  .drive.is-live .drive-list { display: none; }
  .drive-sky .moon { width: 30px; height: 30px; }
  .pl-form { grid-template-columns: 1fr; }
  .pl-legs { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  /* phones: the two photos go down the page one after the other instead of overlapping */
  .photo-pair { height: auto; display: grid; gap: 24px; }
  .photo-pair .pp-a, .photo-pair .pp-b { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; box-shadow: none; }
  .faq-a p { padding-right: 0; }
}
