/* A/PGF — Asian/Pacific Gays and Friends, Los Angeles
   One stylesheet for the whole site. Brand colours are sampled from the
   rainbow "AP" logo; the darker steps keep the same hue for readable text. */

:root {
  /* REPLACEABLE IMAGES
     (no CSS background images are used: every photo is an <img> in the HTML,
     listed in assets/manifest.json) */

  /* Brand rainbow, exact logo values */
  --red: #F60F2D;
  --orange: #F74410;
  --gold: #EBBA28;
  --green: #7BE751;
  --blue: #1871D9;
  --indigo: #290B9D;
  --violet: #D655ED;
  --magenta: #DE41B9;
  --navy: #353162;

  /* Darker steps of the same hues, for text and buttons (≥ 4.5:1 on white) */
  --red-700: #DD0824;
  --red-800: #B0061C;
  --orange-700: #CF3407;
  --gold-800: #87680D;
  --green-800: #307D11;
  --blue-700: #176CCF;
  --violet-700: #B716D4;
  --magenta-700: #C4229D;
  --navy-900: #1F1C3D;

  /* Neutrals and the warm peach the old site used as its page colour */
  --white: #FFFFFF;
  --peach: #F7DFC7;
  --peach-50: #FDF3E9;
  --peach-100: #FAE9D8;
  --ink: #1F1C3D;
  --ink-soft: #4A4670;
  --line: #E6DFEF;

  --rainbow: linear-gradient(90deg, var(--red) 0%, var(--orange) 14%, var(--gold) 28%, var(--green) 43%, var(--blue) 58%, var(--indigo) 72%, var(--violet) 86%, var(--magenta) 100%);
  --rainbow-text: linear-gradient(90deg, var(--red-700), var(--orange-700) 18%, var(--gold-800) 34%, var(--green-800) 50%, var(--blue-700) 66%, var(--indigo) 82%, var(--violet-700));

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 28, 61, .06), 0 8px 24px rgba(31, 28, 61, .08);
  --wrap: 1180px;
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --section: clamp(3rem, 7vw, 5.5rem);
}

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
h4 { font-size: 1.05rem; font-weight: 800; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }
strong { font-weight: 800; }
hr { border: 0; height: 4px; background: var(--rainbow); border-radius: 4px; margin: 2.5rem 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .925rem; }
.visually-hidden, .hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons: one vocabulary across the site ---------- */
.btn { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--red-700); color: #fff; }
.btn-primary:hover { background: var(--red-800); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--peach-50); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; display: block; height: 4px; background: var(--rainbow); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); margin-right: auto; flex: none; }
.brand img { width: 56px; height: 56px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.12; font-weight: 800; font-size: .98rem; max-width: 11.5rem; }
.brand-name small { font-weight: 600; font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }
.brand:hover { color: var(--navy); }
.nav-toggle { display: none; }
.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a { display: block; padding: .5rem .55rem; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--peach-50); color: var(--indigo); }
.primary-nav .has-sub > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.primary-nav .sub { list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-nav .sub a { font-weight: 400; padding: .45rem .7rem; }
.primary-nav li:hover > .sub, .primary-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.header-cta { display: flex; gap: .5rem; order: 3; }
.primary-nav { order: 2; }

@media (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; padding: .4rem 0; }
  .brand img { width: 50px; height: 50px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; border: 2px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; }
  .nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .primary-nav { flex-basis: 100%; order: 4; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; padding-bottom: 1rem; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; }
  .primary-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--peach); border-radius: 0; margin: 0 0 .4rem .8rem; padding: 0 0 0 .4rem; min-width: 0; }
  .primary-nav .has-sub > a::after { display: none; }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; }
  .brand-name { max-width: none; }
}
@media (max-width: 560px) {
  .brand-name { font-size: .92rem; }
  .brand-name small { display: none; }
  .header-cta .btn-donate { display: none; }
  .header-cta .btn { min-height: 44px; padding: .45rem .9rem; font-size: .92rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--peach-50); }
