/* JetPod — shared styles */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #0f1b2d;
  --muted: #5a6b82;
  --line: #dbe2ec;
  --accent: #2466b5;
  --accent-ink: #ffffff;
  --accent-soft: #e3effc;
  /* Brand (from the JetPod logo gradient) */
  --brand-1: #29a9e0;
  --brand-2: #2563b3;
  /* Illustrations */
  --art-line: #173a66;
  --art-glass: #cfe8fb;
  --art-rotor: rgba(41, 169, 224, .18);
  --art-wheel: #23344a;
  --art-wing: #9fd2f2;
  --art-speed: #b9d6f2;
  --art-band: linear-gradient(160deg, #e7f3fd 0%, #f6fbff 60%, #eaf2fb 100%);
  /* Hero scene */
  --hero-sky-1: #bfe3fb;
  --hero-sky-2: #f3f9ff;
  --hero-sun: #ffffff;
  --hero-cloud: rgba(255, 255, 255, .85);
  --hero-path: #2466b5;
  --hero-city: #c9dcef;
  --hero-window: #f3f9ff;
  /* Charts (validated categorical slots 1–3 + chrome) */
  --series-1: #257de0;
  --series-1-soft: #84b9f3;
  --series-2: #f47230;
  --series-3: #00b894;
  --grid: #e7ecf2;
  --baseline: #c2cad5;
  --ramp-0: #0f4a96; --ramp-1: #1b64be; --ramp-2: #257de0; --ramp-3: #519ced; --ramp-4: #84b9f3;
  --good: #137a4b;
  --warn: #a15c00;
  --bad: #b42318;
  --radius: 14px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 6px 24px rgba(15, 27, 45, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111c;
    --surface: #111b2a;
    --surface-2: #172436;
    --text: #e8eef7;
    --muted: #9bb0c9;
    --line: #23344a;
    --accent: #4aa3ff;
    --accent-ink: #04121f;
    --accent-soft: #12304f;
    --art-line: #cfe6fb;
    --art-glass: #1d4f80;
    --art-rotor: rgba(74, 163, 255, .16);
    --art-wheel: #0a111c;
    --art-wing: #2b6fb3;
    --art-speed: #2a4766;
    --art-band: linear-gradient(160deg, #13253b 0%, #111b2a 60%, #0f2036 100%);
    --hero-sky-1: #0c2540;
    --hero-sky-2: #142a44;
    --hero-sun: #3b86d1;
    --hero-cloud: rgba(140, 180, 225, .14);
    --hero-path: #4aa3ff;
    --hero-city: #0b1828;
    --hero-window: #f0b04a;
    --series-1: #338ced;
    --series-1-soft: #1b64be;
    --series-2: #e76624;
    --series-3: #00a888;
    --grid: #1f2f44;
    --baseline: #3a4d66;
    --good: #46c98a;
    --warn: #f0b04a;
    --bad: #ff7a6e;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); display: flex; align-items: center; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--muted); padding: .4rem .7rem; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }

/* Hero */
.hero { padding: 4rem 0 2.5rem; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.btn { display: inline-block; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 600; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* Cards & grids */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem;
}
.card .meta { color: var(--muted); font-size: .88rem; }
.card .spacer { flex: 1; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.stat b { display: block; font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Badges */
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.good { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.badge.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.badge.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.badge.accent { color: var(--accent); background: var(--accent-soft); }
.badges { display: flex; gap: .35rem; flex-wrap: wrap; }

/* Filters */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 1.25rem; }
.filters input, .filters select {
  font: inherit; padding: .55rem .75rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); min-width: 0;
}
.filters input { flex: 1 1 220px; }

/* Ranking */
.rank-list { display: flex; flex-direction: column; gap: .8rem; counter-reset: rank; }
.rank {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem;
}
.rank .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); text-align: center; }
.rank .scores { display: grid; grid-template-columns: repeat(3, auto); gap: .2rem 1rem; font-size: .85rem; color: var(--muted); text-align: right; }
.rank .scores b { color: var(--text); font-size: 1.05rem; }
.bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; width: 120px; }
.bar i { display: block; height: 100%; background: var(--accent); }
@media (max-width: 640px) {
  .rank { grid-template-columns: 40px 1fr; }
  .rank .scores { grid-column: 1 / -1; text-align: left; }
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--line); padding: .4rem 0; }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: .3rem .9rem; }
}

