@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400&display=swap");

/* ── Prevent browser synthetic italic on display font ─────────── */
[style*="--font-display"],
.section-h,
.s-h,
.hero-title,
.ph-title,
.ap-title,
.cta-band h2,
.aw-num,
.ev-day,
.ev-ttl,
.mr-ttl,
.tm-name,
.aw-card-title,
.pr-acc-title,
.con-l h2,
.f-brand,
.mob-menu a,
.dn-impact-num,
.dn-other-title,
#curtain-copy .c-title,
.gi-step-body h3 {
  font-synthesis: none;
}

.section-h em,
.s-h em,
.hero-title em,
.ap-title em,
.pr-acc-title em,
.cta-band h2 em {
  font-style: normal;
  font-synthesis: none;
}

/* ── Left social sidebar — vertical rotated text ─────────────────── */
.social-sidebar {
  display: none;
}

.social-sidebar a {
  font-family: var(--font-ui);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
  width: 28px;
  text-align: center;
}

.social-sidebar a:hover {
  color: var(--ink);
}

.social-sidebar a:first-child {
  border-top: 1px solid var(--line);
}

:root {
  /* ── Font families ────────────────────────────── */
  /* ── Typography scale ─────────────────────────── */
  /* ── Display size scale ───────────────────────── */
  --text-xl: 20px;
  --text-2xl: 26px;
  --text-3xl: 32px;
  --text-4xl: 48px;
  --text-5xl: 56px;

  --text-xs: 9px;
  --text-sm: 11px;
  --text-base: 13px;
  --text-md: 15px;
  --text-lg: 17px;

  /* ── Line heights ──────────────────────────────── */
  --lh-tight: 0.92;
  --lh-snug: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;
  --lh-loose: 1.9;

  /* ── Font weights ──────────────────────────────── */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-heavy: 800;

  --font-display: "Unbounded", sans-serif;
  --font-ui: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --bg: #ffffff;
  --bg2: #f5f5f5;
  --bg3: #ebebeb;
  --ink: #111111;
  --ink2: #1c1c1c;
  --body: #212121;
  --prose: #3d3d3d;
  --prose-dark: rgba(255, 255, 255, 0.88);
  --placeholder: #868686;
  --mute: #868686;
  --line: #d0d0d0;
  --yell: #ebff57;
  --dark-yell: #90a300;
  --red: #ff6b57;
  --blue: #bf57ff;
  --purple: #bf57ff;
  --accent: var(--ink);
  --green: #97ff57;
  --dark-green: #3fa300;
  --ticker-bg: #111111;
  --ticker-text: #ebff57;
  --nav-bg: #ffffff;
  --cur-bg: #111111;
  --shadow-sm: 0px 0px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0px 2px 12px rgba(0, 0, 0, 0.1);

  --btn-bg: transparent;
  --btn-text: #111111;
  --btn-border: #111111;
  --btn-hover-bg: #111111;
  --btn-hover-txt: #ffffff;
}

html.dark {
  --bg: #212121;
  --bg2: #1a1a1a;
  --bg3: #242424;
  --ink: #ededed;
  --ink2: #d4d4d4;
  --body: #bcbcbc;
  --prose: rgba(220, 220, 220, 0.9);
  --prose-dark: rgba(255, 255, 255, 0.88);
  --placeholder: rgba(237, 237, 237, 0.38);
  --mute: #6e6e6e;
  --line: #2c2c2c;
  --yell: #ebff57;
  --dark-yell: #90a300;
  --red: #ff6b57;
  --blue: #bf57ff;
  --purple: #bf57ff;
  --accent: var(--ink);
  --green: #97ff57;
  --dark-green: #3fa300;
  --ticker-bg: #111111;
  --ticker-text: #ebff57;
  --nav-bg: #111111;
  --cur-bg: #0a0a0a;
  --shadow-sm: 0px 0px 4px rgba(0, 0, 0, 0.35);
  --shadow-md: 0px 2px 12px rgba(0, 0, 0, 0.4);

  --btn-bg: transparent;
  --btn-text: #ededed;
  --btn-border: #ededed;
  --btn-hover-bg: #ededed;
  --btn-hover-txt: #111111;
}

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

/* i18n cloak: hide content until language-switcher.js has applied translations,
   so users never see a flash of untranslated text. The script removes the
   .i18n-cloak class (reveal) after translating. The animation is a CSS-only
   failsafe: if the script never runs, the page still reveals itself after 2s
   instead of staying blank. NOTE: if a prefers-reduced-motion reset that kills
   all animations is ever added, re-enable this one inside that block. */
html.i18n-cloak body {
  visibility: hidden;
  animation: i18n-reveal-failsafe 0.01s linear 2s forwards;
}

@keyframes i18n-reveal-failsafe {
  to {
    visibility: visible;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  overflow-x: hidden;
  transition:
    background 0.3s,
    color 0.25s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fuW {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary,
.btn-ghost,
.btn-cta,
.btn-send,
.nav-cta,
.con-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-ui);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.btn-primary svg,
.btn-ghost svg,
.btn-cta svg,
.btn-send svg,
.nav-cta svg,
.con-submit svg {
  transition: transform 0.2s;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-cta:hover,
.btn-send:hover,
.nav-cta:hover,
.con-submit:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
  border-color: var(--btn-border);
}

.btn-primary:hover svg,
.btn-ghost:hover svg,
.btn-cta:hover svg,
.btn-send:hover svg,
.nav-cta:hover svg,
.con-submit:hover svg {
  transform: translateX(3px);
}

.btn-cta {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-border);
}

.btn-cta:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
  border-color: var(--btn-border);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-ui);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.ap-eyebrow,
.s-eye,
.hero-tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ap-eyebrow::before,
.s-eye::before,
.hero-tag::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--accent);
  flex-shrink: 0;
}

/* method-recap and hero now use light bg — .s-eye uses var(--mute) from utilities */

.section-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 40px);
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: var(--fw-heavy);
  line-height: var(--lh-tight);
}

.section-h em {
  font-style: normal;
  font-weight: var(--fw-medium);
  opacity: 0.5;
}

.s-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.s-h em {
  font-style: normal;
  font-weight: var(--fw-medium);
  opacity: 0.5;
}





#curtain-stage {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  pointer-events: all;
  /* Transparent so the parting panels reveal the live site behind them —
     a real theatrical reveal instead of a flat black hold. The two opaque
     panels fully cover the viewport until they slide away. */
  background: transparent;
}

#curtain-stage.open {
  pointer-events: none;
}

#curtain-stage.hidden {
  display: none;
}

/* Skip the intro entirely — with no flash — when it has already been seen
   this session. The `curtain-seen` class is set on <html> before first paint
   by the inline script in <head>, so the overlay never renders on reloads
   (e.g. clicking the logo to return home). */
html.curtain-seen #curtain-stage {
  display: none;
}

.curtain {
  width: 50%;
  height: 100%;
  background: #111111;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;   /* keep the Bauhaus shapes clipped to the fabric */
}

/* Seam of light down the centre split — brand yellow, glowing, brighter as
   the curtains part (reads as stage light spilling through the gap). */
.curtain-r::after,
.curtain-l::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--yell);
  opacity: 0;
  box-shadow: 0 0 18px 2px rgba(235, 255, 87, 0.55);
  transition: opacity 0.4s ease;
}

.curtain-l {
  transform-origin: left;
}

.curtain-l::after {
  right: 0;
}

.curtain-r {
  transform-origin: right;
}

.curtain-r::after {
  left: 0;
}

#curtain-stage.open .curtain-l::after,
#curtain-stage.open .curtain-r::after {
  opacity: 0.9;
}

#curtain-stage.open .curtain-l {
  transform: translateX(-100%);
}

#curtain-stage.open .curtain-r {
  transform: translateX(100%);
}

/* ── Bauhaus geometry on the curtains ────────────────
   Primary-colour primitives "printed" on the fabric; they ride outward with
   the panels as they open. Asymmetric placement (Bauhaus balance) keeps the
   centred intro copy clear. Decorative only — marked aria-hidden in the HTML. */
/* .cshape {
  position: absolute;
  pointer-events: none;
} */

/* Outlined ring — upper area of the left panel */
/* .cshape-ring {
  top: 13%;
  left: 11%;
  width: clamp(150px, 24vw, 300px);
  aspect-ratio: 1;
  border: 2px solid var(--yell);
  border-radius: 50%;
  opacity: 0.55;
} */

/* Solid coral diamond — lower area of the right panel */
/* .cshape-diamond {
  bottom: 15%;
  right: 15%;
  width: clamp(80px, 11vw, 140px);
  aspect-ratio: 1;
  background: var(--red);
  transform: rotate(45deg);
  opacity: 0.85;
} */

/* Small purple square — upper inner corner of the right panel */
/* .cshape-square {
  top: 18%;
  left: 16%;
  width: clamp(46px, 6vw, 84px);
  aspect-ratio: 1;
  background: var(--purple);
  opacity: 0.8;
} */

#curtain-content {
  position: absolute;
  inset: 0;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  pointer-events: none;
}

#curtain-content .c-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  /* color: rgba(255, 255, 255, 0.5); */
  color: var(--yell);
  margin-bottom: 28px;
  opacity: 0;
  animation: fuW 0.9s ease 0.3s forwards;
  display: flex;
  align-items: center;
  gap: 14px;
}

#curtain-content .c-eyebrow::before,
#curtain-content .c-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--yell);
  box-shadow: rgba(255, 255, 255, 0.4);
}

#curtain-content .c-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: var(--fw-heavy);
  color: #ffffff;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 780px;
  opacity: 0;
  animation: fuW 0.9s ease 0.55s forwards;
}

#curtain-content .c-title em {
  font-style: italic;
}

#curtain-content .c-sub {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-light);
  line-height: var(--lh-loose);
  color: rgba(255, 255, 255, 0.715);
  max-width: 460px;
  opacity: 0;
  animation: fuW 0.9s ease 0.8s forwards;
}

#curtain-btn {
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  width:48px;
  height:48px;
  border:none;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:bounceBtn 2s ease-in-out infinite;

}

/* Purple square */
#curtain-btn::before {
  content:"";
  position:absolute;
  inset:0;
  background:var(--purple);
  transform:translate(6px,-6px);
  z-index:0;
}


/* Yellow circle */

#curtain-btn::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:var(--yell);
  z-index:1;
}



.curtain-icons {
  position:absolute;
  inset:0;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}



/* SVG */

.curtain-icons svg {
  position:absolute;
  width:22px;
  height:22px;
  stroke:#111;
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}

/* PLAY / V */
#curtainPlayIcon {
  display:block;
}



/* PAUSE */
#curtainPauseIcon {
  display:none;
}



/* if button playing */

#curtain-btn.playing #curtainPlayIcon {
  display:none;

}


#curtain-btn.playing #curtainPauseIcon {
  display:block;
}


/* animation */
@keyframes bounceBtn {
  0%,100% {
    transform:translateX(-50%) translateY(-5px);
  }
  50% {
    transform:translateX(-50%) translateY(6px);
  }
}

/* Respect users who prefer reduced motion: no slide, no bounce, no staggered
   text — the intro simply appears and the JS still dismisses it on interaction. */
@media (prefers-reduced-motion: reduce) {
  .curtain { transition: none; }
  #curtain-btn { animation: none; }
  .cshape-diamond { transform: rotate(45deg); }
  #curtain-content .c-eyebrow,
  #curtain-content .c-title,
  #curtain-content .c-sub {
    animation: none;
    opacity: 1;
  }
}

/* ── Curtain dismiss ─────────────────────────────────
   The moment the curtain begins to open, fade out the enter button and the
   intro copy so neither floats over the parting panels or the site behind
   them. The panels keep their own 1.1s slide (see `#curtain-stage.open`
   above); the button/content just leave first. */
#curtain-btn {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#curtain-stage.open #curtain-btn {
  opacity: 0;
  transform: translateX(-50%) scale(0.85);
  animation: none;        /* stop the inviting bounce right away */
  pointer-events: none;
}

#curtain-content {
  transition: opacity 0.4s ease;
}

#curtain-stage.open #curtain-content {
  opacity: 0;
}



nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 52px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.3s,
    border-color 0.25s;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
  font-size: var(--text-md);
  height: 48px;
}

.nav-logo:hover {
  opacity: 0.75;
}

.nav-logo-svg {
  display: block;
  height: 100%;
  width: auto;
}

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

/* The logo is an <img>, so CSS `color` / `fill` can't recolour it (that only
   worked while it was inline SVG). In dark mode both nav and footer flip to a
   dark background, so recolour the monochrome mark to white via filter. */
html.dark .nav-logo-svg,
html.dark .footer-logo-svg {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--btn-text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.65;
}

