/* GENERATED from the <style> block in index.html by _tools/build_events.py.
   Edit index.html (or the EVENT_CSS in the build script), then re-run. */
/* ============================================================================
   SoAPRA — Southern Arizona Placement and Referral Alliance
   Stylesheet
   ----------------------------------------------------------------------------
   Contents
     01. Design tokens (colors from the logo, type scale, motion)
     02. Reset & base
     03. Typography & shared section furniture
     04. Buttons & micro-interactions
     05. Reveal / animation system
     06. Header & navigation
     07. Hero
     08. Stats strip
     09. Value props
     10. About
     11. Board recruitment + Google Form
     12. Benefits grid
     13. Photo gallery + lightbox
     14. Board & members
     15. Testimonials carousel
     16. Membership / pricing
     17. FAQ accordion
     18. Contact / closing CTA
     19. Footer
     20. Responsive
     21. Reduced motion & print
   ========================================================================== */

/* ---------------------------------------------------------------- 01. TOKENS */
:root {
  /* Sampled directly from the SoAPRA logo */
  --navy-deep:  #0F2547;
  --navy:       #16375F;
  --navy-light: #24507F;
  --green:      #64C03A;
  --green-light:#A9D98B;
  --charcoal:   #1A1A1A;
  --gray:       #6B6B6B;
  --gray-light: #F3F4F2;
  --white:      #FFFFFF;

  /* Derived */
  --green-deep: #4E9A2C;
  --navy-tint:  rgba(22, 55, 95, 0.06);
  --line:       rgba(15, 37, 71, 0.10);

  /* The signature motif: the globe's diagonal navy→green split */
  --grad-brand: linear-gradient(135deg, #0F2547 0%, #16375F 45%, #64C03A 100%);
  --grad-brand-soft: linear-gradient(135deg, #16375F 0%, #24507F 50%, #64C03A 130%);
  --grad-rule: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-light) 45%, var(--green) 100%);

  /* Type */
  --font-serif: 'Playfair Display', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body:    1.0625rem;
  --fs-lead:    1.1875rem;
  --fs-h3:      clamp(1.25rem, 2vw, 1.5rem);
  --fs-h2:      clamp(1.9rem, 4vw, 2.9rem);
  --fs-h1:      clamp(2.4rem, 6.2vw, 4.35rem);

  /* Space */
  --wrap:       1180px;
  --wrap-narrow: 820px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --section-y:  clamp(4.5rem, 9vw, 8rem);

  /* Depth */
  --radius:     16px;
  --radius-lg:  24px;
  --shadow-sm:  0 1px 2px rgba(15, 37, 71, .06), 0 2px 8px rgba(15, 37, 71, .05);
  --shadow-md:  0 4px 12px rgba(15, 37, 71, .07), 0 12px 32px rgba(15, 37, 71, .08);
  --shadow-lg:  0 12px 28px rgba(15, 37, 71, .11), 0 28px 64px rgba(15, 37, 71, .13);

  /* Motion — everything stays under ~500ms, ease-out */
  --ease:       cubic-bezier(.22, .68, .36, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --t-fast:     180ms;
  --t-base:     320ms;
  --t-slow:     480ms;

  --header-h:   84px;
}

/* ------------------------------------------------------------ 02. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 2000;
  background: var(--navy-deep); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none;
  transition: transform var(--t-base) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

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

/* ---------------------------------------------------- 03. TYPE & SECTION FURNITURE */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--gray-light); }
.section--navy { background: var(--navy-deep); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* Eyebrow label — echoes the tracked-out subtitle under the logo wordmark */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad-rule); flex: none;
}
.section--navy .eyebrow { color: var(--green-light); }
.section--navy .eyebrow::before { background: var(--green); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--gray); font-size: var(--fs-lead); }
.section--navy .section-head p { color: rgba(255,255,255,.78); }

/* Gradient hairline used as a section divider — the globe split, flattened */
.rule {
  height: 3px; width: 84px; border-radius: 3px;
  background: var(--grad-rule); border: 0; margin: 0 0 1.5rem;
}
.rule--center { margin-inline: auto; }

/* Accent word inside serif headings */
.accent { color: var(--green-deep); }
.section--navy .accent { color: var(--green-light); }

