@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #0B0D0E;
  --panel: #16181A;
  --panel-line: #24272A;
  --ink: #EDEDE9;
  --muted: #8A8F94;
  --accent: #C81E3A;
  --focus: #E4A2AD;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body.bg-broadcast {
  background-image:
    linear-gradient(180deg, rgba(11,13,14,0.52) 0%, rgba(11,13,14,0.64) 45%, rgba(11,13,14,0.82) 100%),
    url('images/monitor-wall.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (min-width: 900px) {
  body.bg-broadcast {
    background-attachment: fixed;
  }
}

h1, h2, h3, nav, .label, button, .btn {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.01em;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ---------- Layout shell ---------- */

.frame {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

header.site-header {
  padding: 22px 0 0;
  position: relative;
}

.header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}

.wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .dot {
  color: var(--accent);
}

nav.primary {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

nav.primary a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-left: 14px;
}

nav.primary a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

nav.primary a.active {
  color: var(--ink);
}

nav.primary a.active::before {
  background: var(--accent);
  box-shadow: 0 0 6px 1px rgba(200, 30, 58, 0.7);
}

nav.primary a:hover {
  color: var(--ink);
}

/* Scrub bar signature element */
.scrub {
  position: relative;
  height: 2px;
  background: var(--panel-line);
  margin: 0 0 0;
}

.scrub .head {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px 1px rgba(200, 30, 58, 0.55);
}

.scrub .fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.35;
}

.scrub-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 6px 0 0;
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
}

.tag {
  font-size: 17px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(52px, 10vw, 96px);
  line-height: 0.92;
  margin: 0 0 8px;
  font-weight: 700;
}

.hero .role {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 36px;
}

.hero .role span {
  color: var(--ink);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #E23350;
  transform: translateY(-1px);
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--muted);
}

.contact-links a {
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.contact-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.contact-links img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  opacity: 0.75;
}

/* ---------- Section generic ---------- */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--panel-line);
}

.eyebrow {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.section h2 {
  font-size: clamp(32px, 5vw, 44px);
  margin: 0 0 30px;
  font-weight: 700;
}

/* ---------- About: era timeline ---------- */

.bio-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 10px;
}

.bio-top img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(15%);
  border: 1px solid var(--panel-line);
}

.bio-top p {
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}

.era {
  padding: 34px 0;
  border-top: 1px solid var(--panel-line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}

.era-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 4px;
}

.era-time .label-line {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Barlow Condensed', sans-serif;
}

.era p {
  margin: 0 0 14px;
  font-size: 17px;
}

.era p:last-child { margin-bottom: 0; }

blockquote {
  margin: 20px 0;
  padding: 16px 0 16px 20px;
  border-left: 2px solid var(--accent);
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.credentials {
  margin-top: 10px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.credentials strong { color: var(--ink); }

/* ---------- Video gallery ---------- */

.gallery-frame {
  position: relative;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  padding: 10px;
  border-radius: 3px;
}

.gallery-frame .bezel-label {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  padding: 2px 6px 10px;
}

.gallery-frame .rec {
  color: var(--accent);
}

.gallery-frame .rec::before {
  content: '● ';
}

.embed-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-fallback {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}

.gallery-fallback a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  text-decoration: none;
}

/* ---------- Footer ---------- */

footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--panel-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

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

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

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

@media (max-width: 640px) {
  .bio-top, .era {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bio-top img { width: 160px; }
  .hero { padding: 60px 0 50px; }
  nav.primary { gap: 18px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
