/* ============================================================
   ABDALLAH ALKODAH - IL-13 - Design System (DARK)
   Editorial brutalist · noir base · electric lime accent
   ============================================================ */

/* ============================================================ DRUK */
@font-face {
  font-family: "Druk Cond";
  src: url("fonts/DrukCond-Super.woff2") format("woff2"),
       url("fonts/DrukCond-Super.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Druk XX Cond";
  src: url("fonts/DrukXXCond-Super-Web.woff2") format("woff2"),
       url("fonts/DrukXXCond-Super-Web.woff") format("woff"),
       url("fonts/DrukXXCond-Super-Web.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Druk Wide";
  src: url("fonts/DrukWide-Medium.woff2") format("woff2"),
       url("fonts/DrukWide-Medium.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Druk Text Wide";
  src: url("fonts/DrukTextWide-Super-Web.woff2") format("woff2"),
       url("fonts/DrukTextWide-Super-Web.woff") format("woff"),
       url("fonts/DrukTextWide-Super-Web.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* dark palette */
  --bg:      #0e0d0b;
  --bg-2:    #16150f;
  --bg-3:    #1d1b14;
  --fg:      #f3f0e7;
  --fg-dim:  #b4af9f;
  --fg-mute: #7c776a;
  --line:    rgba(243,240,231,0.14);
  --line-2:  rgba(243,240,231,0.28);

  /* light tokens (for cream panels / dark-on-light) */
  --paper:   #f3f0e7;
  --ink:     #100f0c;

  --lime:      #c8ff3d;
  --lime-deep: #b2ee1c;
  --lime-ink:  #16200a;

  --accent:      var(--lime);
  --accent-deep: var(--lime-deep);
  --accent-ink:  var(--lime-ink);

  --display: "Druk Cond", "Archivo Black", "Archivo", system-ui, sans-serif;
  --grotesk: "Archivo", system-ui, -apple-system, sans-serif;
  --serif:   "Instrument Serif", Georgia, serif;

  --nav-h: 92px;
  --marq-h: 70px;
  --gut: clamp(20px, 5vw, 90px);
  --maxw: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--grotesk);
  background: var(--bg);
  color: var(--fg);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* logo whitening */
.logo-w { filter: invert(1) brightness(1.06); }

/* ============================================================ TYPE */
.u-display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.9; letter-spacing: normal; }
.u-serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.u-mono-label { font-family: var(--grotesk); font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; font-size: clamp(11px, 0.78vw, 13px); color: var(--fg-dim); }
.u-accent { color: var(--accent); }
.u-outline { color: transparent; -webkit-text-stroke: clamp(1.5px, 0.18vw, 3px) currentColor; }

/* reveal primitives */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > * { display: block; transform: translateY(110%); will-change: transform; }
.fade-up { opacity: 0; transform: translateY(34px); will-change: transform, opacity; }
/* will-change: auto once revealed - a lingering composited layer paints over sibling 1px borders */
.is-in.fade-up { opacity: 1; transform: none; will-change: auto; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal-line > * { transform: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ============================================================ LAYOUT */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: clamp(90px, 12vh, 180px); }
.section--lift { background: var(--bg-2); }

.eyebrow-row { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.eyebrow-row .idx { color: var(--accent); }
.eyebrow-row .rule { flex: 1; height: 1px; background: var(--line-2); }

/* ============================================================ BUTTONS */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 14px; padding: 17px 30px; border-radius: 100px;
  background: var(--paper); color: var(--ink);
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.btn .btn-fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform 0.55s var(--ease), border-radius 0.55s var(--ease); }
.btn:hover { color: var(--accent-ink); }
.btn:hover .btn-fill { transform: translateY(0); border-radius: 0; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent .btn-fill { background: var(--paper); }
.btn--accent:hover { color: var(--ink); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost .btn-fill { background: var(--accent); }
.btn--ghost:hover { color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.btn--accent .btn-dot { background: var(--accent-ink); }
.magnetic { will-change: transform; }

/* ============================================================ NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease), height 0.4s var(--ease); }
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-stuck { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; }
.nav:not(.is-stuck) .nav__logo img { filter: invert(1) brightness(1.06) drop-shadow(0 2px 10px rgba(0,0,0,0.45)); }
.nav:not(.is-stuck) .nav__link { text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.nav__logo img { height: clamp(52px, 5.4vw, 74px); width: auto; transition: height 0.4s var(--ease); }
.nav.is-stuck .nav__logo img { height: clamp(42px, 4.2vw, 56px); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { font-weight: 600; font-size: 14.5px; position: relative; padding: 4px 0; letter-spacing: 0.01em; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active::after { transform: scaleX(1); background: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -7px; }
.nav__burger span { height: 2px; width: 26px; background: var(--fg); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav__burger.is-x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-x span:nth-child(2) { opacity: 0; }
.nav__burger.is-x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================ HERO */
.hero { position: relative; height: calc(100svh - var(--marq-h)); min-height: 560px; display: flex; flex-direction: column;
  justify-content: flex-end; padding-top: calc(var(--nav-h) + 12px); padding-bottom: clamp(26px, 3.4vh, 48px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 28%;
  filter: contrast(1.08) brightness(0.82); }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,0.74) 0%, rgba(14,13,11,0.30) 30%, rgba(14,13,11,0.55) 64%, rgba(14,13,11,0.97) 100%),
    linear-gradient(95deg, rgba(14,13,11,0.86) 0%, rgba(14,13,11,0.38) 46%, rgba(14,13,11,0) 80%); }
.hero__media .tint { position: absolute; inset: 0; background: var(--accent); mix-blend-mode: soft-light; opacity: 0.10; }

.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: row-reverse; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: clamp(20px, 3vw, 36px); }
.hero__eyebrow .pill { border: 1.5px solid var(--line-2); border-radius: 100px; padding: 7px 15px; color: var(--fg);
  white-space: nowrap; background: rgba(14,13,11,0.42); backdrop-filter: blur(6px); }
.hero__eyebrow .pill--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.hero__title { text-align: right; justify-self: end; align-self: end; }
.hero__title h1 { font-family: var(--display); text-transform: uppercase; line-height: 0.84;
  font-size: clamp(44px, 14vw, 168px); letter-spacing: normal; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; transform: translateY(105%); will-change: transform; }
.hero__title .w-solid { color: var(--fg); }
.hero__title .w-lime { color: var(--accent); }
.hero__title .w-out { color: transparent; -webkit-text-stroke: clamp(1.4px,0.16vw,2.6px) var(--fg); }

.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: start; align-content: end; gap: 28px; margin-top: clamp(26px, 4vw, 52px); }
.hero__lede { max-width: 46ch; font-size: clamp(16px, 1.2vw, 20px); color: var(--fg-dim); line-height: 1.5; }
.hero__lede b { font-weight: 700; color: var(--fg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; width: 100%; }

/* ============================================================ MARQUEE */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; height: var(--marq-h);
  display: flex; align-items: center; border-block: 1px solid var(--accent); }
.marquee--ink { background: var(--bg-2); color: var(--fg); border-color: var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1; padding-inline: 24px; display: inline-flex; align-items: center; gap: 24px; white-space: nowrap; }
.marquee__star { font-family: var(--grotesk); font-size: 0.5em; opacity: 0.7; }
.marquee--ink .marquee__star { color: var(--accent); opacity: 1; }

/* ============================================================ MANIFESTO */
.manifesto__lead { font-family: var(--display); text-transform: uppercase; line-height: 0.98;
  font-size: clamp(30px, 4.6vw, 74px); letter-spacing: normal; max-width: 20ch; margin-bottom: clamp(40px, 6vw, 86px); }
.manifesto__lead .u-serif-it { display: inline; font-size: 0.92em; color: var(--accent); }
.manifesto__cols { display: grid; grid-template-columns: 1fr; gap: clamp(30px, 4vw, 60px); align-items: stretch; }
.manifesto__body { max-width: 62ch; }
.manifesto__body p { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.55; color: var(--fg-dim); margin-bottom: 1.1em; }
.manifesto__body p:last-child { margin-bottom: 0; }
.manifesto__body b { color: var(--fg); font-weight: 700; }
.manifesto__aside { container-type: inline-size; display: flex; flex-direction: column; justify-content: flex-start; }
.tagline-stamp { font-family: var(--display); text-transform: uppercase; line-height: 0.82; letter-spacing: normal;
  font-size: clamp(44px, 45cqw, 180px);
  color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.tagline-stamp span { display: block; white-space: nowrap; }
.tagline-stamp .u-accent { color: transparent; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: clamp(40px,5vw,72px); }
.fact { background: var(--bg); padding: clamp(20px,2.4vw,34px); }
.section--lift .fact { background: var(--bg-2); }
.fact .n { font-family: var(--display); font-size: clamp(32px, 4vw, 62px); line-height: 0.96; display: block; color: var(--fg); letter-spacing: normal; }
.fact .n .u-accent { color: var(--accent); }
.fact .l { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-mute); margin-top: 10px; }

/* ============================================================ MEET */
.meet__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.meet__media { position: relative; }
.meet__media .frame { position: relative; overflow: hidden; border-radius: 4px; }
.meet__media .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  filter: contrast(1.05) brightness(0.98); transition: filter 0.6s var(--ease), transform 1.2s var(--ease); }
.meet__media:hover .frame img { filter: contrast(1.02) brightness(1); transform: scale(1.03); }
.meet__media .cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 7px 12px; border-radius: 100px; }
.meet__name { font-family: var(--display); text-transform: uppercase; line-height: 0.92;
  font-size: clamp(40px, 6vw, 102px); margin-bottom: 26px; letter-spacing: normal; }
.meet__role { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.meet__role span { border: 1px solid var(--line-2); border-radius: 100px; padding: 8px 16px; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--fg-dim); }
.meet__body p { font-size: clamp(16px, 1.2vw, 20px); line-height: 1.55; margin-bottom: 1em; color: var(--fg-dim); }
.meet__body b { color: var(--fg); }

/* ============================================================ GALLERY (osmo-style image marquee) */
.gallery { padding-block: clamp(70px, 9vw, 130px); overflow: hidden; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(34px,4vw,56px); }
.gallery__title { font-family: var(--display); text-transform: uppercase; line-height: 0.94; font-size: clamp(36px, 5.6vw, 104px); letter-spacing: normal; }
.gallery__note { max-width: 38ch; color: var(--fg-dim); font-size: clamp(14px,1vw,17px); line-height: 1.5; }
.gtrack { display: flex; gap: clamp(14px, 1.6vw, 26px); width: max-content; will-change: transform; }
.gcard { position: relative; flex: none; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.gcard img { height: clamp(300px, 40vw, 520px); width: auto; object-fit: cover; display: block;
  filter: contrast(1.04) brightness(0.98); transition: filter 0.6s var(--ease), transform 1s var(--ease); }
.gcard:hover img { filter: brightness(1); transform: scale(1.04); }
.gcard .gtag { display: none; /* temporarily hidden: captions don't match the current photos */
  position: absolute; left: 12px; bottom: 12px; background: rgba(14,13,11,0.7); backdrop-filter: blur(6px);
  color: var(--fg); border: 1px solid var(--line-2); font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 6px 11px; border-radius: 100px; }
.gallery__hint { display: flex; align-items: center; gap: 10px; margin-top: clamp(24px,3vw,40px);
  color: var(--fg-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; }
.gallery__hint .ln { width: 40px; height: 1px; background: var(--line-2); }

/* ============================================================ PRIORITIES */
.pri__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px,4vw,56px); }
.pri__title { font-family: var(--display); text-transform: uppercase; line-height: 0.92; font-size: clamp(46px, 7.6vw, 140px); letter-spacing: normal; }
.pri__list { border-top: 1px solid var(--line-2); }
.pri-item { border-bottom: 1px solid var(--line-2); position: relative; }
.pri-item__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(16px,3vw,44px);
  padding: clamp(20px, 2.6vw, 38px) 0; width: 100%; text-align: left; position: relative; z-index: 1; }