/* ------------------------------------------------------------- 04. BUTTONS */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  box-shadow: 0 4px 14px rgba(100, 192, 58, .28);
}
/* Fill-sweep: a navy→green wash slides in from the left on hover */
.btn::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand-soft);
  transform: translateX(-101%);
  transition: transform var(--t-base) var(--ease);
}
.btn:hover, .btn:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 37, 71, .26);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(0); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--green); }

.btn--navy { --btn-bg: var(--navy-deep); box-shadow: 0 4px 14px rgba(15,37,71,.24); }
.btn--navy::after { background: linear-gradient(135deg, var(--green-deep), var(--green)); }

.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--navy); box-shadow: none;
}
.btn--outline:hover { border-color: transparent; }

.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .ico { width: 17px; height: 17px; flex: none; }

/* ----------------------------------------------------- 05. REVEAL SYSTEM */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-28px, 0, 0); }
[data-reveal="right"] { transform: translate3d(28px, 0, 0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Icons that draw themselves in on first reveal */
.icon-badge {
  position: relative;
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(22,55,95,.10), rgba(100,192,58,.16));
  color: var(--navy);
  margin-bottom: 1.15rem;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge svg [data-draw] {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}
.is-revealed .icon-badge svg [data-draw],
.is-revealed.icon-badge svg [data-draw] {
  animation: draw 620ms var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------ 06. HEADER & NAV */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              height var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  height: 68px;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.header__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}

/* The logo file has an opaque white background, so it can't be recolored with
   a filter (that would flood the whole rectangle white and hide the mark).
   Instead it sits on a white "plate" that reads as deliberate over the dark
   hero, then melts into the white bar once the header sticks. */
.brand {
  display: flex; align-items: center; flex: none;
  text-decoration: none; margin-right: auto;
  background: var(--white);
  padding: .4rem .85rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 37, 71, .22);
  transition: padding var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-base) var(--ease);
}
.brand img {
  height: 52px; width: auto;
  transition: height var(--t-base) var(--ease);
}
.header.is-stuck .brand { padding: .2rem .35rem; box-shadow: none; }
.header.is-stuck .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .5rem .7rem;
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .25rem;
  height: 2px; border-radius: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--white); font-weight: 600; }

.header.is-stuck .nav a { color: var(--navy); }
.header.is-stuck .nav a:hover,
.header.is-stuck .nav a[aria-current="true"] { color: var(--navy-deep); }

.header__cta { flex: none; }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px; cursor: pointer; flex: none;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.header.is-stuck .hamburger { border-color: var(--line); }
.hamburger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--white); position: relative;
  transition: background var(--t-fast) var(--ease), transform var(--t-base) var(--ease);
}
.hamburger span::before, .hamburger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  border-radius: 2px; background: inherit;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }
.header.is-stuck .hamburger span,
.header.is-stuck .hamburger span::before,
.header.is-stuck .hamburger span::after { background: var(--navy-deep); }
.hamburger[aria-expanded="true"] span { background: transparent !important; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); background: var(--navy-deep); }
.hamburger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); background: var(--navy-deep); }

/* Mobile slide-in drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 950;
  width: min(360px, 86vw);
  background: var(--white);
  box-shadow: -18px 0 50px rgba(15,37,71,.2);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1rem) 1.75rem 2rem;
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer a {
  padding: .95rem .25rem;
  font-size: 1.05rem; font-weight: 500;
  color: var(--navy-deep); text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.drawer a:hover, .drawer a[aria-current="true"] { color: var(--green-deep); padding-left: .6rem; }
.drawer .btn { margin-top: 1.5rem; }
.drawer__foot { margin-top: auto; padding-top: 2rem; font-size: .85rem; color: var(--gray); }

.scrim {
  position: fixed; inset: 0; z-index: 940;
  background: rgba(15,37,71,.5);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- 07. HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 6rem;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
/* Slow-drifting navy→green gradient — the globe split, in motion */
.hero__bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(60% 60% at 78% 78%, rgba(100,192,58,.55) 0%, rgba(100,192,58,0) 62%),
    radial-gradient(55% 55% at 18% 22%, rgba(36,80,127,.75) 0%, rgba(36,80,127,0) 65%),
    var(--grad-brand);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: scale(1)    translate3d(0, 0, 0); }
  50%  { transform: scale(1.08) translate3d(-2%, 1.5%, 0); }
  100% { transform: scale(1.04) translate3d(2%, -1.5%, 0); }
}
/* Wireframe globe grid overlay, echoing the logo mark */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 25%, transparent 78%);
}
.hero__photo {
  position: absolute; inset: 0;
  background-size: cover;
  /* Anchor near the top of the photo. The group shot is 4:3, so on a wide
     screen "center" crops equally top and bottom and slices people's heads
     off. Biasing upward keeps faces in frame. */
  background-position: center 18%;
  opacity: .16;
  mix-blend-mode: luminosity;
  /* Zoom outward from the same upper point, so the slow zoom doesn't creep
     back over the faces as it runs. */
  transform-origin: center 25%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(1.5%, -0.6%, 0); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,71,.62) 0%, rgba(15,37,71,.18) 42%, rgba(15,37,71,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; }

