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

:root {
  --padding: 1.5rem;
  --color-black: #0f172a;
  --color-white: #fff;
  --color-grey: #64748b;
  --color-light: #f1f5f9;
  --color-light-mid: #dbe1ea;
  --color-slate-100: #f8fafc;
  --color-slate-200: #cbd5e1;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #1f2937;
  --color-accent: #95004c;
  --color-accent-hover: #7a003e;
  --color-accent-dark: #60002f;
  --color-accent-light: #b8005e;
  --color-accent-bg: #fce7f0;
  --color-success-bg: #ecfdf3;
  --color-success-text: #065f46;
  --color-error-bg: #fef2f2;
  --color-error-text: #991b1b;
  --color-link: #075985;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-family-serif: "DM Serif Display", Georgia, serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  font-size: 109.375%; /* ~17.5px base — more comfortable for editorial reading */
  color: var(--color-text);
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at top,
      rgba(210, 228, 255, 0.9) 0%,
      rgba(240, 244, 248, 1) 42%,
      rgba(226, 232, 240, 1) 100%
    );
}
img {
  width: 100%;
}
body {
  position: relative;
  z-index: 0;
  padding: 0 var(--padding) var(--padding);
  max-width: none;
  overflow-x: hidden;
  margin: 0;
}

.main {
  display: grid;
  gap: 0;
  padding-top: 4.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at -5% 18%, rgba(186, 230, 253, 0.55), transparent 220px),
    radial-gradient(circle at 105% -5%, rgba(253, 230, 138, 0.45), transparent 280px),
    radial-gradient(circle at 50% 105%, rgba(255, 255, 255, 0.6), transparent 250px);
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.logo {
  padding: .2rem 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: min(200px, 48vw);
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Desktop nav */
.menu {
  display: none;
  align-items: center;
  gap: 0;
}

.menu a {
  position: relative;
  padding: .4rem .7rem;
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-grey);
  transition: color .2s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .7rem;
  right: .7rem;
  height: 1.5px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.menu a:hover {
  color: var(--color-black);
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu a[aria-current] {
  color: var(--color-black);
  font-weight: 600;
}

.menu a[aria-current]::after {
  transform: scaleX(1);
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.2rem;
  height: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 200;
  width: min(320px, 85vw);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.1);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-grey);
  padding: .25rem .5rem;
  margin-bottom: 2rem;
  transition: color .2s;
}

.nav-drawer-close:hover {
  color: var(--color-black);
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.nav-drawer nav a {
  font-size: 1.35rem;
  font-family: var(--font-family-serif);
  color: var(--color-grey);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: color .2s ease;
}

.nav-drawer nav a:hover,
.nav-drawer nav a[aria-current] {
  color: var(--color-black);
}

/* Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .35s ease;
}

.nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-hover);
  outline-offset: 2px;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3.5rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.75;
  color: var(--color-slate-900);
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 5vw, 2.3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2em;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.h1 {
  font-family: var(--font-family-sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.text h2,
.h2 {
  font-family: var(--font-family-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}
.text h3,
.h3 {
  font-family: var(--font-family-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 1.75rem;
  margin-bottom: .6rem;
  color: var(--color-slate-800);
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.2rem;
  line-height: 1.55;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 54rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  margin: 4rem calc(var(--padding) * -1) 0;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  padding: 4rem var(--padding) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 60rem) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
  }
}

.footer-logo {
  display: block;
  width: min(180px, 55vw);
  margin-bottom: 1rem;
  /* Invert logo for dark background */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 22rem;
}

.footer-heading {
  font-family: var(--font-family-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  font-size: .92rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: 1.25rem 0 1.5rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.25);
}

.form-stack {
  max-width: 40rem;
  display: grid;
  gap: .95rem;
  margin: 2rem 0;
}

.form-stack label {
  display: grid;
  gap: .5rem;
  font-weight: 600;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--color-slate-200);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--color-accent-light);
  box-shadow: 0 0 0 3px rgba(149, 0, 76, 0.2);
}

.form-stack button {
  width: fit-content;
  padding: .72rem 1.15rem;
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  box-shadow: 0 8px 18px rgba(149, 0, 76, 0.25);
}

.form-success,
.form-error {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-radius: 4px;
}

