/* =========================================================
   Riviera Civic Association — Demo Site
   Design notes:
   - Warm ivory primary, deep Atlantic navy display accents
   - Single copper hairline accent (used very sparingly)
   - Fraunces display + Inter body, classical-civic register
   - The hero typography is the signature; everything else restrained
   ========================================================= */

:root {
  /* Palette */
  --ivory: #F5F0E1;
  --ivory-soft: #FBFAF6;
  --navy: #0F2A47;
  --navy-deep: #0A1E34;
  --copper: #B05A2C;
  --copper-soft: #DC7A4E;        /* brighter coral — meets AA on navy + harmonizes with the RCA logo */
  --copper-ink: #9E4A1E;         /* darker copper for small text/links on ivory (WCAG AA) */
  --sand: #D8C9A8;
  --ink: #14181F;
  --ink-soft: #2A2F3A;
  --slate: #5B6470;
  --slate-soft: #8B8F98;
  --hairline: rgba(20, 24, 31, 0.12);
  --hairline-strong: rgba(20, 24, 31, 0.22);
  --hairline-light: rgba(245, 240, 225, 0.15);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-section: clamp(5rem, 10vw, 9rem);
  --space-block: clamp(2rem, 4vw, 4rem);

  /* Layout */
  --max-width: 1180px;
  --max-width-narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Skip link — hidden until focused by keyboard (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 4px 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

em {
  font-style: italic;
  font-feature-settings: "ital" 1;
  color: var(--navy);
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* =========================================================
   Section labels (the small-caps eyebrows)
   ========================================================= */

.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--copper);
}

.section-label-light {
  color: var(--sand);
}

.section-label-light::before {
  background: var(--sand);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 96;
}

.section-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38em;
  margin-bottom: 3rem;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 225, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.mark-line-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}

.mark-line-2 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--copper);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--ivory) !important;
}

/* hamburger toggle — hidden on desktop, shown on small screens */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* tighten the desktop nav so 6 links + logo + CTA breathe in the 900–1100 band */
@media (max-width: 1080px) {
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.8125rem; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 16px 34px rgba(15, 42, 71, 0.12);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0.25s ease, padding 0.25s ease;
  }
  .nav-links.open { max-height: 85vh; visibility: visible; padding: 0.5rem 0 1rem; }
  .nav-links a { font-size: 1rem; padding: 0.95rem clamp(1.25rem, 4vw, 3rem); }
  .nav-cta { margin: 0.75rem clamp(1.25rem, 4vw, 3rem) 0; text-align: center; justify-content: center; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at top right, rgba(176, 90, 44, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(15, 42, 71, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-est {
  color: var(--copper-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-est::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--copper);
}

.hero-loc {
  color: var(--slate);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.25rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-variation-settings: "opsz" 144;
}

.hero-line-1,
.hero-line-2 {
  display: block;
}

.hero-line-2 {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "ital" 1;
  color: var(--copper);
  padding-left: clamp(1rem, 4vw, 3rem);
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.pillar-sep {
  color: var(--copper);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38em;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.hero-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--slate-soft), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(0.25rem); }
}

@media (max-width: 640px) {
  .hero-scroll {
    display: none;
  }
}

/* =========================================================
   Hero community-photo slideshow
   ========================================================= */
.hero-text { min-width: 0; }
.hero-media { min-width: 0; }

@media (min-width: 980px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr clamp(360px, 34vw, 480px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }
  .hero-title { font-size: clamp(3rem, 6vw, 5.75rem); }
  .hero-sub { max-width: 32em; }
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(15, 42, 71, 0.06), 0 30px 60px rgba(15, 42, 71, 0.14);
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; margin: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; }
.slide figcaption {
  width: 100%;
  padding: 3rem 1.5rem 1.4rem;
  background: linear-gradient(to top, rgba(10, 30, 52, 0.66), rgba(10, 30, 52, 0));
  color: var(--ivory);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.slide-cap-eyebrow { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }
.slide-cap-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(245, 240, 225, 0.86); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3; transition: background 0.15s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.slide-arrow:hover { background: var(--ivory); }
.slide-arrow svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slide-arrow.prev { left: 0.85rem; }
.slide-arrow.next { right: 0.85rem; }
.slide-dots { position: absolute; bottom: 1.15rem; right: 1.25rem; display: flex; gap: 0.5rem; z-index: 3; }
.slide-dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(245, 240, 225, 0.55); border: none; cursor: pointer; padding: 0; transition: background 0.15s ease, transform 0.15s ease; }
.slide-dot.is-active { background: var(--ivory); transform: scale(1.25); }
.slide-dot:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }

@media (max-width: 979px) {
  .hero-media { margin-top: clamp(2.25rem, 6vw, 3.25rem); max-width: 520px; }
  .slideshow { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--hairline);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* =========================================================
   Coastal wave dividers (digital — pure CSS/SVG)
   Placed between sections. Decorative (aria-hidden).
   The solid wave fill matches the section BELOW so it flows
   seamlessly; the divider background matches the section ABOVE.
   ========================================================= */

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(44px, 6vw, 72px);
}

/* background = the section sitting above the divider */
.wave-on-ivory { background: var(--ivory-soft); }
.wave-on-navy  { background: var(--navy); }

/* =========================================================
   Mission section
   ========================================================= */

.mission {
  padding: var(--space-section) 0;
  background: var(--ivory-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.mission-statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 30em;
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 72;
}

.mission-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 36em;
}

/* =========================================================
   Neighborhoods (navy section)
   ========================================================= */

.neighborhoods {
  padding: var(--space-section) 0;
  background: var(--navy);
  color: var(--ivory);
}

.neighborhoods .section-title {
  color: var(--ivory);
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.neighborhood {
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-light);
}

.neighborhood-chapter {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1rem;
}

.neighborhood-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 72;
}

