:root {
  --bg: #050808;
  --ink: #101415;
  --muted: #5d686d;
  --line: #d9e2e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --cyan: #8ceeff;
  --cyan-strong: #28d9f4;
  --scene-scale: 1;
  --scene-y: 0px;
  --logo-scale: 1;
  --logo-opacity: 1;
  --wipe-opacity: 0;
  --intro-opacity: 0;
  --header-logo-opacity: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#verein,
#was-uns-antreibt,
#veranstaltungen,
#vergangene-veranstaltungen,
#downloads,
#vorstand,
#kontakt {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  mix-blend-mode: difference;
}

.brand-link {
  display: flex;
  align-items: center;
  width: clamp(110px, 13vw, 180px);
  opacity: var(--header-logo-opacity);
  transition: opacity 180ms ease;
}

.brand-link img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav .nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 1;
  padding: 10px 16px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: transparent;
  color: inherit;
}

.menu-toggle {
  display: none;
}

.hero-scroll {
  position: relative;
  height: 235vh;
  background: var(--bg);
}

.hero-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--scene-y), 0) scale(var(--scene-scale));
  transform-origin: 50% 52%;
  filter: saturate(1.18) contrast(1.1) brightness(0.92);
  transition: filter 120ms linear;
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 54% 52%, rgba(140, 238, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 24%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -6vh -6vw;
  z-index: 4;
  background: var(--paper);
  opacity: var(--wipe-opacity);
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(48vw, 660px);
  min-width: 280px;
  transform: translate(-50%, -50%) scale(var(--logo-scale));
  opacity: var(--logo-opacity);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.46));
  will-change: transform, opacity;
}

.hero-bottom {
  position: absolute;
  z-index: 5;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  opacity: calc(1 - var(--wipe-opacity));
}

.hero-bottom p {
  margin: 0;
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 800;
  line-height: 0.98;
}

.hero-bottom a {
  min-width: 136px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(108px, 9vw, 132px) clamp(20px, 6vw, 84px) clamp(38px, 5vw, 64px);
  color: var(--ink);
  opacity: var(--intro-opacity);
  pointer-events: none;
  overflow: hidden;
}

.hero-intro > .section-kicker,
.intro-grid,
.intro-statement {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
}

.section-light,
.section-dark {
  position: relative;
  z-index: 8;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--bg);
  color: var(--white);
}

.intro-section {
  margin-top: 0;
  padding: clamp(86px, 13vw, 170px) clamp(20px, 6vw, 84px) clamp(70px, 10vw, 128px);
}

.section-kicker,
.statement-copy span,
.download-card span,
.section-heading span,
.archive-heading span,
.contact-section span,
.event-copy .date {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-intro > .section-kicker {
  margin-bottom: clamp(14px, 2.2vh, 22px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: end;
  padding-bottom: clamp(22px, 4vh, 40px);
  border-bottom: 1px solid rgba(16, 20, 21, 0.12);
}

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

h1,
h2 {
  font-weight: 880;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(40px, 4.25vw, 62px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(38px, 6vw, 88px);
}

.intro-copy {
  max-width: 500px;
  padding-top: 4px;
  color: var(--muted);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.58;
}

.intro-copy p {
  margin-bottom: 14px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-statement {
  display: grid;
  grid-template-columns: minmax(260px, 410px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 76px);
  align-items: center;
  margin-top: clamp(22px, 4vh, 42px);
}

.statement-media {
  width: 100%;
  max-width: 410px;
  justify-self: start;
  overflow: hidden;
  border-radius: 12px;
}

.statement-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.statement-copy {
  max-width: 640px;
  justify-self: start;
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 2px solid rgba(40, 217, 244, 0.8);
}

.statement-copy h2 {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: clamp(28px, 3.35vw, 50px);
  line-height: 1.02;
}

.statement-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  margin-bottom: 0;
}

.mobile-statement-section {
  display: none;
}

.event-section {
  padding: clamp(74px, 10vw, 138px) clamp(20px, 6vw, 84px);
}

.event-stack {
  display: grid;
  gap: clamp(70px, 9vw, 128px);
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.74fr);
  gap: clamp(34px, 7vw, 108px);
  align-items: center;
}

.event-copy h2 {
  margin-bottom: 24px;
}

.event-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(140, 238, 255, 0.24);
}

.event-meta .date {
  margin: 0;
}

.event-date {
  color: var(--white);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.event-copy p:not(.date) {
  max-width: 660px;
  color: #c9d6d6;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

.event-description {
  display: grid;
  gap: 14px;
}

.event-description p {
  margin: 0;
}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 34px;
}

.event-facts span {
  border: 1px solid rgba(140, 238, 255, 0.34);
  padding: 10px 12px;
  color: #e8ffff;
  font-size: 13px;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  background: var(--cyan);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-side {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  justify-items: end;
}

.event-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.event-poster-placeholder {
  display: grid;
  place-items: stretch;
  border: 1px solid rgba(140, 238, 255, 0.18);
  background:
    radial-gradient(circle at 18% 18%, rgba(40, 217, 244, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #071010 0%, #050808 54%, #0d1918 100%);
  cursor: default;
}

.event-poster-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(140, 238, 255, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 238, 255, 0.14) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.82), transparent 74%);
  opacity: 0.34;
  pointer-events: none;
}

.event-placeholder-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(8px, 1vw, 12px);
  height: 100%;
  padding: clamp(24px, 3vw, 40px);
  text-align: center;
}

.event-placeholder-note {
  max-width: 520px;
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.12;
}

.event-poster:focus-visible {
  outline: 3px solid rgba(140, 238, 255, 0.5);
  outline-offset: 5px;
}

.event-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.event-media-backdrop {
  position: absolute;
  z-index: 0;
  inset: -12%;
  overflow: hidden;
  pointer-events: none;
}

.event-media-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 8, 0.2);
}

