:root {
  --paper: #fbf8f1;
  --paper-2: #f5f0e3;
  --card: #fffdf8;
  --ink: #1a1712;
  --ink-2: #4a443a;
  --muted: #7a7263;
  --rule: #e6dfcf;
  --rule-strong: #d6cdb8;
  --sun: #f2b705;
  --sun-soft: #fbe7a6;
  --sun-ink: #8a6400;
  --live: #d9482b;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 14px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

a,
button,
summary {
  touch-action: manipulation;
}

button,
summary,
.btn,
.nav-links a {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- Animated backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-image: radial-gradient(rgba(26, 23, 18, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.glow-a {
  width: 70vmax;
  height: 70vmax;
  right: -25vmax;
  top: -30vmax;
  background: radial-gradient(closest-side, rgba(242, 183, 5, 0.28), transparent);
  animation: drift-a 24s ease-in-out infinite alternate;
}

.glow-b {
  width: 50vmax;
  height: 50vmax;
  left: -20vmax;
  top: 30vh;
  background: radial-gradient(closest-side, rgba(251, 231, 166, 0.55), transparent);
  animation: drift-b 30s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(-8vw, 6vh, 0) scale(1.08);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(10vw, -8vh, 0) scale(0.92);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-line {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-sun:hover {
    background: #ffc61a;
  }
  .btn-ink:hover {
    background: #36302a;
  }
  .btn-line:hover {
    box-shadow: inset 0 0 0 1px var(--ink);
  }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  transition: background-color 250ms ease, box-shadow 250ms ease;
}

.nav.is-scrolled {
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.btn) {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 8px;
  transition: color 150ms ease, opacity 100ms ease;
}

.nav-links a:not(.btn):active,
.nav-toggle:active,
.acc-q:active,
.matrix summary:active {
  opacity: 0.6;
}

.tab:active {
  transform: scale(0.97);
}

.nav-links .btn {
  margin-left: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover {
    color: var(--ink);
  }
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms var(--ease-out);
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 164px 0 112px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.emblem {
  position: absolute;
  right: -140px;
  top: 50%;
  width: min(760px, 70vw);
  translate: 0 -50%;
  color: rgba(138, 100, 0, 0.22);
  stroke-width: 1;
  pointer-events: none;
}

.emblem-rings {
  transform-origin: 300px 300px;
  animation: spin 120s linear infinite;
}

.emblem-globe {
  transform-origin: 300px 300px;
  animation: spin 240s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  line-height: 0.95;
}

.hero h1 span {
  font-style: italic;
  color: var(--sun-ink);
}

.lede {
  margin-top: 26px;
  max-width: 34ch;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.facts div {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--rule);
}

.facts div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 500;
}

.rise {
  opacity: 0;
  animation: rise 800ms var(--ease-out) forwards;
  animation-delay: calc(80ms + var(--i, 0) * 80ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Countdown */

.countdown {
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 1px 2px rgba(26, 23, 18, 0.04), 0 24px 48px -28px rgba(90, 64, 0, 0.35);
}

.cd-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-label a {
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  margin-left: auto;
}

.cd-units {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.cd-unit {
  padding: 16px 8px 12px;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.cd-unit:last-child {
  border-right: 0;
}

.cd-unit b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.cd-unit span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-foot {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.countdown.is-pending .cd-units,
.countdown.is-live .cd-units,
.countdown.is-over .cd-units,
.countdown.is-over .cd-foot {
  display: none;
}

.countdown.is-live .cd-label,
.countdown.is-over .cd-label {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

/* Live dot */

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: ping 1.8s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.5;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.is-idle .live-dot {
  background: var(--sun);
}

.is-idle .live-dot::after {
  display: none;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(88px, 11vw, 144px) 0;
  position: relative;
}

.section-tint {
  background: rgba(245, 240, 227, 0.7);
  border-block: 1px solid var(--rule);
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-head h2 {
  margin-top: 16px;
}

.section-head-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
}

.split h2 {
  margin-top: 16px;
}

.prose p {
  font-size: 1.125rem;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 18px;
}

.stats {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.stats li {
  padding: 18px 16px 0 0;
}

.stats b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Committees ---------- */

.committees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.committee {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}

.committee.is-in {
  transition: opacity 700ms var(--ease-out), transform 260ms var(--ease-out), border-color 200ms ease, box-shadow 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .committee.is-in:hover {
    transform: translateY(-3px);
    border-color: var(--rule-strong);
    box-shadow: 0 24px 48px -32px rgba(90, 64, 0, 0.4);
  }
}

.committee:nth-child(2) {
  transition-delay: 70ms;
}

.committee:nth-child(3) {
  transition-delay: 140ms;
}

.committee-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 108px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.committee-art {
  position: absolute;
  top: -20px;
  right: -12px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.committee-head .index {
  position: absolute;
  top: 0;
  left: 0;
}

.committee-head .tag {
  grid-column: 1;
}

.index {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--sun-ink);
  padding-top: 6px;
}

.committee h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.committee-head p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tag {
  grid-column: 2;
  justify-self: start;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-2);
}

.tag-sun {
  border-color: transparent;
  background: var(--sun-soft);
  color: var(--sun-ink);
}

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

.topics li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.topic-n {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.topics h4 {
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.topics p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.matrix {
  border-bottom: 1px solid var(--rule);
}

.matrix summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}

.matrix[open] .chev {
  transform: translateY(2px) rotate(-135deg);
}

.matrix ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  columns: 2;
  column-gap: 16px;
}

.matrix li {
  font-size: 0.85rem;
  color: var(--ink-2);
  padding: 4px 0;
  break-inside: avoid;
}

.matrix-more {
  padding: 4px 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.chairs {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  gap: 2px;
  font-size: 0.92rem;
}

.chairs .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.chairs > span:nth-child(2) {
  font-weight: 500;
}

.mails {
  margin-top: 6px;
  display: grid;
  gap: 2px;
}

.mails a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  word-break: break-all;
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .mails a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* ---------- Schedule ---------- */

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card);
}

.tab-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 260ms var(--ease-in-out);
}

.tabs[data-active="2"] .tab-indicator {
  transform: translateX(100%);
}

.tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 200ms ease, transform 120ms var(--ease-out);
}

.tab[aria-selected="true"] {
  color: var(--paper);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.schedule-grid:has(> .now-card[hidden]) {
  grid-template-columns: 1fr;
}

.now-card {
  position: sticky;
  top: 100px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.now-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.65);
}

.now-card h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.now-meta {
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(251, 248, 241, 0.7);
}

.now-progress {
  margin-top: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.15);
  overflow: hidden;
}

.now-progress span {
  display: block;
  height: 100%;
  background: var(--sun);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1s linear;
}

.now-next {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(251, 248, 241, 0.15);
  font-size: 0.9rem;
  color: rgba(251, 248, 241, 0.8);
}

.now-next:empty {
  display: none;
}

.now-next b {
  font-weight: 500;
  color: var(--paper);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.timeline li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: opacity 300ms ease;
}

.timeline.is-active li {
  animation: rise 450ms var(--ease-out) both;
  animation-delay: calc(var(--n, 0) * 35ms);
}

.timeline time {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.timeline h4 {
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.timeline h4 em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun-ink);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sun-soft);
}

.timeline p {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.timeline .t-break h4,
.timeline .t-move h4 {
  font-weight: 500;
  color: var(--ink-2);
}

.timeline li.is-past > * {
  opacity: 0.45;
}

.timeline li.is-now::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--sun);
}

.timeline li.is-now h4::after {
  content: "Now";
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--live);
  color: #fff;
}

/* ---------- FAQ ---------- */

.accordion {
  border-top: 1px solid var(--ink);
}

.acc-item {
  border-bottom: 1px solid var(--rule-strong);
}

.acc-item h3 {
  font-size: inherit;
}

.acc-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.plus {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
  transition: transform 260ms var(--ease-out);
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: var(--ink);
  transform: translateY(-50%);
}

.plus::after {
  transform: translateY(-50%) rotate(90deg);
}

.acc-q[aria-expanded="true"] .plus {
  transform: rotate(45deg);
}

.acc-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}

.acc-a > div {
  overflow: hidden;
}

.acc-a p {
  padding: 0 40px 22px 0;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 200ms ease;
}

.acc-q[aria-expanded="true"] + .acc-a,
h3:has(> .acc-q[aria-expanded="true"]) + .acc-a {
  grid-template-rows: 1fr;
}

h3:has(> .acc-q[aria-expanded="true"]) + .acc-a p {
  opacity: 1;
  transition-delay: 60ms;
}

/* ---------- Sign up ---------- */

.signup {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 11vw, 136px) 0;
  background: var(--ink);
  color: var(--paper);
}

.signup::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 183, 5, 0.35), transparent);
  animation: drift-a 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.signup-head {
  position: relative;
  max-width: 760px;
}

