:root {
  color-scheme: light;
  --ink: #002b2c;
  --ink-soft: #456364;
  --deep: #002b2c;
  --deep-2: #0a3b3c;
  --paper: #f3ede5;
  --paper-light: #fbf8f2;
  --mint: #a8e9e1;
  --line: rgba(0, 43, 44, 0.17);
  --line-light: rgba(255, 255, 255, 0.17);
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
}

body.dialog-open { overflow: hidden; }
a { color: inherit; }
a:focus-visible,
button:focus-visible { outline: 2px solid #55cfc0; outline-offset: 5px; }
button { font: inherit; }
::selection { color: var(--deep); background: var(--mint); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: white;
  background: var(--deep);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 2.5rem;
  color: white;
  background: rgba(0, 43, 44, .96);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; width: fit-content; }
.brand img { display: block; height: auto; }
.brand-euclid img { width: 128px; }
.brand-verticalist { justify-self: end; }
.brand-verticalist img { width: 156px; }
.header-label {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 3.75rem 2rem 3.25rem;
  color: var(--paper-light);
  background: var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0,43,44,.18), rgba(0,43,44,.82) 72%),
    linear-gradient(180deg, rgba(0,43,44,.34), rgba(0,43,44,.82));
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(.66) contrast(1.05);
}

.geometry {
  position: absolute;
  inset: -18% -6%;
  z-index: -2;
  opacity: .26;
  background-image: url("https://cdn.prod.website-files.com/67c709d83bdc2a04b459fd50/67d1a129d2368de3fd984031_hero-bg-figure.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(100%, 1300px) auto;
  mix-blend-mode: screen;
}

.hero-content { width: min(1120px, 100%); text-align: center; }
.kicker {
  margin: 0 0 2rem;
  color: rgba(255,255,255,.76);
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.kicker span { margin: 0 .8rem; color: #8fd9d1; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 {
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 8.4rem);
  font-weight: 400;
  line-height: .87;
  letter-spacing: -.055em;
  text-wrap: balance;
}
h1 em { font-weight: 400; }
.hero-deck {
  max-width: 650px;
  margin: 1.5rem auto 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(.9rem, 1.6vw, 1.08rem);
}

.chapter-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 2.25rem auto 0;
  border: 1px solid rgba(255,255,255,.25);
}
.chapter-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.35rem;
  color: white;
  font-size: .72rem;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.chapter-jump a + a { border-left: 1px solid rgba(255,255,255,.25); }
.chapter-jump a:hover { color: var(--deep); background: var(--paper); }
.chapter-jump span { opacity: .58; }

.archive-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  width: min(1340px, 100%);
  margin: 0 auto;
  padding: 4rem 2.5rem 9rem;
}

.contents {
  position: sticky;
  top: 108px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: .62rem;
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}
.contents-label {
  margin: 0 0 1rem;
  color: #6b8080;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contents a {
  color: #617677;
  font-size: .72rem;
  text-decoration: none;
}
.contents a:hover { color: var(--deep); }
.contents .contents-chapter {
  margin-top: 1rem;
  color: var(--deep);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chapter { scroll-margin-top: 94px; }
.chapter + .chapter { margin-top: 9rem; }
.chapter-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 5rem;
}
.chapter-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--paper);
  background: var(--deep);
  border-radius: 50%;
  font-size: .72rem;
  letter-spacing: .12em;
}
.chapter-label {
  margin: 0 0 .8rem;
  color: #5f7777;
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.chapter h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.chapter-description {
  max-width: 670px;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
}

.chapter-summit {
  position: relative;
  margin-right: calc((100vw - min(1340px, 100vw)) / -2);
  margin-left: -2rem;
  padding: 5rem 2rem 0;
  color: var(--paper-light);
  background: var(--deep);
}
.chapter-summit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
}
.chapter-summit > * { position: relative; }
.chapter-summit .chapter-heading { width: min(1010px, 100%); }
.chapter-summit .chapter-number { color: var(--deep); background: var(--paper); }
.chapter-summit .chapter-label,
.chapter-summit .chapter-description { color: rgba(255,255,255,.65); }
.chapter-summit .section-block { border-top-color: rgba(255,255,255,.18); }
.chapter-summit .section-index,
.chapter-summit .section-description { color: rgba(255,255,255,.56); }

.section-block {
  scroll-margin-top: 104px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2rem;
  padding: 3.25rem 0 5.25rem;
  border-top: 1px solid var(--line);
}
.section-heading { padding-right: 1rem; }
.section-index {
  margin: 0 0 1rem;
  color: #6b8080;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-heading h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.section-description {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: .77rem;
}

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.video-grid.single { grid-template-columns: minmax(0, 1fr); }
.video-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  color: var(--deep);
  background: var(--paper-light);
  border: 1px solid rgba(0,43,44,.14);
  box-shadow: 0 18px 50px rgba(0,25,26,.08);
  transition: transform 220ms cubic-bezier(.23,1,.32,1), box-shadow 220ms ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,25,26,.14); }