.nav-links a.active {
  opacity: 0.65;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

/* ══════════════════════════════════════════════════════
   LANGUAGE TOGGLE — Bauhaus pill (EN | BG)
   ══════════════════════════════════════════════════════ */
.nav-cta {
  font-family: var(--font-ui);
  padding: 0 28px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: none;
  border-left: 1px solid var(--line);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 520;
  background: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 62px;
  overflow-y: auto;
}

.mob-menu.open {
  display: flex;
}

.mob-menu a {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em;
  color: var(--bg);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 70%;
  text-align: center;
  transition: opacity 0.2s;
  opacity: 0.7;
}

/* :first-of-type (not :first-child) so the top border still lands on the
   first link now that .mob-menu-close is the first DOM child. */
.mob-menu a:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mob-menu a:hover {
  opacity: 1;
}

/* Dedicated close (✕) button — the full-screen overlay covers the burger,
   so this is the visible way out. Positioned in the top padding strip. */
.mob-menu-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--bg);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.mob-menu-close:hover,
.mob-menu-close:focus-visible {
  opacity: 1;
}

.mob-cta-link {
  margin-top: 28px !important;
  background: transparent !important;
  color: var(--bg) !important;
  font-family: var(--font-ui) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 14px 40px !important;
  width: auto !important;
  border: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  opacity: 1 !important;
}

.ticker {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  z-index: 510;
  background: var(--ticker-bg);
  color: var(--ticker-text);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

html.dark .ticker {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.t-inner {
  display: inline-flex;
  gap: 56px;
  animation: tick 24s linear infinite;
}

.t-item {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
}

.t-item::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ticker-text);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.4;
}

body.menu-open .ticker {
  visibility: hidden;
}

@keyframes tick {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero {
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  padding-top: 99px;
  border: none;
  background-color: var(--ticker-bg);
}

.hero {
  background: var(--ticker-bg);
}

.hero>* {
  height: 100%;
}

.hero-image,
.hero-content,
.hero-vlabel {
  position: relative;
  z-index: 1;
}

#heroVideo,
#stagePlaceholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1400px) {
  .hero {
    max-width: 1280px;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    max-height: none;
    overflow: visible;
    grid-template-columns: 1fr;
  }
}

.hero-vlabel {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 28px 10px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(26px, 2.2vw, 34px);
  color: #f4f4ef;
  white-space: normal;
  max-height: 100%;
  overflow: hidden;
  background: var(--ticker-bg);
}

@media (max-width: 1024px) {
  .hero-vlabel {
    display: none;
  }
}

/* Left: image/video side */
.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--ticker-bg);
  min-height: 500px;
  /* prevents collapse on short viewports */
}

.spotlight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  background: radial-gradient(ellipse at top center,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      transparent 85%);
  pointer-events: none;
  z-index: 2;

  animation: spotPulse 5s ease-in-out infinite alternate;
}

@keyframes spotPulse {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  height: 100%;
}

.mask-art {
  width: 100%;
  height: 100%;
  position: relative;
}

.mask-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    opacity 0.4s ease;
}

.mask-art:hover video {
  filter: grayscale(0%);
  opacity: 0.9;
}

/* The hero play button (.video-play-overlay / .video-play-wrap /
   .video-play-btn) is defined once, in the "Play button" block further down. */

.hero-label {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--prose-dark);
  opacity: 0.5;
}

/* Right: content side */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;

  /* padding: clamp(32px, 5vh, 64px) 80px clamp(32px, 5vh, 64px) 52px; */
  margin: 0 auto;
  background: var(--bg);
  padding: 32px;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 80px);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-tight);
  margin-bottom: clamp(14px, 2vh, 22px);
  animation: fu 0.7s ease 0.35s both;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-weight: var(--fw-medium);
  font-style: normal;
  opacity: 0.5;
  color: var(--ink);
}

.hero-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--prose);
  margin-bottom: clamp(20px, 3vh, 36px);
  animation: fu 0.7s ease 0.5s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fu 0.7s ease 0.65s both;
  margin-bottom: clamp(24px, 4vh, 52px);
}

.btn-primary {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 32px;
  text-decoration: none;
  font-family: var(--font-ui);
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 24px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--btn-text);
  border-color: var(--btn-border);
  background: var(--btn-bg);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-ghost:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
  border-color: var(--btn-border);
}

.btn-ghost::after {
  display: none;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fu 0.7s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  opacity: 0.25;
  animation: sAnim 2s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

@keyframes sAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── ABOUT ─────────────────────────────────────────────────── */

.about-projects {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ap-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 52px;
}

.ap-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}

.ap-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}

.ap-title em {
  font-weight: var(--fw-medium);
  font-style: normal;
  opacity: 0.5;
  color: var(--ink);
}

.ap-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-loose);
  color: var(--prose);
  margin-bottom: 16px;
}

.ap-quote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--ink);
  background: var(--bg2);
}

.ap-quote p {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.2vw, 20px);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--ink);
  line-height: var(--lh-normal);
  letter-spacing: 0;
  margin: 0;
}

.ap-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  transition: gap 0.2s;
}

.ap-link:hover {
  color: var(--purple);
  gap: 12px;
}

.ap-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.image-wrapper {
  width: 100%;
  overflow: hidden;
}

.image {
  width: 100%;
  aspect-ratio: 4/3;
  background-image: url(../assets/img_about_2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--bg3);
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  display: block;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--yell) url(../assets/logo.svg) no-repeat left 20px center;
  background-size: auto 28px;
  clip-path: polygon(0% 0%, 58% 0%, 72% 100%, 0% 100%);
  z-index: 2;
}

.image-wrapper:hover .image {
  filter: grayscale(0%);
}

.aw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  margin-top: 2px;
}

.aw-stat {
  background: var(--bg2);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.25s;
}

.aw-stat:hover {
  background: var(--ink);
}

.aw-stat:hover .aw-num,
.aw-stat:hover .aw-lbl {
  font-family: var(--font-ui);
  color: var(--bg);
}

.aw-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  transition: color 0.2s;
  font-variant-numeric: tabular-nums;
}

.aw-lbl {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 6px;
  transition: color 0.2s;
}

.team {
  background: var(--bg);
  padding: 80px 52px;
  border-bottom: 1px solid var(--line);
}

.tm-container {
  max-width: 1280px;
  margin: 0 auto;
}

.tm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.tm-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 300px;
  text-align: right;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg);
}

.tm-card {
  position: relative;
  overflow: visible;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  padding-bottom: 24px;
}

.tm-card:last-child {
  border-right: none;
}

.tm-card:hover .tm-photo-inner {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.tm-photo-inner.team-1 {
  background-image: url(../assets/team_1.png);
}

.tm-photo-inner.team-2 {
  background-image: url(../assets/team_2.png);
}

.tm-photo-inner.team-3 {
  background-image: url(../assets/team_3.png);
}

.tm-photo-inner.team-4 {
  background-image: url(../assets/team_4.png);
}

/* Remove bottom bar — circle border replaces it */
.tm-card::before {
  display: none;
}

.tm-photo-wrap {
  position: relative;
  width: 68%;
  aspect-ratio: 1/1;
  overflow: visible;
  flex-shrink: 0;
  margin: 18px auto 20px;
}

/* Remove old ::before background SVG */
.tm-photo-wrap::before {
  display: none;
}

.tm-photo-wrap::after {
  display: none;
}

/* Inline SVG bubble — positioned to cover circle + tail */
/* height tall enough to include tail (~30% extra) */

/* .tm-bubble {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px + 28%);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}  */

.bubble-path {
  fill: none;
  stroke-width: 4.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.tm-bubble {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  z-index: 3;
  pointer-events: none;
}

.bubble-circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  transition: stroke 0.3s ease;
  opacity: 0.6;
}

.bubble-tail {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
  opacity: 0.6;
}

.tm-card:nth-child(1) {
  color: var(--purple);
}

.tm-card:nth-child(2) {
  color: var(--yell);
}

.tm-card:nth-child(3) {
  color: var(--red);
}

.tm-card:nth-child(4) {
  color: var(--purple);
}

.tm-photo-inner {
  position: absolute;
  inset: 3.5px;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg3);
  background-repeat: no-repeat;
  border-radius: 50%;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.5s ease;
}

.tm-card:hover .tm-photo-inner {
  transform: scale(1.02);
  filter: grayscale(0%);
}

/* Bubble/photo fit —  full fit wrap, bubble stroke-width */
@media (max-width: 768px) {
  .tm-photo-inner {
    inset: -2px;
  }
}

.tm-card-overlay {
  display: none;
}

.tm-photo-text {
  width: 100%;
  padding: 18px;
  text-align: center;
}

.tm-name {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.tm-role {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  margin-top: 2px;
}

.tm-body {
  padding: 12px 18px 0;
  background: var(--bg);
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-top: none;
}

.tm-bio {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  flex: 1;
  margin-bottom: 14px;
}

.tm-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.tm-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--mute);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
  border: 1px solid var(--line);
}

.tm-social-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.tm-social-link svg {
  display: block;
  flex-shrink: 0;
}

html.dark .team,
html.dark .tm-card,
html.dark .tm-body {
  background: var(--bg);
}

html.dark .tm-social-link {
  color: var(--mute);
  border-color: var(--line);
}

html.dark .tm-social-link:hover {
  color: var(--ink);
}

@media (max-width: 1024px) {
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tm-card:nth-child(2) {
    border-right: none;
  }

  .tm-card:nth-child(3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .team {
    padding: 48px 20px;
  }

  .tm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tm-lead {
    text-align: left;
    max-width: 100%;
  }

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

  .tm-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 0 16px;
    overflow: hidden;
  }

  .tm-card:last-child {
    border-bottom: none;
  }

  .tm-photo-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    margin: 0;
    align-self: start;
    margin-top: 2px;
    transition: transform 0.4s ease;
  }

  .tm-card:hover .tm-photo-wrap {
    transform: scale(1.04);
  }

  .tm-card:hover .tm-photo-inner {
    transform: none;

    filter: grayscale(0%);
  }

  .tm-photo-text {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 6px 0;
    width: 100%;
  }

  .tm-name {
    font-size: 15px;
    text-align: left;
    color: var(--ink);
  }

  .tm-role {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-align: left;
    opacity: 0.55;
  }

  .tm-body {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
    text-align: left;
    border-top: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .tm-bio {
    display: block;
    font-size: var(--text-sm);
    margin-bottom: 10px;
  }

  .tm-socials {
    display: flex;
    justify-content: flex-start;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .team {
    padding: 40px 16px;
  }

  .tm-card {
    grid-template-columns: 80px 1fr;
    padding: 16px;
    gap: 0 12px;
  }

  .tm-photo-wrap {
    width: 72px;
    height: 72px;
  }

  .tm-bio {
    font-size: var(--text-xs);
  }
}

@media (max-width: 360px) {
  .tm-card {
    grid-template-columns: 68px 1fr;
    padding: 14px;
    gap: 0 10px;
  }

  .tm-photo-wrap {
    width: 60px;
    height: 60px;
  }

  .tm-name {
    font-size: 13px;
  }
}

.projects {
  background: var(--bg2);
  padding: 96px 52px;
  border-bottom: 1px solid var(--line);
}

.aw-proj-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.aw-proj-head .ap-eyebrow {
  margin-bottom: 0;
}

.aw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg);
}

.aw-card {
  background: var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
  position: relative;
  border-right: 1px solid var(--line);
}

.aw-card:last-child {
  border-right: none;
}

.aw-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.aw-card:hover {
  background: var(--bg2);
}

.aw-card:hover::after {
  transform: scaleX(1);
}

.aw-card:hover .aw-card-num {
  color: var(--ink);
  opacity: 0.35;
}

.aw-card-num {
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  font-size: var(--text-5xl);
  font-weight: var(--fw-regular);
  color: var(--line);
  line-height: 1;
  padding: 32px 28px 0;
  transition: color 0.25s;
}

.aw-card-body {
  padding: 16px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aw-card-cat {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.aw-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.aw-card-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: 20px;
}

.aw-card-link {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: letter-spacing 0.2s;
}

.aw-card-link:hover {
  letter-spacing: 0.15em;
}

.events {
  background: var(--bg);
  padding: 96px 52px;
  border-bottom: 1px solid var(--line);
}

.ev-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
}

.ev-list {
  border-top: 1px solid var(--line);
}

.ev-row {
  display: grid;
  grid-template-columns: 80px 1fr auto 24px;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding-left 0.2s;
}

.ev-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--ink);
  opacity: 0.06;
  transition: width 0.2s;
}

.ev-row:hover {
  padding-left: 14px;
}

.ev-row:hover::after {
  width: 100%;
}

.ev-row:hover .ev-arr {
  font-family: var(--font-ui);
  color: var(--ink);
  transform: translateX(4px);
}

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

.ev-day {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.ev-mon {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
}

.ev-ttl {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  margin-bottom: 6px;
}

.ev-meta {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--mute);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

html.dark .ev-meta {
  color: var(--prose-dark);
}

.ev-tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  white-space: nowrap;
  align-self: center;
}

html.dark .ev-tag {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--prose-dark);
}

.ev-arr {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--line);
  transition:
    color 0.2s,
    transform 0.2s;
}

.method-recap {
  background: var(--bg2);
  padding: 96px 52px;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.mr-watermark {
  font-family: var(--font-display);
  position: absolute;
  bottom: -0.3em;
  right: -0.05em;
  font-size: clamp(80px, 12vw, 180px);
  font-style: normal;
  font-weight: var(--fw-regular);
  color: var(--ink);
  opacity: 0.12;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  overflow: visible;
}

.method-recap .ev-header {
  display: block;
  margin-bottom: 52px;
}

.mr-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 560px;
}