.pri-item__num { font-family: var(--grotesk); font-weight: 700; font-size: 14px; color: var(--fg-mute); letter-spacing: 0.1em; transition: color 0.4s; }
.pri-item__name { font-family: var(--display); text-transform: uppercase; line-height: 0.98;
  font-size: clamp(24px, 3.8vw, 56px); letter-spacing: normal; color: var(--fg); transition: transform 0.5s var(--ease), color 0.4s; }
.pri-item__toggle { width: clamp(38px,3vw,52px); height: clamp(38px,3vw,52px); border-radius: 50%;
  border: 1.5px solid var(--line-2); color: var(--fg); display: grid; place-items: center; flex: none;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.pri-item__toggle svg { width: 42%; transition: transform 0.5s var(--ease); }
.pri-item__hoverfill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; z-index: 0; transition: transform 0.5s var(--ease); }
.pri-item:hover .pri-item__hoverfill, .pri-item.is-open .pri-item__hoverfill { transform: scaleY(1); }
.pri-item:hover .pri-item__name, .pri-item:hover .pri-item__num,
.pri-item.is-open .pri-item__name, .pri-item.is-open .pri-item__num { color: var(--accent-ink); }
.pri-item:hover .pri-item__name, .pri-item.is-open .pri-item__name { transform: translateX(clamp(8px,1vw,20px)); }
.pri-item:hover .pri-item__toggle, .pri-item.is-open .pri-item__toggle { color: var(--accent-ink); border-color: var(--accent-ink); }
.pri-item.is-open .pri-item__toggle svg { transform: rotate(45deg); }
.pri-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); position: relative; z-index: 1; }
.pri-item.is-open .pri-item__panel { grid-template-rows: 1fr; }
.pri-item__panelinner { overflow: hidden; }
.pri-item__content { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,3vw,50px);
  padding: clamp(14px,1.8vw,26px) clamp(16px,2vw,34px) clamp(44px,5vw,72px) clamp(16px,2vw,34px); align-items: start; }
