/* SeventiesGuy — site styles
   Dark, warm near-black ground ("old garage at night") with the logo's rust and gold,
   and the 5-colour 70s stripe as the signature element. */
:root {
  /* brand */
  --rust: #b8301b;
  --rust-deep: #9f2615;
  --rust-dark: #5e150a;
  --gold: #ffbd11;
  --gold-soft: #ffd66b;
  --orange: #d9661f;
  --avocado: #6b7a2a;
  --teal: #2a8a86;

  /* black ground, brown only in header and footer */
  --bg: #000000;          /* page */
  --bg-deep: #000000;     /* inputs, dark sections */
  --brown: #1b120b;       /* header and footer */
  --brown-line: #33241a;  /* rules inside header and footer */
  --surface: #121110;     /* cards and panels */
  --surface-2: #1d1b19;   /* tiles inside panels */
  --line: #2b2825;        /* borders and rules */
  --fg: #f3e6cc;          /* body text */
  --fg-strong: #fff6e2;   /* headings */
  --muted: #b5a387;       /* secondary text */
  --ink: #1a120c;         /* text on gold */

  --display: 'Fraunces', 'Cooper Black', Georgia, serif;
  --text: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --wrap-text: 720px;
  --radius: 10px;
  --radius-lg: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.65 var(--text);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-weight: 900;
  line-height: 1.08;
  color: var(--fg-strong);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--gold); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; font-variation-settings: 'SOFT' 100, 'opsz' 36; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-text { max-width: calc(var(--wrap-text) + 40px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- 70s stripes, the signature element */
.stripes { display: flex; flex-direction: column; }
.stripes i { display: block; height: 5px; }
.stripes i:nth-child(1) { background: var(--rust-deep); }
.stripes i:nth-child(2) { background: var(--orange); }
.stripes i:nth-child(3) { background: var(--gold); }
.stripes i:nth-child(4) { background: var(--avocado); }
.stripes i:nth-child(5) { background: #1e6b68; }
.stripes-hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.stripes-hero i { height: 12px; }
.stripes-footer i { height: 8px; }

/* ---------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .72em 1.25em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--rust-deep); }
.btn-gold:hover { color: var(--ink); box-shadow: 0 4px 0 var(--rust-deep); }
.btn-gold:active { box-shadow: 0 1px 0 var(--rust-deep); }
.btn-red { background: var(--rust); color: #fff; box-shadow: 0 3px 0 var(--rust-dark); }
.btn-red:hover { color: #fff; background: var(--rust-deep); box-shadow: 0 4px 0 var(--rust-dark); }
.btn-red:active { box-shadow: 0 1px 0 var(--rust-dark); }
.btn-light, .btn-ghost { background: transparent; color: var(--fg-strong); border-color: var(--fg); }
.btn-light:hover, .btn-ghost:hover { color: var(--ink); background: var(--fg); }
.btn-big { font-size: 1.125rem; padding: .85em 1.6em; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 600; }

/* ---------- Header */
.site-header { background: var(--brown); position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { margin: 8px 0 -26px; flex-shrink: 0; position: relative; z-index: 3; }
.brand img { width: 108px; height: auto; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  color: var(--fg); text-decoration: none; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}
.site-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.site-nav a[aria-current] { background: var(--gold); color: var(--ink); }
.site-nav .nav-yt { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; border: 2px solid var(--brown-line); }
.site-nav .nav-yt svg { color: #ff4b3a; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .header-inner { min-height: 64px; }
  .brand img { width: 84px; }
  .brand { margin-bottom: -20px; }
  .nav-toggle {
    display: inline-block; margin-left: auto;
    background: var(--gold); color: var(--ink); border: 0;
    font: 600 .95rem var(--text); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--brown); flex-direction: column; align-items: stretch;
    padding: 30px 20px 20px; gap: 2px; box-shadow: 0 16px 32px rgba(0,0,0,.6);
    border-bottom: 1px solid var(--brown-line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.1rem; }
  .site-nav .nav-yt { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.05) 80%), linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 45%); }
.hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 88px; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  line-height: .98;
  color: var(--gold);
  text-shadow: 0 4px 0 var(--rust-deep), 0 7px 0 #000;
  margin-bottom: .35em;
}
.hero-sub { max-width: 46ch; color: var(--fg); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
@media (max-width: 700px) {
  .hero { min-height: 640px; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.05) 100%); }
  .hero-img { object-position: 60% 30%; }
}

