:root {
  color-scheme: light;
  --red: #b31621;
  --red-dark: #781018;
  --red-deep: #3d080d;
  --gold: #c99a3d;
  --ink: #11151b;
  --charcoal: #1c222b;
  --muted: #66707d;
  --line: #e3e7ec;
  --paper: #f4f6f7;
  --white: #ffffff;
  --green: #294638;
  --shadow: 0 18px 50px rgba(19, 23, 29, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(201, 154, 61, 0.85);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 10px clamp(16px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.brand small strong {
  color: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
}

.nav-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.nav-pill {
  background: var(--charcoal);
  color: var(--white) !important;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a1d20;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 20, 0.9) 0%, rgba(14, 17, 20, 0.58) 50%, rgba(14, 17, 20, 0.12) 100%),
    url("/assets/hero-placeholder.svg") center / cover;
  transform: scale(1.02);
}

.home-hero .hero-media {
  background:
    linear-gradient(90deg, rgba(9, 13, 19, 0.9) 0%, rgba(9, 13, 19, 0.62) 38%, rgba(61, 8, 13, 0.1) 72%),
    url("/assets/home-hero-woodland-v2.webp") center / cover;
}

.home-hero {
  min-height: min(500px, calc(100vh - 118px));
}

.home-hero .hero-content {
  padding-top: 52px;
  padding-bottom: 52px;
}

.home-hero h1 {
  max-width: 680px;
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  line-height: 1;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 64px clamp(20px, 5vw, 56px) 84px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.8vw, 4.4rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.hero-actions,
.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.home-quick-panel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-quick-panel > article:nth-child(-n + 2) {
  grid-column: span 2;
}

.alert-panel article:first-child {
  background: var(--red-dark);
  color: var(--white);
}

.alert-panel article:first-child span,
.alert-panel article:first-child p {
  color: rgba(255, 255, 255, 0.82);
}

.quick-panel article,
.quick-panel .quick-link {
  padding: 20px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.home-quick-panel article,
.home-quick-panel .quick-link {
  min-height: 128px;
  padding: 16px clamp(16px, 2.4vw, 28px);
}

.home-quick-panel > article:nth-child(-n + 2) {
  min-height: 112px;
}

.quick-panel .quick-link {
  color: inherit;
  text-decoration: none;
}

.quick-panel .quick-link:hover {
  background: #fff9ef;
}

.home-quick-panel .quick-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.home-quick-panel .quick-action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--charcoal);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 180ms ease;
}

.home-quick-panel .quick-action::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.92), rgba(9, 12, 16, 0.66)),
    linear-gradient(180deg, rgba(179, 22, 33, 0.24), transparent);
}

.home-quick-panel .quick-action:hover {
  background: var(--charcoal);
}

.home-quick-panel .quick-action:hover::before {
  transform: scale(1.08);
}

.home-quick-panel .quick-action-recruit::before {
  background-image: url("/assets/quick-recruiting-v2.webp");
}

.home-quick-panel .quick-action-oem::before {
  background-image: url("/assets/quick-oem-v2.webp");
}

.home-quick-panel .quick-action-smoke::before {
  background-image: url("/assets/quick-smoke-detectors-v2.webp");
}

.home-quick-panel .quick-action-fire-danger::before {
  background-image: url("/assets/quick-fire-danger-v2.webp");
}

.home-quick-panel .quick-action span {
  color: var(--gold);
}

.home-quick-panel .quick-action strong {
  max-width: 240px;
  color: var(--white);
}

.home-quick-panel .fire-danger-card strong {
  font-size: 1.35rem;
  line-height: 1;
}

.home-quick-panel .quick-action p {
  max-width: 270px;
  color: rgba(255, 255, 255, 0.82);
}

.home-quick-panel .quick-action strong::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 9px;
  border-radius: 99px;
  background: var(--gold);
}

.quick-panel span,
.event-row span,
.portal-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-panel strong {
  display: block;
  font-size: 1.15rem;
}