.pri-item__content p { font-size: clamp(16px,1.15vw,19px); line-height: 1.6; color: var(--fg-dim); max-width: 64ch; }
.pri-item__content p + p { margin-top: 0.9em; }
.pri-item__kicker { font-family: var(--serif); font-style: italic; font-size: clamp(20px,2vw,30px); line-height: 1.18; margin-bottom: 0.7em; color: var(--fg); }
.pri-item__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pri-item__meta span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 13px; color: var(--fg-dim); }

/* open state: lime fill covers the whole item, so panel text goes black */
.pri-item.is-open .pri-item__kicker { color: var(--accent-ink); }
.pri-item.is-open .pri-item__content p { color: rgba(22,32,10,0.82); }
.pri-item.is-open .pri-item__meta span { color: var(--accent-ink); border-color: rgba(22,32,10,0.32); }

/* ============================================================ DONATE / CHIP IN */
.chip { position: relative; overflow: hidden; }
.chip__inner { display: grid; grid-template-columns: 1fr; gap: clamp(36px,5vw,70px); align-items: center; position: relative; z-index: 2; }
.chip__title { font-family: var(--display); text-transform: uppercase; line-height: 0.92; font-size: clamp(42px, 6.8vw, 124px); letter-spacing: normal; }
.chip__sub { max-width: 44ch; margin: 22px 0 0; color: var(--fg-dim); font-size: clamp(15px,1.1vw,19px); line-height: 1.5; }
.chip__panel { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px,2.6vw,40px); }
.section--lift .chip__panel { background: var(--bg-3); }
.chip__toggle { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px; margin-bottom: 22px; }
.chip__toggle button { padding: 15px 24px; border-radius: 100px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); transition: color 0.3s, background 0.3s; }
.chip__toggle button.is-on { color: var(--accent-ink); background: var(--accent); }
.chip__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip__amt { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 18px 8px; font-family: var(--display); font-size: clamp(22px,2.2vw,34px);
  color: var(--fg); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s; }
