@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #fff7fb;
  --muted: #d7a9bd;
  --surface: #110910;
  --panel: #1d1019;
  --line: #4b293a;
  --signal: #ff4f9a;
  --blush: #ffb8d5;
}

* { box-sizing: border-box; }

html { background: var(--surface); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 79, 154, .18), transparent 25rem),
    linear-gradient(rgba(255, 184, 213, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 184, 213, .035) 1px, transparent 1px),
    var(--surface);
  background-size: auto, 40px 40px, 40px 40px, auto;
  font-family: Manrope, sans-serif;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--signal);
  box-shadow: 5px 5px 0 -2px var(--surface), 5px 5px 0 0 var(--signal);
}

.edition,
.eyebrow,
.section-heading span,
.presentation-type,
.presentation-number,
.presentation-meta,
footer {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.edition,
.section-heading span,
.presentation-meta,
footer { color: var(--muted); font-size: .72rem; }

.intro {
  min-height: 520px;
  display: grid;
  align-content: center;
  position: relative;
}

.intro::after {
  content: '';
  position: absolute;
  right: 2%;
  top: 50%;
  width: 250px;
  height: 250px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 42px rgba(255, 79, 154, .04), 0 0 0 84px rgba(255, 79, 154, .02);
}

.intro::before {
  content: '';
  position: absolute;
  z-index: 1;
  right: calc(2% + 120px);
  top: calc(50% - 125px);
  width: 2px;
  height: 250px;
  background: linear-gradient(transparent, var(--signal), transparent);
  transform: rotate(38deg);
  box-shadow: 0 0 22px rgba(255, 79, 154, .45);
}

.eyebrow { color: var(--signal); font-size: .7rem; margin: 0 0 24px; }

h1 {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .83;
  letter-spacing: -.075em;
  font-weight: 600;
}

h1 em { color: var(--signal); font-style: normal; }

.lede {
  max-width: 540px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.library { padding: 70px 0 110px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.section-heading h2 { margin: 0; font-size: 1rem; font-weight: 600; }

.presentation {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, var(--panel), #25101d);
  margin-top: 8px;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.presentation:hover,
.presentation:focus-within {
  border-color: var(--signal);
}

.presentation-number { color: var(--signal); font-size: .82rem; }
.presentation-copy { display: flex; align-items: baseline; gap: 16px; }
.presentation-type { color: var(--muted); font-size: .68rem; margin: 0; white-space: nowrap; }
.presentation-copy h3 { margin: 0; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.025em; }
.presentation-meta { display: flex; align-items: center; gap: 24px; text-align: right; }
.presentation-actions { display: flex; align-items: center; gap: 14px; }
.open-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--signal);
  color: var(--signal);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.open-button b { display: block; font-size: 1rem; line-height: 1; }
.open-button:hover,
.open-button:focus-visible { background: var(--signal); color: var(--surface); outline: none; }
.presenter-link { color: var(--muted); text-decoration: none; }
.presenter-link:hover,
.presenter-link:focus-visible { color: var(--ink); outline: none; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .edition { display: none; }
  .intro { min-height: 480px; }
  .intro::after { width: 160px; height: 160px; opacity: .6; }
  .intro::before { right: 78px; height: 160px; top: calc(50% - 80px); opacity: .7; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .lede { max-width: 90%; }
  .library { padding-top: 25px; }
  .presentation { grid-template-columns: 28px 1fr; min-height: auto; padding: 14px; gap: 10px; }
  .presentation-copy { display: block; }
  .presentation-type { margin-top: 7px; }
  .presentation-meta { grid-column: 2; align-items: flex-start; gap: 14px; text-align: left; }
  .presentation-meta, .presentation-actions { flex-wrap: wrap; }
  footer { gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .presentation { transition: none; }
}