.home-quick-panel strong {
  font-size: 1.04rem;
}

.quick-panel p,
.feature-card p,
.operations-list p,
.event-row p,
.roster-grid p,
.portal-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-quick-panel p {
  font-size: 0.92rem;
  line-height: 1.4;
}

.fire-danger-card[data-fire-danger-status="low"] strong,
.fire-danger-card[data-fire-danger-status="moderate"] strong,
.fire-danger-card[data-fire-danger-status="high"] strong,
.fire-danger-card[data-fire-danger-status="very-high"] strong,
.fire-danger-card[data-fire-danger-status="extreme"] strong {
  color: var(--white);
}

.fire-danger-card[data-fire-danger-status="low"] strong::after {
  background: #4d9f5b;
}

.fire-danger-card[data-fire-danger-status="moderate"] strong::after {
  background: var(--gold);
}

.fire-danger-card[data-fire-danger-status="high"] strong::after,
.fire-danger-card[data-fire-danger-status="very-high"] strong::after,
.fire-danger-card[data-fire-danger-status="extreme"] strong::after {
  background: var(--red);
}

.section {
  padding: 56px clamp(18px, 4vw, 56px);
}

.not-found {
  min-height: 58vh;
  display: grid;
  align-content: center;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.not-found p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
}

.not-found .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.intro,
.split-section,
.contact-section,
.fundraising,
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.intro p:last-child,
.section-heading p,
.split-section p,
.fundraising p,
.contact-section p,
.portal-hero p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.card-grid,
.operations-list,
.event-row,
.roster-grid,
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.operations-list article,
.event-row article,
.roster-grid article,
.portal-grid article,
.inquiry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.06);
}

.home-mission {
  background: #eef1ed;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--charcoal);
  color: var(--white);
}

.service-strip article {
  min-height: 260px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.service-strip span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--gold);
  font-weight: 900;
}

.service-strip h2 {
  max-width: 360px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.service-strip p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.recruit-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(61, 8, 13, 0.92), rgba(120, 16, 24, 0.96)),
    linear-gradient(90deg, var(--red-deep), var(--red));
  color: var(--white);
}

.recruit-feature p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.recruit-feature .button {
  background: var(--gold);
  color: var(--ink);
}

.page-hero {
  padding: 58px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero.dark-page-hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apparatus-page-hero {
  background:
    linear-gradient(90deg, rgba(17, 21, 27, 0.9), rgba(17, 21, 27, 0.58)),
    url("/assets/apparatus-2911.jpg") center 48% / cover;
  color: var(--white);
}

.auxiliary-page-hero {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.9) 0%, rgba(9, 12, 16, 0.62) 42%, rgba(9, 12, 16, 0.18) 100%),
    url("/assets/auxiliary-hero-v2.webp") center / cover;
  color: var(--white);
}

.page-hero.auxiliary-page-hero h1 {
  color: var(--white);
}

.page-hero.auxiliary-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.auxiliary-page-hero img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  justify-self: end;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.page-hero.apparatus-page-hero h1 {
  color: var(--white);
}

.page-hero.apparatus-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.apparatus-feature,
.home-fleet {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
}

.apparatus-feature {
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.apparatus-feature > div {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-start;
}

.apparatus-feature-list {
  display: grid;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 52px);
}

.apparatus-feature-reverse img {
  order: 2;
}

.apparatus-feature-reverse > div {
  order: 1;
}

.apparatus-feature img,
.home-fleet img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.apparatus-feature img {
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.apparatus-feature p:not(.eyebrow),
.home-fleet p:not(.eyebrow) {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.apparatus-feature h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.08;
}

.apparatus-feature .button {
  align-self: start;
  margin: 2px 0 14px;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.station-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.06);
}

.station-grid span,
.spec-list dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.station-grid h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.station-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 0;
}

.spec-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.spec-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.apparatus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.apparatus-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.06);
}

