/* ==========================================================
   Venture Climate Alliance
   Palette lifted from the VCA brand: espresso, lavender, ember
   ========================================================== */

/* Self-hosted latin subsets — avoids the fonts.googleapis.com -> fonts.gstatic.com
   request chain that was delaying first paint. Space Grotesk is variable (300-700). */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-400.woff2') format('woff2');
}


:root {
  --ink:      #361D11;   /* espresso brown — primary */
  --ink-80:   rgba(54,29,17,.80);
  --ink-60:   rgba(54,29,17,.70);
  --ink-30:   rgba(54,29,17,.30);
  --ink-12:   rgba(54,29,17,.12);
  --ink-06:   rgba(54,29,17,.06);
  --lav:      #E2D7F8;   /* lavender */
  --lav-soft: #EFE9FB;
  --ember:    #FF6325;   /* accent orange — decorative + on dark backgrounds */
  --ember-ink:#C43D0B;   /* AA-safe orange for small text on light backgrounds */
  --cream:    #FBF7F1;
  --paper:    #FFFFFF;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pad-y: clamp(4.5rem, 9vw, 8.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* Inline SVG icon sprite (replaces the Bootstrap Icons webfont) */
.sprite { display: none; }
.ic {
  width: 1em; height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
  flex: 0 0 auto;
}

::selection { background: var(--ember); color: #fff; }

/* ---------------- Shared type ---------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember-ink);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--lav); }

.display-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.section-head { max-width: 940px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-sub { font-size: 1.125rem; color: var(--ink-80); max-width: 720px; margin: 0; }
.section-sub-light { color: rgba(255,255,255,.82); }

.section { padding: var(--pad-y) 0; }

.lead-head {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.22;
  margin-bottom: 1.5rem;
}
.body-lg { font-size: 1.1rem; color: var(--ink-80); margin-bottom: 1.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ember);
  padding-bottom: .3rem;
  transition: color .2s, gap .2s;
}
.link-arrow:hover { color: var(--ember-ink); gap: .85rem; }
.link-arrow .ic { width: .95em; height: .95em; transition: transform .25s; }
.link-arrow[aria-expanded="true"] .ic { transform: rotate(180deg); }
.link-arrow-light { color: rgba(255,255,255,.92); border-bottom-color: var(--ember); }
.link-arrow-light:hover { color: var(--ember); }

/* ---------------- Buttons ---------------- */

.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .95rem 1.9rem;
  border: 1.5px solid transparent;
  transition: all .22s ease;
}
.btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; box-shadow: none; }

.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ember-ink); color: #fff; }

.btn-outline-ink { border-color: var(--ink-30); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-join { background: var(--ember-ink); color: #fff; padding: .7rem 1.4rem; font-size: .74rem; }
.btn-join:hover { background: var(--ink); color: #fff; }

.btn-hero-primary { background: var(--ember-ink); color: #fff; }
.btn-hero-primary:hover { background: #fff; color: var(--ink); }

.btn-hero-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.07); }
.btn-hero-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-event { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; padding: .75rem 1.5rem; font-size: .74rem; }
.btn-event:hover { background: var(--ember-ink); border-color: var(--ember-ink); color: #fff; }
.btn-event.disabled {
  pointer-events: none;
  opacity: 1;
  color: rgba(255,255,255,.62);
  border-style: dashed;
  border-color: rgba(255,255,255,.30);
  background: transparent;
}

.btn-footer { background: var(--lav); color: var(--ink); padding: .8rem 1.6rem; font-size: .74rem; }
.btn-footer:hover { background: var(--ember-ink); color: #fff; }

/* ---------------- Navbar ---------------- */

.vca-nav {
  padding: 1rem 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.vca-nav.scrolled {
  background: rgba(251,247,241,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .55rem 0;
  box-shadow: 0 1px 0 var(--ink-12);
}

.navbar-brand { display: flex; align-items: center; gap: .7rem; padding: 0; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--lav);
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 0 3px rgba(0,0,0,.9), 0 1px 10px rgba(0,0,0,.7);
  white-space: nowrap;
}
.vca-nav.scrolled .brand-text { color: var(--ink); text-shadow: none; }

.vca-nav .nav-link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 3px rgba(0,0,0,.85), 0 1px 8px rgba(0,0,0,.6);
  padding: .5rem .85rem;
  transition: color .2s;
}
.vca-nav.scrolled .nav-link { color: var(--ink-80); text-shadow: none; }
.vca-nav .nav-link:hover,
.vca-nav .nav-link.active { color: var(--ember); }
.vca-nav.scrolled .nav-link:hover,
.vca-nav.scrolled .nav-link.active { color: var(--ember-ink); }

.navbar-toggler { border: none; padding: .4rem .1rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .bar {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0,0,0,.6);
  transition: background .3s;
}
.vca-nav.scrolled .navbar-toggler .bar { background: var(--ink); box-shadow: none; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--cream);
    margin-top: .8rem;
    padding: 1rem 1.2rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(54,29,17,.20);
  }
  .vca-nav .nav-link,
  .vca-nav.scrolled .nav-link { color: var(--ink); text-shadow: none; padding: .7rem .2rem; }
  .btn-join { display: inline-block; margin-top: .6rem; }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 4vw, 3.2rem);
  border-radius: 22px;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  font-weight: 500;
  color: #fff;
  margin: 0 auto 1rem;
  max-width: 720px;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.94);
  max-width: 620px;
  margin: 0 auto 2.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- Stat bar ---------------- */

.statbar { background: var(--ink); color: #fff; }
.stat-row { text-align: center; }
.stat-cell { padding: clamp(2.4rem, 4vw, 3.6rem) 1.5rem; border-right: 1px solid rgba(255,255,255,.14); }
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--lav);
  margin-bottom: .6rem;
}
.stat-num span { color: var(--ember); }
.stat-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .stat-cell:last-child { border-bottom: none; }
}