.mr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  margin-top: 56px;
}

.mr-card {
  background: var(--bg);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}

.mr-card:hover {
  background: var(--bg2);
}

/* Accent line bottom — brand colors */
.mr-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mr-card:hover::before {
  transform: scaleX(1);
}

/* Brand accent colours per card — purple / yellow / red / purple */
.mr-card:nth-child(1)::before {
  background: var(--purple);
}

.mr-card:nth-child(2)::before {
  background: var(--yell);
}

.mr-card:nth-child(3)::before {
  background: var(--red);
}

.mr-card:nth-child(4)::before {
  background: var(--purple);
}

.mr-card::after {
  display: none;
}

.mr-num {
  font-family: var(--font-display);
  font-weight: var(--fw-heavy);
  font-size: var(--text-5xl);
  font-weight: var(--fw-regular);
  color: var(--ink);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.mr-card:hover .mr-num {
  opacity: 0.3;
}

.mr-ttl {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  margin-bottom: 12px;
}

.mr-txt {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  line-height: var(--lh-relaxed);
}

.cta-band {
  background: var(--ink);
  padding: 80px 52px;
  border-top: none;
  border-bottom: none;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 60px);
  font-weight: var(--fw-heavy);
  color: #ffffff;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--yell);
}

.cta-band p {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--lh-relaxed);
}

.cta-band .btn-cta,
.cta-band .btn-primary,
.cta-band .btn-ghost {
  color: #f0ede8;
  border-color: #f0ede8;
}

.cta-band .btn-cta:hover,
.cta-band .btn-primary:hover,
.cta-band .btn-ghost:hover {
  background: #f0ede8;
  color: #111110;
  border-color: #f0ede8;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ── Left: info panel ─────────────────────────────────────────── */
.con-l {
  padding: 64px 52px;
  border-right: 1px solid var(--line);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.con-l h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin-bottom: 14px;
}

.con-l h2 em {
  font-weight: var(--fw-medium);
  opacity: 0.5;
}

.con-l>p {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}

.con-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.con-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.con-item:last-child {
  border-bottom: none;
}

.c-ico {
  color: var(--ink);
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

.c-lbl {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}

.c-val {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--ink);
  line-height: var(--lh-normal);
}

.c-val a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}

.c-val a:hover {
  border-color: var(--ink);
}

/* ── Right: form panel ────────────────────────────────────────── */
.con-r {
  padding: 64px 52px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact .s-eye {
  color: var(--mute);
  margin-bottom: 0;
}

.contact .s-eye::before {
  background: var(--accent);
}

/* ── Form fields ──────────────────────────────────────────────── */
.fgrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

/* Select appearance reset — covers both forms */
.fg select,
.gi-field .gi-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  /* space for "↓"*/
}

/*  "↓" select */
.fg select {
  background-image: none;
}

/* Custom dropdown arrow — covers both forms */
.fg:has(select),
.gi-field:has(.gi-select) {
  position: relative;
}

.fg:has(select)::after,
.gi-field:has(.gi-select)::after {
  font-family: var(--font-ui);
  content: "↓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--text-sm);
  color: var(--ink);
}

.fg label {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.fg input,
.fg textarea,
.fg select {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.fg input::placeholder,
.fg textarea::placeholder,
.fg select::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

html.dark .fg select,
html.dark .gi-opts,
html.dark select,
html.dark select option {
  background: var(--bg);
  color: var(--ink);
}

/* Light mode option colors — overrides browser defaults */
select option {
  background: var(--bg);
  color: var(--ink);
}

select option:checked,
select option:hover {
  background: var(--ink);
  color: var(--bg);
}

.fg select {
  color: var(--placeholder);
  cursor: pointer;
}

.fg select.has-value {
  color: var(--ink);
}

.fg textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--lh-relaxed);
}

.btn-send {
  align-self: flex-start;
  margin-right: 10px;
}

/* ── Form validation styles (contact + get-involved) ─────────── */

/* Error text */
.fg .error,
.gi-field .error {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--red);
  line-height: 1.4;
  min-height: 1em;
  transition: opacity 0.2s ease;
}

/* Character counter */
#char-count,
#gf-char-count {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--mute);
  text-align: right;
  line-height: 1.4;
}

/* Error state – border */
.fg input.error-border,
.fg textarea.error-border,
.fg select.error-border,
.gi-field input.error-border,
.gi-field textarea.error-border,
.gi-field select.error-border {
  border-color: var(--red);
}

/* Success state – border */
.fg input.success,
.fg textarea.success,
.fg select.success,
.gi-field input.success,
.gi-field textarea.success,
.gi-field select.success {
  border-color: var(--dark-yell);
}

/* Error focus */
.fg input.error-border:focus,
.fg textarea.error-border:focus,
.fg select.error-border:focus,
.gi-field input.error-border:focus,
.gi-field textarea.error-border:focus,
.gi-field select.error-border:focus {
  border-color: var(--red);
}

/* Success focus */
.fg input.success:focus,
.fg textarea.success:focus,
.fg select.success:focus,
.gi-field input.success:focus,
.gi-field textarea.success:focus,
.gi-field select.success:focus {
  border-color: var(--dark-yell);
}

/* Success message container */
.fg-success-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

#form-success,
#gi-form-success {
  flex-grow: 0;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  background: var(--ticker-bg);
  color: var(--ticker-text);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#form-success.show,
#gi-form-success.show {
  opacity: 1;
}

/* Disabled button */
.btn-send:disabled,
.gi-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading state */
.btn-send.loading,
.gi-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

footer {
  background: var(--bg);
  padding: 64px 52px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-brand a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  opacity: 1;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.f-brand a:hover {
  opacity: 0.7;
}

html.dark .f-brand a {
  color: var(--yell);
}

.f-brand .logo-o-icon {
  height: 26px;
  width: auto;
}

.footer-logo-svg {
  display: block;
  width: auto;
  height: 48px;
}

.f-brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 2px;
}

.f-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  line-height: var(--lh-relaxed);
  margin-top: 14px;
}

.f-col h5 {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--text-base);
}

.f-links a {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  text-decoration: none;
  transition: color 0.2s;
}

.f-links a:hover {
  color: var(--ink);
}

.footer-bot {
  font-family: var(--font-ui);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--prose);
  letter-spacing: 0.06em;
  padding-right: 60px;
}

.soc {
  display: flex;
  gap: 20px;
}

.soc a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

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

.theme-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 600;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.theme-btn:hover {
  opacity: 0.75;
}

.theme-btn .i-d {
  display: block;
}

.theme-btn .i-l {
  display: none;
}

html.dark .theme-btn .i-d {
  display: none;
}

html.dark .theme-btn .i-l {
  display: block;
}

.page-hero {
  background: var(--bg2);
  padding-top: calc(62px + 37px + 40px);
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(56px + 37px + 28px);
    padding-bottom: 28px;
  }
}

.ph-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 52px;
}

@media (max-width: 768px) {
  .ph-inner {
    padding: 0 20px;
  }
}

.ph-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 76px);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-top: 16px;
  margin-bottom: 24px;
}

.ph-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 560px;
  opacity: 0.8;
}

.nav-links a.active {
  color: var(--ink);
}

.projects--page,
.events--page,
.contact--page {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.events--page {
  padding-top: 64px;
}

@media (max-width: 768px) {
  .events--page {
    padding-top: 44px;
  }
}

.ev-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px;
  gap: 0;
  align-items: start;
  border-left: none;
  border-right: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

@media (max-width: 1024px) {
  .ev-layout {
    padding: 0 28px;
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 640px) {
  .ev-layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

.ev-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 0;
  padding-top: 36px;
  padding-bottom: 48px;
  position: sticky;
  top: calc(62px + 37px + 16px);
}

@media (max-width: 640px) {
  .ev-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
    padding-top: 24px;
  }

  /* Constrain sidebar blocks on mobile (left-aligned) */
  .ev-sb-block {
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }

  /* HIDE calendar on mobile — replaced by month chips */
  .ev-sb-block--calendar,
  .ev-cal-selected-wrap {
    display: none;
  }
}

/* ── Month chips base (desktop: hidden) ───────────────── */
.ev-month-chips-wrap {
  display: none;
}

.ev-month-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .ev-month-chips {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.ev-month-chips::-webkit-scrollbar {
  height: 3px;
}

.ev-month-chips::-webkit-scrollbar-track {
  background: transparent;
}

.ev-month-chips::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 2px;
}

.ev-month-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.ev-month-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ev-month-chip:active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Sticky month headers — hidden by default (desktop) */
.ev-month-header {
  display: none;
}

/* ── Year dividers — shown when sorting by "Year" (desktop + mobile) ── */
.ev-year-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: 1;
}

.ev-year-header::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--line);
}

.ev-year-header:first-child {
  margin-top: 0;
}

/* ── Mobile: SHOW month chips and headers ───────────── */
@media (max-width: 640px) {
  .ev-month-chips-wrap {
    display: block;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .ev-month-chips-wrap .ev-sb-title {
    margin-bottom: 12px;
  }

  .ev-month-header {
    display: block;
    position: sticky;
    top: 62px;
    /* below nav */
    z-index: 10;
    background: var(--bg);
    padding: 12px 0 8px;
    margin-top: 8px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .ev-month-header:first-child {
    margin-top: 0;
  }
}

.ev-sb-block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.ev-sb-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ev-sb-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}

.ev-sb-quick {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--body);
  background: none;
  border: none;
  border-bottom: 1px dotted var(--line);
  cursor: pointer;
  transition: color 0.2s;
}

.ev-sb-quick:first-of-type {
  border-top: 1px dotted var(--line);
}

.ev-sb-quick:hover {
  color: var(--ink);
}

.ev-sb-quick.active {
  color: var(--purple);
  font-weight: var(--fw-bold);
  padding-left: 12px;
  position: relative;
}

.ev-sb-quick.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: var(--purple);
  border-radius: 2px;
}

.ev-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ev-cal-month {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--ink);
  letter-spacing: 0.04em;
}

.ev-cal-arrow {
  background: none;
  border: none;
  font-size: var(--text-xl);
  color: var(--mute);
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color 0.2s;
  font-family: sans-serif;
}

.ev-cal-arrow:hover {
  color: var(--ink);
}

.ev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.ev-cal-dow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 4px 0;
}

.ev-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ev-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--body);
  background: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: var(--font-ui);
}

.ev-cal-day:hover {
  background: var(--bg3);
  color: var(--ink);
}

.ev-cal-day--today {
  background: var(--purple);
  color: var(--bg);
  font-weight: var(--fw-semi);
}

.ev-cal-day--empty {
  pointer-events: none;
}

.ev-cal-day--has-event {
  position: relative;
  font-weight: var(--fw-semi);
  color: var(--ink);
}

.ev-cal-day--has-event::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--purple);
  border-radius: 50%;
}

.ev-cal-day--selected {
  background: var(--ink) !important;
  color: var(--bg) !important;
  font-weight: var(--fw-bold);
  border-radius: 2px;
}

.ev-cal-selected-wrap {
  font-family: var(--font-ui);
  background: var(--bg3);
  border-left: 3px solid var(--ink);
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: var(--lh-normal);
}

.ev-cal-selected-wrap strong {
  font-family: var(--font-ui);
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
}

.ev-cal-selected-wrap span {
  font-family: var(--font-ui);
  color: var(--prose);
  font-size: var(--text-sm);
}

.ev-cal-selected-wrap em {
  font-family: var(--font-ui);
  color: var(--mute);
  font-style: normal;
  font-size: var(--text-sm);
}

.ev-sb-check {
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--body);
  cursor: pointer;
  padding: 5px 0;
  transition: color 0.2s;
}

.ev-sb-check input[type="checkbox"] {
  accent-color: var(--ink);
  width: 13px;
  height: 13px;
  cursor: pointer;
}

.ev-sb-check:hover {
  color: var(--ink);
}

.ev-sb-sort {
  display: flex;
  gap: 3px;
}

.ev-sb-sort-btn {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-ui);
}

.ev-sb-sort-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ev-sb-sort-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.ev-grid-wrap {
  padding: 36px 0 48px 36px;
  border-left: none;
}

@media (max-width: 768px) {
  .ev-grid-wrap {
    padding: 24px 0;
  }
}

.ev-grid-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ev-type-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ev-type-btn {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-ui);
}

.ev-type-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ev-type-btn.active {
  background: var(--ink);
  color: var(--line);
  border-color: var(--ink);
}

.ev-grid-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ev-grid-sort .ev-sort-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prose);
}

.ev-grid-sort .ev-count {
  font-family: var(--font-ui);
  margin-right: auto;
}

.ev-sb-sort-btn {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-ui);
}

.ev-sb-sort-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ev-sb-sort-btn.active {
  background: var(--ink);
  color: var(--line);
  border-color: var(--ink);
}

.ev-count {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: none;
  border-left: none;
}

@media (max-width: 900px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }
}

.ev-clear-filters {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}

.ev-clear-filters:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.ev-card2 {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--bg);
  padding: 16px;
  gap: 16px;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  border-right: none;
  border-bottom: 1px solid var(--line);
}

.ev-card2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}

.ev-card2:nth-child(3n + 1)::before {
  background: var(--purple);
}

