/* NACCL brand palette — per NACCL Brand Specification 8-24-26.
   Gold is never text. Orange is display only; #BE5900 is the text-safe
   variant for links and small text. Never orange on slate, never gold on white
   as text pairings. */
:root {
  --orange: #C65D00;
  --orange-text: #BE5900;
  --orange-hover: #AE5200;
  --orange-pressed: #9A4900;
  --orange-tint: #F6E7D9;
  /* orange-teal variant: navy replaces slate, teal leads the dark gradients */
  --slate: #0A3055;
  --slate-hover: #092B4C;
  --slate-pressed: #072340;
  --slate-tint: #DCE6EF;
  --teal: #0E6B7C;
  --coral: #FD8D65;
  --coral-deep: #E97C55;
  --gold: #C4953A;
  --gold-deep: #99742D;
  --gold-tint: #F6EFE1;
  --charcoal: #2D2D2D;
  --light-gray: #E0DEDA;
  --cream: #FDF6ED;
  --focus: #ABB7C0;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.05), 0 3px 10px rgba(45, 45, 45, 0.05);
  --shadow-md: 0 6px 16px rgba(45, 45, 45, 0.08), 0 16px 40px rgba(45, 45, 45, 0.08);
  --shadow-lg: 0 12px 28px rgba(45, 45, 45, 0.12), 0 30px 70px rgba(45, 45, 45, 0.12);
  --ease: cubic-bezier(0.25, 0.6, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grad-brand: linear-gradient(90deg, var(--orange), var(--coral));
  --grad-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-pressed) 100%);
  --grad-slate: linear-gradient(135deg, var(--teal) 0%, var(--slate) 60%, var(--slate-pressed) 100%);
}

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

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

body {
  font-family: Carlito, Calibri, sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--orange-text); text-underline-offset: 3px; transition: color 0.2s var(--ease); }
a:hover { color: var(--orange-hover); }

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

img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   Header — glassy, sticky, compacts on scroll
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 3px solid var(--orange);
  border-image: var(--grad-brand) 1;
  padding: 1rem 0;
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(45, 45, 45, 0.08);
}
.site-header .container {
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.wordmark { text-decoration: none; display: block; flex-shrink: 0; }
.wordmark img { display: block; height: 44px; width: auto; transition: height 0.3s var(--ease); }
.site-header.scrolled .wordmark img { height: 38px; }

.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.15rem; }
.site-nav a {
  position: relative;
  color: var(--slate);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--slate-hover); }
.site-nav a[aria-current="page"] { color: var(--orange-text); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--slate);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Buttons — gradient pills
   ============================================================ */
.btn {
  display: inline-block;
  background: var(--grad-orange);
  background-size: 150% 150%;
  background-position: 0% 0%;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.7rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(154, 73, 0, 0.25);
  transition: background-position 0.35s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  background-position: 100% 100%;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(154, 73, 0, 0.3);
}
.btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(154, 73, 0, 0.25); }
.btn-slate { background: var(--grad-slate); background-size: 150% 150%; box-shadow: 0 2px 8px rgba(36, 58, 76, 0.25); }
.btn-slate:hover { box-shadow: 0 10px 24px rgba(36, 58, 76, 0.3); }

/* .site-nav a outranks .btn — restate button styles for the nav CTA */
.site-nav a.btn {
  margin-left: 0.4rem;
  color: #fff;
  padding: 0.55rem 1.3rem;
  font-size: 0.92rem;
}
.site-nav a.btn:hover { color: #fff; }

/* ============================================================
   Hero — layered brand-hue mesh over the orange gradient.
   White on orange passes contrast only at large/bold sizes,
   so the heading and lede are both large and bold.
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(56rem 30rem at 82% -12%, rgba(253, 246, 237, 0.28), transparent 55%),
    radial-gradient(44rem 28rem at 108% 88%, rgba(196, 149, 58, 0.45), transparent 55%),
    radial-gradient(40rem 26rem at -8% 108%, rgba(45, 45, 45, 0.30), transparent 52%),
    linear-gradient(150deg, var(--orange) 0%, var(--orange-hover) 55%, var(--orange-pressed) 100%);
  color: #fff;
  padding: 7.5rem 0 9rem;
  overflow: hidden;
}
/* the video is the hero's only texture layer — no photo underneath */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  pointer-events: none;
  transition: opacity 1s linear;
}
.hero-video-b { opacity: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 52rem;
  text-wrap: balance;
}
.hero h1::before {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cream), var(--gold));
  margin-bottom: 1.75rem;
}
.hero p {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  max-width: 44rem;
  color: #fff;
}
/* understated marker underline for the key phrase — visible on orange
   without shouting */