/* ---------------- Why ---------------- */

.why { background: var(--cream); }

/* ---------------- Risk band ---------------- */

.riskband {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: url('img/band-why.webp') center/cover no-repeat;
  overflow: hidden;
}
.riskband-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(54,29,17,.55) 0%, rgba(54,29,17,.30) 100%),
    linear-gradient(to bottom, rgba(54,29,17,.35), rgba(54,29,17,.55));
}
.risk-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.4rem;
  text-shadow: 0 0 4px rgba(0,0,0,.75), 0 2px 20px rgba(0,0,0,.6);
}
.risk-copy {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: rgba(255,255,255,.94);
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 0 3px rgba(0,0,0,.8), 0 1px 12px rgba(0,0,0,.65);
}

/* ---------------- Focus areas ---------------- */

.focus { background: var(--paper); }

.focus-item {
  border-top: 1px solid var(--ink-12);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.focus-item:last-child { margin-bottom: 0; }

.focus-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 4px;
}
.focus-body { padding: 1.5rem 0 1rem; }

/* The circuit-board shot is the only cool-toned photo in an otherwise warm set —
   a light warm grade settles it into the palette without washing out the detail. */
.focus-img--tech { filter: sepia(.28) saturate(.9) hue-rotate(-10deg) contrast(1.04); }

@media (min-width: 992px) {
  .focus-body { padding: 0; }
  /* text sits left of the image -> pad right; text sits right of it -> pad left */
  .focus-item .order-lg-1 .focus-body { padding-right: 4rem; }
  .focus-item .col-lg-6:not([class*="order-lg"]):nth-child(2) .focus-body { padding-left: 4rem; }
}

.focus-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.focus-year {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  color: var(--ember-ink); text-transform: uppercase;
}
.focus-rule { flex: 1; height: 1px; background: var(--ink-12); }
.focus-index {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: rgba(54,29,17,.52);
  line-height: 1;
}
.focus-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 1rem;
}
.focus-desc { color: var(--ink-80); margin-bottom: 1.75rem; }

.focus-list { list-style: none; padding: 0; margin: 0 0 1.9rem; }
.focus-list li {
  display: flex; gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--ink-06);
  font-size: .98rem;
  color: var(--ink-80);
}
.focus-list li span {
  font-family: var(--serif);
  color: var(--ember-ink);
  font-size: 1rem;
  flex: 0 0 1.6rem;
}

.focus-detail {
  margin-top: 2.5rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--ember);
}
.focus-detail p { color: var(--ink-80); font-size: 1rem; }
.detail-sub {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 2rem 0 .8rem;
  color: var(--ink);
}
.detail-sub:first-child { margin-top: 0; }
.detail-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--lav-soft);
  border-radius: 4px;
  font-size: .95rem !important;
  color: var(--ink) !important;
}

/* ---------------- Resources ---------------- */