.hero .eyebrow { color: var(--green-light); }
.hero .eyebrow::before { background: var(--green); }
.hero h1 { color: var(--white); text-wrap: balance; margin-bottom: .35em; }
.hero__sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-style: italic;
  color: var(--green-light);
  margin-bottom: 1.4rem;
  max-width: 42ch;
}
.hero__body {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,.86);
  max-width: 62ch;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Load-in animation for hero children */
.hero__inner > * { opacity: 0; transform: translate3d(0, 26px, 0); animation: heroIn 720ms var(--ease) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: 120ms; }
.hero__inner > *:nth-child(2) { animation-delay: 220ms; }
.hero__inner > *:nth-child(3) { animation-delay: 320ms; }
.hero__inner > *:nth-child(4) { animation-delay: 420ms; }
.hero__inner > *:nth-child(5) { animation-delay: 520ms; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; z-index: 3;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue svg { width: 22px; height: 22px; animation: bob 1.9s var(--ease-soft) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0);   opacity: .75; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* -------------------------------------------------------- 08. STATS STRIP */
.stats {
  background: var(--navy-deep);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 130% at 88% 50%, rgba(100,192,58,.28), transparent 60%);
}
.stats__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 700; line-height: 1;
  color: var(--white);
  display: block;
}
.stat__num .u { color: var(--green-light); }
.stat__label {
  display: block; margin-top: .55rem;
  font-size: .8125rem; line-height: 1.45;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
}

/* ------------------------------------------------------- 09. VALUE PROPS */
.valueprops { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  overflow: hidden;
}
/* Gradient top-edge that wipes in on hover */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-rule);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:hover .icon-badge {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, rgba(22,55,95,.18), rgba(100,192,58,.3));
}
.card h3 { margin-bottom: .55rem; }
.card p  { color: var(--gray); margin: 0; font-size: 1rem; }

/* ------------------------------------------------------------ 10. ABOUT */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__body p { color: var(--gray); }
.about__body p:first-of-type { color: var(--charcoal); font-size: var(--fs-lead); }

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .9rem;
}
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.collage figure:first-child { grid-column: 1 / -1; }
.collage img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10;
  transition: transform 620ms var(--ease);
}
.collage figure:first-child img { aspect-ratio: 16 / 9; }
.collage figure:hover img { transform: scale(1.06); }

.about__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding: .6rem 1.1rem;
  background: rgba(100,192,58,.12);
  border: 1px solid rgba(100,192,58,.35);
  border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--green-deep);
}
.about__badge svg { width: 16px; height: 16px; }

/* ------------------------------------------- 11. BOARD RECRUITMENT + FORM */
.recruit { background: var(--gray-light); }
.recruit__banner {
  position: relative; overflow: hidden;
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.recruit__banner::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 72%);
  pointer-events: none;
}
.recruit__banner > * { position: relative; z-index: 1; }
.recruit__banner h2 { color: var(--white); margin-bottom: .5rem; }
.recruit__banner p { color: rgba(255,255,255,.85); max-width: 56ch; margin-inline: auto; }
.recruit__banner .eyebrow { color: var(--green-light); justify-content: center; }
.recruit__banner .eyebrow::before { background: var(--green-light); }

.formcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 720px; margin-inline: auto;
  border: 1px solid var(--line);
}
.formcard iframe { width: 100%; border: 0; border-radius: 12px; display: block; max-width: 640px; margin-inline: auto; }
.formcard__note { text-align: center; font-size: .85rem; color: var(--gray); margin-top: 1rem; }

/* ------------------------------------------------------- 12. BENEFITS GRID */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.benefit { display: flex; flex-direction: column; padding: 0; }
.benefit__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gray-light); }
.benefit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms var(--ease); }
.benefit:hover .benefit__media img { transform: scale(1.07); }
.benefit__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,37,71,.42) 100%);
}
.benefit__body { padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.benefit__body .icon-badge { width: 46px; height: 46px; margin-top: -3.2rem; margin-bottom: 1rem; position: relative; z-index: 2; background: var(--white); box-shadow: var(--shadow-md); color: var(--green-deep); }
.benefit__body .icon-badge svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.2rem; }

/* --------------------------------------------------- 13. GALLERY + LIGHTBOX */
.gallery__video {
  position: relative; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}
.gallery__video video, .gallery__video iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.gallery__video figcaption {
  padding: 1rem 1.35rem; color: rgba(255,255,255,.82); font-size: .9rem;
  background: var(--navy-deep);
}

/* Album tab bar */
.albumbar {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  align-items: center;
}
.albumbar__tab {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--navy);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.albumbar__tab:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-1px); }
.albumbar__tab[aria-pressed="true"] {
  background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.albumbar__tab.is-hidden { display: none; }
.badge-new {
  display: inline-block; padding: .12rem .45rem;
  background: var(--green); color: var(--white);
  font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; line-height: 1.5;
  animation: pulseNew 2.4s var(--ease-soft) infinite;
}
.albumbar__tab[aria-pressed="true"] .badge-new { background: var(--green-light); color: var(--navy-deep); }
@keyframes pulseNew {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100,192,58,.55); }
  60%      { box-shadow: 0 0 0 7px rgba(100,192,58,0); }
}
.albumbar__more {
  background: transparent; border: 0; cursor: pointer;
  font-size: .85rem; font-weight: 600; color: var(--green-deep);
  padding: .6rem .5rem; text-decoration: underline; text-underline-offset: 4px;
}

/* Masonry grid — absorbs any number of photos at any aspect ratio */
.masonry { columns: 3 260px; column-gap: 1rem; }
.masonry__item {
  break-inside: avoid;
  margin: 0 0 1rem;
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  opacity: 0; transform: translateY(18px);
  animation: tileIn 460ms var(--ease) forwards;
}
@keyframes tileIn { to { opacity: 1; transform: none; } }
.masonry__item img { width: 100%; display: block; transition: transform 620ms var(--ease); background: var(--gray-light); }
.masonry__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .95rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(15,37,71,.88));
  color: var(--white); font-size: .8125rem; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.masonry__item:hover .masonry__cap,
