:root {
  --red:     #DB1D1D;
  --cream:   #EFEDE5;
  --chevron: #F5E6D3;
  --ink:     #1A1A1A;
  --paper:   #FAFAF7;
  --muted:   #6B6B6B;

  --mono: 'Cascadia Code', 'Cascadia Mono', Consolas, 'Courier New', monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-w: 760px;
  --gap: 1.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px dashed var(--muted);
}

section:last-of-type { border-bottom: none; }

h1, h2, h3 {
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--ink);
}

h2 .hash {
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.4em;
}

p { margin: 0 0 1rem; }

a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover { border-bottom-color: var(--red); }

code, .pill {
  font-family: var(--mono);
  font-size: 0.92em;
}

.pill {
  display: inline-block;
  background: var(--cream);
  color: var(--red);
  padding: 0.18em 0.55em;
  border-radius: 3px;
  font-size: 0.9em;
}

/* ---------------- Section 1 — Hero ---------------- */

.hero {
  border-bottom: 1px dashed var(--muted);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}

.hero img {
  max-width: 320px;
  width: 70%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 14ch;
}

.hero-photo-slot {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.persona-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.08);
}

/* ---------------- Section 2 — What is this ---------------- */

.what p {
  font-size: 1.15rem;
  line-height: 1.55;
}

.what p + p { margin-top: 0.5rem; }

/* ---------------- Section 3 — On Stage ---------------- */

.on-stage .section-sub {
  color: var(--muted);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.bit-of-the-moment-label {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}

.bit-card {
  display: block;
  background: #0a0a0f;
  color: #e8e8e8;
  padding: 2rem 1.75rem;
  border-radius: 4px;
  border: 1px solid #2a2a32;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bit-card:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
}

.bit-card .bit-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #b8860b;
  text-transform: uppercase;
}

.bit-card .bit-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0.75rem 0 0.4rem;
  letter-spacing: 0.04em;
}

.bit-card .bit-title span { color: #d4af37; }

.bit-card .bit-tagline {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #d4af37;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bit-card .bit-blurb {
  color: #cccccc;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.bit-card .bit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bit-card .bit-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #333;
  color: #888;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.bit-grid-empty {
  margin-top: 2.5rem;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------------- Section 4 — The Viz is Goin' Off ---------------- */

.goin-off .section-sub {
  color: var(--muted);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.goin-off-empty {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.goin-off-more {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-align: right;
}

.goin-off-more a {
  color: var(--red);
}

/* ---------------- Section 5 — Who plays The Viz ---------------- */

.about p:nth-of-type(1) { font-size: 1.2rem; }
.about p:nth-of-type(2) { font-size: 1.05rem; }
.about p:nth-of-type(3) { font-size: 1rem; }
.about p:nth-of-type(4) {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.about-photo-slot {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}

.about .closer { font-size: 0.95rem; color: var(--muted); }
.about .closer a { color: var(--red); }

/* ---------------- Section 6 — Footer ---------------- */

footer {
  padding: 3.5rem 0 2.5rem;
  text-align: left;
}

footer h3 {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

footer h3 .hash {
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.4em;
}

.footer-divider {
  border: none;
  border-top: 1px dashed var(--muted);
  margin: 1.5rem 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--mono);
  line-height: 2.1;
}

.link-list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.link-list .dash {
  color: var(--muted);
  font-weight: 400;
}

.link-list .label {
  color: var(--ink);
  min-width: 7.5rem;
}

.link-list a.pill {
  background: var(--cream);
  color: var(--red);
  padding: 0.18em 0.55em;
  border-radius: 3px;
  border-bottom: none;
}

.link-list a.pill:hover {
  background: var(--red);
  color: var(--cream);
}

.colophon {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------------- Bit page ---------------- */

.bit-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bit-marquee {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px dashed var(--muted);
}

.bit-marquee .status-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.bit-marquee .status-tag.on-wax {
  color: var(--red);
  border-color: var(--red);
}

.bit-marquee h1 {
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.bit-marquee .hook {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.bit-marquee .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.bit-marquee .stack span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--muted);
  color: var(--muted);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.bit-demo {
  padding: 2.5rem 0;
  border-bottom: 1px dashed var(--muted);
}

.bit-demo .demo-caption {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bit-section {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px dashed var(--muted);
}

.bit-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.bit-footer {
  padding: 2.5rem 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
}

.bit-footer a { color: var(--red); }

/* ---------------- Responsive ---------------- */

@media (max-width: 540px) {
  body { font-size: 16px; }
  section, .bit-marquee, .bit-section { padding-left: 0; padding-right: 0; }
  .link-list .label { min-width: 6rem; }
}