.section-peach { background: var(--peach-100); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.btn) { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-navy .section-head p { color: #E7E4F7; }
.rainbow-bar { height: 6px; background: var(--rainbow); }
.grid-2 { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2.wide-left { grid-template-columns: 1.25fr 1fr; } }
.stack > * + * { margin-top: 1rem; }

/* ---------- Home hero ---------- */
.hero { background: var(--peach-50); padding-top: clamp(1.75rem, 4vw, 3rem); }
.hero-top { display: grid; gap: 1.25rem 3rem; align-items: end; }
@media (min-width: 900px) { .hero-top { grid-template-columns: 1.1fr 1fr; } }
.hero-title { margin: 0; text-transform: uppercase; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.005em; }
.rainbow-text { background: var(--rainbow-text); -webkit-background-clip: text; background-clip: text; color: var(--indigo); -webkit-text-fill-color: transparent; }
.hero-title .city { display: block; font-size: .62em; margin-top: .25em; letter-spacing: .04em; }
.hero-promise { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink); margin: 0; }
.hero-promise strong { color: var(--navy); }
.hero .btn-row { margin-top: 1.1rem; }
.hero-photo { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; position: relative; }
.hero-photo img { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
.hero-photo figcaption { padding: .6rem 0 1.5rem; }
@media (max-width: 600px) { .hero-photo { margin-inline: -1.25rem; } .hero-photo img { border-radius: 0; } .hero-photo figcaption { padding-inline: 1.25rem; } }
.hero + .rainbow-bar { height: 8px; }

/* Anniversary ribbon */
.anniv { display: grid; gap: 1.5rem; align-items: center; }
.anniv img { max-width: 480px; }
.anniv img { border-radius: var(--radius-sm); width: 100%; }

/* ---------- Mission quote ---------- */
.mission-quote { margin: 0; font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.5; color: var(--navy); font-weight: 600; border-left: 6px solid transparent; border-image: var(--rainbow) 1; padding-left: clamp(1rem, 3vw, 2rem); }
.mission-quote footer { margin-top: .75rem; font-size: 1rem; font-weight: 400; color: var(--ink-soft); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .event-list.cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .event-list.cols { grid-template-columns: repeat(3, 1fr); } }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; position: relative; overflow: hidden; }
.event::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent, var(--blue)); }
.event-date { margin: 0; font-weight: 800; color: var(--accent-text, var(--blue-700)); font-size: .98rem; }
.event h3 { margin: 0; font-size: 1.2rem; }
.event p { margin: 0; }
.event .event-body { color: var(--ink-soft); }
.event .event-link { margin-top: auto; padding-top: .5rem; font-weight: 800; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .55rem; border-radius: 999px; background: var(--peach-100); color: var(--navy); width: fit-content; }
.tag-member { background: #EFE9FF; color: var(--indigo); }
.tag-all { background: #E6F4DF; color: var(--green-800); }
.tag-info { background: #EEF1F6; color: var(--ink-soft); }
.c-red { --accent: var(--red); --accent-text: var(--red-700); }
.c-orange { --accent: var(--orange); --accent-text: var(--orange-700); }
.c-gold { --accent: var(--gold); --accent-text: var(--gold-800); }
.c-green { --accent: var(--green); --accent-text: var(--green-800); }
.c-blue { --accent: var(--blue); --accent-text: var(--blue-700); }
.c-indigo { --accent: var(--indigo); --accent-text: var(--indigo); }
.c-violet { --accent: var(--violet); --accent-text: var(--violet-700); }
.c-magenta { --accent: var(--magenta); --accent-text: var(--magenta-700); }
/* Event cards take the logo's rainbow in order, so rows stay identical for the editor */
.event-list > .event:nth-child(8n+1) { --accent: var(--orange); --accent-text: var(--orange-700); }
.event-list > .event:nth-child(8n+2) { --accent: var(--red); --accent-text: var(--red-700); }
.event-list > .event:nth-child(8n+3) { --accent: var(--gold); --accent-text: var(--gold-800); }
.event-list > .event:nth-child(8n+4) { --accent: var(--green); --accent-text: var(--green-800); }
.event-list > .event:nth-child(8n+5) { --accent: var(--blue); --accent-text: var(--blue-700); }
.event-list > .event:nth-child(8n+6) { --accent: var(--indigo); --accent-text: var(--indigo); }
.event-list > .event:nth-child(8n+7) { --accent: var(--violet); --accent-text: var(--violet-700); }
.event-list > .event:nth-child(8n+8) { --accent: var(--magenta); --accent-text: var(--magenta-700); }
.month { margin-top: 2.5rem; }
.month:first-of-type { margin-top: 0; }
.month > h2 { display: flex; align-items: center; gap: .75rem; font-size: 1.6rem; }
.month > h2::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: var(--rainbow); opacity: .5; }
.notice { background: var(--peach-50); border: 1px solid var(--peach); border-radius: var(--radius); padding: 1rem 1.25rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Cards & features ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; }
.photo figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: .5rem; }
.photo-pair { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.honours { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .honours { grid-template-columns: repeat(3, 1fr); } }
.honour { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.35rem; border-top: 5px solid var(--accent, var(--gold)); box-shadow: var(--shadow); }
.honour .year { font-weight: 800; color: var(--accent-text, var(--gold-800)); font-size: 1.6rem; line-height: 1; display: block; margin-bottom: .4rem; }
.honour p { margin: 0 0 .5rem; }

/* Dues */
.dues { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0 0 1.25rem; }
@media (min-width: 700px) { .dues { grid-template-columns: repeat(4, 1fr); } }
.due { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-align: center; }
.due h3 { font-size: 1rem; margin: 0 0 .25rem; color: var(--ink-soft); font-weight: 600; }
.due .price { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--rainbow); }
.check-list li::after { content: ""; position: absolute; left: .4rem; top: .52em; width: .32rem; height: .55rem; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-soft); }