.neighborhood-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sand);
}

/* =========================================================
   Privacy & security (navy section — the headline)
   ========================================================= */

.security {
  padding: var(--space-section) 0;
  background: var(--navy);
  color: var(--ivory);
}

.security .section-title {
  color: var(--ivory);
}

.security .section-lead {
  color: var(--sand);
  margin-bottom: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.75rem 3rem;
  margin-top: 4rem;
}

.security-item {
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline-light);
}

.security-item:first-child {
  border-top: 1px solid var(--copper);
}

.security-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 1.1rem;
  color: var(--copper-soft);
}

.security-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 0.6rem;
  font-variation-settings: "opsz" 48;
}

.security-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sand);
}

/* =========================================================
   Stats
   ========================================================= */

.stats {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  text-align: left;
}

.stat {
  border-left: 1px solid var(--hairline);
  padding-left: 1.5rem;
}

.stat:first-child {
  border-left: 1px solid var(--copper);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 144;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--slate);
  max-width: 18em;
}

/* =========================================================
   Membership
   ========================================================= */

.membership {
  padding: var(--space-section) 0;
  background: var(--ivory-soft);
}

.membership-card {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2rem;
  box-shadow: 0 2px 30px rgba(15, 42, 71, 0.04);
}

.dues-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}

.dues-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.dues-amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--navy);
  font-variation-settings: "opsz" 96;
}

.dues-period {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 0;
  margin-left: 0.5rem;
}

.membership-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
}

.membership-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.membership-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.75rem;
  height: 1px;
  background: var(--copper);
}

.dues-fine {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--slate);
  text-align: center;
}

/* =========================================================
   News
   ========================================================= */

.news {
  padding: var(--space-section) 0;
  background: var(--navy-deep);
  color: var(--ivory);
}

.news .section-title {
  color: var(--ivory);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline-light);
}

.news-date {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1rem;
}

.news-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 48;
}

.news-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sand);
  margin-bottom: 1.25rem;
}

.news-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--copper-soft);
  transition: color 0.2s ease;
}

.news-link:hover {
  color: var(--ivory);
}

