/* ===========================================================
   West Sacramento Inclusive Sailing Foundation
   Design tokens
   =========================================================== */

@font-face {
  font-family: "DejaVu Sans";
  src: url('assets/DejaVuSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans";
  src: url('assets/DejaVuSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16232B;
  --regatta: #08253F;
  --regatta-deep: #051622;
  --river-teal: #15747C;
  --open-water: #078D87;
  --canvas: #EDEFE6;
  --canvas-warm: #E4E7D9;
  --white: #FFFFFF;
  --brass: #F4A32E;
  --brass-dark: #C97F1A;
  --brass-text: #976014;
  --signal: #C1443C;
  --teal-text: #067570;

  --font-display: "DejaVu Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "DejaVu Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DejaVu Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --section-pad: clamp(64px, 9vw, 128px);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(8,37,63,0.08);
  --shadow-md: 0 8px 24px rgba(8,37,63,0.12);
  --shadow-lg: 0 16px 40px rgba(8,37,63,0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.bg-white { background: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); text-transform: none; letter-spacing: 0; font-weight: 700; }

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

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--river-teal);
  display: inline-block;
  margin-bottom: 0.8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--brass);
  color: var(--regatta-deep);
}
.btn-primary:hover { background: var(--brass-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

.btn-outline.on-light {
  border-color: var(--ink);
}
.btn-outline.on-light:hover { background: rgba(15,58,77,0.06); }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }

/* ---------- Telltale ribbon signature motif ---------- */
.telltale {
  width: 34px;
  height: 14px;
  display: inline-block;
  position: relative;
  overflow: visible;
}
.telltale svg { width: 100%; height: 100%; overflow: visible; }
.telltale path {
  animation: flutter 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 0% 50%;
}
@keyframes flutter {
  0%, 100% { transform: scaleY(1) skewX(0deg); }
  50% { transform: scaleY(-1) skewX(-4deg); }
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--regatta);
  color: var(--canvas);
  border-bottom: 1px solid rgba(237,239,230,0.12);
  box-shadow: 0 2px 12px rgba(5,22,34,0.15);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--canvas);
  white-space: nowrap;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--canvas);
  opacity: 0.72;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  border-color: var(--brass);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--canvas);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 10px;
  margin: -10px -10px -10px 0;
  line-height: 1;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--regatta);
    flex-direction: column;
    padding: 12px 32px 32px;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 16px 0; font-size: 1rem; border-bottom: 1px solid rgba(237,239,230,0.12); }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .brand-logo { height: 40px; }
  .site-nav .container { height: 64px; }
  .nav-links { inset: 64px 0 0 0; }
  .cta-row { gap: 12px; }
  .cta-row .btn { flex: 1 1 auto; text-align: center; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(8,37,63,0.78) 0%, rgba(5,22,34,0.88) 100%),
    center 35% / cover no-repeat;
  color: var(--canvas);
  padding: clamp(72px, 12vw, 140px) 0 clamp(90px, 10vw, 130px);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
#home.hero {
  background-image:
    linear-gradient(180deg, rgba(8,37,63,0.78) 0%, rgba(5,22,34,0.88) 100%),
    url('assets/hero-sail-v2.jpg');
}
/* On wide/short desktop viewports, cover crops much more aggressively than on
   tall mobile/tablet viewports (which already looked correct), so only shift
   the crop position on wider screens to keep the boat/sailors in frame. */
@media (min-width: 861px) {
  #home.hero { background-position: center 75%; }
  #sail-hero.hero, #about-hero.hero { background-position: 62% 68%; }
  #donate-hero.hero { background-position: center 42%; }
  #contact-hero.hero, #sponsor-hero.hero { background-position: 62% 72%; }
}
/* Page hero variant used on Sail/About/Donate/Sponsor/Contact - a shorter
   banner version of the same treatment, background set per-page via JS */
.hero-page {
  padding: clamp(56px, 8vw, 90px) 0 clamp(64px, 7vw, 90px);
}
.hero-page .section-head { margin-bottom: 0; }
.hero-page .eyebrow { color: var(--brass); }
.hero-page h2 { color: var(--white); }
.hero-page .section-head p,
.hero-page p { color: rgba(237,239,230,0.9); }
.hero-page .subhead { color: var(--brass) !important; }
.hero .container { max-width: 900px; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--white);
}
.hero .subhead {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--brass);
  letter-spacing: 0.02em;
  margin-bottom: 1.2em;
}
.hero .body { max-width: 620px; font-size: 1.08rem; color: rgba(237,239,230,0.9); }

