:root {
  --bg: #f2f2ee;
  --text: #111111;
  --secondary: #ff6652;
  --display-size: clamp(1.9rem, 4.1vw, 3.2rem);
  --base-text-size: clamp(1.08rem, 1.25vw, 1.24rem);
  --card: #ffffff;
  --paper: #fbfaf6;
  --line: #141414;
  --accent: #ffe900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Univers LT Std", "Inter", "Arial Narrow", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.01em;
}

img {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.015);
  transition: opacity 520ms ease, filter 520ms ease, transform 520ms ease;
}

img.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.2)),
    url("img/hero.webp") center / cover no-repeat;
  color: #ffffff;
  padding: 92px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-bottom: none;
  position: relative;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 0.96rem 0.95rem;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.96);
  border: none;
  transform: translateZ(0);
  mix-blend-mode: normal;
}

.top-nav.top-nav--hero-blend {
  background: transparent;
  mix-blend-mode: exclusion;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.64rem, 1.28vw, 0.92rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav.top-nav--hero-blend a {
  color: #fff;
}

.hero-logo {
  width: 100%;
  max-width: min(1180px, 92%);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  display: block;
  width: min(100%, 1020px);
  height: auto;
  margin: 0 auto;
}

.section {
  width: min(1180px, 92%);
  margin: 86px auto;
}

.section > h1 {
  font-size: var(--display-size);
  line-height: 0.96;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.intro h2 {
  font-size: var(--display-size);
  line-height: 1.02;
  max-width: none;
  width: 100%;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.secondary-text {
  color: var(--secondary);
}

.bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.bio-image-wrap {
  position: sticky;
  top: 18px;
  align-self: start;
}

.bio-image-wrap img {
  width: 100%;
  border-radius: 0;
  border: none;
  object-fit: cover;
  min-height: 340px;
}

.bio-text p {
  font-size: var(--base-text-size);
  line-height: 1.62;
  max-width: 50ch;
  margin: 0 0 1rem;
}

.bio-text h1 {
  margin: 0 0 1rem;
  font-size: var(--display-size);
  line-height: 0.96;
  text-transform: uppercase;
}

.bio-text h2 {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.48;
  max-width: 50ch;
}

.bio-text h3 {
  margin: 1.2rem 0 0.7rem;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.48;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.accordion-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

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

.one-column {
  grid-template-columns: 1fr;
}

.card-accordion {
  background: var(--card);
  border-radius: 0;
  border: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-accordion:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.card-accordion summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  padding: 22px 24px;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: normal;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-accordion summary::after {
  content: "";
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 220ms ease, transform 220ms ease;
}

.card-accordion[open] summary::after {
  content: "";
}

.one-column .card-accordion summary::after {
  content: "+";
}

.one-column .card-accordion[open] summary::after {
  content: "−";
  transform: scale(1.1);
}

.team-card summary {
  padding: 14px 16px;
  text-align: left;
}

.team-summary {
  display: block;
  width: 100%;
}

.team-summary span {
  display: block;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  text-align: left;
}

.team-card.female-candidate .team-summary span {
  color: var(--secondary);
}

.team-card .team-summary span.secondary-text {
  color: var(--secondary);
}

.card-accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-content {
  padding: 0 20px 20px;
  background: transparent;
  border-top: none;
}

.accordion-content > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.card-accordion[open] .accordion-content > * {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content p {
  margin: 0;
  line-height: 1.65;
}

.program-copy {
  padding: 8px 34px 34px;
}

.program-copy p {
  font-size: var(--base-text-size);
  line-height: 1.36;
  margin-bottom: 1rem;
  font-weight: 500;
  max-width: 60ch;
}

.program-copy .program-subtitle {
  margin: 0 0 0.7rem;
  font-size: clamp(1.28rem, 2.1vw, 1.85rem);
  font-weight: 700;
}

.program-copy .program-highlight-black {
  margin: 0 0 1.05rem;
  color: #111111;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.34;
}

.program-copy .program-section-title {
  margin: 1.1rem 0 0.55rem;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  font-weight: 700;
  color: #111111;
}

.program-copy .program-subsection-title {
  margin: 0.95rem 0 0.45rem;
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  line-height: 1.3;
  font-weight: 700;
  color: #111111;
}

.program-copy ul {
  margin: 0.4rem 0 1.25rem;
  padding-left: 1.15rem;
  max-width: 62ch;
}

.program-copy li {
  font-size: var(--base-text-size);
  line-height: 1.42;
  margin-bottom: 0.5rem;
}

.person {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

.team-card .person p {
  font-size: var(--base-text-size);
  line-height: 1.55;
}

.team-card .person {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.team-card .person img {
  display: none;
}

.lead-sentence {
  display: block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.vivid {
  color: #0e0e0e;
  border: none;
}

.vivid-1 {
  background: #f53ea8;
  color: #111111;
}

.vivid-1 summary {
  color: #111111;
}

.one-column .card-accordion summary {
  padding: 34px 34px 16px;
  font-size: var(--display-size);
  font-weight: 700;
  line-height: 1.06;
}

.one-column .accordion-content {
  padding: 0 34px 34px;
}

.vivid-2 {
  background: #19a5ef;
  color: #111111;
}

.vivid-3 {
  background: #5bdb35;
  color: #111111;
}

.vivid-4 {
  background: #f5d93a;
  color: #111111;
}

.vivid-5 {
  background: var(--secondary);
  color: #111111;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  background: transparent;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-title {
  margin: 0;
  padding: 0.6rem 0.35rem 0.2rem;
  background: transparent;
  color: #111111;
  font-size: var(--base-text-size);
  font-weight: 700;
  line-height: 1.25;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

.video-card-wide {
  grid-column: 1 / -1;
}

.footer {
  width: min(1180px, 92%);
  margin: 88px auto 40px;
  padding: 28px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #111111;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
}

.footer a {
  color: #111111;
  text-decoration: none;
  border-bottom: 2px solid #111111;
  font-weight: 700;
  text-transform: none;
  font-size: var(--display-size);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .bio {
    grid-template-columns: 1fr;
  }

  .bio-image-wrap {
    position: static;
    top: auto;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    height: 75vw;
    max-height: 100vh;
    padding: 74px 14px 20px;
    background-position: center top;
  }

  .top-nav {
    padding: 0.8rem 0.45rem;
    gap: 0.18rem;
  }

  .top-nav a {
    font-size: clamp(0.56rem, 2.4vw, 0.74rem);
    letter-spacing: 0.02em;
  }

  .hero-logo img {
    width: min(100%, 92vw);
  }
}

@media (max-width: 640px) {
  .person {
    grid-template-columns: 1fr;
  }

  .team-card .person {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