/* =========================================================
   Members area
   ========================================================= */

.members-area {
  padding: var(--space-section) 0;
  background: var(--ivory);
}

.members-card {
  background: var(--ivory-soft);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: 2rem;
}

.members-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.members-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 36;
}

.members-card-body {
  font-size: 0.9375rem;
  color: var(--slate);
  max-width: 28em;
}

.members-card-divider {
  height: 1px;
  background: var(--hairline);
  margin: 2rem 0;
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  padding: var(--space-section) 0;
  background: var(--ivory-soft);
  border-top: 1px solid var(--hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.contact-item {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-bottom: 0.75rem;
}

.contact-value {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

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

.footer {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  background: var(--navy-deep);
  color: var(--sand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hairline-light);
  margin-bottom: 2rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 48;
}

.footer-tag {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--sand);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--sand);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--copper-soft);
}

.footer-legal {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate-soft);
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.footer-credit {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-light);
}

.footer-credit strong {
  color: var(--copper-soft);
  font-weight: 600;
}

/* =========================================================
   Motion / accessibility
   ========================================================= */

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

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* =========================================================
   Logo in nav
   ========================================================= */
.nav-mark { flex-direction: row; align-items: center; gap: 0.7rem; }
.nav-logo { height: 46px; width: auto; display: block; flex-shrink: 0; }
.nav-mark-text { display: flex; flex-direction: column; line-height: 1; }
@media (max-width: 420px) { .nav-mark-text { display: none; } }

/* =========================================================
   Mission objectives
   ========================================================= */
.objectives { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.objective { border-top: 1px solid var(--hairline); padding-top: 1.25rem; }
.objective:first-child { border-top-color: var(--copper); }
.objective-num { font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 0.75rem; }
.objective p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }

/* =========================================================
   Neighborhood testimonials + area map
   ========================================================= */
.neighborhoods-lead { color: var(--sand); margin-bottom: 0; }
.neighborhood-quote { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--hairline-light); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.4; color: var(--ivory); font-variation-settings: "opsz" 36; }
.neighborhood-quote cite { display: block; margin-top: 0.65rem; font-family: var(--font-body); font-style: normal; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--copper-soft); }
.area-map { margin: 4rem auto 0; max-width: 540px; }
.area-map img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--hairline-light); box-shadow: 0 24px 55px rgba(0,0,0,0.28); }
.area-map figcaption { margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--sand); line-height: 1.5; }

/* =========================================================
   Achievement (Wildflower Park)
   ========================================================= */
.achievement { padding: var(--space-section) 0; background: var(--ivory-soft); border-bottom: 1px solid var(--hairline); }
.achievement-body { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 40em; }

/* =========================================================
   Board / officers
   ========================================================= */
.board { padding: var(--space-section) 0; background: var(--ivory); border-bottom: 1px solid var(--hairline); }
.officers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.officer { border-top: 1px solid var(--copper); padding-top: 1.25rem; }
.officer-role { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.6rem; }
.officer-name { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--navy); line-height: 1.1; font-variation-settings: "opsz" 48; }
.officer-hood { font-size: 0.875rem; color: var(--slate); margin-top: 0.4rem; }
.board-at-large { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--hairline); }
.board-at-large-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 1.25rem; }
.board-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem 2rem; }
.board-list li { font-size: 1rem; color: var(--ink-soft); padding-left: 1rem; position: relative; }
.board-list li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 0.5rem; height: 1px; background: var(--copper); }

/* =========================================================
   History
   ========================================================= */
.history { padding: var(--space-section) 0; background: var(--ivory-soft); }
.history .section-title { font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.5rem); max-width: 16em; }
.history-body { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); max-width: 38em; margin-bottom: 1.5rem; }
.history-link { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--copper-ink); }
.history-link:hover { color: var(--navy); }

/* =========================================================
   Listserv CTA (within the navy security section)
   ========================================================= */