/* ---------- Sections general / tack layout ---------- */
section { padding: var(--section-pad) 0; position: relative; }

.block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding: 56px 0;
  border-top: 1px solid rgba(22,35,43,0.1);
}
.block:first-of-type { border-top: none; }
.block.block-full { grid-template-columns: 1fr !important; }
.block.block-full .main { max-width: none !important; margin-left: 0 !important; }
.block .side {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-text);
  padding-top: 6px;
}
.block .side .telltale { margin-bottom: 12px; }
.block-side-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
.block-stacked { display: block; }
.block-stacked-image {
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  margin: 0 auto 32px;
}
#home-blocks { padding-top: 24px; }
.block-stacked .main { max-width: none; }
.block .main { max-width: 560px; }

/* alternate direction on odd blocks - "tacking" left/right rhythm */
.block:nth-of-type(even) { grid-template-columns: 1fr 1fr; }
.block:nth-of-type(even) .side { order: 2; text-align: right; }
.block:nth-of-type(even) .main { order: 1; margin-left: auto; }

@media (max-width: 860px) {
  .block { grid-template-columns: 1fr; gap: 20px; }
  .block:nth-of-type(even) .side,
  .block:nth-of-type(even) .main { order: initial; text-align: left; margin-left: 0; }
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; color: rgba(22,35,43,0.78); }

.section-dark {
  background: var(--regatta);
  color: var(--canvas);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  margin-top: -40px;
}
.section-dark .section-head p,
.section-dark p { color: rgba(237,239,230,0.85); }
.section-dark .block { border-top-color: rgba(237,239,230,0.14); }
.section-dark .btn-outline.on-light { border-color: var(--canvas); }
.section-dark .btn-outline.on-light:hover { background: rgba(237,239,230,0.08); }

/* ---------- Lists ---------- */
.req-list, .impact-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}
.req-list li, .impact-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.7em;
}
.req-list li::before, .impact-list li::before {
  content: "\2604";
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ---------- Board ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.board-card {
  border: 1px solid rgba(237,239,230,0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.board-card:hover { transform: translateY(-2px); background: rgba(237,239,230,0.04); }
.board-card .name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; }
.board-card .title { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brass); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Jim's story ---------- */
.story {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 1.08rem;
}

/* ---------- Support gift list section ---------- */
.on-white { background: var(--white); }

/* ---------- Donate tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.tier-card {
  background: var(--white);
  border: 1px solid rgba(22,35,43,0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-card .flag {
  width: 28px;
  height: 20px;
  margin-bottom: 8px;
  border-radius: 3px;
  overflow: hidden;
}
.tier-card .amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--open-water);
  line-height: 1;
}
.tier-card .name {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--brass-text);
}
.tier-card p { color: rgba(22,35,43,0.75); font-size: 0.95rem; flex-grow: 1; }

.corporate-band {
  background: linear-gradient(160deg, var(--regatta) 0%, var(--river-teal) 130%);
  color: var(--canvas);
  padding: var(--section-pad) 0;
}
.corporate-band .tier-card {
  background: rgba(237,239,230,0.04);
  border-color: rgba(237,239,230,0.18);
}
.corporate-band .tier-card p { color: rgba(237,239,230,0.8); }
.corporate-band .tier-card .amount { color: var(--brass); }
.corporate-band .tier-card .name { color: var(--brass); }

.ein-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brass-dark);
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid rgba(22,35,43,0.15);
  margin-top: 32px;
}
.faq-item {
  border-bottom: 1px solid rgba(22,35,43,0.15);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 12px;
  margin: 0 -12px;
  border-radius: var(--radius-sm);
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}
.faq-item summary:hover { background: rgba(7,141,135,0.06); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--open-water);
  outline-offset: 2px;
}
.faq-item .faq-answer {
  padding: 0 40px 24px 0;
  max-width: 680px;
  color: rgba(22,35,43,0.78);
}

/* ---------- Photo sections ---------- */
.photo-banner {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.photo-banner-wrap { position: relative; }
.photo-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(22,35,43,0.55);
  text-align: center;
  padding: 12px 0 0;
}
.section-dark .photo-caption { color: rgba(237,239,230,0.6); }

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.photo-duo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
@media (max-width: 640px) {
  .photo-duo { grid-template-columns: 1fr; }
  .photo-duo img { height: 260px; }
}

.photo-framed {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 6px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(8,37,63,0.18);
}
.photo-framed-wrap { text-align: center; margin: 16px 0 8px; }

/* ---------- Video gallery ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--regatta-deep);
  overflow: hidden;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  display: block;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.video-card-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--regatta) 0%, var(--regatta-deep) 100%);
  color: var(--canvas);
  transition: filter 0.15s ease;
}
.video-card:hover .video-card-poster { filter: brightness(1.15); }
.video-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.video-play-icon svg { width: 20px; height: 20px; }
.video-card-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 16px;
  text-align: center;
}

/* ---------- Sponsors ---------- */
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 32px;
}
.sponsor-logo {
  max-height: 96px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}
.sponsor-wordmark {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(22,35,43,0.55);
  border: 1px solid rgba(22,35,43,0.15);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

form.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--regatta);
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(22,35,43,0.25);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--open-water);
  outline-offset: 1px;
}
.field textarea { min-height: 140px; resize: vertical; }

