:root {
  --background: #181818;
  --surface: #202020;
  --text: #f1efe8;
  --muted: #aaa8a2;
  --line: #40403d;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --content: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: var(--background);
  background: var(--text);
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.intro,
.talk-list,
.site-footer {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  min-height: 82px;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}

.site-header a {
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.site-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.intro {
  padding: 82px 0 92px;
}

h1,
h2 {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.intro > p {
  max-width: 650px;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  text-wrap: pretty;
}

.talk-list {
  margin-block: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.talk-row {
  display: grid;
  grid-template-columns: 56px minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(30px, 4.2vw, 68px);
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.talk-number {
  padding-top: 2px;
  color: var(--muted);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.talk-copy h2 {
  max-width: 560px;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}

.speaker {
  margin: 0.85rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.description {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  border: 1px solid #535350;
}

.video-trigger,
.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-trigger {
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #0d0d0d;
  cursor: pointer;
}

.video-trigger::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  content: "";
  pointer-events: none;
}

.video-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 220ms ease;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 54px;
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(241, 239, 232, 0.52);
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: currentColor;
}

.video-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 11px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-trigger:hover img {
  filter: brightness(1);
}

.video-trigger:hover .play-button {
  background: #2c2c2a;
  transform: translate(-50%, -50%) scale(0.97);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 150px;
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

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

@media (max-width: 980px) {
  .talk-row {
    grid-template-columns: 44px minmax(230px, 0.68fr) minmax(360px, 1.32fr);
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .intro,
  .talk-list,
  .site-footer {
    width: min(calc(100% - 40px), var(--content));
  }

  .site-header {
    min-height: 76px;
    padding: 20px 0 17px;
  }

  .site-header a {
    max-width: 180px;
    font-size: 1.48rem;
    line-height: 0.95;
  }

  .site-header p {
    max-width: 130px;
    font-size: 0.72rem;
    line-height: 1.45;
    text-align: right;
  }

  .intro {
    padding: 60px 0 68px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .intro > p {
    margin-top: 1.25rem;
    font-size: 0.96rem;
  }

  .talk-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 38px 0 44px;
  }

  .talk-number {
    margin-bottom: 1.45rem;
  }

  .talk-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .description {
    font-size: 0.9rem;
  }

  .video-frame {
    margin-top: 28px;
  }

  .play-button {
    width: 60px;
    height: 50px;
  }

  .site-footer {
    min-height: 125px;
  }

  .site-footer a {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