.card-poster {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  color: white;
  background:
    radial-gradient(circle at 75% 25%, rgba(168,233,225,.32), transparent 30%),
    linear-gradient(135deg, #0d4a4b, var(--deep));
}
.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background-image:
    linear-gradient(35deg, transparent 48%, rgba(255,255,255,.18) 49%, transparent 50%),
    linear-gradient(-35deg, transparent 48%, rgba(255,255,255,.1) 49%, transparent 50%);
  background-size: 80px 80px;
}
.poster-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.poster-meta span {
  color: rgba(255,255,255,.67);
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.play-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 3px;
  color: var(--deep);
  background: var(--paper);
  border-radius: 50%;
  font-size: 1rem;
}
.poster-title {
  max-width: 90%;
  margin: 2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.card-body { padding: 1.35rem 1.4rem 1.5rem; }
.card-speakers {
  min-height: 3.6em;
  margin: 0;
  color: #587071;
  font-size: .72rem;
  line-height: 1.7;
}
.watch-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.watch-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.roster-grid { grid-template-columns: minmax(0, 1fr); }
.video-card.has-roster {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
}
.video-card.has-roster .card-poster { min-height: 330px; }
.video-card.has-roster .card-body {
  display: flex;
  align-items: center;
  padding: 1.35rem 1.75rem;
}
.speaker-roster {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.speaker-roster li {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(145px, .9fr);
  grid-template-areas:
    "name company"
    "role company";
  column-gap: 1.25rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.speaker-roster li:last-child { border-bottom: 0; }
.speaker-name-line {
  grid-area: name;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.speaker-name-line strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.1;
}
.moderator-badge {
  flex: 0 0 auto;
  padding: .2rem .38rem;
  color: var(--deep);
  background: #d3eee9;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.speaker-role {
  grid-area: role;
  margin-top: .25rem;
  color: #657b7c;
  font-size: .62rem;
}
.speaker-company {
  grid-area: company;
  color: var(--deep);
  font-size: .67rem;
  line-height: 1.35;
  text-align: right;
}

.chapter-summit .speaker-roster li { border-bottom-color: var(--line); }

.video-dialog {
  width: min(1060px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  color: white;
  background: var(--deep);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 100px rgba(0,0,0,.4);
}
.video-dialog::backdrop { background: rgba(0,22,23,.78); backdrop-filter: blur(8px); }
.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  color: white;
  cursor: pointer;
  background: rgba(0,0,0,.44);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dialog-close span { font-size: 1.15rem; line-height: 1; }
.player {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(121,202,192,.18), transparent 36%),
    #001f20;
}
.player iframe { width: 100%; height: 100%; border: 0; }
.placeholder-player { text-align: center; }
.placeholder-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 1.5rem;
  color: var(--deep);
  background: var(--paper);
  border-radius: 50%;
  font-size: 1.2rem;
}
.placeholder-player strong {
  display: block;
  font: 500 clamp(1.7rem, 4vw, 3rem)/1 var(--serif);
}
.placeholder-player p { margin: .8rem 0 0; color: rgba(255,255,255,.58); font-size: .72rem; }
.dialog-copy { padding: 1.75rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,.16); }
.dialog-kicker { margin: 0 0 .65rem; color: #8fd9d1; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; }
.dialog-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.035em; }
.dialog-copy > p:last-child { margin: 1rem 0 0; color: rgba(255,255,255,.62); font-size: .75rem; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 100px;
  padding: 2rem 2.5rem;
  color: rgba(255,255,255,.75);
  background: var(--deep);
  border-top: 1px solid var(--line-light);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
footer a { color: white; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.23,1,.32,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .archive-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .section-block { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { max-width: 600px; }
  .video-card.has-roster { grid-template-columns: minmax(250px, .75fr) minmax(350px, 1.25fr); }
}

@media (max-width: 820px) {
  .site-header { min-height: 68px; padding: 0 1.25rem; }
  .brand-euclid img { width: 105px; }
  .brand-verticalist img { width: 128px; }
  .header-label { display: none; }
  .hero { min-height: 455px; padding: 3.5rem 1.25rem 3rem; }
  .archive-layout { display: block; padding: 3.5rem 1.25rem 6rem; }
  .contents { display: none; }
  .chapter + .chapter { margin-top: 6rem; }
  .chapter-summit { margin-right: -1.25rem; margin-left: -1.25rem; padding: 4rem 1.25rem 0; }
  .chapter-heading { grid-template-columns: 60px minmax(0, 1fr); gap: 1.25rem; margin-bottom: 3.5rem; }
  .chapter-number { width: 54px; height: 54px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.has-roster { grid-template-columns: 1fr; }
  .video-card.has-roster .card-poster { min-height: 280px; }
  .card-poster { min-height: 260px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .brand-verticalist img { width: 118px; }
  .hero {
    min-height: 430px;
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
  h1 { font-size: clamp(3.3rem, 16vw, 5.25rem); }
  .kicker { margin-bottom: 1.75rem; font-size: .63rem; }
  .hero-deck { font-size: .8rem; }
  .chapter-jump { grid-template-columns: 1fr; margin-top: 2rem; }
  .chapter-jump a + a { border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .chapter-heading { display: block; }
  .chapter-number { margin-bottom: 1.4rem; }
  .section-block { padding: 2.5rem 0 4rem; }
  .card-poster { min-height: 235px; }
  .speaker-roster li {
    grid-template-columns: 1fr auto;
    column-gap: .75rem;
  }
  .speaker-name-line { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .speaker-company { max-width: 120px; }
  .video-dialog { width: calc(100% - 1rem); }
  .dialog-copy { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .video-card { transition: none; }
}