.masonry__item:focus-visible .masonry__cap { opacity: 1; transform: none; }
.masonry__cap b { display: block; font-weight: 600; }
.masonry__cap span { color: var(--green-light); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.gallery__empty {
  text-align: center; padding: 3rem 1rem; color: var(--gray);
  border: 2px dashed var(--line); border-radius: var(--radius-lg);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(10, 22, 42, .96);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  color: rgba(255,255,255,.72); font-size: .85rem; letter-spacing: .06em;
}
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(.5rem, 3vw, 4.5rem); min-height: 0; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-soft);
}
.lightbox__img.is-shown { opacity: 1; }
.lightbox__foot {
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.75rem;
  text-align: center; color: rgba(255,255,255,.86); font-size: .95rem;
  min-height: 4.5rem;
}
.lightbox__foot .lb-date {
  display: block; margin-top: .3rem;
  color: var(--green-light); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.lb-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lb-btn:hover { background: var(--green); border-color: var(--green); transform: scale(1.08); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-nav--prev { left: clamp(.25rem, 1.5vw, 1rem); }
.lb-nav--next { right: clamp(.25rem, 1.5vw, 1rem); }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }

/* --------------------------------------------------- 14. BOARD & MEMBERS */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.member {
  text-align: center;
  padding: clamp(1.75rem, 3vw, 2.25rem) 1.5rem;
}
.member__avatar {
  position: relative;
  width: 128px; height: 128px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-brand-soft);
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px rgba(100,192,58,.28);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.member:hover .member__avatar { box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--green); transform: scale(1.03); }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__initials { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.member__name { font-size: 1.2rem; margin-bottom: .2rem; }
.member__name .creds { font-family: var(--font-sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--green-deep); vertical-align: middle; margin-left: .4rem; }
.member__title { font-size: .875rem; font-weight: 600; color: var(--navy-light); margin: 0 0 .15rem; letter-spacing: .01em; }
.member__company { font-size: .85rem; color: var(--gray); margin: 0; }
.member__bio { font-size: .82rem; line-height: 1.5; color: var(--gray); margin: .6rem 0 0; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.gallery__more .btn .ico, .gallery__more svg { width: 17px; height: 17px; }

/* Cross-document view transitions between the homepage and event pages.
   Progressive enhancement: browsers without support just navigate normally. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.member__links {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.member:hover .member__links, .member:focus-within .member__links { opacity: 1; transform: none; }
.member__links a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gray-light); color: var(--navy);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.member__links a:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.member__links svg { width: 17px; height: 17px; }
.member--placeholder { border-style: dashed; background: transparent; box-shadow: none; }
.member--placeholder .member__avatar { background: var(--gray-light); box-shadow: none; }
.member--placeholder .member__initials { color: var(--gray); }
.member--placeholder .member__name { color: var(--gray); }
.member--placeholder:hover { transform: translateY(-4px); }

/* --------------------------------------------------- 15. TESTIMONIALS */
.testimonials { background: var(--navy-deep); position: relative; overflow: hidden; }
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 15% 90%, rgba(100,192,58,.22), transparent 62%);
}
.testimonials .wrap { position: relative; z-index: 1; }

/* This section sits on deep navy, so the heading and eyebrow have to be
   lifted off it — otherwise they inherit the dark body colour and all but
   disappear against the background. */
.testimonials h2 { color: var(--white); }
.testimonials .eyebrow { color: var(--green-light); }
.testimonials .eyebrow::before { background: var(--green); }
.testimonials .section-head p { color: rgba(255, 255, 255, .78); }