/* ---------- Sections */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 64px; }
.section-gold { background: var(--gold); color: var(--ink); }
.section-gold h2, .section-gold .section-intro, .section-gold .text-link { color: var(--ink); }
.section-alt { background: var(--bg); border-top: 1px solid var(--line); }
.section-dark { background: var(--bg-deep); border-top: 1px solid var(--line); }
.section-dark h2 { color: var(--gold); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-intro { max-width: 60ch; margin-top: -8px; margin-bottom: 28px; }

.page-head { padding: 64px 0 24px; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { font-size: 1.15rem; max-width: 62ch; color: var(--muted); }
.page-head .updated { font-size: .95rem; }
.crumbs { font-size: .95rem; margin-bottom: .5em; color: var(--muted); }
.crumbs a { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.filters a { text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); color: var(--fg); font-weight: 600; font-size: .95rem; }
.filters a[aria-current], .filters a:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }

/* ---------- Post cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.post-grid-home { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; }
.post-grid-home .post-card-large { grid-row: span 2; }
@media (max-width: 860px) { .post-grid-home { grid-template-columns: 1fr; } .post-grid-home .post-card-large { grid-row: auto; } }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.post-card-large .post-card-img { aspect-ratio: 16 / 11; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card a:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { padding: 16px 4px 0; }
.post-card h3 { margin: .2em 0 .35em; transition: color .15s; }
.post-card-large h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-card a:hover h3 { color: var(--gold); }
.post-card-body p:last-child { color: var(--muted); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); margin: 0; }
.tag { display: inline-block; background: var(--rust); color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: .82rem; text-decoration: none; }
a.tag:hover { color: #fff; background: var(--rust-deep); }

/* ---------- Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); color: inherit; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 5px 0 var(--rust-deep); transition: transform .15s, box-shadow .15s; }
.section-gold .product-card a { box-shadow: 0 5px 0 var(--ink); }
.product-card a:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--rust-deep); }
.section-gold .product-card a:hover { box-shadow: 0 8px 0 var(--ink); }
.product-card-img { position: relative; aspect-ratio: 1; background: var(--bg-deep); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.kind { position: absolute; left: 12px; top: 12px; padding: 3px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.kind-digital { background: var(--gold); color: var(--ink); }
.kind-physical { background: var(--teal); color: #fff; }
.kind-merch { background: var(--orange); color: #fff; }
.product-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; color: var(--fg); }
.product-card-body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.product-card-body p { color: var(--muted); font-size: .97rem; }
.price-tag { margin: auto 0 0 !important; font-family: var(--display); font-weight: 900; font-size: 1.35rem; color: var(--gold) !important; }
.inline-product { max-width: 340px; margin: 2em 0; }

/* ---------- Toolbox */
.toolbox { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .toolbox { grid-template-columns: 1fr; gap: 24px; } }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; }
.tool-list li { border-top: 2px solid var(--line); }
.tool-list a { display: block; padding: 14px 0; text-decoration: none; color: inherit; }
.tool-list strong { display: block; font-family: var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 36; font-weight: 800; font-size: 1.15rem; color: var(--fg-strong); }
.tool-list span { display: block; color: var(--muted); font-size: .95rem; }
.tool-list a:hover strong { color: var(--gold); }
.tool-list-full { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* ---------- Channel block */
.channel { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .channel { grid-template-columns: 1fr; } }

/* ---------- YouTube embed */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin: 1.8em 0; }
.section-dark .yt { margin: 0; box-shadow: 0 0 0 3px var(--gold); }
.yt iframe, .yt-poster, .yt-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster img { object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt-poster:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--rust); border-radius: 14px; border: 3px solid var(--gold); }
.yt-play::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--gold); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }

/* ---------- Post */
.post-head { padding-top: 56px; }
.post-head h1 { margin: .35em 0 .3em; }
.post-lede { font-size: 1.25rem; color: var(--muted); max-width: 60ch; }
.post-hero { margin-top: 32px; }
.post-hero .yt { margin: 0; }
.post-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-body { padding-top: 40px; padding-bottom: 24px; font-size: 1.125rem; }
.post-body h2 { margin-top: 1.6em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol, .page-body ul, .page-body ol, .tool-notes ul, .tool-notes ol, .product-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-body li, .page-body li, .tool-notes li { margin-bottom: .35em; }
.post-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--gold); font-size: 1.2rem; }
.post-figure { margin: 2em 0; }
.post-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-figure figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.post-body code { background: var(--surface-2); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.post-body pre { background: var(--bg-deep); color: var(--fg); padding: 18px; border-radius: var(--radius); overflow-x: auto; }
.post-body hr { border: 0; height: 2px; background: var(--line); margin: 2.5em 0; }

.gear, .stats, .tip { margin: 2.2em 0; padding: 22px 24px; border-radius: var(--radius-lg); }
.gear { background: var(--surface); border: 2px solid var(--line); }
.gear h3, .stats h3, .tip h3 { margin-top: 0 !important; }
.gear ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.gear li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.gear li:first-child { border-top: 0; }
.gear li a { font-weight: 600; }
.gear li span { color: var(--muted); font-size: .97rem; }
.gear-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.stats { background: var(--surface); border-left: 6px solid var(--rust); }
.stats h3 { color: var(--gold); }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; }
.stats dt { font-size: .85rem; color: var(--muted); }
.stats dd { margin: 0; font-weight: 600; color: var(--fg-strong); }
.tip { background: var(--gold); color: var(--ink); }
.tip h3 { color: var(--ink); }
.tip a { color: var(--rust-dark); }
.tip ul { margin-bottom: 0; }
.tip p:last-child { margin-bottom: 0; }

.post-foot { padding-bottom: 64px; }
.post-cta { display: flex; gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); margin: 16px 0 40px; flex-wrap: wrap; }
.post-cta img { width: 220px; }
.post-cta p { margin-bottom: .6em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav a { display: block; text-decoration: none; padding: 16px 0; border-top: 2px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--fg-strong); line-height: 1.25; }
.post-nav a span { display: block; font-family: var(--text); font-weight: 600; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.post-nav a:hover { color: var(--gold); border-top-color: var(--gold); }
.post-nav .next { text-align: right; }

/* ---------- Shop */
.merch-teaser { display: flex; align-items: center; gap: 36px; background: var(--surface); border-radius: var(--radius-lg); padding: 32px; flex-wrap: wrap; }
.merch-teaser img { width: 220px; }
.merch-teaser h2 { color: var(--gold); }
.merch-teaser > div { flex: 1; min-width: 240px; }
.shop-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.shop-facts h3 { font-size: 1.15rem; margin-bottom: .3em; }
.shop-facts p { margin: 0; color: var(--muted); }

.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 28px; } }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; width: 76px; height: 76px; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.product-summary { font-size: 1.15rem; color: var(--muted); }
.product-price { font-family: var(--display); font-weight: 900; font-size: 2.2rem; color: var(--fg-strong); margin: .2em 0 .5em; }
.product-price span { font-family: var(--text); font-weight: 500; font-size: .9rem; color: var(--muted); margin-left: 10px; }
.buy { margin-bottom: 28px; }
.buy-note { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.badge-soon { display: inline-block; background: var(--surface-2); color: var(--gold); font-weight: 700; padding: 4px 14px; border-radius: 999px; border: 2px solid var(--gold); margin-bottom: 14px; }
.buy .badge-soon + .btn { display: flex; width: fit-content; }
.specs { margin: 0; border-top: 2px solid var(--gold); }
.specs div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; color: var(--muted); }
.specs dd { margin: 0; }
.product-body { padding-top: 48px; }