.kicker-sun {
  color: var(--sun);
}

.signup h2 {
  margin-top: 16px;
}

.signup-head p:last-child {
  margin-top: 18px;
  font-size: 1.125rem;
  color: rgba(251, 248, 241, 0.7);
}

.signup-grid {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(251, 248, 241, 0.2);
}

.signup-col {
  padding: 28px 28px 0 0;
}

.signup-col + .signup-col {
  padding-left: 28px;
  border-left: 1px solid rgba(251, 248, 241, 0.12);
}

.signup-col .index {
  color: var(--sun);
}

.signup-col h3 {
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.signup-col p {
  color: rgba(251, 248, 241, 0.8);
}

/* ---------- Footer ---------- */

.footer {
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer .wordmark {
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid,
  .split,
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .committees {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .now-card {
    position: static;
  }
  .emblem {
    right: -240px;
    top: 30%;
    width: 640px;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-inner {
    width: min(var(--container), 100% - 40px);
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    background: rgba(251, 248, 241, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--paper);
    box-shadow: 0 1px 0 var(--rule), 0 24px 40px -24px rgba(26, 23, 18, 0.3);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms var(--ease-out);
  }
  .nav-links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a:not(.btn) {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
  }
  .nav-links .btn {
    margin: 16px 0 0;
    height: 46px;
  }
  .hero {
    padding: 120px 0 72px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .facts div {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .countdown {
    padding: 20px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .timeline li.is-now::before {
    left: -12px;
  }
  .signup-grid {
    grid-template-columns: 1fr;
  }
  .signup-col,
  .signup-col + .signup-col {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
  }
  .section-head-row .tabs {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .glow,
  .emblem-rings,
  .emblem-globe,
  .signup::before,
  .live-dot::after {
    animation: none !important;
  }
  .rise,
  .timeline.is-active li {
    animation-name: fade;
  }
  .reveal,
  .reveal.is-in {
    transform: none;
    transition: opacity 500ms ease;
  }
  .now-progress span {
    transition: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