.security-cta { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--hairline-light); text-align: center; }
.security-cta p { color: var(--sand); font-size: 1.0625rem; margin-bottom: 1.5rem; }
.btn-on-navy { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-on-navy:hover { background: var(--copper); color: var(--ivory); border-color: var(--copper); transform: translateY(-1px); }

/* =========================================================
   Contact links + social
   ========================================================= */
.contact-value a { color: var(--ink); border-bottom: 1px solid var(--hairline); transition: color 0.2s ease, border-color 0.2s ease; }
.contact-value a:hover { color: var(--copper); border-color: var(--copper); }
.contact-social { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; font-size: 0.9375rem; }
.contact-social a { font-weight: 600; color: var(--copper); }
.contact-social a:hover { color: var(--navy); }
.contact-social span { color: var(--slate-soft); }

/* =========================================================
   Payment modal (demo mock) — native <dialog>
   ========================================================= */
.pay-dialog { width: min(460px, calc(100vw - 2rem)); max-width: 460px; height: fit-content; max-height: calc(100vh - 2rem); overflow: auto; inset: 0; margin: auto; border: 1px solid var(--hairline); border-radius: 6px; padding: 0; background: var(--ivory-soft); color: var(--ink); box-shadow: 0 30px 70px rgba(15,42,71,0.28); }
.pay-dialog::backdrop { background: rgba(10,30,52,0.55); }
.pay-form, .pay-success { padding: clamp(1.75rem, 4vw, 2.5rem); position: relative; }
.pay-close { position: absolute; top: 0.75rem; right: 0.85rem; background: transparent; border: none; font-size: 1.7rem; line-height: 1; color: var(--slate); cursor: pointer; width: 44px; height: 44px; border-radius: 8px; }
.pay-close:hover { color: var(--navy); }
.pay-eyebrow { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.5rem; }
.pay-title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--navy); line-height: 1.1; letter-spacing: -0.01em; font-variation-settings: "opsz" 60; margin-bottom: 1.25rem; }
.pay-lead { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); margin: -0.75rem 0 1.3rem; }
.pay-opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--slate-soft); }
.pay-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; background: var(--ivory); border: 1px solid var(--hairline); border-radius: 6px; margin-bottom: 1.5rem; font-size: 0.9375rem; color: var(--slate); }
.pay-summary strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); font-weight: 400; }
.pay-field { margin-bottom: 1rem; }
.pay-field label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.45rem; }
.pay-field input, .pay-field select { width: 100%; font-family: var(--font-body); font-size: 1.0625rem; color: var(--ink); background: #fff; border: 1px solid var(--hairline-strong); border-radius: 8px; padding: 0.8rem 0.95rem; min-height: 48px; }
.pay-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 18px; padding-right: 2.5rem; }
.pay-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.75rem; }
.pay-error { color: #A8362C; font-size: 0.9rem; margin: 0.1rem 0 1rem; font-weight: 500; }
.pay-submit { margin-top: 0.5rem; position: relative; }
.pay-submit.is-loading .pay-submit-label { visibility: hidden; }
.pay-spinner { display: none; }
.pay-submit.is-loading .pay-spinner { display: block; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(245,240,225,0.4); border-top-color: var(--ivory); border-radius: 50%; animation: paySpin 0.7s linear infinite; }
@keyframes paySpin { to { transform: rotate(360deg); } }
.pay-secure { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; font-size: 0.8125rem; line-height: 1.45; color: var(--slate); text-align: center; }
.pay-secure svg { width: 15px; height: 15px; stroke: var(--copper); fill: none; stroke-width: 1.8; }
.pay-demo { margin-top: 0.6rem; text-align: center; font-size: 0.875rem; color: var(--slate); }
.pay-success { text-align: center; }
.pay-check { width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.pay-check svg { width: 28px; height: 28px; stroke: var(--ivory); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pay-success-body { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.25rem; }
.pay-ref { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.5rem; }
@media (max-width: 480px) { .pay-row { grid-template-columns: 1fr 1fr; } }