/* News */
.news-item { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.news-item h3 { margin-bottom: .3rem; }
.news-item p { color: var(--muted); margin: 0 0 .4rem; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: .2rem; } }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.article h2 { margin-top: 2.2rem; }
.article .byline { color: var(--muted); margin-bottom: 2rem; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: .4rem; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 1rem 0 1.5rem; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.spec span { display: block; color: var(--muted); font-size: .8rem; }
.spec b { font-size: 1.05rem; }

/* Newsletter */
.signup { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.signup input { flex: 1 1 240px; font: inherit; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.signup button { font: inherit; font-weight: 600; padding: .7rem 1.1rem; border-radius: 10px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .5rem; }
.note { color: var(--muted); font-size: .88rem; }

/* Footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; gap: 1.5rem; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Brand ---------- */
.brand img { height: 38px; width: auto; display: block; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { .logo-light { display: none !important; } .logo-dark { display: block !important; } }
.footer-brand img { height: 26px; width: auto; display: block; margin-bottom: .6rem; }

/* ---------- Hero with scene ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero-art { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-scene { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 2rem; } }
.page-hero { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; align-items: center; }
.page-hero .art-tile { border-radius: 20px; background: var(--art-band); border: 1px solid var(--line); padding: .6rem; }
@media (max-width: 760px) { .page-hero { grid-template-columns: 1fr; } .page-hero .art-tile { max-width: 260px; } }
.watermark { position: relative; }
.watermark::after { content: ""; position: absolute; right: -10px; top: -20px; width: 140px; height: 140px; background: url(brand/jetpod-icon.png) center/contain no-repeat; opacity: .07; pointer-events: none; }

/* ---------- Illustrations ---------- */
.art { display: block; width: 100%; height: auto; }
.card-art { margin: -1.2rem -1.2rem .4rem; background: var(--art-band); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; padding: .6rem 1.2rem .2rem; position: relative; }
.card-art .rank-chip { position: absolute; top: .7rem; right: .8rem; }
.rank .thumb { width: 120px; background: var(--art-band); border-radius: 10px; padding: 2px 4px; }
.rank { grid-template-columns: 48px 120px 1fr auto; }
@media (max-width: 760px) { .rank { grid-template-columns: 40px 1fr; } .rank .thumb { display: none; } }

/* ---------- Charts ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem .8rem; box-shadow: var(--shadow); }
.chart-card h3 { margin-bottom: .15rem; }
.chart-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-scroll { overflow-x: auto; }
.chart-wide { min-width: 640px; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .baseline { stroke: var(--baseline); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart .axis-title { fill: var(--muted); font-size: 12px; font-weight: 600; }
.chart .ylabel { fill: var(--text); font-size: 13px; }
.chart .vlabel { fill: var(--text); font-size: 12.5px; font-weight: 600; }
.chart .dlabel { fill: var(--text); font-size: 12.5px; font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.chart .sweet { fill: var(--accent-soft); opacity: .7; }
.chart [data-tip] { cursor: pointer; outline: none; }
.chart .dot:hover circle:last-child, .chart .dot:focus circle:last-child { r: 8.5; }
.chart .bar:hover path { opacity: .85; }
.chart-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: 1fr; } }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: .2rem 0 .6rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend i.seg { width: 18px; height: 8px; border-radius: 3px; }
.chart-tip { position: fixed; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .12s; max-width: 280px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem;
  font-size: .85rem; line-height: 1.45; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }

/* Certification meters */
.cert-row { display: grid; grid-template-columns: 210px 1fr 190px; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cert-row:last-of-type { border-bottom: 0; }
.cert-name span { display: block; }
.cert-track { display: flex; gap: 2px; }
.seg { flex: 1; height: 12px; border-radius: 3px; display: inline-block; }
.seg.done { background: var(--ramp-2, #257de0); }
.seg.now { background: repeating-linear-gradient(135deg, var(--series-1) 0 4px, var(--series-1-soft) 4px 8px); }
.seg.todo { background: var(--surface-2); }
.cert-track .seg { cursor: pointer; }
@media (max-width: 700px) { .cert-row { grid-template-columns: 1fr; gap: .4rem; } }

/* Status pipeline */
.pipeline { display: flex; gap: 2px; border-radius: 10px; overflow: hidden; }
.pipe-seg { min-width: 84px; padding: .7rem .8rem; color: #fff; cursor: pointer; display: flex; flex-direction: column; }
.pipe-seg b { font-size: 1.4rem; line-height: 1.1; }
.pipe-seg span { font-size: .8rem; }
.pipe-seg.s0 { background: #0f4a96; } .pipe-seg.s1 { background: #1b64be; } .pipe-seg.s2 { background: #257de0; }
.pipe-seg.s3 { background: #519ced; color: #0b0b0b; } .pipe-seg.s4 { background: #84b9f3; color: #0b0b0b; }
.pipe-seg:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .pipeline { flex-wrap: wrap; } }

/* Article hero */
.article-hero .art { max-height: 260px; margin: 0 auto; }
.article-hero { border-radius: 20px; background: var(--art-band); border: 1px solid var(--line); padding: 1rem 2rem; margin: 1rem 0 1.5rem; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: center; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Photos (copyright line always sits BELOW the image) ---------- */
.photo { margin: 0; }
.photo-frame { position: relative; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.copyright { display: block; font-size: .72rem; line-height: 1.4; color: var(--muted); margin-top: .35rem; }
.card-photo { margin: -1.2rem -1.2rem .3rem; }
.card-photo .photo-frame { aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; }
.card-photo .copyright { padding: 0 1.2rem; }
.card:hover .card-photo img { transform: scale(1.03); }
.photo-hero { position: relative; margin: 1rem 0 1.5rem; }
.photo-hero img { width: 100%; display: block; max-height: 520px; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); }
.photo-hero .photo-credit, .gallery .photo-credit { display: block; font-size: .72rem; color: var(--muted); margin-top: .35rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 1.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.photo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1rem; }
.lib-photo .photo-frame { aspect-ratio: 4 / 3; }
button.btn { font: inherit; cursor: pointer; }
.linkish { all: unset; cursor: pointer; color: var(--accent); }
.linkish:hover { text-decoration: underline; }

/* Hero photo mosaic */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 8px; height: 420px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 14px; display: block; }
.mosaic a.m0 { grid-row: 1 / 4; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic span { position: absolute; left: .6rem; bottom: .5rem; color: #fff; font-weight: 600; font-size: .85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
@media (max-width: 860px) { .mosaic { height: 320px; } }

/* News with photos */
.news-item.has-img { grid-template-columns: 220px 1fr; align-items: start; }
.news-item time { display: block; margin-bottom: .2rem; }
.news-photo .photo-frame { aspect-ratio: 16 / 10; }
.feature-link { margin: 0 0 .4rem; font-weight: 600; }
@media (max-width: 560px) { .news-item.has-img { grid-template-columns: 1fr; } }

/* ---------- Rankings: podium + cards ---------- */
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.podium { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.podium.p1 { border-color: color-mix(in srgb, #d9a400 55%, var(--line)); box-shadow: 0 10px 40px rgba(217, 164, 0, .15); }
.podium-photo .photo-frame { aspect-ratio: 4 / 3; border-radius: 0; }
.podium.p1 .podium-photo .photo-frame { aspect-ratio: 1 / 1; }
.podium-photo .copyright { padding: 0 1rem; }
.podium-body { padding: .6rem 1rem 1rem; display: flex; flex-direction: column; gap: .6rem; }
.podium-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.podium-head h3 { font-size: 1.25rem; margin: 0; }
.podium.p1 .podium-head h3 { font-size: 1.45rem; }
@media (max-width: 900px) { .podium-grid { grid-template-columns: 1fr; } .podium.p1 .podium-photo .photo-frame { aspect-ratio: 16 / 10; } }
.rank-chip { position: absolute; left: .7rem; top: .7rem; font-weight: 800; font-size: 1rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(10, 17, 28, .78); color: #fff; backdrop-filter: blur(4px); }
.rank-chip.r1 { background: linear-gradient(135deg, #f7d154, #d9a400); color: #2b2000; font-size: 1.15rem; }
.rank-chip.r2 { background: linear-gradient(135deg, #eef1f5, #aab4c0); color: #1d2733; }
.rank-chip.r3 { background: linear-gradient(135deg, #f0b98a, #b8733d); color: #2a1404; }
.ring .ring-track { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.ring .ring-fill { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.ring text { fill: var(--text); font-weight: 800; font-size: 17px; }
.minibars { display: grid; gap: .35rem; font-size: .8rem; color: var(--muted); width: 100%; }
.minibars > div { display: grid; grid-template-columns: 82px 1fr 28px; align-items: center; gap: .5rem; }
.minibars b { color: var(--text); text-align: right; }
.minibars .bar { width: auto; }
.rank-links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; font-weight: 600; }
.rank-stack { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.2rem; }
.rank-card { display: grid; grid-template-columns: 240px 1fr 190px; gap: 1.2rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .9rem; box-shadow: var(--shadow); }
.rank-card:hover .photo-frame img, .podium:hover .photo-frame img { transform: scale(1.04); }
.rank-photo .photo-frame { aspect-ratio: 16 / 10; }
.art-frame { background: var(--art-band); display: flex; align-items: center; justify-content: center; }
.rank-body { display: flex; flex-direction: column; gap: .45rem; }
.rank-body h3 { margin: 0; }
.rank-body p { margin: 0; }
.rank-score { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
@media (max-width: 860px) { .rank-card { grid-template-columns: 1fr; } .rank-score { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; } }

/* Footer links */
.footer-links { display: flex; flex-direction: column; gap: .3rem; }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.video-tile { all: unset; box-sizing: border-box; cursor: pointer; display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.video-tile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s, transform .4s; }
.video-tile:hover img, .video-tile:focus-visible img { opacity: 1; transform: scale(1.03); }
.video-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.video-tile .play { position: absolute; left: 50%; top: 34%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.video-tile .play::after { content: ""; position: absolute; left: 20px; top: 15px; border-left: 16px solid #2466b5; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-tile .vt-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .65rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); font-size: .88rem; line-height: 1.35; }
.video-tile .vt-text b { display: block; }
.video-tile .vt-text span { opacity: .8; font-size: .78rem; }
.vlib-group { margin-bottom: 2rem; }
.vlib-group h3 { margin: 0; }
.video-modal { position: fixed; inset: 0; z-index: 100; background: rgba(4, 10, 20, .82); display: none; align-items: center; justify-content: center; padding: 16px; }
.video-modal.open { display: flex; }
.vm-box { width: min(1000px, 100%); background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.vm-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; }
.vm-close { font: inherit; font-size: 1.1rem; background: var(--surface-2); color: var(--text); border: 0; border-radius: 8px; width: 36px; height: 36px; cursor: pointer; }
.vm-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm-foot { padding: .6rem 1rem; }
@media (min-width: 901px) { .podium.p1 { order: 2; } .podium.p2 { order: 1; } .podium.p3 { order: 3; } }

/* Copyright lines: small, quiet, left-aligned under the photo */
.copyright, .photo-hero .photo-credit, .gallery .photo-credit, .mosaic-credit {
  font-size: .62rem !important; line-height: 1.3; color: var(--muted); opacity: .75;
  text-align: left; margin-top: .2rem; padding: 0 !important; letter-spacing: .01em;
}
.card-photo .copyright { padding: 0 .55rem !important; }
.card-photo { margin-bottom: .1rem; }

/* ---------- Buyer's guide ---------- */
.guide-section { scroll-margin-top: 80px; padding-top: .5rem; }
.finder { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.finder fieldset { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: .7rem .9rem .8rem; margin: 0; }
.finder legend { font-weight: 700; font-size: .85rem; padding: 0 .3rem; }
.finder label { display: flex; gap: .5rem; align-items: center; font-size: .92rem; padding: .2rem 0; cursor: pointer; }
.finder input { accent-color: var(--accent); }
.why { list-style: none; padding: 0; margin: .2rem 0; font-size: .88rem; }
.why .fit { color: var(--good); }
.why .miss { color: var(--muted); }
.finder-near { margin-top: 1rem; }
.finder-near summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-bottom: .8rem; }
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.2rem; align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.calc-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; color: var(--muted); }
.calc-form label:first-child { grid-column: 1 / -1; }
.calc-form input, .calc-form select { font: inherit; font-size: .95rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; }
.calc-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.calc-total span { color: var(--muted); font-size: .9rem; display: block; }
.calc-total b { font-size: 2.2rem; }
.calc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .8rem 0 1rem; }
.calc-kpis div { background: var(--surface-2); border-radius: 10px; padding: .6rem .7rem; }
.calc-kpis span { display: block; color: var(--muted); font-size: .78rem; }
.calc-bars { display: grid; gap: .4rem; font-size: .85rem; }
.cb { display: grid; grid-template-columns: 100px 1fr 90px; align-items: center; gap: .6rem; }
.cb b { text-align: right; font-variant-numeric: tabular-nums; }
.cb .bar { width: auto; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-form { grid-template-columns: 1fr; } .calc-kpis { grid-template-columns: 1fr; } }
.answer h3 { margin-top: .2rem; }
.checklist { padding-left: 1.3rem; display: grid; gap: .7rem; max-width: 820px; }
.checklist li { padding-left: .3rem; }
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 760px) { .answers { grid-template-columns: 1fr; } }
.answer .badge { align-self: flex-start; }