.chip__amt:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip__amt.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip__custom { grid-column: span 3; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 18px; }
.chip__custom span { font-family: var(--display); font-size: clamp(22px,2.2vw,34px); color: var(--fg-mute); }
.chip__custom input { flex: 1; background: none; border: none; outline: none; color: var(--fg); font-family: var(--display); font-size: clamp(22px,2.2vw,34px); padding: 16px 0; }
.chip__custom input::placeholder { color: var(--fg-mute); }
.chip__submit { margin-top: 18px; width: 100%; justify-content: center; }
.chip__note { margin-top: 16px; font-size: 12.5px; color: var(--fg-mute); line-height: 1.5; text-align: center; }

/* ============================================================ VOLUNTEER */
.vol__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px,5vw,80px); align-items: start; }
.vol__title { font-family: var(--display); text-transform: uppercase; line-height: 0.96; font-size: clamp(44px,6.4vw,116px);
  padding-bottom: 0.12em; margin-bottom: clamp(40px,5vw,72px); letter-spacing: normal; }
.vol__title .u-accent { color: var(--accent); }
.vol__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.vol__copy { max-width: 50ch; font-size: clamp(16px,1.2vw,20px); line-height: 1.55; color: var(--fg-dim); margin-bottom: 26px; }
.vol__list { display: grid; gap: 0; }
.vol__row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.vol__row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.vol__row span { font-weight: 600; font-size: clamp(15px,1.1vw,18px); color: var(--fg); }

