/* Bear Reacts — cinematic dark with one glowing record (inspired by georgedo.com),
   in the logo's lemon yellow and olive. */
:root {
  --bg: #070a05;
  --bg-2: #0e1309;
  --panel: rgba(20, 26, 14, 0.72);
  --line: rgba(241, 240, 74, 0.16);
  --yellow: #f1f04a;
  --lime: #a8e063;
  --olive: #5d6328;
  --text: #eceee2;
  --muted: #a1a796;
  --max: 1100px;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.1; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; }
h4 { font-weight: 500; font-size: 1.05rem; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--yellow); margin: 0 0 1rem; }
.spaced {
  font: italic 300 clamp(1.5rem, 4.4vw, 3rem)/1.35 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.spaced span { color: var(--yellow); }
.lede { font-size: 1.2rem; color: var(--text); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- glow canvas ---------- */
.glow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .topbar, .footer { position: relative; z-index: 1; }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  text-align: center; padding: 24px;
  background: radial-gradient(ellipse at center, rgba(7, 10, 5, 0.82), rgba(7, 10, 5, 0.98) 65%);
  transition: opacity 0.9s ease;
}
.intro.leaving { opacity: 0; }
[hidden] { display: none !important; }
.intro-open { overflow: hidden; }
.intro-open main, .intro-open .topbar, .intro-open .footer { visibility: hidden; }
.intro-actions { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(7, 10, 5, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 240, 74, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.1rem; }
.brand img { width: 56px; height: auto; filter: drop-shadow(0 0 10px rgba(241, 240, 74, 0.25)); transition: transform 0.2s; }
.brand:hover img { transform: scale(1.06); }
.topbar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.topbar nav a { color: var(--text); text-decoration: none; }
.topbar nav a:hover { color: var(--yellow); }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.sound-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.sound-toggle[aria-pressed="true"] { color: var(--yellow); border-color: var(--yellow); }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; font-size: 0.72rem; letter-spacing: 0.1em; }
  .topbar nav a:not(.pill) { white-space: nowrap; }
}

/* ---------- hero + journey ---------- */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center;
  padding: 0 20px 9vh;
}
.hero h1 { margin-bottom: 1rem; }
.hero .lede { color: var(--muted); }
.scroll-cue { margin-top: 2.5rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); opacity: 0.6; } }

.journey { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.stage { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.stage-line { font: italic 300 clamp(1.6rem, 4.6vw, 3.2rem)/1.3 var(--body); letter-spacing: 0.06em; margin: 0; max-width: 18ch; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 12vh, 140px) clamp(16px, 4vw, 40px); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: 0.8fr 1.2fr; }
@media (max-width: 820px) { .split, .split.reverse { grid-template-columns: 1fr; } }
.photo { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 0 80px rgba(241, 240, 74, 0.08); }

.btn {
  display: inline-block; margin-top: 1rem;
  padding: 12px 24px; border-radius: 999px;
  font: 500 0.85rem var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn.primary { background: var(--yellow); color: #111; border: 1px solid var(--yellow); }
.btn.primary:hover { background: var(--lime); border-color: var(--lime); color: #111; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgba(236, 238, 226, 0.4); }
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--yellow); }

/* videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 820px) { .videos { grid-template-columns: 1fr; } }
.video { color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.thumb, .spot-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb img, .spot-thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.video:hover img, .spot-thumb:hover img { transform: scale(1.04); }
.play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(7, 10, 5, 0.7); border: 1px solid var(--yellow); }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid var(--yellow); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-title { font-weight: 500; margin-top: 6px; }
.video:hover .video-title { color: var(--yellow); }
.video-note { color: var(--muted); font-size: 0.9rem; }

.spotlight { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; margin-top: 72px; padding: 28px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
@media (max-width: 820px) { .spotlight { grid-template-columns: 1fr; } }

/* radio */
.radio-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.station-logo img { width: clamp(96px, 14vw, 170px); height: auto; filter: drop-shadow(0 0 24px rgba(40, 70, 160, 0.45)); transition: transform 0.3s; }
.station-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.onair { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 12px #ff4d3d; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.roles { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.roles li { padding: 16px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.roles span { color: var(--muted); font-size: 0.9rem; }
.aircheck { margin: 32px 0; padding: 22px; border-radius: 14px; border: 1px dashed var(--line); }
.aircheck audio { width: 100%; }
.goal { font: italic 300 1.3rem var(--body); color: var(--yellow); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; margin: 32px 0; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 0.85rem; background: linear-gradient(transparent, rgba(7, 10, 5, 0.9)); }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; } .gallery figure.tall { grid-row: span 2; } .gallery figure.wide { grid-column: auto; } }

/* about */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; color: var(--muted); }

/* resume */
.resume-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 48px; }
.resume-grid .r-section:first-child { grid-row: span 3; }
@media (max-width: 820px) { .resume-grid { grid-template-columns: 1fr; } }
.r-section { margin-bottom: 30px; }
.r-section h3 { color: var(--yellow); font-size: 1.2rem; letter-spacing: 0.08em; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.r-item { margin: 14px 0; }
.r-item h4 { margin: 0; }
.r-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.when { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.org { color: var(--muted); font-size: 0.95rem; }
.r-item ul { margin: 6px 0 0; padding-left: 20px; }
.project { display: flex; gap: 16px; align-items: flex-start; }
.app-icon { width: 64px; height: 64px; flex: none; border-radius: 15px; border: 1px solid rgba(168, 224, 99, 0.35); box-shadow: 0 0 18px rgba(168, 224, 99, 0.18); }
.skills { margin: 0; }
.skills div { margin: 10px 0; }
.skills dt { font-weight: 500; }
.skills dd { margin: 0; color: var(--muted); }

.resume-sheet { max-width: 900px; }
.r-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.r-top h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; }
.r-contact { color: var(--muted); }

/* shop + contact */
.shop, .contact { text-align: center; }
.shop .lede, .contact .lede { margin-left: auto; margin-right: auto; }
.socials { list-style: none; padding: 0; display: flex; justify-content: center; gap: 24px; margin: 28px 0 10px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }

.footer { text-align: center; padding: 60px 20px 40px; border-top: 1px solid var(--line); }
.footer img { margin: 0 auto 12px; width: 54px; }
.footer p { margin: 4px 0; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue, .dot { animation: none; }
}

/* print: resume only */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .topbar, .footer, .glow, .no-print { display: none !important; }
  .section { padding: 0; }
  a { color: #000; }
  .muted, .org, .when, .skills dd, .r-contact { color: #333; }
  .r-section h3 { color: #000; border-color: #999; }
}