.resources { background: var(--cream); }

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: var(--ink-06);
  color: var(--ink-80);
  margin-bottom: 1.1rem;
}
.tag-orange { background: var(--ember-ink); color: #fff; }
.tag-lav { background: var(--lav); color: var(--ink); }

.res-feature {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 40px rgba(54,29,17,.07);
}
.res-feature-img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.res-feature-body { padding: clamp(1.8rem, 4vw, 3.4rem); }
.res-feature-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  margin-bottom: .7rem;
}
.res-feature-sub { font-size: 1.05rem; color: var(--ink-80); margin-bottom: .8rem; }
.res-meta {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: 1.6rem;
}
.res-meta .ic { color: var(--ember-ink); margin-right: .3rem; }
.res-feature-body p { color: var(--ink-80); font-size: 1rem; }
.res-learn-head {
  font-weight: 600; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink) !important; margin: 1.8rem 0 .8rem;
}
.res-learn { list-style: none; padding: 0; margin: 0 0 2rem; }
.res-learn li {
  position: relative;
  padding: .5rem 0 .5rem 1.6rem;
  border-top: 1px solid var(--ink-06);
  font-size: .96rem;
  color: var(--ink-80);
}
.res-learn li::before {
  content: '';
  position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
}
.res-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.res-actions .btn { padding: .8rem 1.4rem; font-size: .74rem; }
.beta {
  display: inline-block;
  font-size: .6rem; letter-spacing: .1em;
  padding: .12rem .4rem; margin-left: .35rem;
  border-radius: 4px; background: var(--lav); color: var(--ink);
}
.res-fineprint { font-size: .88rem; color: var(--ink-60); margin: 0; }

.res-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 30px rgba(54,29,17,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.res-card:hover { transform: translateY(-4px); box-shadow: 0 14px 46px rgba(54,29,17,.13); }
.res-card-img { width: 100%; height: 210px; object-fit: cover; }
.res-card-body { padding: clamp(1.5rem, 3vw, 2.2rem); flex: 1; }
.res-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.12;
  margin-bottom: .8rem;
}
.res-card-body p { color: var(--ink-80); font-size: .98rem; }
.res-more { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--ink-12); }
.res-more p { font-size: .94rem; }
.res-more strong { color: var(--ink); font-weight: 600; }

/* ---------------- Events ---------------- */

.events { position: relative; background: var(--ink); overflow: hidden; }
.events-bg {
  position: absolute; inset: 0;
  background: url('img/band-events.webp') center/cover no-repeat;
  opacity: .5;
}
.events::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(54,29,17,.80), rgba(54,29,17,.93));
  pointer-events: none;
}
.events .container { z-index: 2; }

.events-group {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lav);
  margin: 3.5rem 0 1.5rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.events-group:first-of-type { margin-top: 0; }

.event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  transition: background .25s, border-color .25s;
}
.event-card:hover { background: rgba(255,255,255,.10); border-color: rgba(226,215,248,.4); }
.event-date {
  font-size: .74rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ember); margin-bottom: 1rem;
}
.event-date .ic { margin-right: .35rem; }
.event-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.14;
  color: #fff;
  margin-bottom: .9rem;
}
.event-card p { color: rgba(255,255,255,.76); font-size: .96rem; flex: 1; margin-bottom: 1.4rem; }
.event-card.past .event-title { font-size: 1.25rem; }

/* ---------------- Members ---------------- */

.members { background: var(--paper); }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-12);
  border: 1px solid var(--ink-12);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 142px;
  padding: 1.4rem 1.2rem;
  background: #fff;
  transition: background .22s;
}
.logo-cell:hover { background: var(--lav-soft); }
.logo-cell img {
  max-height: 64px;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  opacity: .85;
  transition: opacity .22s;
}
.logo-cell:hover img { opacity: 1; }

@media (max-width: 767.98px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.roster-head { margin-bottom: 1.8rem; }
.roster-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: .3rem;
}
.roster-head p { color: var(--ink-60); margin: 0; font-size: .95rem; }

.roster {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 4;
  column-gap: 2.5rem;
  border-top: 1px solid var(--ink-12);
  padding-top: 1.5rem;
}
.roster li { break-inside: avoid; margin-bottom: .55rem; }
.roster a {
  font-size: .95rem;
  color: var(--ink-80);
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.roster a:hover { color: var(--ember-ink); border-bottom-color: var(--ember-ink); }

@media (max-width: 991.98px) { .roster { columns: 3; } }
@media (max-width: 767.98px) { .roster { columns: 2; column-gap: 1.5rem; } }
@media (max-width: 420px)   { .roster { columns: 1; } }

/* ---------------- Gallery ---------------- */

.gallery { background: var(--cream); }
.gal { margin: 0; position: relative; overflow: hidden; border-radius: 6px; }
.gal img {
  width: 100%;
  height: clamp(200px, 26vw, 330px);
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gal:hover img { transform: scale(1.05); }
.gal figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.1rem .95rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(54,29,17,.85), rgba(54,29,17,0));
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

/* ---------------- Join ---------------- */

.join { background: var(--paper); }

.benefits { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.benefit {
  height: 100%;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: var(--cream);
  border-radius: 8px;
  border-top: 3px solid var(--ember);
}
.benefit .ic {
  width: 1.75rem; height: 1.75rem;
  color: var(--ember-ink);
  display: block;
  margin-bottom: 1.1rem;
}
.benefit h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin-bottom: .7rem;
}
.benefit p { color: var(--ink-80); font-size: .98rem; margin: 0; }

.join-panel {
  background: var(--lav);
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 4rem);
}
.join-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.join-copy { color: var(--ink-80); font-size: 1.05rem; margin-bottom: 1.8rem; }
.join-contact { display: flex; flex-direction: column; gap: .6rem; margin: 0; }
.join-contact a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.join-contact a:hover { color: var(--ember-ink); border-bottom-color: var(--ember-ink); }
.join-contact .ic { color: var(--ember-ink); }