.event-media-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(0.9) brightness(0.76);
  transform: scale(1.08);
}

.event-media-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 8, 8, 0.92);
  cursor: zoom-out;
  backdrop-filter: blur(10px);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(94vw, 1600px);
  max-height: 90vh;
}

.image-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: 82vh;
  border-radius: 14px;
  object-fit: contain;
  background: #050808;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.image-lightbox-close {
  justify-self: end;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.image-lightbox-close:focus-visible {
  outline: 3px solid rgba(140, 238, 255, 0.62);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

.event-archive-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(72px, 9vw, 126px);
  padding-top: clamp(28px, 3vw, 42px);
  border-top: 1px solid rgba(140, 238, 255, 0.3);
}

.event-archive-cta-copy {
  max-width: 640px;
}

.event-archive-cta-copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-archive-cta-copy strong {
  display: block;
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.event-archive-cta-copy p {
  margin: 12px 0 0;
  color: #9eaeae;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

.event-archive-cta-light {
  border-top-color: rgba(16, 20, 21, 0.12);
}

.event-archive-cta-light .event-archive-cta-copy strong {
  color: var(--ink);
}

.event-archive-cta-light .event-archive-cta-copy p {
  color: var(--muted);
}

.event-empty {
  max-width: 760px;
}

.event-empty h2 {
  margin-bottom: 20px;
}

.event-empty p:not(.date) {
  margin-bottom: 30px;
  color: #c9d6d6;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

.event-archive {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px) clamp(74px, 10vw, 138px);
}

.archive-main {
  min-height: 100vh;
  padding-top: clamp(88px, 10vw, 136px);
  background: var(--paper);
}

.join-main {
  padding: clamp(172px, 16vw, 220px) clamp(20px, 6vw, 84px) clamp(84px, 10vw, 140px);
  background: var(--paper);
}

.join-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.68fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto clamp(42px, 7vw, 84px);
}

.join-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.02;
}

.join-hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.58;
}

.join-form {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.8vw, 30px);
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid rgba(16, 20, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(16, 20, 21, 0.045);
}

.form-panel > :not(.form-panel-heading) {
  grid-column: 2;
}

.form-panel-heading {
  grid-column: 1;
  align-self: start;
}

.form-panel-heading span {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-panel-heading h2 {
  margin: 0;
  font-size: clamp(24px, 1.9vw, 32px);
  line-height: 1.08;
  overflow-wrap: normal;
  hyphens: auto;
}

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

.form-grid label,
.choice-card {
  min-width: 0;
}

.form-wide {
  grid-column: 1 / -1;
}

.join-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.join-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 20, 21, 0.12);
  border-radius: 8px;
  background: #f1f5f3;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  padding: 12px 14px;
  text-transform: none;
}

.join-form input:focus-visible {
  outline: 3px solid rgba(40, 217, 244, 0.32);
  outline-offset: 1px;
  border-color: var(--cyan-strong);
}

.choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(16, 20, 21, 0.12);
  border-radius: 8px;
  background: #f7faf8;
  padding: 18px;
}

