/* ==========================================================================
   LGBTQIA+ Safe Zone — stylesheet
   Design language: "Warm Editorial." A warm-paper base, a confident soft-serif
   display face (Fraunces) over a quiet humanist body face (Figtree), and the
   pride spectrum treated as a scarce, flag-like motif rather than decoration.
   Deep-plum ink carries every word; coral is the single call-to-action color.
   ========================================================================== */

:root {
  /* ---- Ink + surfaces (warm neutrals) ---- */
  --ink:      #241B3A;   /* headings + primary body */
  --ink-2:    #4B4066;   /* secondary body copy */
  --ink-3:    #6E6489;   /* muted labels, meta */
  --paper:    #FBF7F0;   /* page background — warm paper */
  --paper-2:  #F4ECDF;   /* alternating band — warm sand */
  --surface:  #FFFFFF;   /* cards, header, fields */
  --line:     #E6DBCB;   /* hairlines + borders */
  --line-soft:#EFE7DA;
  --deep:     #1C1530;   /* dark bands (footer, CTA) */

  /* ---- Accent ---- */
  --coral:      #FF5757; /* the one CTA color */
  --coral-ink:  #C0342F; /* coral used as text / small labels (AA on paper) */
  --link:       #6B3FD1; /* inline links + focus (AA on paper) */

  /* ---- Pride spectrum: hard-edged flag stripes + category accents ---- */
  --p-red:    #E64545;
  --p-orange: #F08A24;
  --p-gold:   #E5A400;
  --p-green:  #4B9E4B;
  --p-teal:   #1F9BA1;
  --p-blue:   #2158D0;
  --p-violet: #8C52FF;

  /* ---- Type ---- */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Figtree', system-ui, -apple-system, sans-serif;

  /* ---- Radius (grown-up, not bubbly) ---- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* ---- Elevation (ink-tinted, never neutral black) ---- */
  --sh-sm: 0 1px 2px rgba(36,27,58,0.06), 0 2px 8px -4px rgba(36,27,58,0.10);
  --sh-md: 0 8px 24px -14px rgba(36,27,58,0.30);
  --sh-lg: 0 24px 60px -30px rgba(36,27,58,0.40);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
}

/* ==========================================================================
   Reset + base
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.85rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img, svg, picture { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2em; }

strong { color: var(--ink); font-weight: 700; }

a, button, input, select, textarea, [role="button"] { touch-action: manipulation; }

::selection { background: color-mix(in srgb, var(--coral) 30%, transparent); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(2.75rem, 5vw, 4rem); }
.band-sand { background: var(--paper-2); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: #fff;
  padding: 0.7rem 1.15rem; border-radius: var(--r-sm);
  z-index: 200; box-shadow: var(--sh-md);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

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

/* Eyebrow / kicker — used sparingly, not on every section */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral-ink);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg,
    var(--p-red), var(--p-orange), var(--p-gold), var(--p-green),
    var(--p-teal), var(--p-blue), var(--p-violet));
}
.eyebrow.on-deep { color: #FFC9A0; }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ==========================================================================
   Pride flag rule — the signature motif (hard-edged stripes, not a blur)
   ========================================================================== */

.flag-rule {
  height: 5px; width: 100%; border: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.flag-rule > i {
  display: block;
}
.flag-rule > i:nth-child(1) { background: var(--p-red); }
.flag-rule > i:nth-child(2) { background: var(--p-orange); }
.flag-rule > i:nth-child(3) { background: var(--p-gold); }
.flag-rule > i:nth-child(4) { background: var(--p-green); }
.flag-rule > i:nth-child(5) { background: var(--p-teal); }
.flag-rule > i:nth-child(6) { background: var(--p-blue); }
.flag-rule > i:nth-child(7) { background: var(--p-violet); }

.flag-rule.top { position: sticky; top: 0; z-index: 120; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky; top: 5px; z-index: 110;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.02em; color: var(--ink);
  text-decoration: none; flex-shrink: 0; margin-right: auto;
}
.brand-mark {
  width: 44px; height: 31px; flex-shrink: 0;
  filter: drop-shadow(0 0 1px rgba(36,27,58,0.25)) drop-shadow(0 2px 4px rgba(36,27,58,0.14));
}
.brand-name-short { display: none; }

nav[aria-label="Primary"] { min-width: 0; }
.nav-links {
  display: flex; align-items: center; gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a:not(.btn) {
  position: relative; display: inline-block;
  font-weight: 500; font-size: 0.92rem; color: var(--ink-2);
  text-decoration: none; white-space: nowrap; padding: 0.35rem 0;
  transition: color 0.18s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--coral); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* Active page: color + weight + underline (three independent signals) */
.nav-links a[aria-current="page"] {
  color: var(--ink); font-weight: 700;
}
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer;
  width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  line-height: 1; padding: 0.85rem 1.4rem; min-height: 46px;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--coral); color: var(--ink); box-shadow: var(--sh-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: transparent;
  padding-inline: 0.4rem; min-height: 44px; gap: 0.4rem;
}
.btn-ghost:hover { color: var(--coral-ink); gap: 0.65rem; }
.btn-ghost .arrow { transition: transform 0.16s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.on-deep.btn-outline { border-color: rgba(255,255,255,0.45); color: #fff; }
.on-deep.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); color: #fff; }

.btn-sm { padding: 0.55rem 1rem; min-height: 44px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 6vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 82% 8%, color-mix(in srgb, var(--coral) 16%, transparent), transparent 70%),
    radial-gradient(50% 50% at 6% 92%, color-mix(in srgb, var(--p-violet) 14%, transparent), transparent 70%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero h1 { margin-bottom: 0.5em; }
.hero h1 .accent { color: var(--coral-ink); font-style: italic; }
.hero .lead { margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; align-items: center; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 2.25rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  list-style: none; padding-left: 0;
}
.trust-row li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
}
.trust-row li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.trust-row li:nth-child(1)::before { background: var(--coral); }
.trust-row li:nth-child(2)::before { background: var(--p-teal); }
.trust-row li:nth-child(3)::before { background: var(--p-violet); }

/* Hero art — the real logo, framed */
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero-art-frame {
  position: relative; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--sh-lg);
}
.hero-art-frame img { width: 100%; height: auto; border-radius: var(--r-md); }
.hero-art-badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--ink); color: #fff;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-md); display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-art-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #43B581; }

/* ==========================================================================
   Page hero (sub-pages) — left-aligned, editorial
   ========================================================================== */

.page-hero { padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3vw, 3rem); }
.page-hero .container { max-width: 760px; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lead { max-width: 60ch; }

/* ==========================================================================
   Section headers (used only where a lead-in is genuinely needed)
   ========================================================================== */

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 0.6rem; }

