@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-400-700.woff2") format("woff2");
}

:root {
  --background: #050505;
  --surface: #0b0b0b;
  --ink: #f1f0ed;
  --muted: #9b9994;
  --line: #272725;
  --font: "Inter", sans-serif;
  --width: min(78rem, calc(100vw - 2.5rem));
  --section-label: 8.5rem;
  --section-gap: clamp(1.5rem, 4vw, 3.5rem);
  --content-measure: 48rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-color: #77746f;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-color: var(--ink);
}

a:focus-visible,
[aria-disabled="true"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  padding: 0.5rem 0.7rem;
  background: var(--ink);
  color: var(--background);
  font-size: 0.72rem;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--width);
  margin-inline: auto;
}

.site-header {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark,
nav a {
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding: clamp(1rem, 1.8vw, 1.5rem) 0 0;
}

.eyebrow,
.section-index,
.dates dt,
.organizer p,
.site-footer {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  width: min(100%, calc(var(--section-label) + var(--section-gap) + var(--content-measure)));
  margin: 0 0 clamp(0.75rem, 1.2vw, 1rem);
  padding-left: calc(var(--section-label) + var(--section-gap));
  color: var(--muted);
}

.hero-grid {
  width: min(100%, calc(var(--section-label) + var(--section-gap) + var(--content-measure)));
  min-height: 14rem;
  padding-left: calc(var(--section-label) + var(--section-gap));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3.55vw, 3.4rem);
  line-height: 1.02;
}

.hero-question {
  max-width: 27ch;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-summary {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.event-bar {
  width: min(100%, calc(var(--section-label) + var(--section-gap) + var(--content-measure)));
  margin-top: 1rem;
  padding: 0.8rem 0 0.9rem calc(var(--section-label) + var(--section-gap));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "facts button"
    "note button";
  align-items: center;
  gap: 0.5rem 0.9rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.event-facts {
  grid-area: facts;
  margin: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1fr 0.9fr;
}

.event-facts div {
  min-width: 0;
  padding: 0 0.7rem;
  border-left: 1px solid var(--line);
}

.event-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.event-facts dt {
  margin-bottom: 0.15rem;
  color: #777773;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: normal;
}

.application-note,
.final-call > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.application-note {
  grid-area: note;
}

.button {
  width: fit-content;
  display: inline-flex;
  padding: 0.72rem 0.8rem;
  border-radius: 0;
  background: var(--ink);
  color: var(--background);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.event-bar .button {
  grid-area: button;
}

.section {
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  display: grid;
  grid-template-columns: var(--section-label) minmax(0, 1fr);
  gap: var(--section-gap);
  border-top: 1px solid var(--line);
}

.section-index {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

#participation-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.section-copy {
  max-width: 48rem;
}

.section-copy p {
  max-width: 47rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-copy .lede {
  max-width: 38ch;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.program-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: program;
}

.program-list li {
  counter-increment: program;
  min-height: 4rem;
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.program-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.program-list time {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
}

.program-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.program-list h3::before {
  content: "0" counter(program) " ";
  margin-right: 0.45rem;
  color: #77746f;
  font-size: 0.6rem;
  letter-spacing: 0;
  vertical-align: middle;
}

.program-list p {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.dates {
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.dates div {
  padding: 0.75rem 0.75rem 0 0;
}

.dates dt {
  color: var(--muted);
}

.dates dd {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
}

.organizer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 0.7rem;
}

.organizer {
  min-width: 0;
  display: block;
  text-decoration: none;
}

.organizer img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.55rem;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06);
  background: var(--surface);
  transition: filter 180ms ease;
}

.organizer--michelle img {
  object-position: left center;
}

.organizer:hover img {
  filter: grayscale(0.15) contrast(1.03);
}

.organizer h3 {
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
  line-height: 1.12;
}

.organizer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.3;
}

.final-call {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-call h2 {
  max-width: 23ch;
  margin: 0 auto 1.4rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.final-call .button {
  margin: 0 auto 0.75rem;
}

.site-footer {
  padding: 1rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 70rem) {
  :root {
    --section-label: 6rem;
    --section-gap: 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 1.5rem;
  }

  .event-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.7rem;
  }

  .event-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 48rem) {
  .hero-grid {
    min-height: 0;
    display: block;
    padding-left: 0;
  }

  .eyebrow {
    padding-left: 0;
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 1.75rem;
  }

  .hero-framing {
    max-width: 30rem;
  }

  .hero-question {
    max-width: 22ch;
  }

  .event-bar {
    padding-left: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "facts"
      "button"
      "note";
  }

  .event-bar .button {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

@media (max-width: 40rem) {
  :root {
    --width: min(100% - 1.5rem, 72rem);
  }

  body {
    font-size: 0.85rem;
  }

  .site-header {
    min-height: 3.25rem;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 1.25rem 0 0;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
  }

  .hero-question {
    font-size: 1.3rem;
  }

  .hero-summary {
    font-size: 0.82rem;
  }

  .event-facts {
    grid-template-columns: 1fr 1fr;
  }

  .event-facts div {
    padding: 0 0.6rem;
  }

  .event-facts div:nth-child(odd) {
    padding-left: 0;
  }

  .event-facts dd {
    font-size: 0.62rem;
    white-space: normal;
  }

  .section {
    padding: 2rem 0;
  }

  .program-list li {
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: 0.7rem;
  }

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

  .dates div + div {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