.choice-card input,
.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.choice-card span {
  display: grid;
  gap: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.choice-card strong {
  color: var(--muted);
  font-size: 15px;
}

.form-note {
  grid-column: 2;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.check-row {
  grid-column: 2;
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 12px !important;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid rgba(16, 20, 21, 0.1);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--muted) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 10px;
}

.form-secondary {
  background: transparent;
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
  text-align: right;
}

.archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.archive-heading span {
  grid-column: 1;
  margin-bottom: 0;
}

.archive-heading h1,
.archive-heading h2 {
  grid-column: 1;
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.02;
}

.archive-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.58;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.archive-grid article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.archive-grid article span {
  display: block;
  margin-bottom: 26px;
  color: var(--cyan-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-grid h2,
.archive-grid h3 {
  max-width: 280px;
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
}

.archive-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.archive-event-list {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.archive-event-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(16, 20, 21, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(16, 20, 21, 0.045);
}

.archive-event-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2 / 1;
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #dfe8e4;
  cursor: zoom-in;
}

.archive-event-image.event-poster-placeholder {
  background:
    radial-gradient(circle at 18% 18%, rgba(40, 217, 244, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #071010 0%, #050808 54%, #0d1918 100%);
  cursor: default;
}

.archive-event-image:focus-visible {
  outline: 3px solid rgba(40, 217, 244, 0.42);
  outline-offset: 4px;
}

.archive-event-image .event-media-backdrop::after {
  background: rgba(16, 20, 21, 0.1);
}

.archive-event-copy {
  display: grid;
  align-content: center;
  padding: clamp(6px, 1.5vw, 18px) clamp(4px, 1vw, 10px);
}

.archive-event-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 20, 21, 0.12);
}

.archive-event-copy span {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-event-meta span {
  margin-bottom: 0;
}

.archive-event-meta .event-date {
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
}

.archive-event-copy h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
}

.archive-event-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.archive-event-facts {
  margin: 22px 0 26px;
}

.archive-event-facts span {
  border-color: rgba(16, 20, 21, 0.18);
  color: var(--ink);
}

.archive-event-copy .button-ghost {
  color: var(--ink);
}

.archive-empty {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 18px;
}

.download-section {
  padding: clamp(74px, 10vw, 138px) clamp(20px, 6vw, 84px);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.72fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-card h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 64px);
}

.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.board-section {
  padding: 0 clamp(20px, 6vw, 84px) clamp(84px, 12vw, 160px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 5vw, 58px);
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(36px, 5.4vw, 76px);
}

.team-groups {
  display: grid;
  gap: clamp(46px, 7vw, 92px);
}

.team-group {
  display: grid;
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 38px);
  border-top: 1px solid var(--line);
}

.team-group h3 {
  position: sticky;
  top: clamp(188px, 20vh, 230px);
  margin: 0;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.board-grid {
  --portrait-size: clamp(190px, 16vw, 240px);
  --portrait-gap: clamp(16px, 1.8vw, 24px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), var(--portrait-size)));
  justify-content: start;
  gap: var(--portrait-gap);
  max-width: min(100%, calc(var(--portrait-size) * 5 + var(--portrait-gap) * 4));
}

.board-grid-core {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), var(--portrait-size)));
}

.board-grid-small {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), var(--portrait-size)));
  max-width: calc(var(--portrait-size) * 2 + var(--portrait-gap));
}

@media (max-width: 1500px) {
  .board-grid,
  .board-grid-core {
    max-width: calc(var(--portrait-size) * 4 + var(--portrait-gap) * 3);
  }
}

.portrait-card {
  min-width: 0;
  width: 100%;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 18%, rgba(140, 238, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #ecf2ef, #f7faf8 58%, #e7eeee);
  aspect-ratio: 4 / 4.8;
}

.portrait-card:nth-child(4n + 2) .portrait-frame {
  background:
    radial-gradient(circle at 28% 18%, rgba(40, 217, 244, 0.16), transparent 32%),
    linear-gradient(155deg, #f7faf8, #e9efed 52%, #f1f5f3);
}

.portrait-card:nth-child(4n + 3) .portrait-frame {
  background:
    linear-gradient(180deg, rgba(16, 20, 21, 0.035), transparent 34%),
    linear-gradient(125deg, #edf3f0, #f8faf9 46%, #e5eeee);
}

.portrait-card:nth-child(4n + 4) .portrait-frame {
  background:
    radial-gradient(circle at 80% 62%, rgba(140, 238, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #f4f7f5, #e8efed);
}

.portrait-frame-missing {
  display: grid;
  place-items: center;
}

.portrait-frame-missing span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 20, 21, 0.12);
  border-radius: 999px;
  color: rgba(16, 20, 21, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16, 20, 21, 0.035);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
}

.portrait-card:nth-child(3n + 1) .portrait-frame img {
  object-position: 45% 50%;
}

.portrait-card:nth-child(3n + 2) .portrait-frame img {
  object-position: 55% 49%;
}

.portrait-card:nth-child(3n + 3) .portrait-frame img {
  object-position: 50% 47%;
}

.portrait-card h4 {
  margin: 16px 0 4px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
}

.portrait-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(38px, 8vw, 132px);
  align-items: end;
  padding: clamp(76px, 10vw, 136px) clamp(20px, 6vw, 84px) clamp(72px, 9vw, 118px);
}

.contact-intro {
  max-width: 620px;
}

.contact-intro h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 1;
}

.contact-intro p {
  max-width: 520px;
  margin-bottom: 0;
  color: #c9d6d6;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.58;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(260px, 1fr);
  gap: 1px;
  align-self: end;
  background: rgba(140, 238, 255, 0.22);
  border: 1px solid rgba(140, 238, 255, 0.22);
}

.contact-card {
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(5, 8, 8, 0.82);
}

.contact-card span {
  margin-bottom: 28px;
}

.contact-card,
.contact-card a {
  color: #d9e6e6;
}

.contact-card a {
  display: inline-flex;
}

address {
  font-style: normal;
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.65;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(18px, 1.25vw, 21px);
  font-weight: 850;
  line-height: 1.2;
}

.contact-links a {
  border-bottom: 1px solid rgba(140, 238, 255, 0.45);
  padding-bottom: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 84px);
  background: #000;
  border-top: 1px solid rgba(140, 238, 255, 0.12);
  color: #9cabac;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.legal-page {
  --header-logo-opacity: 1;
  background: var(--paper);
}

