/* decodethis.net: DecodeThis's showroom look (decodethis.com), the app's too. Light and dark follow the visitor's setting; no scripts. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/Inter_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/Inter_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("/fonts/Inter_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/fonts/Archivo_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/Archivo_900Black.ttf") format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/fonts/JetBrainsMono_500Medium.ttf") format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("/fonts/JetBrainsMono_700Bold.ttf") format("truetype"); }

:root {
  /* The brand red (nav bar, buttons) and the showroom's maroon bands, with what sits on them. */
  --brand: #C42010; --brand-deep: #7A1409; --maroon: #9E1C0C; --maroon-deep: #5F0F06;
  --band: linear-gradient(125deg, var(--maroon), var(--maroon-deep));
  --on-band: #FFFFFF; --on-band-muted: #FFCFC7; --band-raised: rgba(0, 0, 0, .22); --band-line: rgba(255, 255, 255, .18);
  --gold: #FFD591; --gold-deep: #C9821A;
  /* The footer and other near-black surfaces. */
  --ink: #171B22; --on-ink: #F5F1EC; --on-ink-muted: #ABA29A; --ink-line: #2C3038; --ink-raised: #232730;
  --bg: #F4F2EF; --surface: #FFFFFF; --fg: #171B22; --muted: #5F6774; --rule: #E7E2DA; --link: #9E1C0C; --focus: #9E1C0C;
  --danger: #DC2626; --warning: #B45309; --information: #0E7490; --advice: #7C3AED; --price: #0F766E; --verified: #15803D;
  --font-display: "Archivo", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --band: linear-gradient(125deg, var(--maroon), #4A0B04);
    --bg: #141113; --surface: #1F1A1B; --fg: #F5F1EC; --muted: #ABA29A; --rule: #342C2C; --link: #FF9C8A; --focus: #FFD591;
    --danger: #F87171; --warning: #FBBF24; --information: #22D3EE; --advice: #A78BFA; --price: #2DD4BF; --verified: #4ADE80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer */
.site-head { background: var(--brand); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { .site-head { background: var(--brand-deep); } }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { display: block; height: 33px; width: auto; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #FFD9D2; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .12); }
.nav a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -2px 0 #FFFFFF; border-radius: 0; }
.site-head :focus-visible { outline-color: #FFFFFF; }
.admin-mark { background: var(--gold); color: var(--maroon-deep); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.site-foot { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; margin-top: 0; }
.site-foot .wrap { padding-block: 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.site-foot .logo { height: 28px; margin-bottom: 10px; }
.site-foot p { margin: 0; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot nav a { color: var(--on-ink); text-decoration: none; font-weight: 600; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--ink-line); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* Type */
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

/* Home: hero */
.hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 56px 64px; position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 34ch; margin: 0 0 28px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--maroon-deep); font-weight: 800; padding: 14px 20px; border-radius: 14px; box-shadow: 0 4px 0 var(--gold-deep); font-family: var(--font-display); font-size: 17px; }
.soon small { font-family: var(--font-body); font-weight: 600; font-size: 13px; opacity: .75; }
.soon.sm { padding: 10px 14px; font-size: 14px; box-shadow: 0 3px 0 var(--gold-deep); }
.hero .fine { margin-top: 18px; font-size: 13px; color: var(--on-band-muted); }
.phone { width: 100%; max-width: 300px; justify-self: center; background: #F4F2EF; color: #171B22; border: 8px solid #1F2128; border-radius: 38px; padding: 18px 16px 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.phone .vin { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: #5F6774; }
.phone h3 { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1.1; margin: 4px 0 10px; }
.phone .lbl { font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin: 12px 0 6px; }
.phone .who { display: flex; align-items: center; gap: 8px; }
.phone .who img { width: 30px; height: 30px; border-radius: 50%; }
.phone .who b { font-size: 14px; }
.phone .who span { font-size: 11px; color: #5F6774; display: block; }
.phone .mcard { position: relative; background: #FFFFFF; border: 2px solid var(--c); border-radius: 12px; padding: 8px 9px 8px 16px; font-size: 12.5px; line-height: 1.35; margin-bottom: 7px; }
.phone .mcard svg { position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; }
.c-danger { --c: #DC2626; } .c-warning { --c: #B45309; } .c-information { --c: #0E7490; } .c-advice { --c: #7C3AED; } .c-price { --c: #0F766E; }

/* Home: sections */
section.block { padding-block: 64px; border-top: 1px solid var(--rule); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; min-width: 0; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #FFFFFF; font-weight: 800; font-family: var(--font-display); margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.experts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expert { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; min-width: 0; }
.expert img { width: 72px; height: 72px; border-radius: 50%; display: block; margin-bottom: 12px; background: var(--ink); }
.expert b { display: block; font-size: 17px; }
.expert .role { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.expert p { margin: 0; font-size: 14px; }

/* Content pages */
.page-head { background: var(--band); color: var(--on-band); }
.page-head .wrap { padding-block: 40px 44px; }
.page-head h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin: 0 0 8px; }
.page-head p { margin: 0; color: var(--on-band-muted); }
.prose { max-width: 68ch; padding-block: 36px 64px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose.wide { max-width: 1080px; }
/* A prose block that is also the page's wrap keeps the wrap's width and left edge, so it lines up with the page head;
   its reading measure applies to what's inside. */
.wrap.prose { max-width: 1080px; }
.wrap.prose:not(.wide) > * { max-width: 68ch; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .4rem 0; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.toc { position: sticky; top: 16px; align-self: start; padding-block: 36px; font-size: 14px; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 5px 0; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
.help { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 20px; min-width: 0; }
.help h3 { margin: 0 0 6px; font-size: 17px; }
.help p { margin: 0; font-size: 15px; color: var(--muted); }
.email { font-family: var(--font-mono); font-size: 15px; background: var(--surface); padding: 2px 8px; border-radius: 6px; user-select: all; }
details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Shared car page */
.car-hero { background: var(--band); color: var(--on-band); }
.car-hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; padding-block: 32px 40px; align-items: start; }
.gallery { display: grid; gap: 8px; min-width: 0; }
.gallery .main { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--band-raised); }
.gallery .main img, .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--band-raised); }
.car-id { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.car-id h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.02; margin: 0; }
.car-id .headline { font-size: 18px; color: rgba(255, 255, 255, .9); margin: 0; }
.vinrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vinrow code { font-family: var(--font-mono); font-weight: 700; font-size: 16px; letter-spacing: .14em; background: var(--band-raised); border: 1px solid var(--band-line); padding: 6px 10px; border-radius: 9px; }
.vinrow span { font-size: 13px; color: var(--on-band-muted); }
.callbox { background: var(--band-raised); border: 1px solid var(--band-line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.callbox .lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-band-muted); }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 18px; }
.stars .off { opacity: .25; }
.callbox .stars { color: var(--gold); }
.callbox q { font-size: 17px; }
.facts-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.facts-line b { color: var(--gold); font-weight: 600; }
.car-body .wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; padding-block: 40px 56px; align-items: start; }
.car-body h2 { font-size: 22px; margin: 0 0 14px; }
table.facts { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--rule); }
table.facts th, table.facts td { text-align: left; padding: 10px 12px; vertical-align: top; }
table.facts th { width: 38%; font-weight: 600; }
table.facts tr:nth-child(odd) { background: var(--surface); }
.take { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; display: grid; gap: 10px; margin-bottom: 14px; }
.take .who { display: flex; gap: 10px; align-items: center; }
.take .who img { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.take .who b { display: block; }
.take .who span { font-size: 13px; color: var(--muted); }
.take .hl { font-weight: 600; margin: 0; }
.wcard { position: relative; background: var(--surface); border: 2px solid var(--c); border-radius: 12px; padding: 9px 10px 9px 20px; font-size: 14.5px; line-height: 1.4; }
.wcard svg { position: absolute; left: -11px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; }
.wcard .src { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.wcard .src a { color: var(--muted); }
.take .more { font-size: 14px; color: var(--muted); margin: 0; }
.getapp { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 16px; }
.getapp p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.pagefoot { border-top: 1px solid var(--rule); padding-block: 22px 8px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* Forms (report, admin) */
form.stack { display: grid; gap: 14px; max-width: 32rem; }
label { font-weight: 600; display: grid; gap: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea, select {
  font: inherit; color: var(--fg); background: var(--bg); border: 2px solid var(--rule); border-radius: 12px; padding: 10px 12px; min-height: 44px; width: 100%;
}
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 600; margin-bottom: 6px; }
.radio { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.btn { font: inherit; font-weight: 800; border: 1px solid var(--brand); border-radius: 12px; min-height: 44px; padding: 10px 18px; cursor: pointer; background: var(--brand); color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; }
.btn.secondary { background: var(--surface); color: var(--fg); border-color: var(--rule); }
/* On a maroon band a red button would barely show: gold, as for the hero's App Store badge. */
.featured .btn, .hero .btn, .car-hero .btn, .page-head .btn { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #FFFFFF; }
.notice { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; }
.error { color: var(--danger); font-weight: 600; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
/* A table too wide for a phone scrolls in its own box, not the page. */
.table-scroll { overflow-x: auto; }
.table-scroll table.list { min-width: 560px; }
code { overflow-wrap: break-word; }
table.list input[type="number"] { min-width: 6.5rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }

@media (max-width: 860px) {
  .hero .wrap, .car-hero .wrap, .car-body .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 40px 48px; }
  .phone { max-width: 280px; }
  .steps, .help-grid { grid-template-columns: 1fr; }
  .experts { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; padding-block: 24px 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .experts { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; font-size: 14px; }
}
.notice.draft { margin: 20px 0 0; border: 2px dashed var(--warning); }

/* Finding icons on shared pages: the app's card icons, colored by theme (solid when verified, outline otherwise). */
:root { --on-solid: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root { --on-solid: #1F1A1B; } }
.k-danger { --c: var(--danger); }
.k-warning { --c: var(--warning); }
.k-danger .mk { color: var(--danger); }
.k-warning .mk { color: var(--warning); }
.mk .disc { stroke: currentColor; stroke-width: 2; }
.mk.solid .disc { fill: currentColor; }
.mk.outline .disc { fill: var(--surface); }
.mk .glyph { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mk.solid .glyph { stroke: var(--on-solid); }
.mk .dot { fill: currentColor; }
.mk.solid .dot { fill: var(--on-solid); }

/* Admin */
.admin-nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 16px; }
.admin-nav form { margin-left: auto; }
.admin-nav a[aria-current="page"] { font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }
.status { font-weight: 800; }

/* Events (spec events-and-featured-car §5) */
.crumbs { font-size: 14px; color: var(--on-band-muted); margin-bottom: 10px; min-height: 1em; }
.crumbs a { color: var(--on-band); text-decoration: none; font-weight: 600; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--on-band-muted); margin-top: 10px; font-variant-numeric: tabular-nums; }
.ev-meta b { color: var(--gold); }
.org-group { padding-top: 28px; }
.org-group h2 { font-size: 22px; margin: 0; }
.org-group h2 a { color: inherit; text-decoration: none; }
.events { display: grid; gap: 12px; padding-block: 16px 28px; }
.event-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: inherit; }
.event-row:hover { border-color: var(--muted); }
.event-row h3 { margin: 0 0 2px; font-size: 18px; }
.event-row p { margin: 0; color: var(--muted); font-size: 14px; }
.datebox { background: var(--ink); color: var(--on-ink); border-radius: 12px; padding: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.datebox b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--gold); }
.datebox span { font-size: 12px; color: var(--on-ink-muted); }
.livebadge { display: inline-block; background: var(--danger); color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 5px; margin-left: 6px; vertical-align: 2px; }
.count { font-weight: 600; white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-block: 24px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; background: var(--surface); color: var(--fg); border: 1px solid var(--rule); padding: 8px 14px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 24px; }
.carcard { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; background: var(--surface); }
.carcard:hover { border-color: var(--muted); }
.carcard .carpic { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.carcard .carpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carcard .lot { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.carcard .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.carcard h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.carcard p { margin: 0; font-size: 14px; color: var(--muted); }
.carcard .meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.carcard .meta .stars { font-size: 14px; }
.carcard .price { font-weight: 600; }
.carcard .no-price { color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 24px; }
.empty { color: var(--muted); padding-block: 24px; }
.affil { font-size: 13px; color: var(--muted); padding-bottom: 32px; }
.seen-at { margin: 0 0 12px; color: var(--on-band-muted); }
.seen-at a { color: var(--on-band); font-weight: 600; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } .event-row { grid-template-columns: 90px 1fr; } .event-row .count { grid-column: 2; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* Home: Featured Car and At the auctions (spec events-and-featured-car §5) */
.featured { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 20px; overflow: hidden; background: var(--band); color: var(--on-band); }
.featured .photo { position: relative; min-height: 300px; background: var(--band-raised); }
.featured .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .photo .tag { position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--gold); color: var(--maroon-deep); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.featured .copy { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.featured .week { font-size: 13px; color: var(--on-band-muted); }
.featured .week a { color: var(--on-band); }
.featured h3 { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1.05; margin: 0; }
.featured p { margin: 0; color: var(--on-band-muted); }
.featured .why { display: flex; gap: 8px; flex-wrap: wrap; }
.featured .why span { border: 1px solid var(--band-line); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.featured .links { display: flex; gap: 16px; align-items: center; margin-top: auto; flex-wrap: wrap; }
.featured .ink-link { color: var(--on-band); font-weight: 600; }
.featured .by { font-size: 12px; color: var(--on-band-muted); }
.home-events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.home-events a { text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; display: grid; gap: 4px; min-width: 0; }
.home-events b { font-size: 17px; }
.home-events span { color: var(--muted); font-size: 14px; }
.home-events .n { color: var(--fg); font-weight: 600; }
.past-pick { display: grid; gap: 8px; align-content: start; }
.past-pick .week { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.past-pick .writeup { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured .photo { min-height: 220px; } .home-events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-events { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-weight: 400; font-size: 13px; }
tr.pick td { background: var(--surface); }
/* In dark mode the page is near-black itself: the date boxes need their own background to show. */
@media (prefers-color-scheme: dark) {
  .datebox { background: #2A2324; }
}