.next-step-card {
  border: 1px solid rgba(22,35,43,0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 20px;
  background: var(--white);
}

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--regatta-deep);
  color: var(--canvas);
  padding: 20px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 2px solid var(--brass);
}
.cookie-banner-text { flex: 1; min-width: 240px; }
.cookie-banner-text strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}
.cookie-banner-text p { font-size: 0.88rem; color: rgba(237,239,230,0.85); max-width: 640px; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-optout-link {
  background: none;
  border: none;
  color: rgba(237,239,230,0.7);
  text-decoration: underline;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
  flex-basis: 100%;
}
.cookie-optout-link:hover { color: var(--brass); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,40,54,0.7);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal {
  background: var(--white);
  color: var(--ink);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin-bottom: 0.6em;
}
.cookie-modal p { font-size: 0.92rem; color: rgba(22,35,43,0.8); }
.cookie-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.92rem;
  cursor: pointer;
}
.cookie-checkbox input { margin-top: 3px; }
.cookie-modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

@media (max-width: 640px) {
  .cookie-banner {
    padding: 16px 20px;
    gap: 14px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .cookie-banner-text strong { font-size: 0.9rem; }
  .cookie-banner-text p { font-size: 0.82rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; text-align: center; padding: 12px 20px; }
  .cookie-modal-actions { justify-content: stretch; }
  .cookie-modal-actions .btn { flex: 1; text-align: center; }
  .cookie-modal { padding: 24px 20px; max-height: 85vh; overflow-y: auto; }
}

/* ---------- Legal page ---------- */
.legal-section { border-top: 1px solid rgba(22,35,43,0.12); padding-top: 40px; margin-top: 40px; }
.legal-section:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-subsection { margin-bottom: 28px; }
.legal-subsection h4 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--teal-text);
  margin-bottom: 0.6em;
}
.legal-subsection p { font-size: 0.95rem; color: rgba(22,35,43,0.8); }
.legal-subsection a { color: var(--teal-text); text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  background: var(--regatta-deep);
  color: rgba(237,239,230,0.7);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(237,239,230,0.14);
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-org-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}
footer .tagline {
  font-family: var(--font-mono);
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.footer-line { margin-bottom: 4px; }
.footer-line a { color: inherit; text-decoration: underline; text-decoration-color: rgba(237,239,230,0.3); }
.footer-line a:hover { text-decoration-color: var(--brass); }

.footer-social {
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover { color: var(--white); transform: translateY(-1px); }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  text-decoration: none;
  color: rgba(237,239,230,0.8);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-nav a:hover { color: var(--brass); }

.footer-legal {
  padding-top: 24px;
  max-width: 640px;
}
.footer-legal p { margin-bottom: 4px; font-size: 0.85rem; }

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { color: inherit; text-decoration: underline; text-decoration-color: rgba(237,239,230,0.3); }
.footer-legal-links a:hover { text-decoration-color: var(--brass); }

@media (max-width: 520px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal-links { gap: 12px 16px; }
}

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

.loading-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--open-water);
  padding: 40px 0;
  text-align: center;
}