/* ============================================================ FOOTER + NEWSLETTER */
.foot { background: var(--bg-2); color: var(--fg); padding-top: clamp(70px,9vw,124px); border-top: 1px solid var(--line); }
.signup { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px); align-items: end;
  padding-bottom: clamp(56px,7vw,100px); border-bottom: 1px solid var(--line); }
.signup__title { font-family: var(--display); text-transform: uppercase; line-height: 0.94; font-size: clamp(38px,5.2vw,92px); letter-spacing: normal; }
.signup__title .u-serif-it { font-size: 0.82em; color: var(--accent); }
.signup__form { width: 100%; }
.signup__field { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--line-2); padding-bottom: 14px; transition: border-color 0.4s; }
.signup__field:focus-within { border-color: var(--accent); }
.signup__field input { flex: 1; background: none; border: none; outline: none; color: var(--fg); font-size: clamp(17px,1.4vw,22px); padding: 8px 0; font-family: var(--grotesk); }
.signup__field input::placeholder { color: var(--fg-mute); }
.signup__field button { flex: none; }
.signup__note { margin-top: 16px; font-size: 13px; color: var(--fg-mute); }
.signup__ok { color: var(--accent); font-weight: 700; margin-top: 14px; opacity: 0; transition: opacity 0.4s; }
.signup__ok.show { opacity: 1; }
.signup__field + .signup__field { margin-top: 18px; }
.signup__field.is-invalid { border-color: #ff5d45; }
.signup__consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; position: relative; }
.signup__consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.signup__checkbox { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--line-2); border-radius: 6px;
  display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.signup__checkbox svg { width: 13px; height: 13px; color: var(--accent-ink); opacity: 0; transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s var(--ease); }
.signup__consent input:checked ~ .signup__checkbox { background: var(--accent); border-color: var(--accent); }
.signup__consent input:checked ~ .signup__checkbox svg { opacity: 1; transform: scale(1); }
.signup__consent input:focus-visible ~ .signup__checkbox { outline: 2px solid var(--accent); outline-offset: 2px; }
.signup__consent.is-invalid .signup__checkbox { border-color: #ff5d45; }
.signup__consent-text { font-size: 13px; color: var(--fg-mute); line-height: 1.55; }
.signup__err { color: #ff6a55; font-weight: 700; margin-top: 8px; opacity: 0; transition: opacity 0.4s; }
.signup__err.show { opacity: 1; }

.foot__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,56px); padding-block: clamp(50px,6vw,80px); }
.foot__logo img { height: 46px; width: auto; margin-bottom: 22px; }
.foot__tag { color: var(--fg-dim); max-width: 34ch; font-size: 15px; line-height: 1.5; }
.foot__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-mute); margin-bottom: 18px; font-weight: 700; }
.foot__col a { display: block; padding: 7px 0; font-weight: 600; font-size: 16px; color: var(--fg); transition: color 0.3s, transform 0.3s; width: fit-content; }
.foot__col a:hover { color: var(--accent); transform: translateX(5px); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-mute); }
.foot__bottom a:hover { color: var(--accent); }
.foot__disc { max-width: 60ch; font-size: 12px; color: var(--fg-mute); opacity: 0.7; padding-bottom: 40px; line-height: 1.6; }
.foot__word { font-family: var(--display); text-transform: uppercase; line-height: 0.8; font-size: clamp(60px, 17vw, 320px);
  color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: normal; padding-top: 20px; overflow: hidden; white-space: nowrap; }

