/* ==================================================================
   Azul Marine Group
   Public-safety design system: restrained, squared, high contrast.
   ================================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13365f;
  --navy-600: #1f4b7f;
  --navy-100: #dfe7f1;
  --red-700: #9b1c1c;
  --red-600: #b3261e;
  --red-500: #c62828;
  --ink-900: #14202e;
  --ink-700: #2b3a4d;
  --ink-500: #566577;
  --ink-300: #a6b0bd;
  --line: #d3dae3;
  --line-strong: #b9c3cf;
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --paper-3: #e8ecf1;
  --focus: #ffbf47;

  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Merriweather", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--navy-800); letter-spacing: -0.005em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
ul, ol { padding-left: 1.3em; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
strong { font-weight: 700; }
small { font-size: 0.875rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1320px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--navy-800); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red-600); margin: 0 0 0.75rem;
}
.eyebrow--light { color: var(--red-600); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-700); }
.rule::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red-600); margin: 0.9rem 0 0; }
.rule--light::after { background: #fff; }
.text-center { text-align: center; }
.text-center .rule::after { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--red-600); color: #fff; border-color: var(--red-600); }
.btn--primary:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.925rem; }
.btn__arrow { width: 16px; height: 16px; }

.text-link { font-weight: 700; text-decoration: none; color: var(--navy-800); display: inline-flex; align-items: center; gap: .35rem; }
.text-link::after { content: "\2192"; transition: transform .18s var(--ease); }
.text-link:hover { color: var(--red-600); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(7,26,51,.04);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--navy-800); min-width: 0; }
.brand__mark { width: 58px; height: 58px; flex: 0 0 auto; color: var(--navy-800); transition: width .2s var(--ease), height .2s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.01em; color: var(--navy-800); }
.brand__sub { font-size: 0.8rem; font-weight: 600; color: var(--ink-500); margin-top: 2px; }
.site-header.is-compact { --header-h: 68px; }
.site-header.is-compact .brand__mark { width: 46px; height: 46px; }
.site-header.is-compact .brand__sub { display: none; }

.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.primary-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.85rem; font-weight: 600; font-size: 0.98rem;
  color: var(--ink-900); text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.primary-nav__list a:hover { color: var(--navy-800); border-bottom-color: var(--navy-100); }
.primary-nav__list a[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--red-600); }
.primary-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.6rem;
  background: transparent; border: 2px solid var(--navy-800); border-radius: var(--radius); color: var(--navy-800); font: inherit; font-weight: 700; cursor: pointer;
}
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-toggle__bars i { display: block; height: 2px; background: currentColor; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .brand__sub { display: none; }
  .primary-nav__list a { padding: 0.4rem 0.6rem; font-size: 0.93rem; }
}
@media (max-width: 940px) {
  .site-header { --header-h: 68px; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 1.15rem; }
  .menu-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1000;
    background: var(--paper); border-left: 1px solid var(--line); padding: 1.25rem 1.5rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s var(--ease); visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; box-shadow: -12px 0 40px rgba(7,26,51,.18); }
  .primary-nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .primary-nav__list li { border-bottom: 1px solid var(--line); }
  .primary-nav__list a { display: flex; width: 100%; min-height: 52px; padding: 0.6rem 0.25rem; font-size: 1.05rem; border: 0; border-left: 4px solid transparent; padding-left: 0.75rem; }
  .primary-nav__list a[aria-current="page"] { border-left-color: var(--red-600); background: var(--paper-2); }
  .primary-nav__mobile-extra { display: block; margin-top: 1.5rem; }
  .primary-nav__contact { margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.8; }
  .site-header__actions { position: relative; z-index: 1001; }
  body.nav-open { overflow: hidden; }
  /* While the menu is open, lift the whole header (and the drawer inside it) above the dark backdrop */
  body.nav-open .site-header { z-index: 1000; }
  .nav-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 950; background: rgba(7,26,51,.45); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease); }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 400px) {
  .brand__name { font-size: 1rem; }
  .brand { gap: 0.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 2rem + 3vw, 5rem) 0; }
