/* AllFlyingCars — a photo-led aviation magazine.
   Black, white and taxiway-sign yellow. Schibsted Grotesk for headlines and interface, Newsreader for reading.
   Signature: the flight-levels board, styled as airfield signage (yellow location signs on black). */
:root {
  color-scheme: light;
  --black: #000;
  --ink: #16181b;
  --ink-2: #4a5058;
  --ink-3: #737a83;
  --paper: #fff;
  --mist: #f2f3f5;
  --line: #e2e4e8;
  --sign: #ffd000;
  --go: #118a4e;
  --hold: #a86b00;
  --stop: #c62828;
  --idle: #6c747d;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--sign); text-decoration-thickness: 3px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; box-shadow: 0 0 0 6px var(--black); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--sans); color: var(--black); margin: 0 0 .4em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -0.035em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; letter-spacing: -0.025em; margin-top: 1.7em; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.dek { font: 400 22px/1.45 var(--serif); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14.5px; }
.intro { font: 400 19px/1.55 var(--serif); color: var(--ink-2); max-width: 62ch; }

/* ---------------------------------------------------------------- masthead + footer */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); font: 900 24px/1 var(--sans); letter-spacing: -0.035em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--black); }
.nav a[aria-current="page"] { color: var(--black); border-bottom-color: var(--sign); }
@media (max-width: 780px) {
  .masthead .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 6px; gap: 4px; }
  .nav { gap: 2px 18px; justify-content: flex-start; }
}
main { padding-bottom: 80px; }
.page-top { padding-top: 26px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--sign); }
.site-footer { background: var(--black); color: #c9cdd2; padding: 46px 0 50px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer strong { color: var(--sign); font-weight: 800; }
.site-footer a { color: #fff; text-decoration-color: #555; }
.site-footer a:hover { text-decoration-color: var(--sign); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
@media (max-width: 780px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--sans); padding: 15px 22px; text-decoration: none; border: 2px solid var(--black); background: var(--black); color: #fff; cursor: pointer; }
.btn:hover { background: var(--sign); color: var(--black); }
.btn.sign { background: var(--sign); border-color: var(--sign); color: var(--black); }
.btn.sign:hover { background: #fff; border-color: #fff; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--black); }

/* ---------------------------------------------------------------- home cover */
.cover { position: relative; min-height: min(84vh, 760px); display: flex; align-items: flex-end; color: #fff; background: #1c2128; overflow: hidden; }
.cover > img { position: absolute; top: 0; bottom: 0; right: 0; width: 78%; height: 100%; object-fit: cover; object-position: 60% 55%; }
@media (max-width: 900px) { .cover > img { width: 100%; opacity: .55; } }
.cover { background: #000; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 22%, rgba(0,0,0,.75) 42%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%); }
.cover .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 48px; }
.cover h1 { color: #fff; max-width: 12ch; font-size: clamp(42px, 5.6vw, 80px); }
.cover .dek { color: rgba(255,255,255,.9); max-width: 44ch; }
.cover .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cover .credit { position: absolute; right: 24px; bottom: 14px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.75); }
.cover .credit a { text-decoration-color: rgba(255,255,255,.4); text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- stories */
.stories { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 34px; padding: 44px 0 8px; }
.stories .side { display: grid; gap: 30px; align-content: start; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }
.story { display: block; text-decoration: none; color: var(--ink); }
.story .pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.story.lead .pic img { object-position: 50% 80%; }
.story .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story:hover .pic img { transform: scale(1.03); }
.story .topic { font-weight: 700; font-size: 14px; color: var(--ink-2); margin: 14px 0 6px; }
.story h2, .story h3 { margin: 0 0 8px; }
.story.lead h2 { font-size: clamp(30px, 3.6vw, 48px); }
.story h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.story:hover h2, .story:hover h3 { text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 4px; }
.story p { font: 400 18px/1.5 var(--serif); color: var(--ink-2); margin: 0; }
.numcard { background: var(--black); color: #fff; padding: 26px 26px 24px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: flex-end; }
.numcard b { font: 800 clamp(44px, 5vw, 64px)/1 var(--sans); color: var(--sign); letter-spacing: -0.03em; }
.numcard span { color: #c9cdd2; margin-top: 8px; }

/* ---------------------------------------------------------------- flight levels: airfield-sign board (signature) */
.board { background: var(--black); color: #fff; padding: 54px 0 58px; margin-top: 56px; }
.board h2 { color: #fff; margin-top: 0; }
.board .intro { color: #b8bec6; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 22px 0 18px; border-bottom: 1px solid #2c3036; }
.tabs button { all: unset; cursor: pointer; font-weight: 700; font-size: 15.5px; color: #9aa1a9; padding: 10px 0 12px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button:hover { color: #fff; }
.tabs button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--sign); }
.tabs button:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
.light .tabs { border-bottom-color: var(--line); }
.light .tabs button { color: var(--ink-3); }
.light .tabs button:hover, .light .tabs button[aria-pressed="true"] { color: var(--black); }
.levels { display: grid; gap: 0; }
.level { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 14px 0; border-top: 1px solid #22262b; align-items: start; }
.level:first-child { border-top: 0; }
.level-name { display: flex; gap: 12px; align-items: flex-start; }
.level-name .fl { flex: none; background: var(--sign); color: var(--black); font: 800 17px/1 var(--sans); padding: 7px 8px 6px; min-width: 48px; text-align: center; border: 2px solid var(--black); box-shadow: 0 0 0 2px var(--sign); }
.level-name b { display: block; font-size: 17px; line-height: 1.2; color: #fff; }
.level-name small { display: block; font-size: 13.5px; color: #8d949c; line-height: 1.35; margin-top: 2px; }
.lane { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; align-items: center; }
.lane .empty { color: #8d949c; font: italic 400 17px/1.4 var(--serif); }
.ground { height: 12px; margin: 8px 0 4px; background: repeating-linear-gradient(90deg, var(--sign) 0 26px, transparent 26px 40px); opacity: .9; }
.level.grounded .fl { background: var(--stop); color: #fff; box-shadow: 0 0 0 2px var(--stop); }
.tag { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: #121417; border: 1px solid #2c3036; padding: 5px 12px 5px 5px; line-height: 1.15; }
.tag:hover { border-color: var(--sign); }
.tag > span { display: block; }
.tag .thumb { width: 44px; height: 34px; flex: none; background: #22262b; overflow: hidden; display: grid; place-items: center; color: #8d949c; }
.tag .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tag .thumb .icon { width: 24px; height: 24px; }
.tag b { display: block; font-weight: 700; font-size: 15px; }
.tag small { display: block; font-size: 13px; color: #9aa1a9; font-variant-numeric: tabular-nums; }
.tag.featured { border-color: var(--sign); }
.tag.featured small { color: var(--sign); font-weight: 700; }
.tag[hidden] { display: none; }
@media (max-width: 760px) { .level { grid-template-columns: 1fr; gap: 10px; } }
@keyframes climb { from { transform: translateY(var(--rise, 40px)); opacity: 0; } to { transform: none; opacity: 1; } }
.levels.animate .tag { animation: climb .75s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .levels.animate .tag { animation: none; } }

/* status words (used in cards, tables, at-a-glance) */
.status { font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; background: currentColor; flex: none; }
.status.go { color: var(--go); }
.status.hold { color: var(--hold); }
.status.idle { color: var(--idle); }
.status.stop { color: var(--stop); }

/* ---------------------------------------------------------------- contenders grid */
.contenders { padding-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px 26px; margin: 8px 0 0; }
.card { display: block; text-decoration: none; color: var(--ink); }
.card[hidden] { display: none; }
.card .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); display: grid; place-items: center; color: #aab0b7; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .pic img { transform: scale(1.04); }
.card .pic .icon { width: 36%; height: auto; stroke-width: 1.1; }
.card .meta { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 4px; font-size: 14px; }
.card .meta .type { color: var(--ink-3); }
.card h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 3px; }
.card .price { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- finder */
.finder { background: var(--mist); padding: 54px 0 60px; margin-top: 64px; }
.finder h2 { margin-top: 0; }
.finder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 46px; margin-top: 22px; }
@media (max-width: 920px) { .finder-grid { grid-template-columns: 1fr; } }
.finder fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.finder legend { font: 700 19px/1.3 var(--sans); color: var(--black); margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; }
.opts label { cursor: pointer; margin: 0 -2px -2px 0; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 11px 16px; border: 2px solid var(--black); background: var(--paper); font-weight: 600; font-size: 15.5px; }
.opts input:checked + span { background: var(--black); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--sign); outline-offset: 2px; position: relative; z-index: 1; }
.finder fieldset[disabled] { opacity: .35; }
.results-head { font: 800 30px/1.05 var(--sans); letter-spacing: -0.02em; color: var(--black); margin: 0 0 4px; }
.results-sub { color: var(--ink-3); margin: 0 0 14px; font-size: 15px; }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-height: 600px; overflow-y: auto; }
.results a { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); padding: 10px 14px 10px 10px; }
.results a:hover { background: #fffbe0; }
.results .thumb { width: 72px; height: 54px; background: var(--mist); overflow: hidden; display: grid; place-items: center; color: #9aa1a9; }
.results .thumb img { width: 100%; height: 100%; object-fit: cover; }
.results .thumb .icon { width: 30px; height: 30px; }
.results b { display: block; font-size: 17px; }
.results small { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.results .rp { font-weight: 700; text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.results .later { color: var(--ink-3); font-weight: 600; }
.no-results { background: var(--paper); padding: 16px; color: var(--ink-2); }

/* ---------------------------------------------------------------- arrivals (when can you get one) */
.arrivals { background: var(--black); color: #fff; padding: 54px 0 60px; }
.arrivals h2 { color: #fff; margin-top: 0; }
.arrivals .intro { color: #b8bec6; }
.arr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-top: 1px solid #2c3036; }
.arr-col { border-left: 1px solid #2c3036; padding: 0 12px 10px; min-width: 0; }
.arr-col:first-child { border-left: 0; padding-left: 0; }
.arr-col h3 { color: var(--black); background: var(--sign); display: inline-block; font: 800 22px/1 var(--sans); padding: 8px 10px 7px; margin: 16px 0 12px; }
.arr-col.nodate h3 { background: transparent; color: #9aa1a9; box-shadow: inset 0 0 0 2px #3a3f45; }
.arr-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.arr-col a { text-decoration: none; color: #fff; display: block; }
.arr-col a:hover b { text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 3px; }
.arr-col b { display: block; font-size: 16px; line-height: 1.25; }
.arr-col small { display: block; font-size: 13.5px; color: #9aa1a9; line-height: 1.4; margin-top: 3px; }
@media (max-width: 1000px) {
  .arr { grid-template-columns: 1fr; border-top: 0; }
  .arr-col { border-left: 0; border-top: 1px solid #2c3036; padding: 0 0 14px; display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
}

/* ---------------------------------------------------------------- guide list */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding: 0; list-style: none; margin: 18px 0 0; }
@media (max-width: 760px) { .guides { grid-template-columns: 1fr; } }
.guides li { border-top: 2px solid var(--black); padding: 14px 0 20px; }
.guides a { font: 800 26px/1.1 var(--sans); letter-spacing: -0.02em; text-decoration: none; color: var(--black); }
.guides a:hover { text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 4px; }
.guides p { margin: 8px 0 0; font: 400 17px/1.5 var(--serif); color: var(--ink-2); }

/* ---------------------------------------------------------------- article pages */
.art-head { max-width: 900px; }
.art-head .topic { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }
.art-head .topic .icon { width: 22px; height: 22px; }
.art-head h1 .h1-sub { display: block; font-weight: 500; color: var(--ink-3); font-size: .46em; letter-spacing: -0.015em; line-height: 1.2; margin-top: .25em; }
.art-head .dek { max-width: 60ch; margin-bottom: 26px; }
.hero-media { margin: 0 0 8px; }
.hero-media img { width: 100%; height: auto; max-height: 640px; object-fit: cover; background: var(--mist); }
.hero-media figcaption, .media figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.45; }
.hero-media figcaption a, .media figcaption a { text-decoration-thickness: 1px; text-decoration-color: var(--ink-3); }
.hero-media.illus { aspect-ratio: 21 / 8; background: var(--black); color: var(--sign); display: grid; place-items: center; }
.hero-media.illus .icon { width: 160px; height: 160px; stroke-width: 1.1; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; margin-top: 34px; align-items: start; }
@media (max-width: 980px) { .art { grid-template-columns: 1fr; gap: 30px; } .art aside { order: -1; } }
.art-body { font: 400 19px/1.65 var(--serif); max-width: 70ch; }
.art-body h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.6em; }
.art-body h2:first-child { margin-top: 0; }
.art-body .lead-in { font: 700 22px/1.35 var(--sans); color: var(--black); letter-spacing: -0.01em; margin-bottom: .4em; }
.art-body ul.facts { padding: 0; list-style: none; }
.art-body ul.facts li { position: relative; padding: 0 0 0 26px; margin: 0 0 .7em; }
.art-body ul.facts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; background: var(--sign); box-shadow: 0 0 0 1.5px var(--black); }
.callout { border-left: 6px solid var(--sign); padding: 4px 0 4px 20px; margin: 26px 0; }
.callout.go { border-left-color: var(--go); }
.callout.stop { border-left-color: var(--stop); }
.callout p:last-child { margin: 0; }

.glance { background: var(--black); color: #fff; padding: 22px 22px 18px; position: sticky; top: 18px; }
.glance h2 { color: var(--sign); font-size: 22px; margin: 0 0 6px; letter-spacing: -0.01em; }
.glance dl { margin: 0; }
.glance dt { color: #9aa1a9; font-size: 13.5px; margin-top: 14px; }
.glance dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.glance dd.big { font: 800 32px/1.05 var(--sans); letter-spacing: -0.02em; color: var(--sign); }
.glance dd small { display: block; font-weight: 400; color: #9aa1a9; font-size: 13.5px; margin-top: 4px; letter-spacing: 0; }
.glance .status.go { color: #4fd18c; } .glance .status.hold { color: var(--sign); } .glance .status.idle { color: #c1c7ce; } .glance .status.stop { color: #ff7b7b; }
.glance .actions { margin-top: 18px; display: grid; gap: 8px; }
.glance .actions a { font-weight: 700; font-size: 15px; color: #fff; }

/* progress: how far it has got */
.progress { margin: 6px 0 30px; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.progress li { position: relative; padding-top: 22px; font: 600 14px/1.25 var(--sans); color: var(--ink-3); }
.progress li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: var(--line); }
.progress li.done::before, .progress li.here::before { background: var(--black); }
.progress li.here { color: var(--black); font-weight: 800; }
.progress li.here::after { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--sign); border: 3px solid var(--black); }
.progress.grounded li::before { background: var(--line); }
.progress p { font: 400 17px/1.5 var(--serif); color: var(--ink-2); margin: 14px 0 0; }
@media (max-width: 560px) { .progress li { font-size: 12px; } }

.spec { border-top: 2px solid var(--black); margin: 14px 0 24px; font: 400 16px/1.5 var(--sans); }
.spec-row { display: grid; grid-template-columns: minmax(130px, 32%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-row .k { color: var(--ink-3); }
.spec-row .v { font-weight: 600; }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; gap: 2px; } }

.faq { margin: 10px 0 0; font-family: var(--sans); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 14px 34px 14px 0; list-style: none; position: relative; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 800 24px/1 var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { font: 400 18px/1.6 var(--serif); color: var(--ink-2); margin: 0 0 16px; }

.sources { font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); padding-left: 1.3em; }
.sources li { margin: .35em 0; }
.sources a { text-decoration-thickness: 1px; text-decoration-color: var(--ink-3); }
.sources .d { color: var(--ink-3); white-space: nowrap; }

.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; overflow: hidden; cursor: pointer; background: #000 center / cover no-repeat; color: #fff; text-align: left; }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.8)); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--sign); display: grid; place-items: center; }
.yt .play::after { content: ""; border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent #000; margin-left: 6px; }
.yt:hover .play { background: #fff; }
.yt .yt-title { position: absolute; left: 20px; right: 20px; bottom: 16px; font: 700 18px/1.3 var(--sans); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 50px 0 0; border-top: 2px solid var(--black); }
.pager a { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 18px 0; }
.pager a.next { grid-template-columns: 1fr 96px; text-align: right; border-left: 1px solid var(--line); padding-left: 18px; }
.pager .thumb { width: 96px; height: 70px; background: var(--mist); overflow: hidden; display: grid; place-items: center; color: #9aa1a9; }
.pager .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pager .thumb .icon { width: 34px; height: 34px; }
.pager .dir { display: block; font-size: 13.5px; color: var(--ink-3); }
.pager b { font: 800 22px/1.1 var(--sans); letter-spacing: -0.02em; }
.pager a:hover b { text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 3px; }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } .pager a.next { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* Tesla page */
.slip { border-top: 2px solid var(--black); padding: 14px 0 6px; margin: 16px 0 10px; }
.slip-row { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; align-items: center; padding: 5px 0; }
.slip-when { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.slip-track { position: relative; height: 24px; }
.slip-track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 1px dashed var(--line); }
.slip-dot { position: absolute; top: 4px; height: 16px; min-width: 16px; margin-left: -8px; background: var(--black); }
.slip-dot.last { background: var(--sign); box-shadow: 0 0 0 2px var(--black); }
.slip-label { position: absolute; top: 3px; font-size: 13px; color: var(--ink-2); white-space: nowrap; line-height: 18px; }
.slip-axis { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; margin-top: 6px; }
.slip-axis div { position: relative; height: 20px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.slip-axis div span { position: absolute; transform: translateX(-50%); }
@media (max-width: 640px) { .slip-row, .slip-axis { grid-template-columns: 5em 1fr; } .slip-label { display: none; } }
.checks { list-style: none; padding: 0; margin: 10px 0; font: 400 17px/1.5 var(--serif); }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.checks li::before { font: 800 18px/1.4 var(--sans); }
.checks li.yes::before { content: "✓"; color: var(--go); }
.checks li.no::before { content: "✕"; color: var(--stop); }
.claims { list-style: none; padding: 0; margin: 10px 0; border-top: 2px solid var(--black); }
.claims li { display: grid; grid-template-columns: 1fr 190px; gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.claims li p { margin: 0; font: 400 18px/1.45 var(--serif); }
.claims .who { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.claims .verdict-word { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; font-size: 14.5px; }
.claims .verdict-word.go { color: var(--go); } .claims .verdict-word.hold { color: var(--hold); } .claims .verdict-word.idle { color: var(--idle); }
@media (max-width: 620px) { .claims li { grid-template-columns: 1fr; } .claims .verdict-word { grid-column: 1; grid-row: auto; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 16px 0; border-left: 3px solid var(--black); font: 400 17px/1.5 var(--serif); }
.timeline li { position: relative; padding: 2px 0 14px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 7px; width: 12px; height: 12px; background: var(--paper); border: 3px solid var(--black); }
.timeline li.now::before { background: var(--sign); }
.timeline time { display: block; font: 700 14px/1.4 var(--sans); color: var(--ink-3); }
details.more { margin: 12px 0; }
details.more > summary { cursor: pointer; font-weight: 700; font-family: var(--sans); text-decoration: underline; text-decoration-color: var(--sign); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* hub pages */
.ladder { list-style: none; padding: 0; margin: 20px 0; border-top: 2px solid var(--black); }
.ladder li { display: grid; grid-template-columns: 76px 13em 1fr 10em; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ladder .thumb { width: 76px; height: 54px; background: var(--mist); overflow: hidden; display: grid; place-items: center; color: #9aa1a9; }
.ladder .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ladder .thumb .icon { width: 28px; height: 28px; }
.ladder .n a { font-weight: 700; text-decoration: none; }
.ladder .n a:hover { text-decoration: underline; text-decoration-color: var(--sign); }
.ladder .bar { position: relative; height: 16px; background: var(--mist); }
.ladder .bar i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--black); }
.ladder .bar u { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, var(--black) 0 3px, transparent 3px 7px); }
.ladder .v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .ladder li { grid-template-columns: 60px 1fr auto; } .ladder .thumb { width: 60px; height: 44px; } .ladder .bar { grid-column: 2 / -1; grid-row: 2; } }
.table-wrap { overflow-x: auto; margin: 16px 0 26px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 2px solid var(--black); }
table.data th, table.data td { text-align: left; padding: 12px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
table.data td.num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
table.data td a { font-weight: 700; text-decoration: none; }
table.data td a:hover { text-decoration: underline; text-decoration-color: var(--sign); }
@media (max-width: 720px) {
  table.data.stack thead { display: none; }
  table.data.stack, table.data.stack tbody, table.data.stack tr, table.data.stack td { display: block; width: 100%; }
  table.data.stack tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.data.stack td { border: 0; padding: 3px 0; }
  table.data.stack td[data-k]::before { content: attr(data-k); display: block; font-size: 12.5px; color: var(--ink-3); }
}
.prose { font: 400 19px/1.65 var(--serif); max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); }
.prose .lede { font-size: 22px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.updated { font: 400 14.5px/1.4 var(--sans); color: var(--ink-3); }
.ad-slot { min-height: 280px; margin: 36px 0; display: flex; align-items: center; justify-content: center; }
.ad-slot:empty { display: none; }

/* thumbnails from the maker's video, and vehicles with no image at all */
.pic, .thumb { position: relative; }
.vbadge { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; background: var(--sign); display: grid; place-items: center; }
.vbadge::after { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #000; margin-left: 3px; }
.thumb .vbadge, .tag .vbadge { width: 16px; height: 16px; left: 3px; bottom: 3px; }
.thumb .vbadge::after, .tag .vbadge::after { border-width: 4px 0 4px 6px; margin-left: 2px; }
.noimg { display: grid; place-items: end start; width: 100%; height: 100%; background: var(--black); padding: 16px; }
.noimg b { color: var(--sign); font: 800 26px/1 var(--sans); letter-spacing: -0.03em; }
.thumb .noimg, .tag .noimg { padding: 4px; }
.thumb .noimg b, .tag .noimg b { font-size: 9px; letter-spacing: 0; }