.apparatus-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--charcoal);
}

.apparatus-card div {
  padding: 22px;
}

.apparatus-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.apparatus-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-fleet {
  padding: 56px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.equipment-section {
  display: grid;
  gap: 22px;
  background: var(--paper);
}

.equipment-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.equipment-detail p:not(.eyebrow) {
  color: var(--muted);
}

.equipment-detail p:last-child {
  margin-bottom: 0;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.dark-page-hero,
.recruit-hero,
.fundraising-page-hero {
  background: var(--ink);
  color: var(--white);
}

.dark-page-hero h1,
.recruit-hero h1,
.fundraising-page-hero h1 {
  color: var(--white);
}

.dark-page-hero p:not(.eyebrow),
.recruit-hero p:not(.eyebrow),
.fundraising-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.operations-page-hero {
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.94) 0%, rgba(9, 12, 16, 0.7) 46%, rgba(9, 12, 16, 0.2) 100%),
    url("/assets/operations-hero-v2.webp") center / cover;
}

.roster-page-hero {
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.94) 0%, rgba(9, 12, 16, 0.72) 48%, rgba(9, 12, 16, 0.24) 100%),
    url("/assets/roster-hero-v2.webp") center / cover;
}

.contact-page-hero {
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.94) 0%, rgba(9, 12, 16, 0.7) 48%, rgba(9, 12, 16, 0.2) 100%),
    url("/assets/contact-hero-v2.webp") center / cover;
}

.recruit-hero {
  background: linear-gradient(135deg, #171a20 0%, #641111 100%);
}

.fundraising-page-hero {
  background: var(--red-dark);
}

.detail-band {
  background: #eef1ed;
}

.smoke-page-hero {
  background: linear-gradient(135deg, var(--ink), var(--red-dark));
  color: var(--white);
}

.smoke-page-hero h1 {
  color: var(--white);
}

.smoke-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.smoke-program {
  background: var(--white);
}

.safety-note {
  margin-top: 28px;
  padding: 20px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
}

.safety-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.safety-note p {
  margin-bottom: 0;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guidance-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.guidance-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guidance-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card {
  overflow: hidden;
}

.feature-card h3,
.feature-card p {
  padding-inline: 20px;
}

.feature-card h3 {
  margin-top: 20px;
}

.feature-card p {
  padding-bottom: 22px;
}

.card-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.engine {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)), url("/assets/apparatus-placeholder.svg");
}

.tanker {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)), url("/assets/apparatus-placeholder.svg");
  background-position: center;
}

.rescue {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)), url("/assets/operations-placeholder.svg");
  background-position: center;
}

.operations-band {
  background: var(--ink);
  color: var(--white);
}

.operations-band .section-heading p,
.operations-list p {
  color: rgba(255, 255, 255, 0.72);
}

.operations-list article {
  padding: 24px;
  background: #242832;
  border-color: rgba(255, 255, 255, 0.12);
}

.role-list {
  margin-top: 26px;
}

.role-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #e8ece7;
  color: var(--green);
  font-weight: 800;
}

.join-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  background: var(--white);
}

.join-intro p:not(.eyebrow) {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
}

.join-callout {
  padding: 26px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
}

.join-callout span,
.role-path-grid span,
.step-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.join-callout strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.join-callout p {
  margin-bottom: 0;
  color: var(--muted);
}

.role-path-section {
  background: var(--paper);
}

.role-path-grid,
.expectation-grid,
.step-list {
  display: grid;
  gap: 18px;
}

.role-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-path-grid article,
.expectation-grid article,
.step-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.role-path-grid h3,
.expectation-grid h3 {
  margin-bottom: 10px;
}

.role-path-grid p,
.expectation-grid p,
.step-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.join-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--charcoal);
  color: var(--white);
}

.join-band h2 {
  max-width: 420px;
}

.join-band .expectation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.join-band .expectation-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.join-band .expectation-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.join-apply {
  background: var(--white);
}