/* ---------- Tools */
.tool-panel { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 6px 0 var(--rust-deep); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
@media (max-width: 900px) { .tool-panel { grid-template-columns: 1fr; padding: 20px; } }
.tool-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-weight: 600; font-size: .95rem; color: var(--fg-strong); }
.field input, .field select, .field textarea {
  font: 500 1rem var(--text); color: var(--fg-strong);
  padding: 11px 12px; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--bg-deep); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field input[type=color] { padding: 3px; height: 46px; cursor: pointer; }
.field input[type=range] { padding: 0; border: 0; accent-color: var(--gold); background: transparent; height: 32px; }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }
.field-hint { font-size: .9rem; color: var(--muted); margin: 0; }
.segmented { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.segmented legend { width: 100%; margin-bottom: 6px; }
.segmented label { position: relative; display: inline-block; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--bg-deep); }
.segmented input { position: absolute; opacity: 0; }
.segmented label:has(input:checked) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.tool-result { min-width: 0; }
.result-lead { font-size: 1.1rem; }
.result-lead strong { color: var(--gold); }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.result-grid div { background: var(--bg-deep); border-radius: var(--radius); padding: 12px 14px; }
.result-grid span { display: block; font-size: .85rem; color: var(--muted); }
.result-grid strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--gold); line-height: 1.2; overflow-wrap: anywhere; }
.result-note { font-size: .93rem; color: var(--muted); }
.result-heading { margin-top: 1.2em; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .98rem; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.data-table thead th { border-bottom: 2px solid var(--gold); font-size: .88rem; color: var(--muted); }
.data-table tbody th { font-weight: 600; }
.data-table tr.hl { background: var(--gold); color: var(--ink); }
.tire-svg { width: 100%; max-width: 360px; color: var(--muted); }
.brick-canvas, .plate-canvas { width: 100%; height: auto; border-radius: var(--radius); background: #333; }
.plate-canvas { max-width: 420px; background: transparent; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.mix-bar { display: flex; height: 26px; border-radius: 999px; overflow: hidden; margin-bottom: 16px; background: var(--bg-deep); }
.mix-bar span:first-child { background: var(--rust); }
.mix-bar span:last-child { background: #cfc4b0; }
.mix-bar span { transition: flex-grow .3s ease; }
.meters { display: flex; flex-direction: column; gap: 10px; }
.meter { display: grid; grid-template-columns: 8.5em 1fr 3em; gap: 10px; align-items: center; font-size: .95rem; }
.meter-track { height: 14px; background: var(--bg-deep); border-radius: 999px; overflow: hidden; }
.meter-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--orange), var(--rust)); }
.meter strong { text-align: right; font-variant-numeric: tabular-nums; }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: .5em; }
.tool-notes { padding-top: 48px; }