.ev-card2:nth-child(3n + 2)::before {
  background: var(--yell);
}

.ev-card2:nth-child(3n + 3)::before {
  background: var(--red);
}

.ev-card2:hover {
  background: var(--bg2);
}

.ev-card2:hover::before {
  transform: scaleY(1);
}

.ev-card2:hover .ev-card2-title {
  color: var(--ink);
}

.ev-card2-img-wrap {
  display: block;
  width: 110px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: var(--bg3);
}

@media (max-width: 360px) {
  .ev-card2-img-wrap {
    width: 90px;
    flex: 0 0 90px;
  }
}

.ev-card2-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.5s ease;
}

.ev-card2-img.ev-img-1 {
  background-image: url(../assets/event_1.jpg);
}

.ev-card2-img.ev-img-2 {
  background-image: url(../assets/event_2.jpg);
}

.ev-card2-img.ev-img-3 {
  background-image: url(../assets/event_3.jpg);
}

.ev-card2-img.ev-img-4 {
  background-image: url(../assets/event_4.jpg);
}

.ev-card2-img.ev-img-5 {
  background-image: url(../assets/event_5.jpg);
}

.ev-card2-img.ev-img-6 {
  background-image: url(../assets/event_6.jpg);
}

.ev-card2:hover .ev-card2-img {
  transform: scale(1.05);
}

.ev-card2-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.ev-card2-tag {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.ev-card2-title {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--ink);
  line-height: var(--lh-snug);
  margin: 0;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ev-card2-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.ev-card2-meta span {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--prose);
  line-height: var(--lh-normal);
}

.ev-card2-cta {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition:
    color 0.2s,
    gap 0.2s;
  font-family: var(--font-ui);
}

.ev-card2-cta:hover {
  color: var(--purple);
  gap: 8px;
}

/* ── Past events — clearly set apart, still browsable ── */
.ev-card2--past .ev-card2-img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition:
    filter 0.4s ease,
    opacity 0.4s ease,
    transform 0.5s ease;
}

.ev-card2--past .ev-card2-tag {
  color: var(--mute);
}

/* Hover brings a past card back to life — signals it's still clickable */
.ev-card2--past:hover .ev-card2-img {
  filter: grayscale(0%);
  opacity: 1;
}

.ev-card2-past,
.ev-card2-upcoming {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  box-sizing: border-box;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1;
}

.ev-card2-past {
  color: var(--bg);
  background: var(--ink);
}

.ev-card2-upcoming {
  color: #111;
  background: var(--purple);
}

html.dark .ev-card2 {
  background: var(--bg2);
}

html.dark .ev-card2:hover {
  background: var(--bg3);
}

html.dark .ev-sidebar {
  border-color: var(--line);
}

html.dark .ev-cal-day--today {
  background: var(--purple);
  color: var(--bg);
}

html.dark .ev-card2-img-wrap {
  background: var(--bg3);
}

.page-hero--compact {
  padding-top: calc(62px + 37px + 28px);
  padding-bottom: 28px;
}

.page-hero--compact .ph-title {
  font-size: clamp(24px, 3.5vw, 52px);
}

.page-hero--compact .ph-desc {
  display: none;
}

@media (max-width: 768px) {
  .page-hero--compact {
    padding-top: calc(56px + 37px + 18px);
    padding-bottom: 18px;
  }
}

.pr-accordion {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

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

.pr-acc-item.open .pr-acc-icon-line-v {
  transform: scaleY(0);
}

.pr-acc-header {
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  padding: 24px 48px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 0 32px;
  transition: background 0.2s;
}

.pr-acc-header:hover {
  background: var(--bg2);
}

.pr-acc-header:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .pr-acc-header {
    grid-template-columns: 56px 1fr auto;
    padding: 18px 20px;
    gap: 0 16px;
  }
}

.pr-acc-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: var(--fw-regular);
  color: var(--line);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Brand accent per accordion item */
.pr-acc-item:nth-child(1) .pr-acc-num {
  color: var(--purple);
}

.pr-acc-item:nth-child(2) .pr-acc-num {
  color: var(--yell);
}

.pr-acc-item:nth-child(3) .pr-acc-num {
  color: var(--red);
}

.pr-acc-item:nth-child(4) .pr-acc-num {
  color: var(--purple);
}

.pr-acc-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pr-acc-cat {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.pr-acc-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: 0;
}

.pr-acc-title em {
  font-style: normal;
  font-weight: var(--fw-medium);
  opacity: 0.5;
}

.pr-acc-icon {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.pr-acc-header:hover .pr-acc-icon {
  border-color: var(--ink);
}

.pr-acc-icon-line-v,
.pr-acc-icon-line-h {
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s ease;
}

.pr-acc-icon-line-v {
  width: 1.5px;
  height: 13px;
}

.pr-acc-icon-line-h {
  width: 13px;
  height: 1.5px;
}

.pr-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.pr-acc-item.open .pr-acc-panel {
  grid-template-rows: 1fr;
}

.pr-acc-panel-inner {
  overflow: hidden;
}

.pr-acc-content {
  display: grid;
  grid-template-columns: 220px 180px 1fr;
  min-height: 320px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

@media (max-width: 1024px) {
  .pr-acc-content {
    grid-template-columns: 160px 140px 1fr;
  }
}

@media (max-width: 768px) {
  .pr-acc-content {
    grid-template-columns: auto 1fr;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .pr-acc-content {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 360px) {
  .pr-acc-content {
    grid-template-columns: 90px 1fr;
  }
}

.pr-acc-visual-left {
  position: relative;
  border-right: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px 20px;
  background: var(--bg);
}

@media (max-width: 768px) {
  .pr-acc-visual-left {
    display: none;
  }
}

.pr-acc-bg-num {
  position: absolute;
  bottom: -0.1em;
  left: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 180px);
  font-weight: var(--fw-bold);
  color: var(--ink);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
  overflow: hidden;
  user-select: none;
}

.pr-acc-vert-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  z-index: 1;
}

.pr-acc-visual-mid {
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-acc-visual-mid svg {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 240px;
  display: block;
  object-fit: contain;
}

.pr-acc-text {
  padding: 40px 52px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  background: var(--bg);
}

@media (max-width: 1024px) {
  .pr-acc-text {
    padding: 28px 32px;
  }
}

@media (max-width: 768px) {
  .pr-acc-text {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .pr-acc-text {
    padding: 20px 16px;
  }
}

@media (max-width: 360px) {
  .pr-acc-text {
    padding: 16px 12px;
  }
}

.pr-acc-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 540px;
  margin: 0;
}

.pr-acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pr-acc-tags li {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body);
  border: 1px solid var(--line);
  padding: 4px 12px;
  font-family: var(--font-ui);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.pr-acc-tags li:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pr-acc-cta {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  transition:
    color 0.2s,
    gap 0.2s;
  font-family: var(--font-ui);
}

.pr-acc-cta:hover {
  color: var(--purple);
  gap: 10px;
}

html.dark .pr-accordion,
html.dark .pr-acc-header,
html.dark .pr-acc-content,
html.dark .pr-acc-visual-left,
html.dark .pr-acc-visual-mid,
html.dark .pr-acc-text {
  background: var(--bg);
}

html.dark .pr-acc-header:hover {
  background: var(--bg2);
}

html.dark .pr-acc-num,
html.dark .pr-acc-vert-title {
  color: var(--mute);
}

html.dark .pr-acc-title {
  color: var(--ink);
}

html.dark .pr-acc-cat {
  color: var(--mute);
}

html.dark .pr-acc-bg-num {
  color: var(--ink);
  opacity: 0.05;
}

html.dark .pr-acc-desc {
  color: var(--prose);
}

html.dark .pr-acc-icon-line-v,
html.dark .pr-acc-icon-line-h {
  background: var(--ink);
}

html.dark .pr-acc-icon {
  border-color: var(--line);
}

html.dark .pr-acc-tags li {
  color: var(--body);
  border-color: var(--line);
}

html.dark .pr-acc-tags li:hover {
  color: var(--ink);
  border-color: var(--ink);
}

html.dark .pr-acc-cta {
  color: var(--ink);
  border-color: var(--line);
}

html.dark .pr-acc-cta:hover {
  color: var(--ink);
}

html.dark .pr-acc-visual-mid {
  color: var(--ink);
}

.con-page {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: calc(100vh - 62px - 37px);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .con-page {
    grid-template-columns: 1fr;
  }
}

.con-info {
  background: var(--bg2);
  border-right: 1px solid var(--line);
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
}

@media (max-width: 1024px) {
  .con-info {
    padding: 48px 36px;
  }
}

@media (max-width: 900px) {
  .con-info {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 24px;
    gap: 36px;
  }
}

.con-info-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.con-info-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: var(--fw-regular);
  color: var(--ink);
  line-height: var(--lh-snug);
  margin: 0;
}

.con-info-title em {
  font-style: italic;
}

.con-info-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 360px;
  margin: 0;
}

.con-info-blocks {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.con-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.con-info-item:last-child {
  border-bottom: none;
}

.con-info-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-family: var(--font-ui);
}

.con-info-val {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--ink);
  line-height: var(--lh-normal);
}

.con-info-val a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.con-info-val a:hover {
  color: var(--ink);
}

.con-info-socials {
  display: flex;
  gap: 20px;
}

.con-form-wrap {
  background: var(--bg);
  padding: 64px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1024px) {
  .con-form-wrap {
    padding: 48px 36px;
  }
}

@media (max-width: 900px) {
  .con-form-wrap {
    padding: 40px 24px;
  }
}

.con-form-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.con-form-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  margin: 0;
  line-height: var(--lh-normal);
}

.con-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.con-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 540px) {
  .con-row-2 {
    grid-template-columns: 1fr;
  }
}

.con-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.con-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-family: var(--font-ui);
}

.con-input,
.con-textarea,
.con-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: var(--text-base);
  color: var(--ink);
  font-family: var(--font-ui);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: var(--shadow-sm);
}

.con-input::placeholder,
.con-textarea::placeholder,
.con-select::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.con-input:focus,
.con-textarea:focus,
.con-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.con-select-wrap {
  position: relative;
}

.con-select-arrow {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
}

.con-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: var(--lh-normal);
  padding-top: 10px;
}

.con-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 36px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    gap 0.2s;
}

.con-submit svg {
  transition: transform 0.2s;
}

.con-submit:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
  gap: 16px;
}

.con-submit:hover svg {
  transform: translateX(4px);
}

html.dark .con-page,
html.dark .con-info,
html.dark .con-form-wrap {
  background: var(--bg);
  border-color: var(--line);
}

html.dark .con-info-title,
html.dark .con-info-val {
  color: var(--ink);
}

html.dark .con-info-val a {
  color: var(--ink);
}

html.dark .con-info-val a:hover {
  color: var(--mute);
}

html.dark .con-select option {
  background-color: #22003a;
  color: var(--ink);
}

html.dark .con-input,
html.dark .con-textarea,
html.dark .con-select {
  background: var(--bg2);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.35);
}

html.dark .con-input:focus,
html.dark .con-textarea:focus,
html.dark .con-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

html.dark .con-input::placeholder,
html.dark .con-textarea::placeholder,
html.dark .con-select::placeholder {
  color: var(--placeholder);
}

html.dark .con-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 36px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    gap 0.2s;
}

html.dark .con-submit svg {
  transition: transform 0.2s;
}

html.dark .con-submit:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
  gap: 16px;
}

html.dark .con-submit:hover svg {
  transform: translateX(4px);
}

.gi-switcher {
  position: fixed;
  top: calc(62px + 37px);
  left: 0;
  right: 0;
  z-index: 499;
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.gi-switch-btn {
  flex: 1;
  padding: 0;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--mute);
  border: none;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.gi-switch-btn:last-child {
  border-right: none;
}

.gi-switch-btn:hover {
  background: var(--bg2);
  color: var(--ink);
}

.gi-switch-btn--active {
  background: var(--ink);
  color: #fff;
}

.gi-hero {
  padding-top: calc(62px + 37px + 49px + 28px);
}

.gi-intro {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.gi-intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

@media (max-width: 768px) {
  .gi-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
    gap: 28px;
  }
}

.gi-intro-text {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  max-width: 700px;
  margin: 0;
}

.gi-intro-text em {
  font-style: italic;
}

.gi-intro-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.gi-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

@media (max-width: 900px) {
  .gi-cols {
    grid-template-columns: 1fr;
  }
}

.gi-col {
  padding: 64px 52px;
}

@media (max-width: 1024px) {
  .gi-col {
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .gi-col {
    padding: 36px 20px;
  }
}

.gi-col .section-h {
  margin-bottom: 40px;
}

.gi-col--left {
  border-right: 1px solid var(--line);
}

@media (max-width: 900px) {
  .gi-col--left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

.gi-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.gi-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.gi-item-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  color: var(--mute);
  min-width: 28px;
  flex-shrink: 0;
  padding-top: 2px;
}

.gi-item-title {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}

.gi-item-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin: 0;
}

.gi-process {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.gi-process-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 52px;
}

@media (max-width: 768px) {
  .gi-process-inner {
    padding: 0 20px;
  }
}

.gi-process-inner .ap-eyebrow {
  color: var(--mute);
  opacity: 1;
}

.gi-process-inner .ap-eyebrow::before {
  background: var(--accent);
  opacity: 1;
}

.gi-process-inner .section-h {
  color: var(--ink);
  margin-bottom: 52px;
}

.gi-process-inner .section-h em {
  font-style: italic;
}

.gi-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .gi-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .gi-steps {
    grid-template-columns: 1fr;
  }
}