.section--tight { padding: clamp(2rem, 1.5rem + 2vw, 3rem) 0; }
.section--grey { background: var(--paper-2); }
.section--navy { background: var(--navy-800); color: #e6edf5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #fff; }
.section--navy .lead { color: #d3deea; }
.section--border-top { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 2.5rem; }
.section__head p { color: var(--ink-700); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .rule::after { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Page banner (interior pages) ---------- */
.page-banner { background: var(--navy-800); color: #fff; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-bottom: 6px solid var(--red-600); }
.page-banner h1 { color: #fff; margin-bottom: 0.4rem; }
.page-banner .lead { color: #cfdbe8; max-width: 760px; }
.breadcrumb { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: #a9c2dd; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: #6f8bab; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Title band (CAL FIRE style) ---------- */
.title-band { background: var(--navy-800); color: #fff; text-align: center; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0 clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
.title-band h1 { color: #fff; margin: 0 0 0.5rem; }
.title-band__tag { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); font-weight: 600; color: #d3deea; margin: 0 auto 0.4rem; max-width: 46em; }
.title-band__tag span { white-space: nowrap; }
.title-band__tag i { font-style: normal; color: var(--red-600); padding: 0 0.6rem; }
@media (max-width: 600px) {
  .title-band__tag { flex-direction: column; align-items: center; gap: 0.15rem; }
  .title-band__tag i { display: none; }
}
.title-band__place { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a9c2dd; margin: 0 0 1.25rem; }
.title-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Slideshow (FEMA style) ---------- */
.slideshow { position: relative; background: var(--paper); color: #fff; }
.slideshow__track { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(300px, 34%) 1fr; min-height: clamp(420px, 38vw, 560px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s var(--ease); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__card { background: var(--navy-800); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); display: flex; flex-direction: column; justify-content: center; border-right: 6px solid var(--red-600); }
.slide__card h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 0 0 0.75rem; }
.slide__card p { color: #d3deea; margin: 0 0 1.25rem; font-size: 1.05rem; }
.slide__card .btn { align-self: flex-start; }
.slide__media { position: relative; overflow: hidden; background: var(--navy-900); }
.slide__media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__media--brand { display: flex; align-items: center; justify-content: center; background: var(--navy-700) repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 18px, rgba(255,255,255,0) 18px 36px); }
.slide__media--brand svg { width: clamp(180px, 30%, 300px); height: auto; color: #fff; }
.slide__credit { position: absolute; left: 0; bottom: 0; margin: 0; background: rgba(7,26,51,.75); color: #d3deea; font-size: 0.75rem; padding: 0.35rem 0.7rem; }
.slideshow__controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(180deg, rgba(7,26,51,0) 0%, rgba(7,26,51,.6) 100%); padding: 1.1rem 0 0.6rem; }
.slideshow__dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.6rem; }
.slideshow__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slideshow__dot[aria-current="true"] { background: #fff; }
.slideshow__prev, .slideshow__next { background: none; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; padding: 0.4rem 0.6rem; min-height: 40px; text-shadow: 0 1px 4px rgba(7,26,51,.6); }
.slideshow__prev:hover, .slideshow__next:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide__media { order: -1; aspect-ratio: 16 / 9; }
  .slide__card { border-right: 0; border-top: 6px solid var(--red-600); }
}

/* Full-bleed slides: photo fills the slide, card overlays it */
.slide--full { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; min-height: 420px; overflow: hidden; }
.slideshow__track { width: 100%; }
.slide--full .slide__bg { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.slide--full .slide__bg img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide__scrim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7,26,51,.78) 0%, rgba(7,26,51,.45) 45%, rgba(7,26,51,.1) 100%); }
.slide__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; display: flex; align-items: center; padding-top: 2.5rem; padding-bottom: 4.5rem; }
.slide__card--overlay { max-width: 600px; background: transparent; border: 0; padding: 0; box-shadow: none; }
.slide__card--overlay h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); text-shadow: 0 2px 10px rgba(7,26,51,.6); }
.slide__card--overlay p { color: #eef3f8; font-size: 1.15rem; text-shadow: 0 1px 8px rgba(7,26,51,.7); }
@media (max-width: 900px) {
  .slide--full { min-height: 0; max-height: none; }
  .slide--full .slide__overlay { align-items: flex-end; padding-top: 2rem; padding-bottom: 3.5rem; }
  .slide__scrim { background: linear-gradient(180deg, rgba(7,26,51,.1) 0%, rgba(7,26,51,.25) 45%, rgba(7,26,51,.7) 100%); }
  .slide__card--overlay { max-width: none; width: 100%; border: 0; }
}
@media (max-width: 700px) {
  /* Phones: photo on top at full width, text stacked below so nothing covers the subject */
  .slide--full { display: flex; flex-direction: column; aspect-ratio: auto; height: auto; min-height: 0; max-height: none; }
  .slide--full .slide__bg { order: 0; position: static; display: block; width: 100%; top: auto; right: auto; bottom: auto; left: auto; }
  .slide--full .slide__bg img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; top: auto; right: auto; bottom: auto; left: auto; }
  .slide__scrim { display: none; }
  .slide--full .slide__overlay { order: 1; position: static; display: block; background: var(--navy-800); padding: 1.5rem var(--gutter) 1.75rem; top: auto; right: auto; bottom: auto; left: auto; }
  .slide__card--overlay h2, .slide__card--overlay p { text-shadow: none; }
  .slideshow__controls { position: static; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.6rem 0; }
  .slideshow__dot { border-color: var(--navy-800); }
  .slideshow__dot[aria-current="true"] { background: var(--navy-800); }
  .slideshow__prev, .slideshow__next { color: var(--navy-800); text-shadow: none; }
}

/* ---------- Tiles (FEMA "How can we help" style) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.tile:hover, .tile:focus-visible { border-color: var(--navy-800); color: inherit; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(7,26,51,.12); }
.tile__icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--navy-800); color: #fff; overflow: hidden; transition: background-color .25s var(--ease); }
.tile:nth-child(2n) .tile__icon { background: var(--navy-700); }
.tile:hover .tile__icon, .tile:focus-visible .tile__icon { background: var(--navy-600); }
.tile__icon svg { width: 72px; height: 72px; transition: transform .35s var(--ease); }
.tile:hover .tile__icon svg, .tile:focus-visible .tile__icon svg { transform: translateY(-4px) scale(1.08); }
/* icons draw themselves in as the tile scrolls into view */
.tile__icon svg path, .tile__icon svg circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.tile.reveal:not(.is-visible) .tile__icon svg path, .tile.reveal:not(.is-visible) .tile__icon svg circle { stroke-dashoffset: 1; }
.tile.reveal.is-visible .tile__icon svg path, .tile.reveal.is-visible .tile__icon svg circle { animation: tile-draw 1.1s var(--ease) both; }
.tile.reveal.is-visible .tile__icon svg :nth-child(2) { animation-delay: .15s; }
.tile.reveal.is-visible .tile__icon svg :nth-child(3) { animation-delay: .3s; }
.tile.reveal.is-visible .tile__icon svg :nth-child(4) { animation-delay: .45s; }
@keyframes tile-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.tile__body { position: relative; padding: 1.1rem 1.2rem 1.4rem; }
.tile__body::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--red-600); transition: width .4s var(--ease); }
.tile:hover .tile__body::after, .tile:focus-visible .tile__body::after { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile__icon svg, .tile__body::after { transition: none; }
  .tile:hover { transform: none; }
  .tile:hover .tile__icon svg { transform: none; }
  .tile__icon svg path, .tile__icon svg circle { animation: none !important; stroke-dashoffset: 0 !important; }
}
.tile h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--navy-800); }
.tile p { margin: 0; font-size: 0.98rem; color: var(--ink-700); }

/* ---------- Featured video ---------- */
.featured-video__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: center; }
.featured-video__player { margin: 0; }
.featured-video__player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-900); border: 1px solid var(--line-strong); }
.featured-video__player figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-500); }
@media (max-width: 900px) { .featured-video__grid { grid-template-columns: 1fr; gap: 1.5rem; } .featured-video__player { order: -1; } }