/* ==========================================================================
   Feature row (asymmetric two-column, alternating)
   ========================================================================== */

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.feature.reverse .feature-media { order: 2; }
.feature-copy h2 { margin-bottom: 0.6em; }

.media-panel {
  position: relative; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-md); overflow: hidden;
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.media-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 70% at 30% 20%, color-mix(in srgb, var(--p-violet) 10%, transparent), transparent 70%),
    radial-gradient(60% 60% at 85% 90%, color-mix(in srgb, var(--coral) 12%, transparent), transparent 70%);
}
.media-panel img { position: relative; z-index: 1; width: min(80%, 320px); height: auto; }
.media-panel .glyph {
  position: relative; z-index: 1; width: 96px; height: 96px;
  display: grid; place-items: center; border-radius: 24px;
  background: var(--surface); box-shadow: var(--sh-md); color: var(--ink);
}
.media-panel .glyph svg { width: 46px; height: 46px; }

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem; box-shadow: var(--sh-sm);
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line); }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 0; }

/* Category icon — a tinted square in the category's pride hue */
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card:nth-child(7n+1) .card-icon { background: color-mix(in srgb, var(--p-red) 16%, #fff); color: var(--p-red); }
.card:nth-child(7n+2) .card-icon { background: color-mix(in srgb, var(--p-orange) 18%, #fff); color: #C46A10; }
.card:nth-child(7n+3) .card-icon { background: color-mix(in srgb, var(--p-gold) 20%, #fff); color: #9C7200; }
.card:nth-child(7n+4) .card-icon { background: color-mix(in srgb, var(--p-green) 18%, #fff); color: #357935; }
.card:nth-child(7n+5) .card-icon { background: color-mix(in srgb, var(--p-teal) 18%, #fff); color: #157B80; }
.card:nth-child(7n+6) .card-icon { background: color-mix(in srgb, var(--p-blue) 16%, #fff); color: var(--p-blue); }
.card:nth-child(7n+7) .card-icon { background: color-mix(in srgb, var(--p-violet) 16%, #fff); color: #6B3FD1; }

/* ==========================================================================
   Team cards
   ========================================================================== */

.team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  color: #fff;
}
.card:nth-child(7n+1) .team-avatar { background: var(--p-red); }
.card:nth-child(7n+2) .team-avatar { background: var(--p-orange); }
.card:nth-child(7n+3) .team-avatar { background: #B78500; }
.card:nth-child(7n+4) .team-avatar { background: var(--p-green); }
.card:nth-child(7n+5) .team-avatar { background: var(--p-teal); }
.card:nth-child(7n+6) .team-avatar { background: var(--p-blue); }
.card:nth-child(7n+7) .team-avatar { background: var(--p-violet); }

.team-group {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Values strip (replaces the marquee) — quiet, confident
   ========================================================================== */

.values {
  background: var(--deep); color: rgba(255,255,255,0.82);
}
.values .container { max-width: 980px; }
.values-lead {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.5rem); line-height: 1.25;
  color: #fff; letter-spacing: -0.01em; margin-bottom: 2.5rem; text-wrap: balance;
}
.values-lead .hl { color: #FFB98A; font-style: normal; }
.values-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem;
  list-style: none; padding: 0; margin: 0;
}
.values-list li { padding-top: 1.25rem; border-top: 2px solid rgba(255,255,255,0.16); }
.values-list h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.35rem; }
.values-list p { color: rgba(255,255,255,0.68); font-size: 0.95rem; margin: 0; }
.values-list li:nth-child(1) { border-top-color: var(--coral); }
.values-list li:nth-child(2) { border-top-color: var(--p-teal); }
.values-list li:nth-child(3) { border-top-color: var(--p-violet); }

/* ==========================================================================
   Callout (dark inset panel)
   ========================================================================== */

.callout {
  position: relative; overflow: hidden;
  background: var(--deep); color: rgba(255,255,255,0.82);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.5rem);
}
.callout::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--p-red), var(--p-orange), var(--p-gold),
    var(--p-green), var(--p-teal), var(--p-blue), var(--p-violet));
}
.callout h3 { color: #fff; margin-bottom: 0.5rem; }
.callout p { color: rgba(255,255,255,0.78); }
.callout strong { color: #FFB98A; }
.callout a { color: #fff; text-decoration-color: rgba(255,255,255,0.5); }
.callout code {
  background: rgba(255,255,255,0.12); padding: 0.1em 0.45em; border-radius: 6px;
  font-size: 0.9em;
}
.callout .btn { margin-top: 1.25rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  position: relative; overflow: hidden;
  background: var(--deep); color: #fff; text-align: center;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 20% 0%, color-mix(in srgb, var(--p-violet) 30%, transparent), transparent 70%),
    radial-gradient(50% 60% at 85% 100%, color-mix(in srgb, var(--coral) 24%, transparent), transparent 70%);
  opacity: 0.6;
}
.cta .container { position: relative; z-index: 1; max-width: 640px; }
.cta h2 { color: #fff; margin-bottom: 0.5em; }
.cta p { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 2rem; }
.cta .hero-actions { justify-content: center; }

/* ==========================================================================
   Steps (Get Involved) — numbered editorial rows
   ========================================================================== */

.steps { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.step-num {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1; color: var(--coral-ink);
  border-bottom: 3px solid var(--coral); padding-bottom: 0.15em;
}
.step-body h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); margin-bottom: 0.4em; }
.step-body .btn { margin-top: 1.1rem; }

/* ==========================================================================
   Timeline (History)
   ========================================================================== */

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 9px; width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding-left: 44px; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 6px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--coral);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-item:nth-child(7n+1) .timeline-dot { border-color: var(--p-red); }
.timeline-item:nth-child(7n+2) .timeline-dot { border-color: var(--p-orange); }
.timeline-item:nth-child(7n+3) .timeline-dot { border-color: #B78500; }
.timeline-item:nth-child(7n+4) .timeline-dot { border-color: var(--p-green); }
.timeline-item:nth-child(7n+5) .timeline-dot { border-color: var(--p-teal); }
.timeline-item:nth-child(7n+6) .timeline-dot { border-color: var(--p-blue); }
.timeline-item:nth-child(7n+7) .timeline-dot { border-color: var(--p-violet); }
.timeline-date {
  font-family: var(--body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 0.4rem; display: block;
}
.timeline-item h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.timeline-item p { color: var(--ink-2); margin: 0; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 1.4rem 0.25rem; font-family: var(--display); font-weight: 600;
  font-size: 1.15rem; color: var(--ink); transition: color 0.18s ease;
}
.faq-question:hover { color: var(--coral-ink); }
.faq-question .plus {
  flex-shrink: 0; position: relative; width: 22px; height: 22px;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--coral-ink);
  transition: transform 0.25s ease;
}
.faq-question .plus::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-question .plus::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item[data-open="true"] .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.faq-item[data-open="true"] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { color: var(--ink-2); margin: 0; padding: 0 0.25rem 1.5rem; max-width: 68ch; }

/* ==========================================================================
   Resource lists
   ========================================================================== */

.resource-group { margin-bottom: 3rem; }
.resource-group:last-child { margin-bottom: 0; }
.resource-group > h2 {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.4rem; margin-bottom: 1.35rem;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--line);
}
.resource-group > h2 svg { width: 22px; height: 22px; flex-shrink: 0; }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.resource-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.2rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.resource-item:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: color-mix(in srgb, var(--coral) 40%, var(--line)); }
.resource-item .resource-name { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.resource-item .resource-desc { color: var(--ink-2); font-size: 0.92rem; margin: 0.25rem 0 0; }
.resource-item .btn { flex-shrink: 0; }

/* ==========================================================================
   Events
   ========================================================================== */

.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.event-card {
  display: flex; gap: 1.35rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.event-date-block {
  flex-shrink: 0; width: 62px; height: 62px; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-content: center; text-align: center;
  font-family: var(--display); color: var(--ink); line-height: 1.05;
}
.event-date-block .month { font-family: var(--body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-ink); }
.event-date-block .day { font-size: 1.5rem; font-weight: 600; }
.event-card h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.event-meta { color: var(--ink-3); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.event-card p { color: var(--ink-2); font-size: 0.93rem; margin: 0; }

.past-events-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.past-events-list li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--ink-3);
}
.past-events-list li:last-child { border-bottom: none; }
.past-events-list .event-title { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Guidelines
   ========================================================================== */

.guideline-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 1rem; }
.guideline-item {
  display: flex; gap: 1.35rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guideline-item:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.guideline-number {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
}
.guideline-item h3 { margin-bottom: 0.3rem; font-size: 1.12rem; }
.guideline-item p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--sh-md); max-width: 660px;
}
.form-required-note { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.req { color: var(--coral-ink); font-weight: 700; }
.form-row { margin-bottom: 1.4rem; }
.form-row:last-of-type { margin-bottom: 0; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.5rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 0.8rem 1rem; transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 18%, transparent);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-actions { margin-top: 1.75rem; }
.form-success {
  display: none; background: color-mix(in srgb, var(--p-green) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--p-green) 35%, var(--line));
  border-radius: var(--r-md); padding: 1.15rem 1.4rem; margin-top: 1.5rem;
  color: var(--ink); font-weight: 500;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--deep); color: rgba(255,255,255,0.75); }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: #fff;
  margin-bottom: 1rem;
}
.footer-brand .brand-mark { width: 34px; height: 24px; }
.footer-tagline { color: rgba(255,255,255,0.6); max-width: 30ch; font-size: 0.95rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.35rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: background-color 0.18s ease, transform 0.18s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.93rem; text-decoration: none; transition: color 0.16s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Utilities + small shared panels
   ========================================================================== */

.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.feature.align-start { align-items: start; }
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 62ch; }

/* Honest empty-state / info panel (light) */
.notice {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--sh-sm);
}
.notice-icon {
  width: 54px; height: 54px; margin: 0 auto 1.25rem; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--p-violet) 12%, #fff); color: #6B3FD1;
}
.notice-icon svg { width: 26px; height: 26px; }
.notice h3 { margin-bottom: 0.5rem; }
.notice p { color: var(--ink-2); margin-bottom: 1.5rem; }

/* Compact crisis strip (home) */
.crisis {
  display: flex; align-items: center; gap: 1.1rem 1.75rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.35rem 1.65rem; box-shadow: var(--sh-sm);
}
.crisis-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--coral) 15%, #fff); color: var(--coral-ink);
}
.crisis-icon svg { width: 22px; height: 22px; }
.crisis-text { flex: 1 1 22rem; }
.crisis p { margin: 0; color: var(--ink-2); font-size: 0.97rem; max-width: 70ch; }
.crisis strong { color: var(--ink); }
.crisis .btn { flex-shrink: 0; }

/* ==========================================================================
   Scroll reveal (progressive enhancement — see js/main.js)
   ========================================================================== */

.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal-init.reveal-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-init { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg); padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100dvh - 78px); overflow-y: auto;
  }
  .site-header.menu-open .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .site-header.menu-open .nav-links a:not(.btn) { display: block; padding: 0.95rem 0; font-size: 1rem; }
  .site-header.menu-open .nav-links a:not(.btn)::after { display: none; }
  .site-header.menu-open .nav-links a[aria-current="page"] { color: var(--coral-ink); }
  .site-header.menu-open .nav-cta { display: block; border-bottom: none; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; }

  .site-header.menu-open .nav-toggle span { background: transparent; }
  .site-header.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { grid-row: 1; max-width: 340px; }
  .hero-copy { max-width: none; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature.reverse .feature-media, .feature-media { order: -1; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: 1fr; gap: 0; }
  .values-list li { padding-block: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-name-full { display: none; }
  .brand-name-short { display: inline; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .step-num { justify-self: start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn:not(.btn-ghost) { flex: 1; }
  .event-card { flex-direction: column; }
}