.form-success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.form-error {
  background: var(--color-error-bg);
  color: var(--color-error-text);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.event-list {
  display: grid;
  gap: .75rem;
}

.hero {
  padding-top: 0;
  padding-bottom: 3rem;
  margin-left: calc(var(--padding) * -1);
  margin-right: calc(var(--padding) * -1);
  overflow: hidden;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #0f172a;
  width: 100%;
  min-height: 520px;
  cursor: pointer;
}

@media (min-width: 600px) {
  .hero-frame {
    min-height: 0;
    aspect-ratio: 16 / 6;
  }
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ken Burns — desktop only, no transforms on mobile */
@media (min-width: 600px) and (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img.kb-run {
    animation: kenburns 7s ease-out forwards;
  }

  @keyframes kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
  }
}

/* Prev / next buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hero-prev { left: .75rem; }
.hero-next { right: .75rem; }

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: .7rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: .45rem;
}

.hero-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hero-dot.is-active {
  background: #fff;
}

/* ── Hero overlay ─────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 16, 30, 0.88) 0%,
    rgba(10, 16, 30, 0.45) 45%,
    transparent 100%
  );
}

.hero-overlay-inner {
  pointer-events: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 48rem;
}

.hero-overlay-title {
  font-family: var(--font-family-serif);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 .35rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.hero-overlay-subtitle {
  display: none;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.88);
  margin: 0 0 1.25rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.hero-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.hero-overlay-actions .btn {
  font-size: .8rem;
  padding: .5em 1em;
  flex: 1;
  text-align: center;
}

@media (min-width: 600px) {
  .hero-overlay-inner {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    max-width: 48rem;
    width: auto;
  }

  .hero-overlay-title {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    margin-bottom: .5rem;
  }

  .hero-overlay-subtitle {
    display: block;
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,.9);
    margin: 0 0 1.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
  }

  .hero-overlay-actions .btn {
    font-size: .9rem;
    padding: .65em 1.4em;
    flex: none;
  }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-family-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: 4px;
  padding: .65em 1.4em;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #7a003f;
  border-color: #7a003f;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-large {
  font-size: 1.05rem;
  padding: .8em 2em;
}

/* ── Benefits grid ────────────────────────────────────────── */
.band-benefits {
  background: var(--color-surface, #f8f7f5);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.06);
}

.benefit-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .75rem;
}

.benefit-title {
  font-family: var(--font-family-serif);
  font-size: 1.05rem;
  margin: 0 0 .4rem;
  color: var(--color-heading, #0f172a);
}

.benefit-text {
  font-size: .875rem;
  color: var(--color-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}

/* ── Final CTA band ───────────────────────────────────────── */
.band-cta {
  background: var(--color-navy, #0f172a);
  color: #fff;
}

.cta-block {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1rem 0;
}

.cta-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  margin: 0 0 .75rem;
}

.cta-text {
  color: rgba(255,255,255,.75);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.band-cta .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.band-cta .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-accent);
}

.page-content {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-content > .content-block:first-child {
  grid-column: 1 / -1;
}

.content-block {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: 1.65rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.content-block h2 {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.content-block h3 {
  margin: 1.25rem 0 .5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.content-block p,
.content-block ul,
.content-block ol {
  margin-bottom: .9rem;
}

.content-block ul,
.content-block ol {
  margin-left: 1.2rem;
}

.content-block ul > li,
.content-block ol > li {
  margin-bottom: .3rem;
}

.content-block ul > li {
  list-style: disc;
}

.content-block ol > li {
  list-style: decimal;
}

.button-outline {
  width: fit-content;
  padding: .75rem 1.25rem;
  border: 1px solid var(--color-slate-700);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.news-list {
  display: grid;
  gap: .9rem;
}

.center-stage {
  max-width: 56rem;
  margin: 3rem auto 0;
}

.center-stage-news {
  max-width: 38rem;
}

.home-sidebar-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.home-sidebar-card .h2 {
  margin-bottom: .75rem;
}

.join-form-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.join-form-stack {
  margin: 1rem 0 0;
}

/* ── Fieldset / radio-card group ─────────────────────────────────────── */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 .75rem;
  display: grid;
  gap: .5rem;
}

.form-fieldset legend {
  font-weight: 600;
  margin-bottom: .5rem;
}

.form-fieldset .form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

@media (max-width: 420px) {
  .form-fieldset .form-radio-group {
    grid-template-columns: 1fr;
  }
}

.form-radio {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .7rem .85rem;
  border: 1.5px solid var(--color-slate-200);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-weight: normal;
  font-size: .92rem;
}

.form-radio input[type="radio"] {
  flex-shrink: 0;
  margin-top: .2rem;
  accent-color: var(--color-accent);
  width: 1rem;
  height: 1rem;
}

.form-radio strong {
  display: block;
  margin-bottom: .2rem;
}

.form-radio-desc {
  display: block;
  font-size: .82rem;
  color: #64748b;
  line-height: 1.4;
}

.form-radio:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-bg);
  box-shadow: 0 0 0 3px rgba(149, 0, 76, 0.12);
}

/* ── Multi-column form rows ───────────────────────────────────────────── */
.form-row {
  display: grid;
  gap: .75rem;
}

.form-row--thirds {
  grid-template-columns: 1fr .6fr 1fr;
}

.form-row--address {
  grid-template-columns: 1fr .45fr;
}

.form-row--city {
  grid-template-columns: .45fr 1fr;
}

@media (max-width: 540px) {
  .form-row--thirds,
  .form-row--address,
  .form-row--city {
    grid-template-columns: 1fr;
  }
}

.news-list-item {
  padding: .9rem 1rem;
  border: 1px solid var(--color-light-mid);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
}

.news-list-item a {
  color: #0f172a;
}

.news-list-item a:hover {
  color: var(--color-accent);
}

.news-date {
  color: var(--color-text-grey);
  font-size: .95rem;
  margin-top: .2rem;
}

.section-link {
  margin-top: 1rem;
}

.section-link,
.section-link a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--color-accent-hover);
  font-weight: 700;
}

.section-link::after,
.section-link a::after {
  content: "\2192";
}

.band {
  margin-left: calc(var(--padding) * -1);
  margin-right: calc(var(--padding) * -1);
  padding: clamp(2.25rem, 5vw, 4.5rem) var(--padding);
}

.band + .band {
  margin-top: .6rem;
}

.band-surface {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.band-inner {
  width: min(100%, 80rem);
  margin: 0 auto;
}

.editorial-hero .band-inner {
  width: min(100%, 72rem);
}

.editorial-hero .intro {
  max-width: 58rem;
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem 1.5rem;
  margin-bottom: 1.1rem;
}

.band-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.2rem;
}

.editorial-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: min(100%, 66rem);
  margin: 0 auto;
  justify-items: stretch;
}

.editorial-block {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: clamp(1.15rem, 2.2vw, 1.8rem);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.editorial-block:hover {
  border-color: rgba(149, 0, 76, 0.28);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.editorial-block--flush {
  width: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(1.15rem, 2.2vw, 1.8rem) 0 0;
  box-shadow: none;
}

.editorial-block--flush:hover {
  border: 0;
  box-shadow: none;
}

.editorial-block h2 {
  margin: 0 0 .75rem;
}

.editorial-block h3 {
  margin: 1rem 0 .5rem;
}

.editorial-block > :first-child {
  margin-top: 0;
}

.editorial-block > :last-child {
  margin-bottom: 0;
}

.visual-grid {
  display: grid;
  gap: 1rem;
}

.visual-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  transition: transform .35s ease, box-shadow .35s ease;
  transform-style: preserve-3d;
}

.visual-card:hover {
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.visual-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-accent-bg), var(--color-slate-100));
}