/* ---------- Service area map ---------- */
.service-area { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center; }
.service-area__list { margin: 1.25rem 0; }
.service-area__note { font-size: 0.92rem; }
.service-map { height: 460px; width: 100%; border: 1px solid var(--line-strong); background: var(--paper-3); }
.map-info { display: flex; align-items: center; gap: 6px; margin: 0 8px 8px 0 !important; }
.map-info__btn { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy-800); font: 700 13px/22px Georgia, serif; font-style: italic; text-align: center; padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(7,26,51,.3); order: 2; }
.map-info__btn:hover, .map-info__btn[aria-expanded="true"] { background: #fff; }
.map-info__text { order: 1; font-size: 0.7rem; color: var(--ink-700); background: rgba(255,255,255,.92); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.map-info__text a { color: inherit; }
.service-map .leaflet-popup-content { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.45; }
.map-pin { position: relative; }
.map-pin__dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-800); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(7,26,51,.4); }
.map-pin--home .map-pin__dot { width: 18px; height: 18px; background: var(--red-600); }
.map-pin__label { position: absolute; left: 20px; top: -3px; white-space: nowrap; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: var(--navy-800); background: rgba(255,255,255,.92); padding: 1px 6px; border-radius: 2px; box-shadow: 0 1px 3px rgba(7,26,51,.2); }
.map-pin--home .map-pin__label { left: 24px; top: -1px; color: #fff; background: var(--red-600); }
.map-pin--left .map-pin__label { left: auto; right: 6px; }
.service-map .leaflet-tile-pane { filter: saturate(0.75) contrast(0.95); }
@media (max-width: 900px) {
  .service-area { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-map { height: 380px; }
  .map-pin__label { font-size: 0.72rem; }
}
@media (max-width: 600px) {
  .map-pin__long { display: none; }
  .map-pin--home .map-pin__label { left: -22px; top: 22px; }
  .map-pin--left .map-pin__label { display: none; }
}

/* ---------- Feature band (FEMA Training style) ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.band__media { position: relative; min-height: 320px; background: var(--navy-900); }
.band__media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.band__media .slide__credit { font-size: 0.72rem; }
.band__body { padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.band__body h2 { margin-bottom: 0.75rem; }
.band__body p { color: var(--ink-700); }
.band__body .btn { align-self: flex-start; margin-top: 0.5rem; }
.band--flip .band__media { order: 2; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band__media { min-height: 0; aspect-ratio: 16 / 9; } .band--flip .band__media { order: 0; } }

/* ---------- News cards (CAL FIRE Latest News) ---------- */
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 960px) { .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-cards { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.news-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media .placeholder { height: 100%; min-height: 0; border: 0; border-bottom: 2px dashed var(--ink-300); }
.news-card__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.news-card__date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-600); }
.news-card h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0; }
.news-card h3 a { text-decoration: none; color: var(--navy-800); }
.news-card h3 a:hover { text-decoration: underline; color: var(--red-600); }
.news-card p { margin: 0; font-size: 0.97rem; color: var(--ink-700); }
.news-card .text-link { margin-top: auto; padding-top: 0.6rem; }
.news-card--placeholder { border-style: dashed; border-color: var(--ink-300); background: var(--paper-2); }