/* Memoriam */
.memoriam-list { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); list-style: none; padding: 0; }
.memoriam-list li { margin: 0; }
.memoriam-list a { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 800; }
.memoriam-list a:hover { border-color: var(--violet); color: var(--indigo); }
.memoriam-list a::before { content: ""; flex: none; width: 10px; height: 26px; border-radius: 6px; background: var(--rainbow); }
.memoriam-list small { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.section-navy .memoriam-list a { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.section-navy .memoriam-list small { color: #D9D6EE; }

/* Board */
.board { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.person h3 { margin: 0; font-size: 1.15rem; }
.person p { margin: .15rem 0 0; }
.person .role { color: var(--magenta-700); font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .2rem; }

/* Article / long text */
.page-head { background: var(--peach-50); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin: 0; max-width: 44rem; }
.breadcrumb { font-size: .92rem; margin: 0 0 .75rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--peach-50); border-left: 5px solid var(--violet); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose .byline { color: var(--ink-soft); font-style: italic; }
.dated { display: inline-block; font-weight: 800; color: var(--magenta-700); margin-bottom: .75rem; }
.layout-aside { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; } }
.aside-box { background: var(--peach-50); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 100px; }
.aside-box h2 { font-size: 1.25rem; }
.aside-box p { font-size: .98rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0 0 1.25rem; }
.facts dt { font-weight: 800; color: var(--navy); }
.facts dd { margin: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- Galleries ---------- */
.gallery { columns: 2 160px; column-gap: .75rem; }
@media (min-width: 700px) { .gallery { columns: 3 200px; } }
@media (min-width: 1040px) { .gallery { columns: 4 220px; } }
.gallery-item { break-inside: avoid; margin: 0 0 .75rem; }
.gallery-item a, .gallery-open { display: block; width: 100%; padding: 0; border: 0; font: inherit; border-radius: var(--radius-sm); overflow: hidden; background: var(--peach-50); cursor: default; }
.js .gallery-open { cursor: zoom-in; }
.gallery-item img { width: 100%; transition: transform .2s, opacity .2s; }
.gallery-item a:hover img, .js .gallery-open:hover img { opacity: .92; }
.gallery-item figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .35rem; }
.feature-photos { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.feature-photos figure { margin: 0; }
.feature-photos img { border-radius: var(--radius); width: 100%; }
.feature-photos figcaption { margin-top: .6rem; color: var(--ink-soft); }
.year-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.year-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.year-card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.year-card ul { list-style: none; padding: 0; margin: 0; }
.year-card li { margin: 0; padding: .2rem 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 800; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 40, .94); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 100%; width: auto; height: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: .75rem; right: .75rem; }
.lightbox .lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #E7E4F7; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rainbow); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #E7E4F7; }
.cta-band .btn-row { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 800; color: var(--navy); display: block; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid #CFC8DE; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--blue-700); outline: none; box-shadow: 0 0 0 3px rgba(24, 113, 217, .2); }
.form textarea { min-height: 160px; resize: vertical; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { background: #E6F4DF; color: #1F5C0B; }
.form-status.err { background: #FDE6EA; color: #8E0417; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #DCD9F0; padding-top: 0; margin-top: 0; }
.site-footer .rainbow-bar { height: 6px; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .35rem; }
.footer-brand { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; line-height: 1.2; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.25rem 1.5rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
[data-ss-credit] { color: #BDB8DC; }
[data-ss-credit] a { color: #DCD9F0; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.notfound img { margin: 0 auto 1.5rem; width: 120px; }
.notfound .btn-row { justify-content: center; }
.mem-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .mem-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.gallery-item figcaption:empty { display: none; }
.prose > figure, .prose > [data-ss-widget] { margin-top: 1.5rem; margin-bottom: 1.5rem; }