.visual-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Calendar badge overlaid on event card image */
.event-card-badge {
  position: absolute;
  bottom: .65rem;
  left: .65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: var(--color-accent);
  border-radius: .4rem;
  padding: .3rem .6rem .4rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  min-width: 2.8rem;
  pointer-events: none;
}

.event-card-badge__day {
  font-family: var(--font-family-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.event-card-badge__month {
  font-family: var(--font-family-sans);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .15rem;
}

.visual-card-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 18% 20%, rgba(149, 0, 76, 0.18), transparent 48%),
    radial-gradient(circle at 78% 76%, rgba(14, 165, 233, 0.2), transparent 52%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.8), rgba(248, 250, 252, 0.85));
}

.visual-card-body {
  padding: 1rem 1rem 1.1rem;
}

.card-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: .55rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card-pill-event {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-link);
}

.card-pill-news {
  background: rgba(149, 0, 76, 0.1);
  color: var(--color-accent-dark);
}

.visual-card-body h2,
.visual-card-body h3 {
  margin: .25rem 0 0;
  line-height: 1.3;
}

.visual-card-body a:hover {
  color: var(--color-accent-hover);
}

.text .fullwidth-image-block {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100dvw;
  max-width: 100dvw;
  margin-left: 0;
  margin-right: 0;
  margin-top: calc(clamp(1.15rem, 2.2vw, 1.8rem) + 0.625rem);
  margin-bottom: .25rem;
}

@supports not (width: 100dvw) {
  .text .fullwidth-image-block {
    width: 100vw;
    max-width: 100vw;
  }
}

.text .fullwidth-image-block img {
  width: 100%;
  display: block;
  max-height: min(68vh, 42rem);
  object-fit: cover;
}

.text .fullwidth-image-block--small img {
  max-height: min(46vh, 30rem);
}

.text .fullwidth-image-block--medium img {
  max-height: min(68vh, 42rem);
}

.text .fullwidth-image-block--large img {
  max-height: min(86vh, 58rem);
}

.fullwidth-image-caption {
  width: min(100% - (2 * var(--padding)), 80rem);
  margin: .8rem auto 0;
  padding: 0 var(--padding);
  font-size: .95rem;
  color: var(--color-text-grey);
}




