:root {
  --ink: #121212;
  --muted: #6d6a65;
  --paper: #f3f0e9;
  --card: #fffdf8;
  --orange: #f15a24;
  --orange-dark: #c53d10;
  --line: #d9d4ca;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 233, .92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 14px; letter-spacing: .08em; }
.brand b { color: var(--orange); }
.brand-mark { width: 31px; height: 31px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; position: relative; }
.brand-mark i { width: 13px; height: 18px; background: var(--paper); border-radius: 2px 2px 8px 8px; transform: rotate(-42deg); }
.brand-mark::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--paper); position: absolute; right: 4px; top: 4px; }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; font-size: 13px; font-weight: 650; }
nav a:hover { color: var(--orange); }

main { overflow: hidden; }
.hero {
  min-height: 660px;
  padding: 80px clamp(20px, 7vw, 104px) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 48px;
  align-items: center;
}
.eyebrow { margin: 0 0 15px; color: var(--orange); font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .16em; }
h1 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(55px, 7.2vw, 106px); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--orange); font-weight: 500; }
.lead { max-width: 620px; margin: 31px 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; color: #45413c; }
.primary-action { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 22px; background: var(--ink); color: white; text-decoration: none; font-weight: 750; transition: .2s ease; }
.primary-action span { color: var(--orange); }
.primary-action:hover { transform: translateY(-2px); background: var(--orange); }
.primary-action:hover span { color: white; }

.hero-art { min-height: 470px; border-radius: 50% 50% 22px 22px; position: relative; background: var(--orange); overflow: hidden; transform: rotate(2deg); box-shadow: 0 25px 70px rgba(93, 40, 18, .16); }
.hero-art::before { content: ""; position: absolute; inset: 42% -15% auto; height: 28%; background: #1c1b1a; transform: skewY(-8deg); }
.hero-art p { position: absolute; top: 20px; right: 36px; margin: 0; color: rgba(255,255,255,.23); font-family: Georgia, serif; font-size: 140px; line-height: 1; }
.paddle { width: 170px; height: 215px; border-radius: 50% 50% 43% 43%; background: #f7f0e5; position: absolute; left: 28%; top: 21%; transform: rotate(-28deg); box-shadow: inset 0 0 0 8px rgba(0,0,0,.07), 0 16px 30px rgba(0,0,0,.22); }
.paddle span { width: 42px; height: 150px; background: #e5c49e; position: absolute; top: 166px; left: 64px; border-radius: 8px 8px 19px 19px; }
.ball { width: 42px; height: 42px; background: white; border-radius: 50%; position: absolute; left: 66%; top: 27%; box-shadow: 0 10px 18px rgba(0,0,0,.18); }
.table-line { position: absolute; width: 100%; height: 2px; background: rgba(255,255,255,.5); top: 55%; z-index: 2; }

.watch-section, .series-section { padding: 88px clamp(20px, 7vw, 104px); }
.watch-section { background: #151515; color: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(34px, 4.5vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.episode-meta { color: #aaa49b; white-space: nowrap; }
.episode-meta strong { color: var(--orange); font-size: 34px; }
.episode-meta span { margin: 0 7px; }
.player-shell { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.4); aspect-ratio: 16 / 9; }
video { width: 100%; height: 100%; display: block; object-fit: contain; }
.player-status { position: absolute; left: 15px; top: 15px; padding: 8px 12px; border-radius: 99px; background: rgba(0,0,0,.72); color: #eee; font-size: 12px; pointer-events: none; transition: opacity .25s; }
.player-status.ready { opacity: 0; }
.lesson-note { margin-top: 24px; display: grid; grid-template-columns: 160px 1fr auto; gap: 22px; align-items: start; padding: 24px 0; border-top: 1px solid #3a3a3a; color: #c9c4bc; }
.lesson-note p { margin: 0; line-height: 1.6; }
.lesson-note p:first-child { color: white; }
.lesson-note span { max-width: 230px; color: #79756f; font-size: 12px; line-height: 1.5; }

.series-section { background: var(--paper); }
.series-summary { color: var(--muted); }
.episode-list { border-top: 1px solid var(--line); }
.episode { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 20px 5px; border-bottom: 1px solid var(--line); transition: .18s ease; cursor: pointer; outline: none; }
.episode:hover { padding-left: 14px; color: var(--orange-dark); background: rgba(255,255,255,.4); }
.episode:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.episode.active { color: var(--orange-dark); }
.episode-number { font-family: Georgia, serif; font-size: 24px; color: var(--orange); }
.episode-title { font-weight: 720; }
.episode-duration, .episode-state { color: var(--muted); font-size: 13px; }
.episode-state { min-width: 88px; text-align: right; }
.episode.active .episode-state { color: var(--orange); font-weight: 700; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 130px); padding: 96px clamp(20px, 7vw, 104px); background: var(--orange); color: #1b100b; }
.about-section .eyebrow { color: #fff3e9; }
.about-section h2 span { font-family: Inter, sans-serif; font-size: .32em; letter-spacing: .06em; }
.about-copy { font-size: 18px; line-height: 1.7; }
.about-copy p { margin-top: 0; }
.source-note { margin-top: 30px !important; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.25); font-size: 12px; opacity: .72; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 7vw, 104px); background: #111; color: #d8d2c8; font-size: 12px; letter-spacing: .08em; }

@media (max-width: 800px) {
  .site-header { height: 66px; }
  nav { display: none; }
  .hero { min-height: auto; padding-top: 56px; grid-template-columns: 1fr; }
  .hero-art { min-height: 370px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .lesson-note { grid-template-columns: 1fr; }
  .lesson-note span { max-width: none; }
  .episode { grid-template-columns: 44px minmax(0,1fr) auto; gap: 10px; }
  .episode-state { display: none; }
  .about-section { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