/* ---------- Leadership circles ---------- */
.leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.25rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leader { text-align: center; }
.leader__photo { position: relative; width: 136px; height: 136px; border-radius: 50%; margin: 0 auto 0.85rem; background: var(--navy-800); border: 3px solid var(--navy-100); display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.leader__photo::before { content: attr(data-initials); font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; letter-spacing: 0.02em; }
.leader__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader__photo svg { width: 56px; height: 56px; }
.leader__name { font-weight: 700; color: var(--navy-800); margin: 0; }
.leader__title { font-size: 0.9rem; color: var(--ink-500); margin: 0; max-width: 22ch; margin-left: auto; margin-right: auto; }

/* ---------- Get involved buttons band ---------- */
.involve-band { background: var(--navy-800); color: #fff; }
.involve-band h2 { color: #fff; }
.involve-band p { color: #d3deea; }
.involve-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.btn--lg { min-height: 60px; padding: 0.9rem 2rem; font-size: 1.15rem; }

/* ---------- Donate page ---------- */
.give-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }
.give-option { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--navy-800); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.give-option h3 { margin: 0; }
.give-option p { color: var(--ink-700); margin: 0; }
.give-option .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Article page ---------- */
.article__hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.article p { font-size: 1.125rem; line-height: 1.7; }
.article h2 { margin-top: 2.5rem; }
.article h2:first-child { margin-top: 0; }

/* ---------- Facts strip ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__list li { padding: 1.25rem 1.5rem 1.25rem 0; border-right: 1px solid var(--line); margin-right: 1.5rem; }
.facts__list li:last-child { border-right: 0; margin-right: 0; }
.facts__label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 0.3rem; }
.facts__value { display: block; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
@media (max-width: 960px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list li:nth-child(2) { border-right: 0; margin-right: 0; }
  .facts__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facts__list { grid-template-columns: 1fr; }
  .facts__list li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
  .facts__list li:last-child { border-bottom: 0; }
}

/* ---------- Mission block ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; align-items: start; }
.mission__statement { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); line-height: 1.5; color: var(--navy-800); border-left: 5px solid var(--red-600); padding-left: 1.25rem; margin: 0 0 1.5rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy-800); padding: 1.5rem; }
.panel--navy { background: var(--navy-800); color: #e6edf5; border-color: var(--navy-800); border-top-color: var(--red-600); }
.panel--navy h3 { color: #fff; }
.panel__title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 1rem; }
.panel--navy .panel__title { color: #a9c2dd; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0.6rem 0 0.6rem 2.1rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy-800); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background-color: var(--red-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21Zm5.03 7.78-6 6a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l2.47 2.47 5.47-5.47a.75.75 0 1 1 1.06 1.06Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21Zm5.03 7.78-6 6a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l2.47 2.47 5.47-5.47a.75.75 0 1 1 1.06 1.06Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.panel--navy .check-list li { color: #fff; border-color: rgba(255,255,255,.15); }
.panel--navy .check-list li::before { background-color: var(--red-600); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Serve blocks ---------- */
.serve { border: 1px solid var(--line); background: var(--paper); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.serve__icon { width: 44px; height: 44px; color: var(--navy-800); border-bottom: 3px solid var(--red-600); padding-bottom: 0.6rem; box-sizing: content-box; margin-bottom: 0.4rem; }
.serve h3 { font-size: 1.15rem; margin: 0; }
.serve p { color: var(--ink-700); font-size: 0.98rem; margin: 0; }

/* ---------- Program rows ---------- */
.program { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.program:first-of-type { border-top: 0; padding-top: 0; }
.program--flip .program__media { order: 2; }
.program__num { display: inline-block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--red-600); margin-bottom: 0.5rem; }
.program h2, .program h3 { margin-bottom: 0.75rem; }
.program__meta { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--paper-2); border-left: 4px solid var(--navy-800); font-size: 0.95rem; }
.program__meta dt { font-weight: 700; color: var(--navy-800); }
.program__meta dd { margin: 0; color: var(--ink-700); }
.program__body ul { margin: 0 0 1.25rem; padding-left: 1.2em; color: var(--ink-700); }
.program__body li { margin-bottom: 0.3rem; }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } .program--flip .program__media { order: 0; } }

/* ---------- Program cards (home) ---------- */
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .18s var(--ease); }
.pcard:hover { border-color: var(--navy-800); color: inherit; }
.pcard__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); border-bottom: 4px solid var(--navy-800); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pcard h3 { font-size: 1.2rem; margin: 0; }
.pcard p { color: var(--ink-700); font-size: 0.98rem; margin: 0; }
.pcard__serves { font-size: 0.85rem; color: var(--ink-500); margin: 0; }
.pcard__serves strong { color: var(--navy-800); }
.pcard .text-link { margin-top: auto; padding-top: 0.75rem; }