.hero h1 .hl {
  background: linear-gradient(90deg, rgba(253, 246, 237, 0.55), rgba(255, 255, 255, 0.65));
  background-size: 100% 0.11em;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.12em;
}
.hero .actions { margin-top: 2.5rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero .actions .btn { background: #fff; color: var(--slate); box-shadow: 0 8px 28px rgba(45, 45, 45, 0.25); }
.hero .actions .btn:hover { background: var(--cream); color: var(--slate); transform: translateY(-2px); }
.hero .actions .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  box-shadow: none;
}
.hero .actions .btn-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ============================================================
   Full-bleed bands
   ============================================================ */
.band { padding: 4.5rem 0; }
.band-cream { background: linear-gradient(180deg, var(--cream) 0%, var(--gold-tint) 100%); }
.band-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46rem 26rem at 96% 108%, rgba(253, 141, 101, 0.28), transparent 58%),
    linear-gradient(150deg, var(--teal) 0%, var(--slate) 55%, var(--slate-pressed) 100%);
  color: #fff;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/photos/city.jpg") center/cover no-repeat;
  opacity: 0.09;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }
.band-dark .section-bar { color: #fff; }
.band-dark .btn { background: #fff; color: var(--slate); }
.band-dark .btn:hover { background: var(--cream); color: var(--slate); }
.band-dark .btn-outline { background: transparent; border: 2px solid rgba(255, 255, 255, 0.6); color: #fff; }
.band-dark .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Stats band pulled up over the hero edge */
.band-overlap { padding-top: 0; margin-top: -4.5rem; position: relative; z-index: 2; }

/* ============================================================
   Section headings — bold slate with a gradient accent rule
   ============================================================ */
.section-bar {
  color: var(--slate);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 3.25rem 0 1.4rem;
  text-wrap: balance;
}
/* teal→navy gradient text on light bands; dark bands keep solid white */
@supports (-webkit-background-clip: text) {
  .section-bar:not(.band-dark .section-bar) {
    background: linear-gradient(100deg, var(--teal) 0%, var(--slate) 55%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
  }
}
.section-bar::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin-top: 0.6rem;
  background: var(--grad-brand);
}
.band .section-bar:first-child,
section.block .section-bar:first-child { margin-top: 0; }
section.block { padding: 1rem 0 2.25rem; }
.band section.block { padding: 0; }

/* Subheads: bold orange */
h3.subhead { color: var(--teal); font-weight: 700; font-size: 1.2rem; margin: 1.85rem 0 0.5rem; }

p + p { margin-top: 0.9rem; }

/* Page title band for interior pages */
.page-title {
  background:
    radial-gradient(44rem 22rem at 92% -10%, rgba(198, 93, 0, 0.12), transparent 60%),
    linear-gradient(150deg, var(--cream) 0%, var(--orange-tint) 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.page-title h1 {
  color: var(--orange);
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.page-title h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin-top: 0.7rem;
  background: var(--grad-brand);
}
.page-title p { margin-top: 0.85rem; max-width: 46rem; font-size: 1.18rem; }

/* ============================================================
   Statistic cards — solid brand fills, white numerals
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0 2rem;
}
.stat-card {
  position: relative;
  color: #fff;
  padding: 2rem 1.6rem;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal) 0%, var(--slate) 55%, var(--slate-pressed) 100%);
  box-shadow: 0 18px 40px -14px rgba(10, 48, 85, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* coral lives only on the dark teal/navy surfaces, never beside the orange */
.stat-card .icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FD8D65;
  background: rgba(253, 141, 101, 0.14);
  box-shadow: inset 0 0 0 1px rgba(253, 141, 101, 0.3);
  margin-bottom: 1.1rem;
}
.stat-card .icon svg { width: 22px; height: 22px; }
.stat-card .icon::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}
/* glass edge + layered light for depth */
.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(16rem 9rem at 82% -18%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(20rem 12rem at -12% 125%, rgba(0, 0, 0, 0.28), transparent 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card .number {
  position: relative;
  z-index: 1;
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.stat-card .label { position: relative; z-index: 1; font-size: 0.97rem; margin-top: 0.5rem; opacity: 0.94; }
.stat-card:hover { box-shadow: 0 26px 52px -14px rgba(10, 48, 85, 0.65); }

/* ============================================================
   Cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.85rem 1.7rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { color: var(--slate); font-size: 1.13rem; font-weight: 700; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.card p { font-size: 0.99rem; }

/* ============================================================
   Founding-member map — four-tier choropleth per the brand
   data-viz standard, harmonized to the site palette
   ============================================================ */
.map-figure { position: relative; margin: 2.25rem 0 0; }
.map-svg { width: 100%; height: auto; display: block; }
.map-state {
  stroke: #fff;
  stroke-width: 1;
  cursor: pointer;
  transition: opacity 0.5s var(--ease-out), filter 0.2s var(--ease);
  transition-delay: calc(var(--i) * 16ms), 0s;
  outline: none;
}
/* each state's bounding box gets its own light-to-deep sweep */
.map-state.t0 { fill: url(#hatch); }
.map-state.t1 { fill: url(#grad-t1); }
.map-state.t2 { fill: url(#grad-t2); }
.map-state.t3 { fill: url(#grad-t3); }

/* per-CoC location pins, revealed on state hover/focus */
.state-pins { pointer-events: none; opacity: 0; transition: opacity 0.25s var(--ease); }
.state-pins.show { opacity: 1; }
.state-pins circle {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 1.6;
  filter: drop-shadow(0 1px 3px rgba(45, 45, 45, 0.45));
}
.map-state:hover,
.map-state:focus-visible { filter: brightness(1.15) drop-shadow(0 3px 8px rgba(45, 45, 45, 0.3)); stroke-width: 1.75; }
/* states cascade in when the map scrolls into view */
.map-figure.reveal .map-state { opacity: 0; }
.map-figure.reveal.in-view .map-state { opacity: 1; }

.map-tip {
  position: absolute;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

/* horizontal legend on a white ground */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  justify-content: center;
  padding: 1.25rem 0 0;
  font-size: 0.96rem;
}
.map-legend .key { display: flex; align-items: center; gap: 0.5rem; }
.map-legend .sw {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(45, 45, 45, 0.12);
}
.map-legend .sw.t0 { background: repeating-linear-gradient(45deg, #EFECE7 0 3px, #D8D3CB 3px 4.5px); }
.map-legend .sw.t1 { background: linear-gradient(135deg, #17859B, #0A5260); }
.map-legend .sw.t2 { background: linear-gradient(135deg, #D96E0E, #9A4900); }
.map-legend .sw.t3 { background: linear-gradient(135deg, #14497D, #072340); }
.map-legend .sw.pin { background: var(--coral); border-radius: 50%; width: 14px; height: 14px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(45, 45, 45, 0.15); }

/* ============================================================
   Pull quotes — warm gradient panels
   ============================================================ */
blockquote {
  position: relative;
  background: linear-gradient(150deg, var(--cream) 0%, var(--gold-tint) 100%);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem 1.6rem 2rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.12rem;
  box-shadow: var(--shadow-sm);
}
blockquote footer {
  font-style: normal;
  font-weight: 700;
  color: var(--slate);
  margin-top: 0.7rem;
  font-size: 0.95rem;
}
blockquote footer::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* ============================================================
   Timeline — gradient spine
   ============================================================ */
.timeline { list-style: none; margin: 1.5rem 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), var(--coral));
}
.timeline li { padding: 0 0 2rem 1.75rem; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  /* line is 3px wide at left:0 — center the 22px dot (16px + 3px borders) on it */
  left: calc(1.5px - 11px);
  top: 0.45rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(233, 124, 85, 0.4);
}
.timeline li:last-child { padding-bottom: 0.25rem; }
.timeline .when { font-weight: 700; color: var(--teal); font-size: 0.97rem; }
.timeline h3 { color: var(--slate); font-size: 1.15rem; margin: 0.1rem 0 0.25rem; letter-spacing: -0.01em; }

/* ============================================================
   People — avatar initials (injected by js/nav.js)
   ============================================================ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  align-items: center;
  background: linear-gradient(150deg, #fff 0%, var(--orange-tint) 160%);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.person .avatar {
  grid-row: span 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-slate);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.person .name { font-weight: 700; color: var(--slate); font-size: 1.08rem; letter-spacing: -0.01em; }
.person .role { color: var(--charcoal); font-size: 0.95rem; }
.person .coc { color: var(--charcoal); font-size: 0.9rem; opacity: 0.82; }
/* without JS, fall back to a simple stacked card */
.person:not(:has(.avatar)) { grid-template-columns: 1fr; }

/* ============================================================
   FAQ
   ============================================================ */
.faq h3 {
  color: var(--slate);
  font-size: 1.14rem;
  font-weight: 700;
  margin: 1.9rem 0 0.4rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--teal);
  border-image: linear-gradient(180deg, var(--teal), var(--slate)) 1;
}

/* Simple content lists */
main ul.content-list { margin: 0.75rem 0 0.75rem 1.4rem; }
main ul.content-list li { margin-bottom: 0.5rem; }
main ul.content-list li::marker { color: var(--orange-text); }

/* ============================================================
   Forms
   ============================================================ */
form.stacked { max-width: 36rem; margin: 1.75rem 0 2.5rem; }
form.stacked label { display: block; font-weight: 700; color: var(--slate); margin: 1.15rem 0 0.35rem; }
form.stacked input,
form.stacked select,
form.stacked textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
form.stacked input:hover,
form.stacked select:hover,
form.stacked textarea:hover { border-color: var(--focus); }
form.stacked input:focus,
form.stacked select:focus,
form.stacked textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 4px var(--slate-tint);
}
fieldset { border: 1.5px solid var(--light-gray); border-radius: var(--radius-sm); padding: 0.9rem 1.15rem 1.15rem; margin-top: 1.15rem; }
legend { font-weight: 700; color: var(--slate); padding: 0 0.4rem; }
fieldset label { font-weight: 400 !important; color: var(--charcoal) !important; margin: 0.45rem 0 0 !important; }
fieldset input[type="checkbox"] { width: auto; margin-right: 0.55rem; accent-color: var(--slate); }
form.stacked .btn { margin-top: 1.7rem; }

/* Tables */
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--light-gray); }
th { background: var(--grad-slate); color: #fff; font-weight: 700; }

/* Visible photo banner with brand gradient wash */
.photo-banner-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 1.75rem 0 0.75rem;
}
.photo-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(198, 93, 0, 0.45) 0%, rgba(253, 141, 101, 0.22) 45%, rgba(10, 48, 85, 0.6) 100%);
}
.photo-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

/* Gradient accent rule */
hr.gold-rule {
  border: none;
  height: 4px;
  width: 96px;
  border-radius: 2px;
  background: var(--grad-brand);
  margin: 3rem 0 2.5rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background:
    radial-gradient(50rem 24rem at 92% -30%, rgba(253, 141, 101, 0.10), transparent 55%),
    linear-gradient(160deg, #0C3F55 0%, var(--slate) 45%, #061B31 100%);
  color: #fff;
  margin-top: 4.5rem;
  padding: 3.5rem 0 2.5rem;
  border-top: 4px solid var(--orange);
  border-image: var(--grad-brand) 1;
}
main:has(.band-dark:last-child) + .site-footer { margin-top: 0; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; justify-content: space-between; }
.site-footer .footer-logo { display: block; height: 44px; width: auto; }
.site-footer p { font-size: 0.95rem; max-width: 26rem; margin-top: 0.75rem; color: rgba(255, 255, 255, 0.85); }
.site-footer nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.site-footer nav a:hover { color: #fff; transform: translateX(3px); }
.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Scroll reveal (classes applied by js/nav.js; no-JS users
   simply see everything, since .reveal is only added by script)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.75rem;
    animation: menuIn 0.3s var(--ease-out);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    font-size: 1.05rem;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--light-gray);
  }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a.btn {
    margin: 0.9rem 0 0.25rem;
    text-align: center;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    border-bottom: none;
  }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .hero { padding: 4.5rem 0 6.5rem; }
  .band { padding: 3.25rem 0; }
  .wordmark img { height: 38px; }
  /* shallower card overlap on small screens — more air below the hero text */
  .band-overlap { margin-top: -2rem; }
  /* the video is skipped on small screens — use its poster frame instead */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/photos/hero-poster.jpg") center/cover no-repeat;
    opacity: 0.18;
    mix-blend-mode: luminosity;
    pointer-events: none;
  }
}

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