.legal-page .site-header {
  color: var(--ink);
  mix-blend-mode: normal;
  background: rgba(247, 250, 248, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 20, 21, 0.08);
}

.legal-page .brand-link img {
  filter: invert(1);
}

.legal-main {
  padding: clamp(116px, 14vw, 180px) clamp(20px, 6vw, 84px) clamp(84px, 10vw, 140px);
  background: var(--paper);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 104px);
}

.legal-hero h1 {
  margin: 0;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.legal-content {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  max-width: 980px;
}

.legal-block {
  padding-top: clamp(24px, 3vw, 42px);
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.04;
}

.legal-block p,
.legal-block li,
.legal-address {
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
}

.legal-block ul {
  margin: 0;
  padding-left: 22px;
}

.legal-block a {
  color: var(--ink);
  border-bottom: 1px solid rgba(40, 217, 244, 0.7);
  font-weight: 800;
}

.legal-address {
  font-style: normal;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-link {
    width: 118px;
  }

  .site-header.nav-open {
    color: var(--ink);
    mix-blend-mode: normal;
  }

  .legal-page .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .site-header.nav-open .brand-link img {
    filter: invert(1);
  }

  .menu-toggle {
    position: relative;
    z-index: 25;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    place-content: center;
    background: transparent;
    color: currentColor;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 26px;
    background: rgba(247, 250, 248, 0.96);
    color: var(--ink);
    font-size: 25px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    backdrop-filter: blur(16px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    z-index: 24;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-logo {
    width: 72vw;
  }

  .hero-bottom {
    display: grid;
    justify-items: start;
  }

  .intro-grid,
  .intro-statement,
  .mobile-statement-section,
  .event-layout,
  .archive-heading,
  .join-hero,
  .download-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-section {
    padding-top: 132px;
  }

  .event-archive-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .event-archive-cta .button {
    width: 100%;
  }

  .hero-intro {
    justify-content: flex-start;
    padding-top: 132px;
    overflow: hidden;
  }

  .hero-intro .intro-statement {
    display: none;
  }

  .mobile-statement-section {
    display: grid;
    gap: 24px;
    padding: 68px clamp(20px, 6vw, 84px) 78px;
    background: var(--paper);
  }

  .statement-media {
    max-width: none;
    justify-self: stretch;
  }

  .statement-copy {
    max-width: none;
    justify-self: stretch;
  }

  .download-card {
    align-items: start;
  }

  .contact-section {
    align-items: start;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
  }

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

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

  .archive-event-image {
    aspect-ratio: 2 / 1;
  }

  .archive-heading span,
  .archive-heading h1,
  .archive-heading h2,
  .archive-heading p {
    grid-column: auto;
    grid-row: auto;
  }

  .form-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .form-panel-heading,
  .form-panel > :not(.form-panel-heading) {
    grid-column: auto;
    grid-row: auto;
  }

  .form-note,
  .check-row {
    grid-column: auto;
  }

  .team-group {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-group h3 {
    position: static;
  }

  .portrait-card {
    margin-top: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading span {
    margin-bottom: 14px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .event-meta,
  .archive-event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .hero-scroll {
    height: 215vh;
  }

  .hero-logo {
    width: 82vw;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 56px);
  }

  .board-grid,
  .board-grid-core,
  .board-grid-small {
    grid-template-columns: minmax(170px, 220px);
    justify-content: center;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .form-status {
    text-align: left;
  }

  .site-footer {
    display: grid;
  }
}

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

  .hero-photo,
  .hero-logo,
  .intro-section {
    transform: none;
  }
}
