/* ═══════════════════════════════════════════════════
   TECMO BOWL × BOBA — Retro NES 8-bit Site Theme
   Self-contained: base styles + Tecmo overrides.
   ═══════════════════════════════════════════════════ */

:root {
  --teal:        #31C878;
  --teal-bright: #5FFFA3;
  --teal-dim:    #1F8650;
  --pink:        #D00000;
  --pink-dim:    #7a0000;
  --bg:          #121f20;
  --bg-card:     #19191e;
  --bg-surface:  #19191c;
  --bg-hover:    #19191d;
  --border:      #313131;
  --border-teal: #2a1f00;
  --text:        #ffffff;
  --text-dim:    #8a9a98;
  --text-muted:  #3a4a48;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; list-style: none; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,201,177,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  color: var(--text);
  min-height: 100vh;
  padding: 0;
}

/* ── Global scanline overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── Header ── */
header {
  border-bottom: 1px solid var(--border-teal);
  padding: 1.5rem 2.5rem;
  position: relative;
  background: var(--bg-surface);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,201,177,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}

header a { text-decoration: none; }

/* ── Wordmark ── */
h1 {
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-bright);
  text-shadow:
    0 0 40px rgba(0,240,208,0.4),
    0 0 80px rgba(0,201,177,0.2);
  line-height: 1;
}

h1 span {
  color: var(--text);
  font-weight: 400;
}

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 0;
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFB800;
  border-color: var(--border-teal);
  background: rgba(0,201,177,0.04);
}

.nav-link.active {
  color: var(--teal-bright);
  border-color: var(--teal-dim);
  background: rgba(0,201,177,0.08);
}

/* ── Main layout ── */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2.5rem 4rem;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-dim);
  margin-bottom: 0.75rem;
}

/* ── Set chips ── */
.set-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.set-chip {
  font-family: 'Press Start 2P', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  border-radius: 3px;
  padding: 0.3rem 0.75rem;
  color: var(--text-dim);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.set-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(0,240,208,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.set-chip:hover::after { transform: translateX(100%); }
.set-chip:hover {
  color: var(--teal-bright);
  border-color: var(--teal-dim);
}

.set-chip.active {
  color: var(--teal-bright);
  border-color: var(--teal);
  background: rgba(0,201,177,0.08);
  box-shadow: 0 0 12px rgba(0,201,177,0.3), inset 0 0 8px rgba(0,201,177,0.05);
}

/* ── Search panel ── */
.search-panel {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 220px;
}

label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--teal-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input {
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder { color: var(--text-muted); }

input:focus {
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 2px rgba(0,201,177,0.12);
}

button {
  align-self: flex-end;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--teal-bright);
  border: 1px solid var(--teal);
  padding: 0.6rem 1.6rem;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,201,177,0.15) 0%, rgba(0,201,177,0.05) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

button:hover::before { opacity: 1; }
button:hover {
  box-shadow: 0 0 16px rgba(0,201,177,0.35);
  color: #fff;
}

button:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}

button:disabled::before { display: none; }

/* ── Status line ── */
.status {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  min-height: 1.2em;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status.error { color: #c94040; }

/* ── Table ── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

thead tr { border-bottom: 1px solid var(--teal-dim); }

thead th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-family: 'Press Start 2P', monospace;
  font-weight: 500;
  font-size: 0.38rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dim);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.12s;
}

tbody tr:hover { background: var(--bg-card); }

td {
  padding: 0.55rem 0.75rem;
  vertical-align: top;
  color: var(--text);
}

td.mono {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Tag pills ── */
.tag {
  display: inline-block;
  background: rgb(176 176 176 / 12%);
  border: 1px solid var(--pink-dim);
  border-radius: 0;
  padding: 0.08rem 0.45rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
  margin: 0.1rem 0.1rem 0.1rem 0;
}

/* ── Autocomplete ── */
.autocomplete-wrap { position: relative; }

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  border-top: none;
  border-radius: 0 0 3px 3px;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
}

.autocomplete-option {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.autocomplete-option:hover,
.autocomplete-option.focused {
  background: var(--bg-hover);
  color: var(--teal-bright);
}

/* ── Links ── */
.ebay-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.ebay-link:hover { color: var(--teal-bright); }

.athlete-link {
  color: var(--teal-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.athlete-link:hover {
  color: var(--teal-bright);
  text-decoration: underline;
}

/* ── Sale price ── */
.sale-price { font-family: 'Oswald', sans-serif; font-size: 0.85rem; color: var(--teal-bright); white-space: nowrap; }
.sale-price.muted { color: var(--text-muted); }

/* ── Sortable headers ── */
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.sortable:hover { color: var(--teal-bright); }
th.sorted { color: var(--teal); }

/* ── Misc ── */
.top-chip { color: var(--pink) !important; border-color: var(--pink-dim) !important; }
.top-chip:hover, .top-chip.active { border-color: var(--pink) !important; box-shadow: 0 0 10px rgba(240,54,154,0.3) !important; }

.empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover { color: var(--teal-dim); }

/* ── eBay loading indicator ── */
.ebay-loading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dim);
  padding: 1.5rem 0;
}

.ebay-dots::after {
  content: '';
  animation: ebay-ellipsis 1.4s infinite;
}

@keyframes ebay-ellipsis {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ── eBay listings component ── */
.bin-section {
  margin-bottom: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  border-radius: 3px;
  overflow: hidden;
}

.bin-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-teal);
}

.bin-meta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-left: auto;
}

.bin-valuation {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-teal);
}