.gi-step {
  background: var(--bg);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}

.gi-step:hover {
  background: var(--bg2);
}

/* Accent line — bottom, animates on hover */
.gi-step::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.gi-step:hover::before {
  transform: scaleX(1);
}

/* Brand accent colours per card — purple / yellow / red / purple */
.gi-step:nth-child(1)::before {
  background: var(--purple);
}

.gi-step:nth-child(2)::before {
  background: var(--yell);
}

.gi-step:nth-child(3)::before {
  background: var(--red);
}

.gi-step:nth-child(4)::before {
  background: var(--purple);
}

/* Remove old ::after */
.gi-step::after {
  display: none;
}

.gi-step-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-regular);
  color: var(--ink);
  opacity: 0.1;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.gi-step[data-accent="purple"]::before {
  background: var(--purple);
}

.gi-step[data-accent="yell"]::before {
  background: var(--yell);
}

.gi-step[data-accent="red"]::before {
  background: var(--red);
}

.gi-step-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.gi-step-body p {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin: 0;
}

.gi-form-section {
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

.gi-form-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 52px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .gi-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 52px 20px;
  }
}

.gi-form-header .section-h {
  margin-bottom: 16px;
}

.gi-form-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin: 0;
  margin-top: 20px;
}

.gi-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gi-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .gi-row-2 {
    grid-template-columns: 1fr;
  }
}

.gi-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.gi-field:has(select)::after {
  font-family: var(--font-ui);
  content: "↓";
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-size: var(--text-sm);
  color: var(--ink2);
  pointer-events: none;
}

.gi-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-family: var(--font-ui);
}

.gi-input,
.gi-textarea,
.gi-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: var(--text-base);
  color: var(--ink);
  font-family: var(--font-ui);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  box-shadow: var(--shadow-sm);
}

.gi-input::placeholder,
.gi-textarea::placeholder,
.gi-select::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.gi-input:focus,
.gi-textarea:focus,
.gi-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.gi-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--lh-normal);
  padding-top: 10px;
}

.gi-submit {
  align-self: flex-start;
  margin-top: 8px;
}

html.dark .gi-switcher {
  background: var(--bg);
  border-color: var(--line);
}

html.dark .gi-switch-btn {
  background: var(--bg);
  color: var(--mute);
}

html.dark .gi-switch-btn:hover {
  background: var(--bg3);
  color: var(--ink);
}

html.dark .gi-switch-btn--active {
  background: var(--ink);
}

html.dark .gi-intro {
  background: var(--bg);
}

html.dark .gi-cols {
  background: var(--bg);
}

html.dark .gi-form-section {
  background: var(--bg2);
}

html.dark .gi-input,
html.dark .gi-textarea,
html.dark .gi-select {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg2);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.35);
}

/* Native OS dropdown popup cannot be styled via CSS —
   requires custom JS dropdown for full dark mode control */
html.dark .gi-select option {
  background: var(--bg2);
  color: var(--ink);
}

html.dark .gi-input:focus,
html.dark .gi-textarea:focus,
html.dark .gi-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

html.dark .gi-input::placeholder,
html.dark .gi-textarea::placeholder,
html.dark .gi-select::placeholder {
  color: var(--placeholder);
}

.cdd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  color: var(--placeholder);
  border: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}

.cdd-trigger:focus {
  outline: none;
  border-color: var(--ink);
}

.cdd.has-value .cdd-trigger {
  color: var(--ink);
}

.cdd-arrow {
  flex-shrink: 0;
  color: var(--mute);
  transition: transform 0.2s;
}

.cdd[aria-expanded="true"] .cdd-arrow {
  transform: rotate(180deg);
}

.cdd-list {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--ink);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.cdd[aria-expanded="true"] .cdd-list {
  display: block;
}

.cdd-group {
  padding: 8px 14px 4px;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  pointer-events: none;
}

.cdd-opt {
  padding: 9px 14px;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.cdd-opt:hover,
.cdd-opt.is-active {
  background: var(--ink);
  color: var(--bg);
}

@media (max-width: 1024px) {
  nav {
    padding: 0 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 99px;
  }

  .hero-image {
    min-height: clamp(300px, 50vh, 500px);
  }

  .hero-content {
    padding: 52px 28px 64px;
  }

  .hero-title {
    font-size: clamp(26px, 6vw, 52px);
  }

  .ap-container {
    padding: 72px 28px;
  }

  .ap-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects {
    padding: 72px 28px;
  }

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

  .events {
    padding: 80px 28px;
  }

  .method-recap {
    padding: 80px 28px;
  }

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

  .cta-band {
    padding: 80px 28px;
  }

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

  .con-l {
    padding: 80px 28px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .con-r {
    padding: 64px 28px;
  }

  footer {
    padding: 52px 28px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  nav {
    height: 56px;
    padding: 0 20px;
  }

  .ticker {
    top: 56px;
  }

  .mob-menu {
    padding-top: 56px;
    padding-bottom: 40px;
    justify-content: flex-start;
    gap: 4px;
  }

  .mob-menu a {
    font-size: clamp(18px, 4vw, 28px);
    padding: 10px 0;
    width: 80%;
  }

  .mob-cta-link {
    margin-top: 20px !important;
    padding: 12px 28px !important;
    font-size: 11px !important;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    padding-top: 90px;
    min-height: 0;
    height: auto;
  }

  .hero-content {
    padding: 44px 20px 56px;
  }

  .hero-title {
    font-size: clamp(22px, 7vw, 40px);
  }

  .hero-desc {
    font-size: var(--text-base);
    margin-bottom: 28px;
  }

  /* .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

  } */

  .ap-container {
    padding: 56px 20px;
  }

  .projects {
    padding: 56px 20px;
  }

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

  .ev-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .ev-row {
    grid-template-columns: 60px 1fr 20px;
    gap: 12px;
    padding: 18px 0;
  }

  .ev-tag {
    display: none;
  }

  .ev-day {
    font-size: var(--text-2xl);
  }

  .events {
    padding: 56px 20px;
  }

  .method-recap {
    padding: 56px 20px;
  }

  .mr-watermark {
    font-size: clamp(50px, 16vw, 90px);
  }

  .cta-band {
    padding: 64px 20px;
  }

  .con-l,
  .con-r {
    padding: 56px 20px;
  }

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

  footer {
    padding: 44px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bot {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-right: 0;
  }

  .theme-btn {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  body.menu-open .theme-btn {
    display: none;
  }
}

/* ── Small screens: declutter hero controls (play btn / caption / theme switch) ── */
@media (max-width: 600px) {

  /* Center the play button inside the video so it leaves the bottom strip free.
     Overrides the base bottom-left placement from the "Play button" block. */
  .video-play-overlay {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Caption: pin bottom-left, inset on the right to clear the fixed theme switch */
  .hero-label {
    left: 16px;
    right: 72px;
    bottom: 16px;
    text-align: left;
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: var(--text-2xl);
  }

  .section-h {
    font-size: var(--text-xl);
  }

  .s-h {
    font-size: var(--text-xl);
  }

  .mob-menu a {
    font-size: clamp(16px, 5vw, 22px);
    padding: 8px 0;
    width: 84%;
  }

  .mob-cta-link {
    margin-top: 16px !important;
    padding: 11px 22px !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 1400px) {
  .hero {
    max-width: 1600px;
    margin-inline: auto;
  }

  nav,
  .projects,
  .events,
  .method-recap,
  .cta-band,
  footer {
    padding-left: max(52px, calc((100% - 1280px) / 2));
    padding-right: max(52px, calc((100% - 1280px) / 2));
  }

  .contact,
  .dn-main,
  .gi-cols,
  .pr-accordion,
  .pd-layout {
    padding-inline: max(0px, calc((100% - 1280px) / 2));
  }
}

nav,
.projects,
.events,
.method-recap,
.cta-band,
footer {
  padding-left: max(52px, calc((100% - 1280px) / 2));
  padding-right: max(52px, calc((100% - 1280px) / 2));
}

.contact,
.dn-main,
.gi-cols,
.pr-accordion,
.pd-layout {
  padding-inline: max(0px, calc((100% - 1280px) / 2));
}

/* ── Section tab header — filled black badge ─────────────────────── */
.section-tab {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 20px;
  font-family: var(--font-ui);
  margin-bottom: 0;
}

/* ── Stats bar — bordered box with dividers ──────────────────────── */
.stats-bar {
  display: flex;
  border: 1px solid var(--line);
  margin-top: 32px;
}

.stats-bar-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-bar-item:last-child {
  border-right: none;
}

.stats-bar-num {
  font-family: var(--font-ui);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: 1;
}

.stats-bar-lbl {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--mute);
  line-height: var(--lh-normal);
}

/* ── Volunteer card grid — 1px borders, magazine style ───────────── */
.vol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.vol-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s;
}

.vol-card:last-child,
.vol-card:nth-child(4n) {
  border-right: none;
}

.vol-card:hover {
  background: var(--bg2);
}

.vol-card-arrow {
  font-family: var(--font-ui);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: var(--text-base);
  color: var(--mute);
  transition:
    color 0.2s,
    transform 0.2s;
}

.vol-card:hover .vol-card-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.vol-card-name {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-bottom: 4px;
  padding-right: 28px;
}

.vol-card-role {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--mute);
  margin-bottom: 12px;
}

.vol-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.vol-card-tag {
  font-size: var(--text-xs);
  color: var(--body);
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-family: var(--font-ui);
}

.vol-card-location {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--mute);
  display: flex;
  gap: 8px;
}

.vol-card-location span:first-child {
  opacity: 0.6;
}

.vol-card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-top: 16px;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ── Outer page frame ────────────────────────────────────────────── */
.page-frame {
  min-height: 100vh;
  border: 1px solid var(--line);
  position: relative;
}

/* Left vertical border line for sidebar */
.sidebar-line {
  display: none;
}

/* ── Remove sidebar offset on mobile ────────────────────────────── */
@media (max-width: 768px) {
  body {
    margin: 4px;
  }

  nav {
    top: 4px;
    left: 4px;
    right: 4px;
    padding: 0 0 0 20px;
  }

  .ticker {
    top: 60px;
    /* nav top:4px + height:56px = 60px */
    left: 4px;
    right: 4px;
  }

  .social-sidebar {
    display: none;
  }

  .hero,
  .about-projects,
  .team,
  .events,
  .method-recap,
  .projects,
  .cta-band,
  .contact,
  .page-hero {
    margin-left: 0;
  }
}

/* =========================
   SVG BASE — base container height for desktop
========================= */
.pr-acc-visual-mid {
  height: 260px;
}

/* ── SVG illustrations in project accordion (effects only) ───── */
.pr-acc-visual-mid svg {
  color: var(--ink);
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Responsive heights for SVG container (must come AFTER base) ─── */
@media (max-width: 768px) {
  .pr-acc-visual-mid {
    height: auto;
    min-height: 140px;
    padding: 16px 12px;
  }
}

@media (max-width: 480px) {
  .pr-acc-visual-mid {
    min-height: 120px;
    padding: 12px 8px;
  }
}

@media (max-width: 360px) {
  .pr-acc-visual-mid {
    min-height: 100px;
    padding: 10px 6px;
  }
}

.pr-acc-item.open .pr-acc-visual-mid svg {
  transform: scale(1.06);
}

.pr-acc-visual-mid svg * {
  transition: opacity 0.35s ease;
}

.pr-acc-visual-mid svg circle,
.pr-acc-visual-mid svg line,
.pr-acc-visual-mid svg path,
.pr-acc-visual-mid svg rect {
  opacity: 0.7;
}

.pr-acc-item.open .pr-acc-visual-mid svg circle,
.pr-acc-item.open .pr-acc-visual-mid svg line,
.pr-acc-item.open .pr-acc-visual-mid svg path,
.pr-acc-item.open .pr-acc-visual-mid svg rect {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════
   DONATE PAGE — dn-* components
   Layout: intro → main (left: impact+bank | right: QR) → other ways
   ══════════════════════════════════════════════════════ */

/* ── Intro strip ──────────────────────────────────────────────── */
.dn-intro {
  border-bottom: 1px solid var(--line);
  padding: 48px 52px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.dn-intro-inner {
  max-width: 860px;
  margin: 0 auto;
}

.dn-intro-text {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 640px;
}

/* ── Main two-column layout ───────────────────────────────────── */
.dn-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.dn-left {
  padding: 72px 52px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.dn-right {
  padding: 72px 52px;
  background: var(--bg2);
}

/* ── Impact grid ──────────────────────────────────────────────── */
.dn-impact .ap-eyebrow {
  margin-bottom: 28px;
}

.dn-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.dn-impact-item {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dn-impact-item:nth-child(2),
.dn-impact-item:nth-child(4) {
  border-right: none;
}

.dn-impact-item:nth-child(3),
.dn-impact-item:nth-child(4) {
  border-bottom: none;
}

.dn-impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin-bottom: 10px;
}

.dn-impact-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
}

/* ── Bank transfer details ────────────────────────────────────── */
.dn-bank .ap-eyebrow {
  margin-bottom: 20px;
}

.dn-bank-fields {
  border: 1px solid var(--line);
}

.dn-bank-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.dn-bank-row:last-child {
  border-bottom: none;
}

.dn-bank-row:hover {
  background: var(--bg2);
}

.dn-bank-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  flex-shrink: 0;
}

.dn-bank-val {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--ink);
  word-break: break-all;
}

.dn-bank-iban {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  letter-spacing: 0.04em;
}

.dn-bank-note {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--mute);
  line-height: var(--lh-relaxed);
  margin-top: 16px;
  padding-left: 4px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}

/* ── QR code side ─────────────────────────────────────────────── */
.dn-qr-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(62px + 37px + 32px);
}

.dn-qr-header .ap-eyebrow {
  margin-bottom: 12px;
}

.dn-qr-header .section-h {
  margin-bottom: 14px;
}

.dn-qr-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
}

.dn-qr-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--bg);
}