.join-form .form-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-80);
  margin-bottom: .4rem;
}
.join-form .req { color: var(--ember-ink); }
.join-form .form-control {
  border: 1px solid rgba(54,29,17,.18);
  background: rgba(255,255,255,.75);
  border-radius: 4px;
  padding: .8rem 1rem;
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ink);
}
.join-form .form-control:focus {
  border-color: var(--ember);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,99,37,.16);
}
.form-note { font-size: .78rem; color: var(--ink-60); margin: .8rem 0 0; text-align: center; }

/* ---------------- Location & contact ---------------- */

.contact { background: var(--cream); }

.contact-card {
  height: 100%;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  background: var(--ink);
  color: rgba(255,255,255,.78);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 1.6rem;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.contact-list li {
  display: flex;
  gap: .85rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .96rem;
  line-height: 1.55;
}
.contact-list li:first-child { border-top: none; padding-top: 0; }
.contact-list .ic { color: var(--lav); margin-top: .34rem; }
.contact-list a { color: rgba(255,255,255,.86); border-bottom: 1px solid rgba(255,255,255,.25); transition: color .18s, border-color .18s; word-break: break-word; }
.contact-list a:hover { color: var(--ember); border-bottom-color: var(--ember); }
.contact-card .btn-solid { background: var(--lav); color: var(--ink); }
.contact-card .btn-solid:hover { background: var(--ember); color: #fff; }

.map-wrap {
  height: 100%;
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-12);
  background: var(--lav-soft);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------------- Legal pages ---------------- */

.legal { padding: clamp(7rem, 12vw, 10rem) 0 var(--pad-y); background: var(--cream); }
.legal-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal-date { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); margin: 0; }
.legal-body { max-width: 780px; }
.legal-body p, .legal-body li { color: var(--ink-80); font-size: 1rem; }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
  margin: 2.75rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-12);
}
.legal-body ul { padding-left: 1.15rem; margin-bottom: 1.5rem; }
.legal-body li { margin-bottom: .6rem; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--ember-ink); border-bottom: 1px solid currentColor; }
.legal-contact {
  background: var(--lav-soft);
  border-left: 3px solid var(--ember);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.legal-contact p { margin-bottom: 1rem; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact .ic { color: var(--ember-ink); }
/* the lavender panel is lighter than cream, so links need a deeper tone to clear AA */
.legal-contact a { color: #9E2F06; }
.legal-back { margin-top: 3rem; }
.legal-back a { border-bottom: none; }

.footer-bottom a { color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.25); transition: color .18s; }
.footer-bottom a:hover { color: var(--ember); }
.footer-bottom .powered a { color: var(--lav); }

/* ---------------- Footer ---------------- */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.footer-mark {
  width: 72px; height: 72px;
  border-radius: 10px;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-tag { font-size: .95rem; max-width: 300px; margin: 0; }

.footer h4 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lav);
  margin-bottom: 1.3rem;
}
.footer ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.footer ul li { margin-bottom: .65rem; }
.footer ul a, .footer ul span {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  display: inline-flex;
  align-items: flex-start;
  gap: .55rem;
  transition: color .18s;
}
.footer ul a:hover { color: var(--ember); }
.footer-contact .ic { color: var(--lav); margin-top: .42rem; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; font-size: .85rem; }
.powered { display: inline-flex; align-items: center; gap: .4rem; }
.powered a {
  color: var(--lav);
  font-weight: 700;
  border-bottom: 1px solid rgba(226,215,248,.4);
  transition: color .18s, border-color .18s;
}
.powered a:hover { color: var(--ember); border-bottom-color: var(--ember); }

/* ---------------- Responsive guards ---------------- */

/* A g-5 row sets a -24px side margin but .container only pads 12px, so the row
   pokes 12px past the viewport on narrow screens. Match the gutter to the pad. */
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ---------------- Motion preference ---------------- */

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