.bin-val-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bin-val-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.bin-val-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-bright);
}

.bin-listing {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

a.bin-listing-link {
  text-decoration: none;
  color: inherit;
}

.bin-listing-img {
  width: 50px;
  min-width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.bin-listing-img-empty { display: none; }

.bin-listing:last-of-type { border-bottom: none; }
.bin-listing:hover { background: var(--bg-hover); }

.bin-listing-title {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.bin-listing-condition {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bin-listing-price {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-bright);
  flex-shrink: 0;
}

.bin-listing-shipping {
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bin-shop-btn {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--teal-bright);
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.bin-shop-btn:hover { background: #fff; }

.bin-no-results {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 1.25rem 1.25rem;
}

.bin-affiliate {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

/* ── Inspirations by category component ── */
.insp-cat-section { margin-bottom: 2rem; }

.insp-cat-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-teal);
}

.insp-cat-count {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.insp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
}

.insp-card {
  background: var(--bg);
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.12s;
  position: relative;
  overflow: hidden;
}

.insp-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--teal-dim);
  opacity: 0;
  transition: opacity 0.15s;
}

.insp-card:hover { background: var(--bg-card); }
.insp-card:hover::before { opacity: 1; }

.insp-card-name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insp-card:hover .insp-card-name { color: var(--teal-bright); }

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.38rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pagination button {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.38rem;
  padding: 0.3rem 0.9rem;
  align-self: auto;
  border-radius: 0;
  border-color: var(--border-teal);
  color: var(--text-dim);
}

.pagination button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal-bright);
}

/* ── CTA buttons ── */
.cta-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.7rem 1.8rem;
  border-radius: 0;
  border: 1px solid var(--teal);
  color: var(--bg);
  background: var(--teal-bright);
  box-shadow: 3px 3px 0 #7a5800;
  transition: transform 0.08s, box-shadow 0.08s;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #7a5800;
  background: #fff;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--teal-bright);
  box-shadow: 3px 3px 0 #7a5800;
}

.cta-btn-secondary:hover {
  background: rgba(0,201,177,0.08);
  color: #fff;
}

/* ── Site search ── */
.site-search {
  position: relative;
  flex: 1;
  max-width: 280px;
  min-width: 140px;
}

.site-search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  color: var(--text);
  padding: 0.42rem 0.85rem;
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-search-input::placeholder { color: var(--text-muted); }

.site-search-input:focus {
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 2px rgba(0,201,177,0.12);
}

.site-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  border-radius: 3px;
  z-index: 500;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.site-search-dropdown.open { display: block; }