.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3.5rem;
  }

  .header {
    padding: .75rem 3.5rem;
  }

  .main {
    padding-top: 5rem;
  }

  .menu {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .band {
    padding-top: clamp(2.8rem, 5vw, 5rem);
    padding-bottom: clamp(2.8rem, 5vw, 5rem);
  }

  .editorial-flow {
    gap: 1.25rem;
  }

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

  .page-content {
    gap: 1.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-block {
    padding: 1.9rem;
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* Alpine.js form states */
button.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

button:disabled {
  pointer-events: none;
}

/* Flickr photo grid */
.flickr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

@media (min-width: 36rem) {
  .flickr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 60rem) {
  .flickr-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .flickr-grid-preview {
    grid-template-columns: repeat(6, 1fr);
  }
}

.flickr-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.15);
}

.flickr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .2s ease;
}

.flickr-thumb:hover img {
  transform: scale(1.06);
  opacity: .9;
}

.flickr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

.flickr-page-link {
  font-weight: 600;
}

.flickr-page-info {
  color: var(--color-text-grey);
  font-size: .9rem;
}

.flickr-credit {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--color-text-grey);
  text-align: center;
}

/* ── Nav search icon ──────────────────────────────── */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  padding: .3rem .4rem;
  color: var(--color-black);
  border-radius: 6px;
  transition: color .2s, background .2s;
  text-decoration: none !important;
}
.nav-search-btn:hover {
  color: var(--color-accent);
  background: rgba(149, 0, 76, 0.07);
}

/* ── Search page ──────────────────────────────────── */
[x-cloak] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.search-page {
  max-width: 50rem;
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.search-header {
  margin-bottom: 2.5rem;
}

.search-title {
  font-family: var(--font-family-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.search-bar {
  position: relative;
}

.search-input {
  width: 100%;
  padding: .9rem 1rem .9rem 3rem;
  font: inherit;
  font-size: 1.1rem;
  border: 2px solid var(--color-light-mid);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(149, 0, 76, 0.15);
}

.search-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-grey);
  pointer-events: none;
  display: flex;
}

.search-status {
  color: var(--color-grey);
  font-size: .95rem;
  padding: .5rem 0;
}

.search-count {
  font-size: .9rem;
  color: var(--color-grey);
  margin-bottom: 1.25rem;
}

.search-empty {
  padding: 3rem 0;
  text-align: center;
  font-size: 1rem;
}

.search-results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.search-result {
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-light-mid);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  transition: border-color .2s, box-shadow .2s;
}

.search-result:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(149, 0, 76, 0.1);
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-bottom: .35rem;
}

.search-result-pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 20px;
  flex-shrink: 0;
  background: rgba(149, 0, 76, 0.1);
  color: var(--color-accent-dark);
}

.pill-nieuws,
.pill-news,
.pill-news-item {
  background: rgba(149, 0, 76, 0.1);
  color: var(--color-accent-dark);
}

.pill-evenement,
.pill-calendar,
.pill-event {
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-link);
}

.pill-fotos {
  background: rgba(236, 72, 153, 0.1);
  color: #9d174d;
}

.search-result-title {
  font-weight: 600;
  color: var(--color-black);
  font-size: 1rem;
}

.search-result-link:hover .search-result-title {
  color: var(--color-accent);
}

.search-result-excerpt {
  font-size: .88rem;
  color: var(--color-grey);
  line-height: 1.55;
  margin-top: .1rem;
}


/* ── Member area tabs ─────────────────────────────── */
.member-tab-nav {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  padding: .5rem 0 0;
  box-shadow: inset 0 -1px 0 var(--color-light-mid);
}

.member-tab-btn {
  padding: .55rem 1.1rem .65rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-grey);
  cursor: pointer;
  transition: color .18s, border-color .18s;
}

.member-tab-btn:hover {
  color: var(--color-black);
}

.member-tab-btn.is-active,
.member-tab-btn[aria-selected="true"] {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 3px solid var(--color-accent);
}

.member-tab-empty {
  color: var(--color-grey);
  font-style: italic;
  padding: 2rem 0;
}

/* ── Facebook embed ───────────────────────────────── */
.facebook-embed-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
}

.facebook-embed-wrap > * {
  max-width: 100% !important;
}

.facebook-embed-wrap iframe {
  border-radius: 10px;
  max-width: 100%;
}

/* ── Content card block ───────────────────────────── */
.content-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-light-mid);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  backdrop-filter: blur(6px);
}

.content-card-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
  margin-bottom: 1.25rem;
}

.content-card-title + .content-card-body > *:first-child {
  margin-top: 0;
}

.content-card-body {
  font-size: 1rem;
}
