.tedx-opening {
  padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 116px);
}

.tedx-opening .back-link {
  margin: 0 0 clamp(18px, 3vw, 42px);
  padding-block: 10px;
}

.tedx-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
}

.tedx-event {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  align-items: baseline;
  margin-bottom: 22px;
  font-size: .875rem;
  color: var(--muted);
}

.tedx-event span { color: var(--ink); font-weight: 650; }

.tedx-opening h1 {
  color: var(--blue);
  font-size: clamp(3.2rem, 6.6vw, 6rem);
  line-height: .96;
  letter-spacing: -.057em;
}

.tedx-opening h1 span { display: block; }

.tedx-subtitle {
  margin-top: 20px;
  font-size: clamp(1.2rem, 2.25vw, 1.6rem);
  line-height: 1.25;
  text-wrap: balance;
}

.tedx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-top: 21px;
}

.tedx-actions a, .tedx-pdf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--control-border);
  transition: text-decoration-color .2s;
}

.tedx-actions a:hover, .tedx-pdf:hover { text-decoration-color: currentColor; }

.tedx-cover img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--surface);
}

.tedx-cover figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: .875rem;
}

.tedx-argument, .tedx-playbook {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 24px clamp(32px, 8vw, 110px);
  padding-block: clamp(42px, 6vw, 86px);
}

.tedx-argument {
  border-top: 1px solid var(--control-border);
  border-bottom: 1px solid var(--control-border);
}

.tedx-page main h2 {
  font-size: clamp(2.15rem, 4.35vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.044em;
  text-wrap: balance;
}

.tedx-argument p { max-width: 48ch; font-size: clamp(1rem, 1.8vw, 1.22rem); }
.tedx-argument p + p { margin-top: 1.05em; }
.tedx-playbook-intro p { max-width: 28ch; margin-top: 16px; color: var(--muted); }

.tedx-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tedx-step;
}

.tedx-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: clamp(10px, 2vw, 20px);
  padding-block: 19px;
  border-top: 1px solid var(--control-border);
  counter-increment: tedx-step;
}

.tedx-steps li::before {
  grid-row: span 2;
  color: var(--blue);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  content: counter(tedx-step, decimal-leading-zero);
}

.tedx-steps h3 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.2; }
.tedx-steps p { margin-top: 5px; color: var(--muted); font-size: 1rem; }

.tedx-slides {
  --ink: #f3efe7;
  --muted: #c6bdb3;
  --blue: #ff8b7d;
  --ground: #1a1817;
  --surface: #302a27;
  --control-border: #716760;
  background: var(--ground);
  color: var(--ink);
  padding-block: clamp(49px, 7vw, 104px);
}

.tedx-slides-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.tedx-slides-heading p { margin-top: 12px; color: var(--muted); }
.tedx-slides .source-deck { margin-top: 24px; }
.tedx-slides .source-deck details { border-color: var(--control-border); }
.tedx-slides .source-deck summary { min-height: 52px; padding-block: 10px; }
.tedx-slides .presentation-deck.is-ready .presentation-slides { max-height: none; }
.tedx-slides .presentation-slide img,
.tedx-slides .presentation-deck.is-ready .presentation-slides { background: #151413; }

@media (max-width: 820px) {
  .tedx-opening h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
}

@media (max-width: 680px) {
  .tedx-opening-grid, .tedx-argument, .tedx-playbook { grid-template-columns: minmax(0, 1fr); }
  .tedx-opening h1 { font-size: clamp(2.9rem, 11.6vw, 4.8rem); }
  .tedx-cover img { aspect-ratio: 3 / 2; }
  .tedx-playbook-intro p { max-width: 40ch; }
}

@media (prefers-reduced-motion: no-preference) {
  .tedx-opening-copy { animation: hero-enter .65s var(--ease) both; }
  .tedx-cover { animation: hero-enter .75s .1s var(--ease) both; }
}