/* ---------- Pages */
.page-with-image { display: grid; grid-template-columns: minmax(0, var(--wrap-text)) 1fr; gap: 56px; align-items: start; }
.page-image img { border-radius: var(--radius-lg); }
@media (max-width: 900px) { .page-with-image { grid-template-columns: 1fr; } }
.page-body h2 { margin-top: 1.4em; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .btn { align-self: flex-start; }
.contact-aside { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; color: var(--gold); min-height: 1.5em; }
.form-status.error { color: #ff8a73; }
.notfound { padding-bottom: 96px; }
.empty { color: var(--muted); }

/* ---------- Footer */
.site-footer { background: var(--brown); color: var(--fg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { width: 180px; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; color: var(--muted); }
.site-footer h2 { font-size: 1.15rem; color: var(--gold); margin-bottom: .7em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .btn-gold { color: var(--ink); text-decoration: none; }
.footer-legal { border-top: 1px solid var(--brown-line); padding-top: 20px; padding-bottom: 32px; font-size: .88rem; color: var(--muted); }
.footer-legal p { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--muted); }

/* ---------- Music */
.music-head .btn { margin-top: 8px; }
.album-list { display: flex; flex-direction: column; gap: 56px; }
.album { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.album:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.album:nth-child(even) .album-player { order: 2; }
@media (max-width: 860px) { .album, .album:nth-child(even) { grid-template-columns: 1fr; gap: 18px; } .album:nth-child(even) .album-player { order: 0; } }
.album .yt { margin: 0; box-shadow: 0 6px 0 var(--rust-deep); }
.album-num { color: var(--gold); font-weight: 600; margin-bottom: .2em; }
.album-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.album { align-items: start; }
.tracklist { list-style: none; padding: 0; margin: 0 0 1em; }
.tracklist li { border-bottom: 1px solid var(--line); }
.track { display: flex; align-items: baseline; gap: 12px; padding: 7px 6px; color: var(--fg); text-decoration: none; border-radius: 6px; }
.track:hover { background: var(--surface-2); color: var(--gold); }
.track-n { width: 1.6em; flex-shrink: 0; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.track-t { flex: 1; min-width: 0; }
.track time { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 12px; }
.track[aria-current="true"] { background: var(--gold); color: var(--ink); font-weight: 600; }
.track[aria-current="true"] .track-n, .track[aria-current="true"] time { color: var(--ink); }
.track[aria-current="true"] .track-n::before { content: "\25B6"; font-size: .75em; }
.track[aria-current="true"] .track-n { font-size: 0; }
.track[aria-current="true"] .track-n::before { font-size: .8rem; }
.album-num span { color: var(--muted); font-weight: 500; margin-left: 6px; }

/* ---------- Music: logo and story */
.band-logo { width: min(420px, 80vw); height: auto; }
.music-head h1 { margin-bottom: .2em; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 28px; } }
.story-text { max-width: 62ch; }
.story-figure { margin: 0; }
.story-figure img { width: 100%; border-radius: 6px; transform: rotate(-1.2deg); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.story-figure figcaption { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* ---------- Home: one door per section, each showing a single example */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 360px; gap: 20px; }
.door-wide { grid-column: span 2; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; grid-auto-rows: 320px; } .door-wide { grid-column: auto; } }
.door { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); color: var(--fg-strong); text-decoration: none; background: var(--surface); isolation: isolate; }
.door > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 75%); }
.door:hover > img { transform: scale(1.04); }
.door:hover { color: var(--fg-strong); }
.door-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.door-kind { margin: 0; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.door-blog .door-kind { background: var(--rust); color: #fff; }
.door-shop .door-kind { background: var(--gold); color: var(--ink); }
.door-tools .door-kind { background: var(--teal); color: #fff; }
.door-music .door-kind { background: var(--orange); color: #fff; }
.door h3 { margin: 4px 0 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--fg-strong); max-width: 24ch; }
.door-sub { margin: 0; color: var(--fg); max-width: 52ch; font-size: .98rem; }
.door-cta { margin-top: 8px; font-weight: 600; color: var(--gold); border-bottom: 2px solid currentColor; }
.door:hover .door-cta { color: var(--gold-soft); }
.door-logo { width: min(260px, 60vw); height: auto; filter: drop-shadow(0 3px 0 rgba(0,0,0,.7)); }
.door-tools > img { object-position: center top; }

/* Music intro: logo with the text beside it, then a stripe divider */
.music-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 48px; align-items: center; }
.music-intro h1 { margin: 0; }
.music-intro-text p { font-size: 1.2rem; color: var(--fg); max-width: 46ch; }
@media (max-width: 760px) { .music-intro { grid-template-columns: 1fr; } }
.stripes-divider { margin-top: 44px; border-radius: 999px; overflow: hidden; }
.stripes-divider i { height: 4px; }
.story-outro { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.15rem; color: var(--fg-strong); }

/* Posts: one column. Video, photos and text all share the same width. */
.post { --wrap-text: 820px; }

/* Hero video: same framing as the old photo, keep the cars centred */
.hero-video { object-position: 50% 55%; background: #000 url("../img/hero-poster.webp") center / cover no-repeat; }

/* Short looping clips inside posts: same width as photos, keep their own 16:9 */
.post-clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #000; }