.carousel { position: relative; }
.carousel__track { position: relative; min-height: 340px; }
.quote {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.99);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), visibility var(--t-slow);
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote__inner { max-width: 780px; margin-inline: auto; padding-inline: 1rem; }
.quote__mark {
  font-family: var(--font-serif);
  font-size: 6rem; line-height: .6;
  color: var(--green);
  opacity: .5;
  display: block; margin-bottom: .5rem;
}
.quote blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.55;
  color: var(--white);
  text-wrap: pretty;
}
.quote__person { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.quote__person img {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px var(--green);
}
.quote__meta { text-align: left; }
.quote__name { display: block; font-weight: 700; color: var(--white); font-size: .975rem; }
.quote__role { display: block; font-size: .8125rem; color: var(--green-light); letter-spacing: .05em; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.carousel__btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,.28);
  color: var(--white); cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.carousel__btn:hover { background: var(--green); border-color: var(--green); transform: scale(1.07); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  background: rgba(255,255,255,.3); border: 0; cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.carousel__dot[aria-current="true"] { background: var(--green); width: 28px; border-radius: 999px; }

/* ------------------------------------------------------ 16. MEMBERSHIP */
.billing-toggle {
  display: inline-flex; align-items: center; gap: .25rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .3rem;
  margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: .55rem 1.25rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: var(--gray);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.billing-toggle button[aria-pressed="true"] { background: var(--navy-deep); color: var(--white); }
.toggle-wrap { text-align: center; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); align-items: stretch; }
.tier { display: flex; flex-direction: column; text-align: center; }
.tier--featured {
  border-color: var(--green);
  box-shadow: 0 12px 34px rgba(100,192,58,.2), var(--shadow-md);
}
.tier--featured::before { transform: scaleX(1); }
.tier__flag {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: var(--green); color: var(--white);
  font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px;
}
.tier h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.tier__price { font-family: var(--font-serif); line-height: 1; margin-bottom: .35rem; color: var(--navy-deep); }
.tier__price .cur  { font-size: 1.35rem; vertical-align: super; margin-right: .1rem; }
.tier__price .amt  { font-size: clamp(2.4rem, 4.5vw, 3.1rem); font-weight: 700; }
.tier__price .per  { font-family: var(--font-sans); font-size: .875rem; font-weight: 500; color: var(--gray); }
.tier__note { font-size: .78rem; color: var(--green-deep); font-weight: 600; letter-spacing: .03em; min-height: 2.4em; margin-bottom: 1rem; }
.tier__body { color: var(--gray); font-size: .95rem; flex: 1; margin-bottom: 1.75rem; }
.tier__divider { height: 1px; background: var(--line); margin: 1.25rem 0; border: 0; }

/* ------------------------------------------------------------ 17. FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem .25rem;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700;
  color: var(--charcoal);
  transition: color var(--t-fast) var(--ease);
}
.faq__q:hover { color: var(--green-deep); }
.faq__q[aria-expanded="true"] { color: var(--navy); }
.faq__chev {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-light); color: var(--navy);
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.faq__chev svg { width: 16px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); background: var(--green); color: var(--white); }
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height var(--t-slow) var(--ease);
}
.faq__a > div { padding: 0 3.5rem 1.75rem .25rem; color: var(--gray); }

/* -------------------------------------------------------- 18. CONTACT CTA */
.cta {
  position: relative; overflow: hidden;
  background: var(--grad-brand);
  color: var(--white);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.cta::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(72% 72% at 22% 78%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(72% 72% at 22% 78%, #000, transparent 74%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta__lead { font-size: var(--fs-lead); color: rgba(255,255,255,.88); max-width: 62ch; }
.cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.contactcards { display: grid; gap: .85rem; }
.contactcard {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  color: var(--white); text-decoration: none;
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.contactcard:hover { background: rgba(255,255,255,.16); border-color: var(--green); transform: translateX(4px); color: var(--white); }
.contactcard__ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(100,192,58,.22); color: var(--green-light);
}
.contactcard__ico svg { width: 19px; height: 19px; }
.contactcard b { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-light); font-weight: 600; }
.contactcard span { font-size: 1rem; font-weight: 500; word-break: break-word; }

/* ----------------------------------------------------------- 19. FOOTER */
.footer { background: var(--charcoal); color: rgba(255,255,255,.62); padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .9rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
/* Same white-plate treatment against the dark footer. */
.footer__brand img {
  height: 54px; width: auto;
  background: var(--white);
  padding: .5rem .8rem;
  border-radius: 12px;
  box-sizing: content-box;
  margin-bottom: 1.15rem;
}
.footer__brand p { max-width: 40ch; line-height: 1.6; }
.footer h3, .footer h4 { color: var(--white); font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { color: rgba(255,255,255,.62); text-decoration: none; transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease); }
.footer ul a:hover { color: var(--green-light); padding-left: .35rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer__social a:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .8125rem;
}
.footer__bar p { margin: 0; }
.footer__affil { color: rgba(255,255,255,.5); }
.footer__affil a { color: var(--green-light); }

/* Developer credit — the last line on the page */
.footer__dev {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.15rem;
  text-align: center;
}
.footer__dev p { margin: 0; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.42); }
.footer__dev a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(100,192,58,.45);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__dev a:hover { color: var(--green-light); border-color: var(--green); }

/* -------------------------------------------------------- 20. RESPONSIVE */
@media (max-width: 1080px) {
  .nav a { padding: .5rem .5rem; font-size: .85rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  /* Keep the plated logo comfortably inside the shorter mobile bar */
  .brand { padding: .35rem .6rem; }
  .brand img { height: 42px; }
  .header.is-stuck .brand img { height: 36px; }
  .nav, .header__cta { display: none; }
  .hamburger { display: inline-flex; }
  .valueprops, .about, .cta__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .benefits, .board, .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .masonry { columns: 2 200px; }
}

@media (max-width: 640px) {
  .benefits, .board, .pricing { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .hero__actions .btn { flex: 1 1 100%; }
  .carousel__track { min-height: 430px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .albumbar { gap: .45rem; }
  .albumbar__tab { padding: .5rem .9rem; font-size: .8125rem; }
  .faq__a > div { padding-right: 1rem; }
  .lightbox__bar { padding-inline: 1rem; }
  .lb-nav--prev { left: .25rem; }
  .lb-nav--next { right: .25rem; }
}

@media (max-width: 400px) {
  :root { --gutter: 1.1rem; }
  .brand { padding: .3rem .5rem; }
  .brand img { height: 36px; }
  .masonry { columns: 1; }
  .member__avatar { width: 108px; height: 108px; }
  .quote__mark { font-size: 4.5rem; }
  .carousel__track { min-height: 480px; }
}

/* ------------------------------------------ 21. REDUCED MOTION & PRINT */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__inner > * { opacity: 1; transform: none; }
  .hero__bg, .hero__photo { animation: none; }
  .masonry__item { opacity: 1; transform: none; }
  .member__links, .masonry__cap { opacity: 1; transform: none; }
}

@media print {
  .header, .drawer, .scrim, .scroll-cue, .lightbox, .carousel__controls, .hamburger { display: none !important; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero__bg, .hero__grid, .hero__photo, .hero__vignette { display: none; }
  .hero h1, .hero__body, .hero__sub { color: #000 !important; }
  .quote { position: static; opacity: 1; visibility: visible; }
  body { font-size: 11pt; }
}


/* ==========================================================================
   EVENT PAGES  (generated pages under /events/ — shares everything above)
   ========================================================================== */
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header.is-stuck .nav a[aria-current="page"] { color: var(--navy-deep); }
.drawer a[aria-current="page"] { color: var(--green-deep); }

.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--grad-brand);
  padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(3rem, 7vw, 5rem);
}
.page-hero .hero__grid { z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .4em; text-wrap: balance; }
.page-hero__lead { font-size: var(--fs-lead); color: rgba(255,255,255,.86); max-width: 56ch; }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero__grid--solo { grid-template-columns: 1fr; max-width: 820px; }
.page-hero__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: rgba(255,255,255,.08); }
.page-hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero .eyebrow { color: var(--green-light); }
.page-hero .eyebrow::before { background: var(--green); }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.4rem; font-size: .82rem; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: '/'; margin-right: .35rem; opacity: .55; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--green-light); text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .82rem; font-weight: 500; }
.chips svg { width: 15px; height: 15px; color: var(--green-light); }

.prose { max-width: 70ch; }
.prose p { color: var(--gray); font-size: 1.05rem; }
.prose p:first-of-type { color: var(--charcoal); font-size: var(--fs-lead); }

/* Event cards (events index + "more events") */
.evcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.evcard { padding: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.evcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-light); }
.evcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms var(--ease); }
.evcard:hover .evcard__media img { transform: scale(1.06); }
.evcard__body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.evcard__date { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.evcard h2, .evcard h3 { font-size: 1.3rem; margin: 0; }
.evcard p { color: var(--gray); font-size: .95rem; margin: 0; }
.evcard__cta { margin-top: auto; padding-top: .8rem; font-size: .88rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.evcard__cta svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.evcard:hover .evcard__cta svg { transform: translateX(4px); }

/* Gallery tiles are real links, so the photos still open without JavaScript */
a.masonry__item { color: inherit; }

/* Native <dialog> lightbox */
dialog.evlb {
  padding: 0; border: 0; background: transparent; color: var(--white);
  max-width: min(94vw, 1400px); max-height: 94vh; overflow: visible;
}
dialog.evlb::backdrop { background: rgba(10, 22, 42, .94); backdrop-filter: blur(4px); }
.evlb__fig { position: relative; margin: 0; }
.evlb__img {
  display: block; width: auto; height: auto;
  max-width: min(94vw, 1400px); max-height: calc(94vh - 4.5rem);
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transition: opacity var(--t-base) var(--ease-soft);
}
.evlb__img.is-loading { opacity: 0; }
.evlb__cap { margin: .8rem 0 0; text-align: center; font-size: .95rem; color: rgba(255,255,255,.88); }
.evlb__count { display: block; margin-top: .25rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-light); }
.evlb .lb-btn { position: absolute; z-index: 2; background: rgba(15,37,71,.6); }
.evlb__close { top: .6rem; right: .6rem; }
.evlb__prev, .evlb__next { top: 50%; transform: translateY(-50%); }
.evlb__prev { left: .6rem; }
.evlb__next { right: .6rem; }
.evlb__prev:hover, .evlb__next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; }
}