/* ---------- Figures / photos ---------- */
.figure { margin: 0; background: var(--paper); border: 1px solid var(--line); }
.figure img { width: 100%; height: auto; }
.figure figcaption { padding: 0.65rem 0.9rem; font-size: 0.82rem; color: var(--ink-500); border-top: 1px solid var(--line); background: var(--paper-2); }
.figure--fixed img { aspect-ratio: 3 / 2; object-fit: cover; }
.figure--dark { border-color: rgba(255,255,255,.15); background: var(--navy-900); }
.figure--dark figcaption { background: var(--navy-900); color: #a9c2dd; border-color: rgba(255,255,255,.15); }

/* Placeholder for content the organization still needs to supply. Intentionally obvious. */
.placeholder {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 220px; padding: 1.5rem; border: 2px dashed var(--ink-300); color: var(--ink-500);
  background: repeating-linear-gradient(135deg, #f3f5f8 0 14px, #eaeef3 14px 28px);
}
.placeholder--media { aspect-ratio: 3 / 2; min-height: 0; }
.placeholder--wide { aspect-ratio: 16 / 9; min-height: 0; }
.placeholder__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 0.4rem; }
.placeholder p { margin: 0; font-size: 0.92rem; max-width: 34ch; }
.placeholder__icon { width: 34px; height: 34px; margin: 0 auto 0.6rem; color: var(--ink-300); }

/* ---------- Activity list (impact) ---------- */
.activity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.activity__list { list-style: none; margin: 0; padding: 0; counter-reset: act; }
.activity__list li { counter-increment: act; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.activity__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.activity__list li::before { content: counter(act, decimal-leading-zero); font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--red-600); line-height: 1; }
.activity__list h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 0.25rem; }
.activity__list p { color: #c9d6e4; font-size: 0.97rem; margin: 0; }
.activity__note { font-size: 0.9rem; color: #a9c2dd; margin-top: 1.25rem; }
@media (max-width: 860px) { .activity { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Media gallery ---------- */
.media-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 2rem; }
.media-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0.75rem 1.1rem; font: inherit; font-weight: 700; color: var(--ink-500); cursor: pointer; min-height: 48px; }
.media-tabs button[aria-selected="true"] { color: var(--navy-800); border-bottom-color: var(--red-600); }
.media-tabs button:hover { color: var(--navy-800); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.vcard { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); border: 0; padding: 0; cursor: pointer; width: 100%; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(7,26,51,.28) 0%, rgba(7,26,51,.05) 55%, rgba(7,26,51,0) 70%), linear-gradient(180deg, rgba(7,26,51,0) 60%, rgba(7,26,51,.35) 100%); transition: background-color .3s var(--ease); pointer-events: none; }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--red-600);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(7,26,51,.35), 0 0 0 6px rgba(255,255,255,.25);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.vcard__play svg { width: 28px; height: 28px; margin-left: 4px; }
.vcard__thumb:hover .vcard__play, .vcard__thumb:focus-visible .vcard__play {
  background: var(--red-600); color: #fff; transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(7,26,51,.45), 0 0 0 8px rgba(179,38,30,.3);
}
.vcard__thumb:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .vcard__play, .vcard__thumb img { transition: none; } .vcard__thumb:hover img { transform: none; } }
.vcard__body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.vcard__date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.vcard h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; margin: 0; }
.vcard p { font-size: 0.93rem; color: var(--ink-700); margin: 0; }
.vcard--soon .vcard__thumb { cursor: default; }
.vcard--soon .placeholder { aspect-ratio: 16 / 9; min-height: 0; height: 100%; border: 0; border-bottom: 2px dashed var(--ink-300); }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid .figure button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; }
.photo-grid .figure button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.photo-grid .figure button:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 4000; background: rgba(7,26,51,.94); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox__dialog { width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox__stage { background: #000; width: 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.lightbox__stage iframe, .lightbox__stage video { width: 100%; height: 100%; border: 0; }
.lightbox__stage img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lightbox__stage--photo { aspect-ratio: auto; background: transparent; }
.lightbox__stage--portrait { aspect-ratio: 9 / 16; width: auto; height: min(78vh, 760px); max-width: 100%; align-self: center; }
.lightbox__meta { color: #fff; padding: 0.9rem 0.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.lightbox__meta h2 { color: #fff; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.2rem; }
.lightbox__meta p { margin: 0; color: #c9d6e4; font-size: 0.92rem; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: #fff; color: var(--navy-800); border: 0; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--red-600); color: #fff; }
body.lightbox-open { overflow: hidden; }

/* ---------- Get involved ---------- */
.involve { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 760px) { .involve { grid-template-columns: 1fr; } }
.involve__item { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--navy-800); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.involve__item--primary { border-top-color: var(--red-600); }
.involve__item h3 { margin: 0; }
.involve__item p { color: var(--ink-700); margin: 0; }
.involve__item ul { margin: 0; padding-left: 1.2em; color: var(--ink-700); font-size: 0.97rem; }
.involve__item .btn { align-self: flex-start; margin-top: auto; }

.cta-band { background: var(--red-600); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 0.25rem; }
.cta-band p { margin: 0; color: #fff; max-width: 46em; }
.cta-band .btn--outline-light:hover { color: var(--red-600); }

/* ---------- News ---------- */
.news-list { display: grid; gap: 1.25rem; }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; }
.news-item__date { font-weight: 700; color: var(--navy-800); font-size: 0.95rem; line-height: 1.4; border-right: 1px solid var(--line); }
.news-item__date span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-600); margin-top: 0.3rem; }
.news-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.news-item p { color: var(--ink-700); margin-bottom: 0.6rem; }
.news-item--placeholder { border-style: dashed; border-color: var(--ink-300); background: var(--paper-2); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 0.75rem; } .news-item__date { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-block { border: 1px solid var(--line); padding: 1.35rem 1.5rem; background: var(--paper); margin-bottom: 1.25rem; }
.contact-block h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 0.6rem; }
.contact-block p { margin: 0; }
.contact-block a { font-weight: 600; }
.contact-block .big { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; text-decoration: none; }

.form { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--navy-800); padding: 1.75rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-500); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.7rem 0.8rem; border: 2px solid var(--ink-500); border-radius: var(--radius); background: #fff; color: var(--ink-900); min-height: 48px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--navy-800); }
.form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 4px solid var(--navy-800); background: var(--paper-2); font-size: 0.95rem; display: none; }
.form__status.is-visible { display: block; }
.form__status.is-error { border-left-color: var(--red-600); }
.form__note { font-size: 0.85rem; color: var(--ink-500); margin-top: 1rem; }