.dn-qr-img-wrap {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 8px;
}

.dn-qr-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url(../assets/donate-qr.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg3);
}

.dn-qr-caption-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}

.dn-qr-steps {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dn-qr-steps li {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--prose);
  line-height: var(--lh-normal);
}

.dn-qr-steps li strong {
  color: var(--ink);
  font-weight: var(--fw-semi);
}

.dn-qr-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg3);
  border: 1px solid var(--line);
}

.dn-qr-note svg {
  flex-shrink: 0;
  color: var(--mute);
  margin-top: 2px;
}

.dn-qr-note p {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--mute);
}

/* ── Other ways to give ───────────────────────────────────────── */
.dn-other {
  background: var(--bg);
  padding: 80px 52px;
  border-bottom: 1px solid var(--line);
}

.dn-other-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.dn-other-inner .ap-eyebrow {
  margin-bottom: 40px;
}

.dn-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2;
  border-top: 1px solid var(--line);
}

.dn-other-item {
  padding: 36px 36px 36px 0;
  border-right: 1px solid var(--line);
  padding-right: 36px;
}

.dn-other-item:first-child {
  padding-left: 0;
}

.dn-other-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 36px;
}

.dn-other-item:nth-child(2) {
  padding-left: 36px;
}

.dn-other-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: var(--lh-snug);
}

.dn-other-desc {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin-bottom: 20px;
}

.dn-other-link {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: gap 0.2s;
}

.dn-other-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.25s;
}

.dn-other-link:hover {
  color: var(--purple);
  gap: 10px;
}

.dn-other-link:hover::after {
  transform: scaleX(0);
}

/* ── Dark mode overrides ──────────────────────────────────────── */

/* cta-band in dark mode — slightly lighter than bg for contrast */
html.dark .cta-band {
  background: var(--bg3);
}

/* method-recap — match dark bg system */
html.dark .method-recap {
  background: var(--bg2);
}

html.dark .dn-right {
  background: var(--bg2);
}

html.dark .dn-bank-row:hover {
  background: var(--bg3);
}

html.dark .dn-qr-block {
  background: var(--bg2);
}

html.dark .dn-qr-img-wrap {
  background: var(--bg3);
  border-color: var(--line);
}

html.dark .dn-qr-note {
  background: var(--bg3);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dn-main {
    grid-template-columns: 1fr;
  }

  .dn-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .dn-right {
    padding: 52px;
  }

  .dn-qr-wrap {
    position: static;
  }

  .dn-other-grid {
    grid-template-columns: 1fr;
  }

  .dn-other-item,
  .dn-other-item:first-child,
  .dn-other-item:nth-child(2),
  .dn-other-item:last-child {
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .dn-other-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .dn-intro {
    padding: 36px 20px;
  }

  .dn-left {
    padding: 44px 20px;
    gap: 40px;
  }

  .dn-right {
    padding: 44px 20px;
  }

  .dn-bank-row {
    grid-template-columns: 110px 1fr;
    padding: 12px 16px;
  }

  .dn-qr-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .dn-qr-img-wrap {
    width: 120px;
    height: 120px;
  }

  .dn-impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dn-other {
    padding: 52px 20px;
  }
}

@media (max-width: 480px) {
  .dn-impact-grid {
    grid-template-columns: 1fr;
  }

  .dn-impact-item {
    border-right: none;
  }

  .dn-impact-item:nth-child(odd),
  .dn-impact-item:nth-child(even) {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .dn-impact-item:last-child {
    border-bottom: none;
  }
}

/* ══════════════════════════════════════════════════════
   PRODUCTION DETAIL PAGE — pd-* components
   Layout: hero → main (left: text+gallery+credits+press | right: sidebar)
   ══════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────── */
.pd-hero {
  position: relative;
  height: clamp(420px, 60vh, 680px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pd-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.pd-hero:hover .pd-hero-img {
  filter: grayscale(0%);
}

/* ADD NEW IMAGE */
.pd-hero-img.pd-cz-head {
  background-image: url(../assets/citizens_on_stage_hero.jpg);
}

.pd-hero-img.pd-dialog-head {
  background-image: url(../assets/dialogue_hero.jpg);
}

.pd-hero-img.pd-safe-space-head {
  background-image: url(../assets/safe_school_spaces_hero.jpg);
}

.pd-hero-img.pd-voices-head {
  background-image: url(../assets/voices_at_the_margin_hero.jpg);
}

/* Dark gradient overlay */
.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.pd-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 52px 28px;
}

.pd-hero-content .ap-eyebrow {
  color: var(--yell);
  opacity: 1;
}

.pd-hero-content .ap-eyebrow::before {
  background: var(--accent);
}

.pd-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: var(--fw-heavy);
  color: #ffffff;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin: 12px 0 0;
}

.pd-hero-title em {
  font-style: normal;
  color: var(--yell);
}

.pd-hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  background: var(--cur-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-hero-meta-item {
  display: flex;
  flex-direction: column;
  padding: 16px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  gap: 4px;
}

.pd-meta-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--bg-rgb, 255, 255, 255), 0.45);
}

.pd-meta-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ── Main layout ───────────────────────────────────── */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  max-width: 100%;
  border-bottom: 1px solid var(--line);
}

.pd-main {
  border-right: 1px solid var(--line);
}

/* ── Sections ──────────────────────────────────────── */
.pd-section {
  padding: 52px;
  border-bottom: 1px solid var(--line);
}

.pd-section:last-child {
  border-bottom: none;
}

.pd-text p {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin: 0 0 20px;
  max-width: 640px;
}

.pd-text p:last-child {
  margin-bottom: 20px;
}

/* ── Blockquote ────────────────────────────────────── */
.pd-quote {
  border-left: 3px solid var(--purple);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--bg2);
}

.pd-quote p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--ink);
  line-height: var(--lh-relaxed);
  letter-spacing: -0.01em;
  margin: 0 !important;
}

/* ── Gallery ───────────────────────────────────────── */
.pd-gallery-section {
  padding-bottom: 0;
}

.pd-gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--line);
}

.pd-gallery-item {
  overflow: hidden;
  background: var(--bg3);
}

.pd-gallery-item--large {
  grid-row: span 2;
}

.pd-gallery-item--wide {
  grid-column: span 2;
}

.pd-gallery-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.5s ease;
}

.pd-gallery-img.pj-cz-1 {
  background-image: url(../assets/citizens_on_stage_1.jpg);
}

.pd-gallery-img.pj-cz-2 {
  background-image: url(../assets/citizens_on_stage_2.jpg);
}

.pd-gallery-img.pj-cz-3 {
  background-image: url(../assets/citizens_on_stage_3.jpg);
}

.pd-gallery-img.pj-cz-4 {
  background-image: url(../assets/citizens_on_stage_4.jpg);
}

.pd-gallery-img.pj-dialog-1 {
  background-image: url(../assets/dialogue_1.jpg);
}

.pd-gallery-img.pj-dialog-2 {
  background-image: url(../assets/dialogue_2.jpg);
}

.pd-gallery-img.pj-dialog-3 {
  background-image: url(../assets/dialogue_3.jpg);
}

.pd-gallery-img.pj-dialog-4 {
  background-image: url(../assets/dialogue_4.jpg);
}

.pd-gallery-img.pj-safe-space-1 {
  background-image: url(../assets/safe_school_spaces_1.jpg);
}

.pd-gallery-img.pj-safe-space-2 {
  background-image: url(../assets/safe_school_spaces_2.jpg);
}

.pd-gallery-img.pj-safe-space-3 {
  background-image: url(../assets/safe_school_spaces_3.jpg);
}

.pd-gallery-img.pj-safe-space-4 {
  background-image: url(../assets/safe_school_spaces_4.jpg);
}

.pd-gallery-img.pj-voices-1 {
  background-image: url(../assets/voices_at_the_margin_1.jpg);
}

.pd-gallery-img.pj-voices-2 {
  background-image: url(../assets/voices_at_the_margin_2.jpg);
}

.pd-gallery-img.pj-voices-3 {
  background-image: url(../assets/voices_at_the_margin_3.jpg);
}

.pd-gallery-img.pj-voices-4 {
  background-image: url(../assets/voices_at_the_margin_4.jpg);
}

.pd-gallery-item--large .pd-gallery-img {
  min-height: 420px;
}

.pd-gallery-item--wide .pd-gallery-img {
  min-height: 180px;
}

.pd-gallery-item:hover .pd-gallery-img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* ── Credits ───────────────────────────────────────── */
.pd-credits {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.pd-credit-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.pd-credit-role {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.pd-credit-name {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--ink);
}

/* ── Press ─────────────────────────────────────────── */
.pd-press {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-press-item {
  border-left: 2px solid var(--line);
  padding: 12px 20px;
  margin: 0;
  transition: border-color 0.2s;
}

.pd-press-item:hover {
  border-color: var(--purple);
}

/* quote — matches the <blockquote class="pd-press-quote"> the renderer outputs */
.pd-press-quote {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  font-style: italic;
  margin: 0 0 8px;
}

/* source — matches the <figcaption class="pd-press-cite"> the renderer outputs */
.pd-press-cite {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  font-style: normal;
}

/* "Read more" link under each testimonial */
.pd-press-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}

.pd-press-link:hover {
  gap: 8px;
  opacity: 0.8;
}

.pd-press-link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

/* responsive — tighten spacing on small screens */
@media (max-width: 480px) {
  .pd-press {
    margin-top: 20px;
    gap: 18px;
  }

  .pd-press-item {
    padding: 10px 14px;
  }
}

/* ── Sidebar ───────────────────────────────────────── */
.pd-sidebar {
  position: sticky;
  top: 62px;
  align-self: start;
  height: fit-content;
}

.pd-sidebar-cta {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.pd-sidebar-cta .btn-primary,
.pd-sidebar-cta .btn-ghost {
  width: 100%;
  justify-content: center;
}

.pd-sidebar-block {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
}

.pd-sidebar-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}

/* ── Dates ─────────────────────────────────────────── */
.pd-dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
}

.pd-date-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s;
}

.pd-date-row:hover {
  background: var(--bg2);
}

.pd-date-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.pd-date-dow {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2px;
}

.pd-date-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-heavy);
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pd-date-mon {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 2px;
}

.pd-date-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pd-date-venue {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--ink);
}

.pd-date-time {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--mute);
}

.pd-date-arrow {
  font-size: 16px;
  color: var(--mute);
  transition:
    color 0.2s,
    transform 0.2s;
}

.pd-date-row:hover .pd-date-arrow {
  color: var(--ink);
  transform: translateX(3px);
}

.pd-all-dates {
  display: block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  transition: color 0.2s;
}

.pd-all-dates:hover {
  color: var(--ink);
}

/* ── Info list ─────────────────────────────────────── */
.pd-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.pd-info-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  flex-shrink: 0;
}

.pd-info-val {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--ink);
  text-align: right;
}

/* ── Related projects ──────────────────────────────── */
.pd-related {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
}

.pd-related-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s;
}

.pd-related-item:hover {
  background: var(--bg2);
}

.pd-related-num {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.pd-related-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pd-related-title em {
  font-style: normal;
  font-weight: var(--fw-regular);
}

/* ── Dark mode ─────────────────────────────────────── */
html.dark .pd-quote {
  background: var(--bg2);
}

html.dark .pd-date-row,
html.dark .pd-related-item {
  background: var(--bg);
}

html.dark .pd-date-row:hover,
html.dark .pd-related-item:hover {
  background: var(--bg3);
}

/* ── Dark mode — project detail ────────────────────── */
html.dark .pd-hero-meta {
  background: var(--bg2);
  border-top: 1px solid var(--line);
}

html.dark .pd-hero-meta-item {
  border-right-color: var(--line);
}

html.dark .pd-meta-label {
  color: var(--mute);
}

html.dark .pd-meta-val {
  color: var(--ink);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: 1fr 280px;
  }

  .pd-section {
    padding: 36px 32px;
  }

  .pd-hero-content {
    padding: 0 32px 24px;
  }
}

