:root {
  color-scheme: dark;
  --bg: #0c0f11;
  --panel: #14191d;
  --panel-strong: #1c2429;
  --text: #f3f0e8;
  --muted: #b8b6ad;
  --line: rgba(243, 240, 232, 0.14);
  --accent: #d8b45f;
  --accent-2: #6ab2a8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px) 86px;
  background:
    linear-gradient(90deg, rgba(12, 15, 17, 0.94), rgba(12, 15, 17, 0.66) 48%, rgba(12, 15, 17, 0.94)),
    image-set(
      url("https://i.ytimg.com/vi/UYjxlb0pB0E/maxresdefault.jpg") 1x,
      url("https://i.ytimg.com/vi/UYjxlb0pB0E/hqdefault.jpg") 2x
    );
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
}

.hero__inner {
  max-width: 860px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  margin-bottom: 26px;
  max-width: 760px;
}

.hero__copy {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  max-width: 680px;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section--alt {
  background: #101416;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section__heading {
  margin: 0 auto 30px;
  max-width: 1180px;
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  margin-bottom: 0;
}

.video-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.video-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-card.featured {
  grid-column: span 2;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #050607;
  overflow: hidden;
  width: 100%;
}

.video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.video-card__body {
  padding: 20px;
}

.tag {
  color: var(--accent-2);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

h3 {
  font-size: 21px;
  line-height: 1.32;
  margin-bottom: 10px;
}

.video-card p,
.timeline-item p {
  color: var(--muted);
  margin-bottom: 12px;
}

.video-card a,
.timeline-item a,
.footer a {
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  display: inline-block;
  font-weight: 700;
  margin-right: 14px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}

.timeline-item {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 42%) 1fr;
  overflow: hidden;
}

.timeline-item > div:last-child {
  padding: 18px 24px 18px 0;
}

.footer {
  align-items: center;
  background: var(--panel-strong);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .video-grid,
  .video-grid.compact {
    grid-template-columns: 1fr 1fr;
  }

  .video-card.featured {
    grid-column: span 2;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item > div:last-child {
    padding: 0 20px 22px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 76vh;
    padding-bottom: 56px;
  }

  .topbar {
    justify-content: flex-start;
  }

  .topbar a {
    font-size: 13px;
    padding: 7px 11px;
  }

  .section {
    padding: 58px 16px;
  }

  .video-grid,
  .video-grid.compact {
    grid-template-columns: 1fr;
  }

  .video-card.featured {
    grid-column: auto;
  }

  .video-card__body {
    padding: 18px;
  }

  h1 {
    font-size: 44px;
  }

  h3 {
    font-size: 19px;
  }
}