/* ---------- Definition / registration tables ---------- */
.record { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.record th, .record td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.record th { width: 34%; font-weight: 700; color: var(--navy-800); background: var(--paper-2); }
.record tr:last-child th, .record tr:last-child td { border-bottom: 0; }
.record-wrap { border: 1px solid var(--line); overflow-x: auto; }
.source-note { font-size: 0.85rem; color: var(--ink-500); margin-top: 0.75rem; }

.status-list { margin: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.status-list div { display: grid; grid-template-columns: 1fr; gap: 0.1rem; }
.status-list dt { color: #a9c2dd; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.status-list dd { margin: 0; color: #fff; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--ink-700); }
.prose li { margin-bottom: 0.35rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Notice */
.notice { border: 1px solid var(--line-strong); border-left: 5px solid var(--navy-800); background: var(--paper-2); padding: 1rem 1.25rem; font-size: 0.97rem; }
.notice--dev { border-left-color: var(--red-600); }
.notice strong { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c9d6e4; margin-top: 0; border-top: 6px solid var(--red-600); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--red-600); }
.site-footer__heading { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a9c2dd; margin: 0 0 0.85rem; }
.site-footer__heading + .status-list, .site-footer address + .site-footer__heading { margin-top: 1.25rem; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 0.45rem; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer address p { margin-bottom: 0.6rem; line-height: 1.55; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.footer-brand__mark { width: 64px; height: 64px; color: #fff; flex: 0 0 auto; }
.footer-brand__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0; }
.footer-brand__legal { margin: 0; font-size: 0.85rem; color: #a9c2dd; }
.site-footer__mission { font-size: 0.95rem; max-width: 40em; }
.site-footer__small { font-size: 0.85rem; color: #a9c2dd; margin-top: 0.75rem; }
.site-footer__social { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; margin-top: 0.5rem; border: 1px solid rgba(255,255,255,.35); padding: 0.55rem 0.9rem; }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__social:hover { border-color: #fff; }
.site-footer__official { border-top: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; color: #a9c2dd; }
.site-footer__official p { margin: 0; display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.9rem 0; }
.site-footer__official-icon { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #8fb4dc; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 2rem; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Print ---------- */
@media print {
  .site-header__actions, .intro, .cta-band, .site-footer__social { display: none !important; }
  .site-header { position: static; }
  a { color: inherit; text-decoration: none; }
}


/* ==================================================================
   October 2026 presentation update: civic liquid glass.
   Appearance only. Original layout, typography, breakpoints and behavior
   are retained. Restore recovery-originals/styles.css for the exact original.
   ================================================================== */
:root {
  --radius: 8px;
  --line: #cbd7e3;
  --glass-edge: rgba(255, 255, 255, .82);
  --glass-shadow: 0 10px 28px rgba(7, 26, 51, .07), inset 0 1px 0 var(--glass-edge);
}
body { background: #fafcfe; }
.site-header {
  background: rgba(250, 253, 255, .91);
  border-bottom-color: rgba(141, 164, 185, .5);
  box-shadow: 0 4px 24px rgba(7, 26, 51, .08), inset 0 1px 0 #fff;
}
/* Filtering the pseudo-element preserves the fixed mobile drawer's viewport. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}
.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] { background: rgba(214, 228, 240, .38); }
.title-band, .page-banner, .section--navy, .involve-band {
  background: radial-gradient(ellipse at 85% 0%, rgba(100, 162, 191, .24), transparent 58%),
    linear-gradient(135deg, #0b2545, #102f4e 60%, #0b2545);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .08);
}
.section--grey { background: linear-gradient(145deg, #f0f5f9, #e8f0f5 55%, #f5f8fb); }
.btn, .menu-toggle, .lightbox__close { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(7, 26, 51, .09); }
.btn--primary { background: linear-gradient(160deg, #c13c34, #a7201b); border-color: #9b1c1c; }
.btn--primary:hover { background: linear-gradient(160deg, #a82b25, #8c1916); }
.btn--navy { background: linear-gradient(160deg, #234a6b, #0b2545); }
.btn--outline, .menu-toggle { background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(227,238,247,.65)); }
.btn--outline:hover { background: var(--navy-800); }
.btn--outline-light {
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.06));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--outline-light:hover { background: #fff; }
.tile, .news-card, .vcard, .band, .panel, .give-option, .involve__item, .contact-block, .form, .news-item {
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(242,248,252,.86));
  box-shadow: var(--glass-shadow);
}
.tile__icon { border-radius: 9px 9px 0 0; background: linear-gradient(145deg, #1d4667, #0b2545); }
.tile:nth-child(2n) .tile__icon { background: linear-gradient(145deg, #315d7b, #13365f); }
.panel--navy { background: linear-gradient(145deg, #183c5b, #0b2545); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 28px rgba(7,26,51,.12); }
.news-card__media, .vcard__thumb { border-radius: 9px 9px 0 0; }
.band, .service-map, .featured-video__player video { border-radius: 10px; }
.band__media { border-radius: 9px 0 0 9px; }
.band--flip .band__media { border-radius: 0 9px 9px 0; }
.band__media img { border-radius: inherit; }
.service-map, .featured-video__player video { box-shadow: 0 12px 30px rgba(7,26,51,.12); }
.media-tabs button { border-radius: 8px 8px 0 0; }
.media-tabs button[aria-selected="true"] { background: linear-gradient(145deg, #fff, #e7eff6); box-shadow: inset 0 1px 0 #fff; }
.field input, .field select, .field textarea { background: linear-gradient(180deg, #f5f9fc, #fff); border-radius: 6px; box-shadow: inset 0 1px 3px rgba(7,26,51,.04); }
.notice { border-radius: 8px; background: linear-gradient(120deg, #edf4f9, #f8fbfd); }
.vcard__play { background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lightbox { background: rgba(7,26,51,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lightbox__close { border-radius: 8px; }
.site-footer { background: radial-gradient(ellipse at 100% 0%, #163755, transparent 65%), #071a33; }
.site-footer__social { border-radius: 6px; background: rgba(255,255,255,.06); }
@media (min-width: 701px) {
  .slide__card--overlay { position: relative; isolation: isolate; }
  .slide__card--overlay::before {
    content: ""; position: absolute; inset: -20px; z-index: -1;
    background: linear-gradient(135deg, rgba(11,37,69,.74), rgba(11,37,69,.48));
    border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(15px) saturate(115%); backdrop-filter: blur(15px) saturate(115%);
  }
}
@media (max-width: 940px) {
  .primary-nav { background: rgba(248,252,255,.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
}
@media (max-width: 860px) {
  .band__media, .band--flip .band__media { border-radius: 9px 9px 0 0; }
}
@media (max-width: 700px) {
  .slide--full .slide__overlay { background: linear-gradient(135deg, #153853, #0b2545); }
  .slideshow__controls { background: linear-gradient(180deg, #fff, #eef4f9); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .primary-nav { background: #f8fcff; }
  .site-header::before, .primary-nav, .btn--outline-light, .vcard__play, .lightbox, .slide__card--overlay::before {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .slide__card--overlay::before { background: #0b2545; }
}
@media print {
  .site-header::before, .slide__card--overlay::before { display: none; }
  .tile, .news-card, .vcard, .band, .panel, .form, .news-item { box-shadow: none; }
}
