:root {
  color-scheme: light;
  --ink: #1b1b1a;
  --muted: #6f6a60;
  --line: #e1d8c8;
  --paper: #ffffff;
  --wash: #fff8ec;
  --accent: #f59b16;
  --accent-dark: #2f2f2f;
  --accent-soft: #ffe0a3;
  --header: #090909;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 224, 163, 0.52), rgba(255, 248, 236, 0) 330px),
    var(--wash);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  background: var(--header);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 10px 24px rgba(27, 27, 26, 0.14);
}

.brand {
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 62px;
  max-width: min(360px, 58vw);
  object-fit: contain;
}

nav {
  display: flex;
  gap: 18px;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 50px 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a95d00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.toolbar span {
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(47, 47, 47, 0.06);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(47, 47, 47, 0.08);
}

.thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  background: #2f2f2f;
}

.thumb-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-card div {
  padding: 14px;
}

.video-card h2 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.3;
}

.video-card h2 a {
  text-decoration: none;
}

.video-card p,
.meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.watch-page {
  width: min(1200px, calc(100% - 32px));
}

.watch {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: start;
  padding: 42px 0;
}

.player {
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-copy {
  padding-top: 4px;
}

.watch-copy h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
}

.button {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 14px;
  color: #111;
  background: var(--accent);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button:hover {
  color: white;
  background: var(--accent-dark);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding-bottom: 56px;
}

.playlist-card,
.playlist-panel,
.sequence-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(47, 47, 47, 0.08);
}

.playlist-card {
  padding: 18px;
  border-top: 5px solid var(--accent);
}

.playlist-card h2,
.playlist-panel h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.playlist-card a,
.playlist-panel a,
.sequence-panel a {
  text-decoration: none;
}

.playlist-card a:hover,
.video-card a:hover,
.sequence-panel a:hover,
.breadcrumb a:hover,
nav a:hover {
  color: #bd6c00;
}

.playlist-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.playlist-panel,
.sequence-panel {
  margin-top: 22px;
  padding: 16px;
}

.playlist-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.sequence-panel div {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #9a5600;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px;
  }

  .brand img {
    height: 52px;
    max-width: 82vw;
  }

  .hero {
    padding-top: 38px;
  }

  .watch {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
}