/* ============================================================ FALLING SHAPES */
.drop-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.drop { position: absolute; will-change: transform; }
.drop svg { width: 100%; height: 100%; }

/* ============================================================ RESPONSIVE */
@media (min-width: 880px) {
  .manifesto__cols { grid-template-columns: 1.5fr 1fr; }
  .meet__grid { grid-template-columns: 0.82fr 1.18fr; }
  .chip__inner { grid-template-columns: 1.1fr 0.9fr; }
  .vol__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) { .pri-item__content { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  :root { --nav-h: 74px; --marq-h: 58px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta-text { display: none; }
  .signup { grid-template-columns: 1fr; }
  .foot__main { grid-template-columns: 1fr; gap: 32px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__media img { object-position: center 30%; }
  .manifesto__lead { max-width: none; font-size: clamp(36px, 10.6vw, 74px); }
  /* "NO BOSSES." is the longest line - size the stamp so it stays inside the gutter */
  .tagline-stamp { font-size: clamp(40px, 36cqw, 180px); }
}
@media (max-width: 720px) {
  /* the big display h1 fights the portrait crop - hide it visually, keep it for screen readers */
  .hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .hero { min-height: 480px; }
}
@media (max-width: 480px) {
  /* logo + Donate + burger must fit a 390px row - squeeze so the burger keeps its gutter */
  .nav__logo img { height: 46px; }
  .nav.is-stuck .nav__logo img { height: 40px; }
  .nav__right { gap: 8px; }
  .nav__right .btn { padding: 13px 18px; font-size: 13px; }
}

/* ============================================================ MOBILE MENU */
.menu { position: fixed; inset: 0; z-index: 999; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gut);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); pointer-events: none; }
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu a { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 11vw, 84px); line-height: 1.08;
  padding: 6px 0; color: var(--fg); transition: color 0.3s; }
.menu a:hover, .menu a:active { color: var(--accent); }
.menu__foot { margin-top: 40px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--fg-mute); }

/* ============================================================ DONATE MODAL */
body.modal-open { overflow: hidden; }
.dmodal { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 3vw, 40px); opacity: 0; transition: opacity 0.3s ease; }
.dmodal[hidden] { display: none; }
.dmodal.is-open { opacity: 1; }
.dmodal__backdrop { position: absolute; inset: 0; background: rgba(14, 13, 11, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dmodal__panel { position: relative; width: min(1000px, 100%); height: min(860px, 100%);
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  transform: translateY(22px) scale(0.985); transition: transform 0.45s var(--ease); }
.dmodal.is-open .dmodal__panel { transform: none; }
.dmodal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--ink); color: var(--paper); cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s; }
.dmodal__close svg { width: 18px; height: 18px; }
.dmodal__close:hover { background: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }
.dmodal__spinner { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  background: var(--paper); }
.dmodal__spinner::after { content: ""; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(16, 15, 12, 0.15); border-top-color: var(--ink); animation: dspin 0.8s linear infinite; }
.dmodal.is-loaded .dmodal__spinner { opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0.15s; }
@keyframes dspin { to { transform: rotate(360deg); } }
.dmodal__frame, #donateFrame { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) {
  .dmodal { padding: 0; }
  .dmodal__panel { border-radius: 0; }
}