.step-list {
  margin-top: 28px;
}

.step-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
}

.inquiry-card {
  padding: 24px;
}

.inquiry-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.interest-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.interest-fieldset legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.interest-fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 38px;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.interest-fieldset input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 800;
}

.form-note.is-error {
  color: var(--red);
}

.auxiliary {
  background: #eef1ed;
}

.event-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-section {
  background: var(--white);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.calendar-panel,
.event-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.06);
}

.calendar-panel {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-header h3 {
  margin-bottom: 0;
}

.calendar-nav {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekday,
.calendar-day {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.calendar-weekday {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  border: 0;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
}

.calendar-day.has-event {
  color: var(--ink);
  cursor: pointer;
}

.calendar-day.has-event::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  transform: translateX(-50%);
}

.calendar-day.has-event:hover,
.calendar-day.is-selected {
  outline: 2px solid var(--red);
  outline-offset: 0;
}

.calendar-day:disabled {
  cursor: default;
}

.calendar-day-muted {
  background: transparent;
}

.event-list {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.event-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  min-height: 102px;
  padding: 14px;
  background: var(--white);
}

.event-item time {
  display: grid;
  align-content: center;
  min-height: 58px;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.event-item time span,
.event-item div > span {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-item time span {
  color: var(--gold);
}

.event-item time strong {
  font-size: 1.35rem;
}

.event-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-item div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
}

.event-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.calendar-selected-event {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.calendar-selected-event span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-selected-event h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.calendar-selected-event p {
  margin-bottom: 6px;
  color: var(--muted);
}

.calendar-selected-event p:last-child {
  margin-bottom: 0;
}

.calendar-empty {
  margin: 0;
  padding: 22px;
  background: var(--white);
  color: var(--muted);
}

.event-row article,
.roster-grid article,
.portal-grid article {
  padding: 24px;
}

.auxiliary-roster-section {
  background: var(--white);
}

.auxiliary-member-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.auxiliary-member-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.auxiliary-member-list strong,
.auxiliary-member-list span {
  display: block;
}

.auxiliary-member-list strong {
  margin-bottom: 4px;
}

.auxiliary-member-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.auxiliary-gallery-section {
  background: var(--paper);
}

.photo-carousel {
  display: grid;
  grid-auto-columns: minmax(260px, 34vw);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.photo-carousel article,
.image-carousel img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.06);
  scroll-snap-align: start;
}

.image-carousel {
  grid-auto-columns: minmax(280px, 38vw);
}

.image-carousel img {
  width: 100%;
  height: 310px;
  display: block;
  object-fit: cover;
}

.photo-carousel strong,
.photo-carousel span {
  display: block;
  padding-inline: 18px;
}

.photo-carousel strong {
  padding-top: 16px;
}

.photo-carousel span {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.fundraising {
  align-items: center;
  background: var(--red-dark);
  color: var(--white);
}

.fundraising p {
  color: rgba(255, 255, 255, 0.82);
}

.fundraising .button {
  justify-self: start;
  background: var(--gold);
  color: var(--ink);
}

.avatar {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.roster-photo,
.member-avatar {
  object-fit: cover;
}

.roster-member-card {
  display: grid;
  grid-template-columns: 104px 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 142px;
  padding: 16px;
}

.roster-member-photo {
  display: grid;
  width: 104px;
  height: 110px;
  place-items: center;
  object-fit: cover;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 21, 27, 0.78), rgba(179, 22, 33, 0.5)),
    var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roster-member-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
}

.roster-member-card h3 {
  margin-bottom: 4px;
}

.member-avatar {
  width: 58px;
  height: 58px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--ink);
}

.roster-admin-summary {
  display: flex;
  gap: 14px;
  align-items: center;
}

.roster-admin-summary .avatar {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--red);
  font-weight: 900;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .emergency-line {
  margin-top: 6px;
  color: var(--white);
  font-weight: 900;
}

.footer-contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.65;
  text-align: right;
}

.footer-contact a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.member-page {
  background: #f3f5f4;
}

.portal-hero {
  min-height: 440px;
  padding: 62px clamp(18px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, #181b21, #722020);
  color: var(--white);
}

.portal-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.portal-hero .inquiry-card {
  color: var(--ink);
}

.auth-card p:not(.form-note):not(.eyebrow) {
  color: var(--muted);
}

.auth-card strong {
  color: var(--ink);
}

.portal-role-line {
  margin-top: -8px;
}

.google-auth-button {
  width: 100%;
}

.denied-card {
  border-left: 5px solid var(--gold);
}

.portal-dashboard {
  padding: 56px clamp(18px, 4vw, 56px) 68px;
  background: var(--paper);
}

.portal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-dashboard .portal-grid {
  padding: 0;
}

.portal-role-section {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.portal-section-heading {
  max-width: 760px;
}

.portal-section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-section-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.portal-section-heading p {
  color: var(--muted);
}

.auxiliary-portal-section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.auxiliary-portal-grid article {
  border-left: 5px solid var(--gold);
}

.portal-tool-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.tool-nav-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tool-nav-button.is-active {
  background: var(--charcoal);
  color: var(--white);
}

.portal-tool-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.portal-tool-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-tool-panel p {
  color: var(--muted);
}

.portal-tool {
  display: grid;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 23, 29, 0.05);
}

.event-manager-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
}

.member-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.member-calendar-layout:has([data-fire-event-form]:not([hidden])) {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recurrence-fieldset {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.recurrence-fieldset legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.toggle-label {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  color: var(--ink) !important;
}

.toggle-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.form-actions,
.event-manager-list-header,
.admin-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.event-manager-list-header {
  justify-content: space-between;
  margin-bottom: 16px;
}

.event-manager-list-header h3 {
  margin-bottom: 0;
}

.admin-event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.admin-event-item:first-child {
  border-top: 0;
}

.admin-event-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-event-item h4 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.admin-event-item p {
  margin: 0;
  color: var(--muted);
}

.danger-button {
  color: var(--red);
}

.portal-access-note {
  padding: 40px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.portal-access-note > div {
  max-width: 780px;
}

.portal-access-note p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 65px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .member-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .quick-panel,
  .intro,
  .split-section,
  .contact-section,
  .fundraising,
  .recruit-feature,
  .apparatus-feature,
  .home-fleet,
  .station-grid,
  .equipment-detail,
  .calendar-layout,
  .auxiliary-page-hero,
  .event-manager-layout,
  .member-calendar-layout,
  .portal-hero,
  .join-intro,
  .join-band,
  .role-path-grid,
  .join-band .expectation-grid,
  .guidance-grid,
  .auxiliary-member-list,
  .card-grid,
  .operations-list,
  .apparatus-grid,
  .portal-grid,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .apparatus-feature-reverse img,
  .apparatus-feature-reverse > div {
    order: initial;
  }

  .apparatus-feature {
    min-height: auto;
  }

  .auxiliary-page-hero img {
    max-width: 220px;
    justify-self: start;
  }

  .apparatus-feature img {
    height: auto;
    min-height: 0;
  }

  .hero-content {
    padding-top: 96px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 76px 20px 64px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .section {
    padding: 44px 20px;
  }

  .image-carousel {
    grid-auto-columns: minmax(240px, 84vw);
  }

  .image-carousel img {
    height: 240px;
  }

  .page-hero {
    padding: 44px 20px;
  }

  .event-row,
  .field-row,
  .roster-grid,
  .station-grid,
  .spec-list,
  .apparatus-grid,
  .event-item,
  .interest-fieldset {
    grid-template-columns: 1fr;
  }

  .admin-event-item {
    grid-template-columns: 1fr;
  }

  .step-list article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-contact {
    text-align: left;
  }
}