.ss-result {
  display: block;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.ss-result:last-child { border-bottom: none; }
.ss-result:hover { background: var(--bg-hover); }
.ss-result.focused {
  background: rgba(49, 200, 120, 0.15);
  box-shadow: inset 3px 0 0 var(--teal-bright);
}

.ss-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.ss-type {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.05rem 0.35rem;
  border-radius: 2px;
  flex-shrink: 0;
}

.ss-type-set    { background: rgba(0,201,177,0.15);   color: var(--teal-bright); }
.ss-type-player { background: rgba(240,54,154,0.15);  color: var(--pink); }
.ss-type-card   { background: rgba(255,255,255,0.06); color: var(--text-dim); }

.ss-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-empty {
  padding: 0.75rem 0.85rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ── Homepage ── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
}

.hero { min-width: 0; min-height: 460px; }

.hero-eyebrow {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Press Start 2P', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--teal-bright);
  text-shadow: 0 0 40px rgba(0,240,208,0.3);
}

.hero-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.7rem 1.8rem;
  border-radius: 0;
  border: 1px solid var(--teal);
  color: var(--bg);
  background: var(--teal-bright);
  box-shadow: 3px 3px 0 #7a5800;
  transition: transform 0.08s, box-shadow 0.08s;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #7a5800;
  background: #fff;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--teal-bright);
  box-shadow: 3px 3px 0 #7a5800;
}

.cta-btn-secondary:hover {
  background: rgba(0,201,177,0.08);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-bright);
  line-height: 1;
  text-shadow: 0 0 24px rgba(0,240,208,0.25);
}

.hero-stat-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── Timeline ── */
.timeline-section {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .timeline-section { grid-template-columns: 1fr 380px; }
}

@media (max-width: 900px) {
  .timeline-section { grid-template-columns: 1fr; }
}

.timeline-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-bottom: 2rem;
}

.timeline { max-width: 640px; }

.tl-year-block { margin-bottom: 0.5rem; }

.tl-year-block + .tl-year-block { margin-top: 1.5rem; }

.tl-year-label {
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: 0.5rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.tl-entry {
  display: flex;
  align-items: stretch;
  min-height: 3.75rem;
}

.tl-stem-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1.5rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.tl-dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--teal-dim);
  flex-shrink: 0;
  margin-top: 1.75rem;
}

.tl-stem {
  flex: 1;
  width: 1px;
  background: var(--border-teal);
  margin-top: 0.3rem;
}

.tl-entry:last-child .tl-stem {
  background: linear-gradient(to bottom, var(--border-teal), transparent);
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  padding-top: 0.1rem;
}

.tl-date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.tl-connector {
  flex: 1;
  height: 1px;
  background: var(--text-muted);
}

.tl-set-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tl-set-link:hover { color: var(--teal-bright); }

.tl-card-count {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ── Blog widget ── */
.blog-widget {
  border: 1px solid var(--border-teal);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-surface);
}

.blog-widget-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-teal);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.blog-widget-title {
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-bright);
}

.blog-post {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

.blog-post:last-of-type { border-bottom: none; }
.blog-post:hover { background: var(--bg-hover); }

.blog-post-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
  transition: color 0.15s;
}

.blog-post-title:hover { color: var(--teal-bright); }

.blog-post-summary {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

.blog-post-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-post-link:hover { color: var(--teal-bright); }

.blog-widget-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-teal);
  text-align: right;
}

.blog-read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-read-more:hover { color: var(--teal-bright); }

/* ── Hero slideshow ── */
.hero-slide {
  display: none;
  position: relative;
  overflow: hidden;
  min-height: inherit;
  animation: hero-fadein 0.4s ease;
}

.hero-slide--active { display: block; }

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.slide-overlay {
  position: absolute;
  inset: 0;
}
.slide-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
}
.slide-content--over-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.slide-footer {
  margin-top: 1.5rem;
}
.slide-footer--end {
  margin-top: auto;
  align-self: flex-end;
}

.hero-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  border: 2px solid var(--teal-dim);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
  align-self: auto;
  font-size: 0;
}

.hero-dot--active {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}

.hero-dot:hover:not(.hero-dot--active) { border-color: var(--teal); }