@media (max-width: 768px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-main {
    border-right: none;
  }

  .pd-sidebar {
    position: static;
    border-top: 1px solid var(--line);
  }

  .pd-section {
    padding: 28px 20px;
  }

  .pd-hero-content {
    padding: 0 20px 20px;
  }

  .pd-hero-meta {
    flex-wrap: wrap;
  }

  .pd-gallery {
    grid-template-columns: 1fr;
  }

  .pd-gallery-item--large {
    grid-row: span 1;
  }

  .pd-gallery-item--wide {
    grid-column: span 1;
  }

  .pd-credit-row {
    grid-template-columns: 140px 1fr;
  }
}

/* ── Lightbox ───────────────────────────────────────── */
.pd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.pd-lightbox.open {
  display: flex;
}

.pd-lb-img {
  width: min(90vw, 1100px);
  height: min(80vh, 700px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
  position: fixed;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  padding: 12px;
  transition: color 0.2s;
}

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
  color: #ffffff;
}

.pd-lb-close {
  top: 20px;
  right: 20px;
  font-size: 40px;
}

.pd-lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

.pd-lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER PAGE — nl-* components
   Bauhaus-inspired: primary colours, geometric accents
   Layout: intro + embed side-by-side, stacked on mobile
   ══════════════════════════════════════════════════════════════ */

.nl-section {
  padding: 60px 52px 80px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.nl-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Intro column ─────────────────────────────────────────── */
.nl-intro {
  position: relative;
}

.nl-kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 6px 12px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.nl-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: var(--fw-heavy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}

.nl-title em {
  font-style: normal;
  color: var(--purple);
}

.nl-lead {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 46ch;
  margin: 0 0 28px;
}

.nl-highlights {
  padding-bottom: 20px;
}

/* ── Highlight list with colour dots ──────────────────────── */
.nl-highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--body);
  border-bottom: 1px solid var(--line);
}

.nl-highlights li::before {
  content: "";
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.nl-highlights li:nth-child(1)::before {
  background: var(--yell);
}

.nl-highlights li:nth-child(2)::before {
  background: var(--red);
}

.nl-highlights li:nth-child(3)::before {
  background: var(--purple);
}

.nl-highlights li:nth-child(4)::before {
  background: var(--ink);
}

/* ── CTA row ──────────────────────────────────────────────── */
.nl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Embed column ─────────────────────────────────────────── */
.nl-embed-wrap {
  position: relative;
  padding: 6px;
}

/* Bauhaus-style corner accents */
.nl-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}

.nl-corner--tl {
  top: 0;
  left: 0;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.nl-corner--tr {
  top: 0;
  right: 0;
  border-top: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.nl-corner--bl {
  bottom: 28px;
  /* leaves room for caption */
  left: 0;
  border-bottom: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.nl-corner--br {
  bottom: 28px;
  right: 0;
  border-bottom: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.nl-embed-frame {
  position: relative;
  width: 100%;
  /* !Default: A4-ish portrait ratio (1 : 1.414). Adjusted per Canva aspect. */
  padding-bottom: 141.4%;
  background: var(--bg2);
  overflow: hidden;
}

.nl-embed-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.nl-embed-caption {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.nl-embed-caption:hover {
  color: var(--purple);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nl-section {
    padding: 48px 28px 64px;
  }

  .nl-inner {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nl-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
  }

  .nl-intro,
  .nl-embed-wrap {
    max-width: 560px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nl-section {
    padding: 32px 20px 48px;
  }

  .nl-kicker {
    margin-bottom: 16px;
  }

  .nl-lead {
    margin-bottom: 24px;
  }

  .nl-highlights {
    margin-bottom: 28px;
  }

  .nl-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nl-cta-row .btn-primary,
  .nl-cta-row .btn-ghost {
    text-align: center;
  }
}

/* ── Dark mode ────────────────────────────────────────────── */
html.dark .nl-embed-frame {
  background: var(--bg3);
}

html.dark .nl-corner--tl,
html.dark .nl-corner--tr,
html.dark .nl-corner--bl,
html.dark .nl-corner--br {
  border-color: var(--ink);
}

/* ══════════════════════════════════════════════════════
   LANGUAGE SWITCHER — Bauhaus pill (EN | БГ)
   Matches classes created by language-switcher.js:
   .lang-switcher / .lang-btn / .lang-btn--active
   ══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════
   LANGUAGE SWITCHER — visually mirrors .nav-cta
   Desktop: full 62px height, border-left separator,
            uppercase bold letters like the CTA button
   Mobile:  hidden in nav, re-rendered inside burger menu
            (see .lang-switcher--mob + .lang-btn--mob below)
   ══════════════════════════════════════════════════════ */
.lang-switcher {
  display: inline-flex;
  align-items: stretch;
  height: 62px;
  flex-shrink: 0;
  border-left: 1px solid var(--line);
}

.lang-btn {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1;
  white-space: nowrap;
}

/* Subtle separator between EN and BG */
.lang-btn+.lang-btn {
  border-left: 1px solid var(--line);
}

.lang-btn:hover:not(.lang-btn--active) {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-txt);
}

/* Active language — inverse colors so current choice is obvious */
.lang-btn--active {
  /* background: var(--ink);
  color: var(--bg); */
  cursor: default;
}

/* Dark-mode: active state uses light fill on dark bg */
html.dark .lang-btn--active {
  background: var(--bg);
  color: var(--ink);
}

/* ── Mobile: hide desktop switcher, show the one inside burger menu ── */
@media (max-width: 768px) {
  #langSwitcherSlot {
    display: none;
  }
}

/* ══ Mobile variant — rendered inside .mob-menu ══ */
.lang-switcher--mob {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  overflow: hidden;
}

.lang-btn--mob {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 24px;
  height: 100%;
  background: transparent;
  color: var(--bg);
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.65;
  transition:
    opacity 0.2s,
    background 0.2s,
    color 0.2s;
}

.lang-btn--mob+.lang-btn--mob {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-btn--mob:hover:not(.lang-btn--active) {
  opacity: 1;
}

.lang-btn--mob.lang-btn--active {
  background: var(--bg);
  color: var(--ink);
  opacity: 1;
  cursor: default;
}

/* == Systematic per-section accent (Bauhaus colour rhythm) ==========
   Each section sets --accent; the eyebrow tick picks it up. Yellow is
   reserved for dark backgrounds (low contrast on white); light sections
   alternate purple / red. Remove this block to revert. */
.about-projects {
  --accent: var(--purple);
}

.team {
  --accent: var(--red);
}

.method-recap {
  --accent: var(--purple);
}

.page-hero {
  --accent: var(--purple);
}

.contact {
  --accent: var(--red);
}

.dn-intro {
  --accent: var(--red);
}

.dn-impact {
  --accent: var(--purple);
}

.dn-bank {
  --accent: var(--red);
}

.dn-qr-wrap {
  --accent: var(--purple);
}

.dn-other {
  --accent: var(--red);
}

.gi-intro {
  --accent: var(--red);
}

.gi-cols {
  --accent: var(--purple);
}

.gi-process-inner {
  --accent: var(--red);
}

.gi-form-section {
  --accent: var(--purple);
}

.pd-main {
  --accent: var(--purple);
}

.pd-hero-content {
  --accent: var(--yell);
}

/* dark image background */

/* == UX/UI polish: mono micro-labels, selection colour, nav underline sweep == */

/* Editorial signature — tracked micro-labels in IBM Plex Mono */
.ap-eyebrow,
.s-eye,
.hero-tag,
.hero-label,
.aw-lbl,
.tm-role,
.aw-card-cat,
.pr-acc-cat,
.c-lbl,
.f-col h5,
.f-brand span,
.ev-mon,
.ev-tag,
.ev-month-chip,
.ev-cal-dow,
.ev-count,
.ev-card2-tag,
.ev-sb-title {
  font-family: var(--font-mono);
  color: var(--ink);
}

#curtain-copy .c-eyebrow {
  font-family: var(--font-mono);
}

/* Accent text selection */
::selection {
  background: var(--yell);
  color: #0a0a0a;
}

::-moz-selection {
  background: var(--yell);
  color: #0a0a0a;
}

/* ══════════════════════════════════════════════════════════════
   EVENT DETAIL — VIDEO + PARTNERS   (pd-video-*, pd-partners-*)
   Bauhaus: geometric play motif, hairline grid, grayscale → colour.
   Reuses existing pd-* tokens, spacing and hover language.
   ══════════════════════════════════════════════════════════════ */

/* ── Video ─────────────────────────────────────────── */
.pd-video {
  margin-top: 28px;
}

.pd-video-facade {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
}

.pd-video-poster {
  position: absolute;
  inset: 0;
  background-image: var(--poster, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.6s ease;
}

.pd-video-facade:hover .pd-video-poster,
.pd-video-facade:focus-visible .pd-video-poster {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Bottom scrim keeps the caption legible over any poster */
.pd-video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.pd-video-facade:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

/* Bauhaus play motif: purple square offset behind a yellow disc */
.pd-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 2;
}

.pd-video-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple);
  transform: translate(8px, 8px);
  transition: transform 0.25s ease;
}

.pd-video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--yell);
  transition: transform 0.25s ease;
}

.pd-video-play svg {
  position: relative;
  z-index: 1;
  transform: translateX(2px);
  /* optical centring of the triangle */
}

.pd-video-facade:hover .pd-video-play::before {
  transform: translate(2px, 2px);
}

.pd-video-facade:hover .pd-video-play::after {
  transform: scale(1.05);
}

.pd-video-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
}

.pd-video-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  color: #ffffff;
}

.pd-video-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Injected after the facade is clicked */
.pd-video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000000;
}

.pd-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Partners & supporters ─────────────────────────── */
.pd-partners-intro {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 640px;
  margin: 0 0 28px;
}

.pd-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pd-partner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  min-height: 148px;
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s;
}

.pd-partner:hover {
  background: var(--bg2);
}

.pd-partner:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: -3px;
}

/* Bauhaus colour bar — cycles the primaries across the grid */
.pd-partner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 4px;
  background: var(--purple);
  transition: width 0.25s ease;
}

.pd-partner:nth-child(3n + 2)::before {
  background: var(--red);
}

.pd-partner:nth-child(3n + 3)::before {
  background: var(--dark-yell);
}

.pd-partner:hover::before {
  width: 52px;
}

/* Optional logo (grayscale → colour). background-image is set inline by the
   renderer so the relative path resolves against the page, not the stylesheet. */
.pd-partner-logo {
  display: block;
  width: 100%;
  height: 168px;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.pd-partner:hover .pd-partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.pd-partner-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  color: var(--ink);
}

.pd-partner-type {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.pd-partner-visit {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prose);
  transition:
    color 0.2s,
    gap 0.2s;
}

.pd-partner:hover .pd-partner-visit {
  color: var(--ink);
  gap: 10px;
}

.pd-partner-arrow {
  flex-shrink: 0;
}

/* ── Dark mode ─────────────────────────────────────── */
html.dark .pd-video-facade,
html.dark .pd-video-embed,
html.dark .pd-partners {
  border-color: var(--line);
}

html.dark .pd-partner {
  background: var(--bg);
}

html.dark .pd-partner:hover {
  background: var(--bg3);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .pd-video-play {
    width: 64px;
    height: 64px;
  }

  .pd-video-play svg {
    width: 24px;
    height: 24px;
  }

  .pd-partners {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* ── Reduced motion — scoped to these components only ── */
@media (prefers-reduced-motion: reduce) {

  .pd-video-poster,
  .pd-video-play::before,
  .pd-video-play::after,
  .pd-partner::before,
  .pd-partner-logo {
    transition: none;
  }

  .pd-video-facade:hover .pd-video-poster {
    transform: none;
  }
}

.partners-hero {
  padding-top: calc(62px + 56px);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg2);
}

.partners-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 52px 64px;
}

.partners-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 20px;
}

.partners-lead {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 680px;
  margin: 0;
}

.partners-page {
  max-width: 1280px;
  margin: 0 auto;
}

.pd-partner--static {
  cursor: default;
}

.pd-partner--static:hover {
  background: var(--bg);
}

