:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #17243b;
  --muted: #5f6876;
  --accent: #b5462f;
  --line: rgba(23, 36, 59, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  min-height: min(680px, calc(100vh - 24px));
  padding: clamp(72px, 10vh, 110px) clamp(24px, 5vw, 64px) 64px;
  background-image: url("assets/campus-condorcet.webp");
  background-position: center;
  background-size: cover;
  color: var(--ink);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 241, 232, 0.5) 0%, rgba(245, 241, 232, 0.26) 54%, rgba(245, 241, 232, 0.04) 100%);
  content: "";
}

.hero h1,
.hero .subtitle,
.hero .eyebrow {
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(245, 241, 232, 0.95);
}

.eyebrow,
.detail-label,
.section-number {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .detail-label,
.hero h1 span {
  color: var(--accent);
}

.hero .eyebrow {
  font-size: 0.9rem;
}

h1 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

h1 span {
  color: var(--accent);
}

.subtitle {
  max-width: 780px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.18;
}

.event-details {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  max-width: 560px;
  margin-top: auto;
  margin-left: -16px;
  padding: 14px 16px 12px;
  border-top: 1px solid rgba(23, 36, 59, 0.34);
  background: rgba(245, 241, 232, 0.72);
  box-shadow: 0 8px 28px rgba(23, 36, 59, 0.08);
  backdrop-filter: blur(3px);
}

.detail-value {
  margin: 5px 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

.venue-link {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.venue-link:hover,
.venue-link:focus-visible {
  color: var(--accent);
}

.venue-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero .venue-link:hover,
.hero .venue-link:focus-visible {
  color: var(--accent);
}

.hero .venue-link:focus-visible {
  outline-color: var(--accent);
}

.committee {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 88px);
  padding: 60px 0 72px;
  border-top: 1px solid var(--ink);
}

.section-heading {
  position: sticky;
  top: 48px;
  align-self: start;
}

h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.committee-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.committee-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.35fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.committee-list li:first-child {
  padding-top: 0;
}

.committee-list a {
  width: fit-content;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.committee-list a:hover,
.committee-list a:focus-visible {
  color: var(--accent);
}

.committee-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.committee-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  main,
  footer {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    min-height: 720px;
    padding: 72px 0 52px;
    padding-inline: 24px;
    background-position: 58% center;
  }

  .hero::before {
    background: rgba(245, 241, 232, 0.38);
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 4.7rem);
  }

  .subtitle br {
    display: none;
  }

  .event-details,
  .committee,
  .committee-list li {
    grid-template-columns: 1fr;
  }

  .event-details {
    gap: 14px;
  }

  .committee {
    gap: 36px;
    padding: 48px 0 60px;
  }

  .section-heading {
    position: static;
  }

  .committee-list li {
    gap: 4px;
    padding: 16px 0;
  }
}

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