/* IMPORTANT: auto-fit removes empty columns */
.pd-partners {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pd-patrons {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pd-partners,
.pd-patrons {
  background: transparent;
  border-color: transparent;
}

.pd-partner,
.pd-patron {
  box-shadow: 0 0 0 1px var(--line);
}

@media (max-width: 480px) {
  .partners-hero-inner {
    padding: 20px 16px 40px;
  }

  .partners-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .partners-lead {
    font-size: var(--text-base);
  }

  .pd-partners,
  .pd-patrons {
    grid-template-columns: 1fr;
  }

  .pd-partner {
    padding: 16px;
    min-height: 120px;
  }

  .pd-partner-logo {
    height: 120px;
  }

  .pd-patron {
    padding: 16px;
  }

  .pd-patron-photo {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .pd-partners {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .pd-partner-logo {
    height: 140px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pd-partners {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 1025px) {
  .pd-partners {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 1441px) {

  .partners-hero-inner,
  .partners-page {
    max-width: 1400px;
  }

  .pd-partner {
    padding: 28px;
  }

  .pd-partner-logo {
    height: 180px;
  }
}

@media (min-width: 1920px) {

  .partners-hero-inner,
  .partners-page {
    max-width: 1600px;
  }
}

@media (min-width: 2560px) {

  .partners-hero-inner,
  .partners-page {
    max-width: 1800px;
  }

  .partners-title {
    font-size: 72px;
  }

  .partners-lead {
    font-size: 20px;
  }
}

.pd-patrons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pd-patron {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  min-height: 140px;
  background: var(--bg);
  transition: background 0.2s ease;
}

.pd-patron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 4px;
  background: var(--yell);
  transition: width 0.25s ease;
}

.pd-patron:nth-child(3n + 2)::before {
  background: var(--purple);
}

.pd-patron:nth-child(3n + 3)::before {
  background: var(--red);
}

.pd-patron:hover::before {
  width: 52px;
}

.pd-patron-seat {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.pd-patron-photo {
  width: 160px;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  margin-bottom: 6px;
}

.pd-patron:hover .pd-patron-photo {
  filter: grayscale(0%);
}

.pd-patron-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  color: var(--ink);
}

.pd-patron-note {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  font-style: italic;
}

/* Dark mode */
html.dark .pd-patrons {
  border-color: var(--line);
}

html.dark .pd-patron {
  background: var(--bg);
}

html.dark .pd-patron:hover {
  background: var(--bg3);
}

@media (max-width: 480px) {
  .pd-patrons {
    grid-template-columns: 1fr;
  }

  .pd-patron {
    padding: 16px;
  }

  .pd-patron-photo {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (min-width: 1025px) {
  .pd-patrons {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 1441px) {
  .pd-patron {
    padding: 28px;
  }

  .pd-patron-photo {
    width: 180px;
    height: 180px;
  }
}

@media (min-width: 1920px) {

  .partners-hero-inner,
  .partners-page {
    max-width: 1600px;
  }
}

@media (min-width: 2560px) {

  .partners-hero-inner,
  .partners-page {
    max-width: 1800px;
  }
}

/* ══════════════════════════════════════════════════════════════
   404 / NOT FOUND — responsive 320px → 4K
   margin-top clears the fixed nav+ticker; symmetric padding + min-height
   keep the content truly centered. Typography scales fluidly via clamp(),
   with explicit steps for large / 2K / 4K screens.
   ══════════════════════════════════════════════════════════════ */
.pd-notfound {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  margin-top: calc(62px + 56px);
  /* fixed nav (62) + ticker */
  padding: 30px 24px;
  text-align: center;
}

.pd-notfound-inner {
  max-width: 540px;
  margin: 0 auto;
}

.pd-notfound-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 18px;
}

.pd-notfound-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  font-weight: var(--fw-heavy);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.pd-notfound-code em {
  font-style: normal;
  color: var(--red);
}

.pd-notfound-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
  color: var(--ink);
  margin: 0 0 14px;
}

.pd-notfound-text {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  margin: 0 auto 32px;
  max-width: 420px;
}

.pd-notfound-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 360px) {
  .pd-notfound {
    margin-top: calc(56px + 48px);
    padding: 44px 16px;
    min-height: 66vh;
  }

  .pd-notfound-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  .pd-notfound-code {
    font-size: 82px;
  }

  .pd-notfound-title {
    font-size: 21px;
  }

  .pd-notfound-text {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .pd-notfound-cta {
    flex-direction: column;
  }

  .pd-notfound-cta .btn-primary,
  .pd-notfound-cta .btn-ghost {
    width: 100%;
  }
}

@media (min-width: 361px) and (max-width: 480px) {
  .pd-notfound {
    margin-top: calc(56px + 50px);
    padding: 56px 18px;
    min-height: 64vh;
  }

  .pd-notfound-cta .btn-primary,
  .pd-notfound-cta .btn-ghost {
    width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .pd-notfound {
    margin-top: calc(56px + 52px);
    padding: 64px 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pd-notfound {
    min-height: 60vh;
  }
}

@media (min-width: 1441px) {
  .pd-notfound {
    min-height: 60vh;
  }

  .pd-notfound-inner {
    max-width: 620px;
  }

  .pd-notfound-code {
    font-size: 224px;
  }

  .pd-notfound-title {
    font-size: 42px;
  }

  .pd-notfound-text {
    font-size: var(--text-lg);
    max-width: 480px;
  }
}

@media (min-width: 1921px) {
  .pd-notfound-inner {
    max-width: 740px;
  }

  .pd-notfound-eyebrow {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .pd-notfound-code {
    font-size: 272px;
    margin-bottom: 14px;
  }

  .pd-notfound-title {
    font-size: 50px;
  }

  .pd-notfound-text {
    font-size: 19px;
    max-width: 560px;
    margin-bottom: 40px;
  }
}

@media (min-width: 2561px) {
  .pd-notfound-inner {
    max-width: 960px;
  }

  .pd-notfound-eyebrow {
    font-size: 16px;
    letter-spacing: 0.26em;
    margin-bottom: 30px;
  }

  .pd-notfound-code {
    font-size: 360px;
    margin-bottom: 18px;
  }

  .pd-notfound-title {
    font-size: 64px;
    margin-bottom: 22px;
  }

  .pd-notfound-text {
    font-size: 24px;
    max-width: 680px;
    margin-bottom: 48px;
  }

  .pd-notfound-cta {
    gap: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════
   HERO HEIGHT CAP — large screens (fixes 4K video elongation)
   The hero image sits in a ~780px-wide grid column; with height:100svh
   that column turns portrait on tall screens and object-fit:cover crops
   the video into a stretched strip. Cap the height so it stays landscape.
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1400px) {
  .hero {
    height: min(76vh, 700px);
    max-height: 700px;
    min-height: 560px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Play button.
   ══════════════════════════════════════════════════════════════ */

.video-play-overlay {
  position: absolute;
  bottom: 60px;
  left: 32px;
}

.video-play-wrap {
  position: relative;
  width: 48px;
  height: 48px;
}

/* play button */
.video-play-btn {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yell);
}

/* play icon */
.video-play-btn svg {
  width: 18px;
  height: 18px;
  fill: #111;
}

/* optical alignment */
.icon-play {
  transform: translateX(1.5px);
}

.icon-pause {
  display: none;
}

#videoToggleBtn.is-playing .icon-play {
  display: none;
}

#videoToggleBtn.is-playing .icon-pause {
  display: block;
}

/* Purple squire (default = PAUSE) */
.video-accent {
  position: absolute;
  z-index: 1;

  width: 48px;
  height: 48px;
  background: var(--purple);

  bottom: -6px;
  left: 6px;

  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PLAY → center */
.video-play-wrap.is-playing .video-accent {
  bottom: 0;
  left: 0;
}

/* ═══════════════════════════════════════════════════════════
   EVENTS PAGE — responsive pass (320px → 4K)
   Appended last so these overrides win over the events rules above.
   ═══════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow: let flex rows wrap and children shrink. */
.ev-grid-wrap,
.ev-grid,
.ev-card2,
.ev-card2-body {
  min-width: 0;
}

.ev-type-filters,
.ev-grid-sort {
  flex-wrap: wrap;
}

/* ── Large screens / 4K: use the extra width, stay readable ── */
@media (min-width: 1600px) {
  .ev-layout {
    max-width: 1440px;
  }
}

@media (min-width: 2200px) {
  .ev-layout {
    max-width: 1680px;
  }
}

/* ── ≤1024px: tablet — trim control padding a touch ── */
@media (max-width: 1024px) {
  .ev-type-btn {
    padding: 6px 12px;
  }

  .ev-sb-sort-btn {
    padding: 5px 11px;
  }
}

/* ── ≤900px: cards become single-column (existing) — scale year label ── */
@media (max-width: 900px) {
  .ev-year-header {
    font-size: 22px;
    margin-top: 22px;
  }
}

/* ── ≤768px: stack header controls; count on its own line ── */
@media (max-width: 768px) {
  .ev-grid-header {
    gap: 14px;
  }

  .ev-grid-sort {
    gap: 6px;
  }

  .ev-grid-sort .ev-count {
    flex: 1 0 100%;
    margin-right: 0;
    margin-bottom: 2px;
  }

  .ev-type-btn {
    padding: 6px 12px;
    letter-spacing: 0.1em;
  }

  .ev-sb-sort-btn {
    padding: 5px 12px;
    letter-spacing: 0.1em;
  }
}

/* ── ≤640px: sidebar stacks above content (existing) ── */
@media (max-width: 640px) {
  .ev-grid-wrap {
    padding: 24px 0 40px;
  }

  .ev-year-header {
    font-size: 20px;
    margin-top: 20px;
    gap: 12px;
  }
}

/* ── ≤480px: phones — smaller card image, tighter cards ── */
@media (max-width: 480px) {
  .ev-card2 {
    padding: 14px;
    gap: 12px;
  }

  .ev-card2-img-wrap {
    width: 88px;
  }

  .ev-type-filters {
    gap: 6px;
  }

  .ev-type-btn,
  .ev-sb-sort-btn {
    padding: 6px 10px;
    letter-spacing: 0.08em;
  }
}

/* ── ≤360px: down to 320px ── */
@media (max-width: 360px) {
  .ev-layout {
    padding: 0 14px;
  }

  .ev-card2 {
    padding: 12px;
    gap: 10px;
  }

  .ev-card2-img-wrap {
    width: 72px;
  }

  .ev-year-header {
    font-size: 18px;
    margin-top: 16px;
    gap: 10px;
  }

  .ev-type-btn,
  .ev-sb-sort-btn {
    padding: 5px 9px;
    letter-spacing: 0.06em;
  }
}

/* ── Privacy and Policy── */

.pp-section {
  padding: 60px 52px 80px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.pp-inner {
  max-width: 880px;
  margin: 0 auto;
}

.pp-toc-title {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
}

.pp-toc {
  margin: 0 0 8px;
  padding: 22px 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pp-toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--body);
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.2s ease;
}

.pp-toc a:hover {
  color: var(--purple);
}

.pp-toc a.is-active {
  color: var(--purple);
  font-weight: var(--fw-semi);
}

.pp-toc a.is-active span:first-child {
  color: var(--purple);
}

.pp-toc a span:first-child {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--mute);
  min-width: 22px;
}

.pp-block {
  padding: 46px 0 6px;
  border-bottom: 1px solid var(--line);
}

.pp-block:last-of-type {
  border-bottom: none;
}

.pp-block h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  scroll-margin-top: 116px;
}

.pp-num {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  color: var(--purple);
  min-width: 34px;
}

.pp-block h3 {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--ink);
  margin: 24px 0 12px;
}

.pp-body p {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--prose);
  max-width: 70ch;
  margin: 0 0 16px;
}

.pp-body ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  max-width: 70ch;
}

.pp-body li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--prose);
}

.pp-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

.pp-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.pp-body strong {
  color: var(--ink);
  font-weight: var(--fw-semi);
}

.pp-address {
  padding: 16px 20px;
  border-left: 3px solid var(--purple);
  background: color-mix(in srgb, var(--purple) 6%, transparent);
  line-height: var(--lh-relaxed);
}

.pp-contact {
  font-size: var(--text-md);
}

/* Back-to-top button — sits above the theme toggle, colours flip with theme */
.pp-totop {
  position: fixed;
  right: 28px;
  bottom: 84px;
  z-index: 600;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.pp-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pp-totop:hover {
  opacity: 0.85;
}

body.menu-open .pp-totop {
  display: none;
}

@media (max-width: 720px) {
  .pp-section {
    padding: 40px 22px 60px;
  }

  .pp-toc {
    grid-template-columns: 1fr;
  }

  .pp-totop {
    right: 18px;
    bottom: 66px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   BACK-TO-TOP (global)  — append to style.css
   Sits just above the theme toggle. Colours flip with the
   theme automatically (ink background / bg-coloured arrow).
   ============================================================ */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 84px;
  z-index: 600;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  opacity: 0.85;
}

body.menu-open .to-top {
  display: none;
}

@media (max-width: 720px) {
  .to-top {
    right: 18px;
    bottom: 66px;
    width: 40px;
    height: 40px;
  }
}



/* Consent checkbox row — overrides the default .fg label/input styles
       (which are uppercase/bold and appearance:none) so the checkbox and
       sentence render correctly. Uses the site's own design tokens.  */

.fg-consent {
  gap: 8px;
}

.fg-consent .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  letter-spacing: normal;
  text-transform: none;
  line-height: var(--lh-normal);
  color: var(--body);
}

.fg-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--purple);
  cursor: pointer;
}

.fg-consent input[type="checkbox"]:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.fg-consent input[aria-invalid="true"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.fg-consent .consent a {
  color: var(--purple);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* Consent checkbox row — overrides the default .gi-label / input styles
       (uppercase, bold, appearance:none) so the checkbox and sentence render
       correctly. Uses the site's own design tokens.  */

.gi-consent {
  gap: 8px;
}

.gi-consent .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  letter-spacing: normal;
  text-transform: none;
  line-height: var(--lh-normal);
  color: var(--body);
}

.gi-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--purple);
  cursor: pointer;
}

.gi-consent input[type="checkbox"]:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.gi-consent input[aria-invalid="true"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.gi-consent .consent a {
  color: var(--purple);
  font-weight: var(--fw-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
}