/* ============================================
   Clay Fire Department — Shared Stylesheet
   ============================================ */

:root {
  --paper: #FFFFFF;
  --paper-warm: #F5F5F3;
  --paper-deep: #ECECE8;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --ink-mute: #6B6B6B;
  --fire: #C8221A;
  --fire-deep: #8F1812;
  --rule: rgba(10, 10, 10, 0.12);
  --rule-soft: rgba(10, 10, 10, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.018; mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ===== Emergency Bar ===== */
.emergency {
  background: var(--ink); color: var(--paper);
  padding: 12px 0; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; z-index: 60;
}
.emergency .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.emergency .left { display: flex; align-items: center; gap: 10px; }
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--fire); animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 34, 26, 0.7); }
  50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(200, 34, 26, 0); }
}
.emergency a.call { color: var(--fire); font-weight: 900; }
.emergency .right { color: rgba(255, 255, 255, 0.55); font-size: 11px; }

/* ===== Nav ===== */
nav.main {
  padding: 22px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
nav.main .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 16px; }
.logo-mark {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
}
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 17px; line-height: 1.1; letter-spacing: -0.005em; }
.logo-text small {
  display: block; font-family: 'Outfit', sans-serif;
  font-weight: 900; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 4px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 900; letter-spacing: -0.008em;
  transition: color 0.15s; color: var(--ink);
}
.nav-links a:hover { color: var(--fire); }
.nav-links a.active { color: var(--fire); }
.nav-cta {
  background: var(--ink) !important; color: var(--paper) !important;
  padding: 13px 24px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--fire) !important; }

/* Narrow-desktop guard: keep the bigger nav from crowding the logo */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { padding: 12px 18px; font-size: 12px; }
}

/* Dropdown for About menu */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -16px; margin-top: 16px;
  background: var(--paper); border: 1px solid var(--rule);
  padding: 10px 0; min-width: 200px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 22px; font-size: 13.5px;
  white-space: nowrap;
}

/* ===== Eyebrow ===== */
.eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: var(--ink-mute); display: inline-block;
}

/* ===== Buttons ===== */
.btn-primary {
  background: var(--fire); color: var(--paper) !important;
  padding: 19px 32px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--fire-deep); transform: translateY(-1px); }
.btn-secondary {
  background: var(--ink); color: var(--paper) !important;
  padding: 19px 32px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--fire); }
.btn-link {
  font-size: 13px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  transition: all 0.2s;
}
.btn-link:hover { color: var(--fire); border-color: var(--fire); }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900; margin-bottom: 32px;
}
.page-hero .breadcrumb a:hover { color: var(--fire); }
.page-hero .breadcrumb span { margin: 0 8px; opacity: 0.4; }
.page-hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.94; letter-spacing: -0.032em;
}
.page-hero h1 em {
  font-style: normal; color: var(--fire); font-weight: 900;
}
.page-hero .lede {
  font-size: 22px; line-height: 1.5;
  color: var(--ink-soft); max-width: 680px;
  margin-top: 36px; font-weight: 400;
}

/* ===== Sections ===== */
section { padding: 110px 0; position: relative; }
.section-title {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 0.98; letter-spacing: -0.028em;
  max-width: 920px; margin-top: 24px;
}
.section-title em { font-style: normal; color: var(--fire); font-weight: 900; }
.section-title.alt em { color: inherit; }

/* ===== Footer ===== */
footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .logo-text { color: var(--paper); }
.footer-brand p {
  margin-top: 24px; font-size: 14px; line-height: 1.65;
  max-width: 340px;
}

/* Facebook button in footer — simple, solid, on-brand blue */
.footer-grid a.fb-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 17px 30px;
  background: #1877F2;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 0.2s;
}
.footer-grid a.fb-btn:hover {
  background: #1462CC;
  color: #FFFFFF;
}

.footer-grid h6 {
  color: var(--paper); font-family: 'Outfit', sans-serif;
  font-weight: 900; font-size: 16px; margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.footer-grid a {
  display: block; padding: 5px 0; font-size: 14px;
  color: rgba(255, 255, 255, 0.65); transition: color 0.15s;
}
.footer-grid a:hover { color: var(--fire); }
.footer-bottom {
  margin-top: 70px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Form Elements ===== */
.form-grid { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 16px 18px; border: 1px solid var(--rule);
  background: var(--paper); font-family: inherit; font-size: 15px;
  color: var(--ink); transition: border-color 0.15s;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--fire);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ===== Homepage Hero ===== */
.hero { padding: 96px 0 110px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 80px; align-items: center; }
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.92; letter-spacing: -0.035em; margin-top: 36px;
}
.hero h1 em {
  font-style: normal; color: var(--fire);
  font-weight: 900;
}
.hero .lede {
  font-size: 22px; line-height: 1.5;
  color: var(--ink-soft); max-width: 580px;
  margin-top: 40px; font-weight: 400;
}
.hero-actions {
  margin-top: 48px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}

/* Hero card */
.hero-card {
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20, 17, 13, 0.4);
}
.hero-card-img {
  width: 100%; aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  position: relative;
}
.hero-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.6) 100%);
}
.hero-card-body { padding: 36px 38px 40px; position: relative; }
.hero-card-body::before {
  content: "01 / 04"; position: absolute; top: -22px; right: 28px;
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 900;
  font-size: 13px; color: var(--fire); letter-spacing: 0.06em;
  background: var(--ink); padding: 6px 12px;
}
.hero-card .label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fire); font-weight: 900;
}
.hero-card h3 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 38px; line-height: 1.02; margin-top: 14px;
  letter-spacing: -0.022em;
}
.hero-card h3 em { font-style: normal; color: var(--fire); font-weight: 900; }
.hero-card p {
  font-size: 16px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.78); margin-top: 20px;
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats .num {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 56px; line-height: 1; letter-spacing: -0.035em;
}
.hero-stats .lab {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); margin-top: 10px; font-weight: 900;
}

/* ===== Why / Feature cards ===== */
.why { background: var(--paper-warm); }
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.why-head p {
  font-size: 19px; color: var(--ink-soft); line-height: 1.55;
  max-width: 480px; margin-left: auto; font-weight: 400;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 80px; border-top: 1px solid var(--rule);
}
.why-card {
  padding: 48px 32px 56px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.why-card:last-child { border-right: none; }
.why-card .num {
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 900;
  font-size: 72px; line-height: 1; color: var(--fire); letter-spacing: -0.045em;
}
.why-card h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 30px; margin-top: 28px; line-height: 1.08;
  letter-spacing: -0.018em;
}
.why-card h4 em { font-style: normal; color: var(--fire); font-weight: 900; }
.why-card p {
  color: var(--ink-soft); font-size: 17px; line-height: 1.55;
  margin-top: 16px;
}

/* ===== Triptych ===== */
.triptych {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 4px;
  padding: 0; background: var(--ink);
}
.triptych-img {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  position: relative;
}
.triptych-img:nth-child(1) { aspect-ratio: 3 / 2.4; }
.triptych-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.55) 100%);
}
.triptych-cap {
  position: absolute; bottom: 22px; left: 24px; right: 24px;
  z-index: 2; color: var(--paper);
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 900;
  font-size: 17px; letter-spacing: -0.005em;
}
.triptych-cap small {
  display: block; font-family: 'Outfit', sans-serif;
  font-style: normal; font-size: 10px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fire); margin-bottom: 8px;
}

/* Triptych: tablet — 2 columns with first spanning */
@media (max-width: 1024px) {
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych-img:nth-child(1) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .triptych-img:nth-child(2),
  .triptych-img:nth-child(3) { aspect-ratio: 4 / 3; }
}

/* Triptych: mobile — single column, shorter aspect to avoid huge empty boxes */
@media (max-width: 640px) {
  .triptych { grid-template-columns: 1fr; gap: 2px; }
  .triptych-img,
  .triptych-img:nth-child(1) {
    aspect-ratio: 5 / 3;
    min-height: 200px;
    grid-column: auto;
  }
  .triptych-cap { font-size: 14px; bottom: 14px; left: 16px; right: 16px; }
  .triptych-cap small { font-size: 9px; margin-bottom: 6px; }
}

/* ===== Stats ===== */
.stats { background: var(--paper); padding: 70px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 14px 28px; border-right: 1px solid var(--rule); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; padding-right: 0; }
.stat .num {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(64px, 7.4vw, 104px); line-height: 0.92;
  letter-spacing: -0.045em;
}
.stat .num sup {
  font-size: 0.32em; font-weight: 900; vertical-align: baseline;
  color: var(--fire); margin-left: 4px;
  position: relative; top: -0.7em;
  line-height: 0;
}
.stat .lab {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 18px; font-weight: 900;
}

/* ===== Mission ===== */
.mission { background: var(--ink); color: var(--paper); }
.mission .eyebrow { color: var(--fire); }
.mission .eyebrow::before { background: var(--fire); }
.mission-quote {
  font-family: 'Outfit', sans-serif; font-weight: 900; font-style: normal;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16; letter-spacing: -0.018em;
  max-width: 1020px; margin-top: 60px; color: var(--paper);
}
.mission-quote::before {
  content: "“"; font-size: 1em; color: var(--fire);
  margin-right: 4px; line-height: 0;
}
.mission-attr {
  margin-top: 44px; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fire); font-weight: 900;
  display: flex; align-items: center; gap: 14px;
}
.mission-attr::before {
  content: ""; width: 32px; height: 1px;
  background: var(--fire); display: inline-block;
}

/* ===== Apparatus ===== */
.apparatus-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.apparatus-head .meta {
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 400;
  font-size: 22px; color: var(--ink-mute); margin-left: auto;
  max-width: 420px; line-height: 1.4;
}
.apparatus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 72px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.app-cell {
  padding: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.app-cell:hover { background: var(--paper-warm); }
.app-cell:hover .app-cell-img { transform: scale(1.03); }
.app-cell-img {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  background-color: var(--paper-warm);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.app-cell-body {
  padding: 28px 32px 36px;
  flex: 1;
}
.app-cell .num {
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 400;
  font-size: 12px; color: var(--ink-mute); letter-spacing: 0.18em;
  text-transform: uppercase;
}
.app-cell h5 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 30px; margin-top: 12px; line-height: 1.05;
  letter-spacing: -0.018em;
}
.app-cell .qty {
  font-family: 'Outfit', sans-serif; font-style: normal;
  color: var(--fire); font-weight: 900;
}
.app-cell p {
  color: var(--ink-soft); font-size: 16px;
  margin-top: 14px; line-height: 1.55;
}

/* ===== Recruit CTA ===== */
.recruit { background: var(--fire); color: var(--paper); position: relative; overflow: hidden; }
.recruit::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence baseFrequency='0.85' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
}
.recruit-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center; position: relative; }
.recruit .eyebrow { color: rgba(255, 255, 255, 0.85); }
.recruit .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
.recruit-image {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  background-color: rgba(0,0,0,0.2);
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  min-height: 320px;
}
.recruit-image-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.85) 100%);
  color: var(--paper); padding: 80px 28px 24px;
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 900;
  font-size: 19px;
}
.recruit-image-cap small {
  display: block; font-family: 'Outfit', sans-serif;
  font-style: normal; font-size: 10px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 10px; opacity: 0.85;
}
.recruit h2 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: 0.94; letter-spacing: -0.032em; margin-top: 24px;
}
.recruit h2 em { font-style: normal; color: var(--paper); font-weight: 900; }
.recruit p {
  margin-top: 32px; font-size: 20px; line-height: 1.5;
  max-width: 540px; opacity: 0.94;
}
.recruit-btn {
  display: inline-block; background: var(--ink); color: var(--paper) !important;
  padding: 22px 38px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 40px; transition: all 0.2s;
}
.recruit-btn:hover { background: var(--paper); color: var(--ink) !important; }
.recruit-list { list-style: none; }
.recruit-list li {
  padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 17px; font-weight: 900; display: flex; align-items: center; gap: 16px;
}
.recruit-list li::before {
  content: "→"; color: var(--paper);
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 900;
}
.recruit-list li:last-child { border-bottom: none; }

/* ===== Stations ===== */
.stations { background: var(--paper); }
.stations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 70px; }
.station {
  padding: 44px 40px; background: var(--paper-warm);
  position: relative; border: 1px solid var(--rule-soft);
}
@media (max-width: 640px) {
  .station { padding: 32px 26px 28px; }
}
.station-num {
  position: absolute; top: 28px; right: 36px;
  font-family: 'Outfit', sans-serif; font-style: normal;
  font-weight: 900; color: var(--fire); font-size: 72px;
  line-height: 1; letter-spacing: -0.045em;
}
@media (max-width: 640px) {
  .station-num {
    top: 20px; right: 22px;
    font-size: 52px;
  }
}
@media (max-width: 420px) {
  .station-num {
    top: 16px; right: 18px;
    font-size: 40px;
    opacity: 0.55;
  }
}
.station .label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900;
}
.station h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 38px; margin-top: 12px; line-height: 1;
  letter-spacing: -0.02em;
}
.station address {
  font-style: normal; margin-top: 28px; font-size: 17px;
  line-height: 1.65; color: var(--ink-soft);
}
.station .phone {
  display: inline-block; margin-top: 22px;
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 30px; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  letter-spacing: -0.01em;
}
.station .phone:hover { color: var(--fire); border-color: var(--fire); }

/* ===== Timeline (History) ===== */
.timeline { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 60px; border-top: 1px solid var(--rule); }
.timeline-item {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 60px; padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.timeline-year {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 56px; line-height: 0.95; color: var(--fire);
  letter-spacing: -0.04em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* Long text labels (Mid Century, Two Stations, Today) wrap to next line at smaller size */
.timeline-year.short { font-size: 60px; }
.timeline-content h3 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.015em;
}
.timeline-content p {
  margin-top: 16px; font-size: 17px; line-height: 1.6;
  color: var(--ink-soft); max-width: 680px;
}

/* ===== Multi-step Application Form ===== */
.msform-wrap {
  background: var(--paper); color: var(--ink);
  margin-top: 56px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
  position: relative; z-index: 2;
}
.msform-progress {
  padding: 28px 40px 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.msform-progress-bar {
  height: 6px;
  background: rgba(10, 10, 10, 0.08);
  position: relative;
  overflow: hidden;
}
.msform-progress-fill {
  height: 100%;
  background: var(--fire);
  width: 16.66%;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.msform-progress-text {
  margin-top: 14px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.msform-step-label {
  color: var(--ink);
  border-left: 1px solid var(--rule);
  padding-left: 16px;
}
.msform { padding: 48px 40px 16px; }
.msform-step { display: none; }
.msform-step.active { display: block; }
.msform-step-title {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1; letter-spacing: -0.022em;
  margin-bottom: 12px;
}
.msform-step-desc {
  color: var(--ink-soft); font-size: 17px; line-height: 1.5;
  margin-bottom: 36px; max-width: 580px;
}
.msform-subsection {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 22px; margin-top: 16px; margin-bottom: 4px;
  letter-spacing: -0.012em;
  padding-top: 28px; border-top: 1px solid var(--rule);
}
.msform .form-grid { gap: 20px; }
.msform .form-helper {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-soft); margin-top: -2px; margin-bottom: 6px;
}
.msform .form-helper strong { color: var(--ink); }

/* Radio rows and stacks */
.radio-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 4px;
}
.radio-stack {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 4px;
}
.radio-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; cursor: pointer; padding: 10px 0;
  font-weight: 500;
}
.radio-label input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--fire);
}
.radio-note { color: var(--ink-mute); font-size: 13px; }

/* Contact group */
.contact-group {
  background: var(--paper-warm);
  padding: 24px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-group-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fire); font-weight: 900;
}

/* Form note (privacy etc) */
.form-note {
  background: var(--paper-warm);
  border-left: 3px solid var(--fire);
  padding: 16px 20px;
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft);
}
.form-note strong { color: var(--ink); font-weight: 900; }

/* Certification blocks */
.cert-block {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.cert-block:first-child { border-top: none; padding-top: 0; }
.cert-text {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper-warm);
  padding: 20px 22px;
  margin: 16px 0 24px;
  border-left: 3px solid var(--fire);
}

/* Invalid field highlight */
.field-invalid {
  border-color: var(--fire) !important;
  background: rgba(200, 34, 26, 0.04);
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* Navigation buttons */
.msform-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px 40px;
  background: var(--paper);
  border-top: 1px solid var(--rule); margin-top: 32px;
  gap: 16px; flex-wrap: wrap;
}
.msform-btn {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 32px;
  border: none; cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.msform-btn-back {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.msform-btn-back:hover { background: var(--ink); color: var(--paper); }
.msform-btn-next {
  background: var(--fire); color: var(--paper);
  margin-left: auto;
}
.msform-btn-next:hover { background: var(--fire-deep); }
.msform-btn-submit {
  background: var(--ink); color: var(--paper);
  margin-left: auto; padding: 20px 40px;
}
.msform-btn-submit:hover { background: var(--fire); }

/* Mobile adjustments */
@media (max-width: 640px) {
  .msform-progress { padding: 20px 24px 18px; }
  .msform { padding: 32px 24px 16px; }
  .msform-step-title { font-size: 26px; }
  .msform-step-desc { font-size: 16px; margin-bottom: 24px; }
  .msform-subsection { font-size: 19px; padding-top: 24px; }
  .contact-group { padding: 18px; }
  .cert-text { padding: 16px 18px; font-size: 13.5px; }
  .msform-nav { padding: 18px 24px 28px; }
  .msform-btn { padding: 16px 22px; font-size: 12px; flex: 1; min-width: 120px; }
  .msform-progress-text { font-size: 10px; gap: 10px; }
  .msform-step-label { padding-left: 10px; }
  .radio-row { gap: 16px; }
}

/* ===== Application form (on red bg) ===== */
.app-form {
  margin-top: 56px;
  max-width: 760px;
  background: var(--paper);
  padding: 48px 40px;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
@media (max-width: 640px) {
  .app-form {
    padding: 32px 24px;
    margin-top: 40px;
  }
}

/* ===== Requirement List (numbered with description) ===== */
.req-list { list-style: none; }
.req-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.req-list li:last-child { border-bottom: none; }
.req-list .req-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--fire);
  line-height: 1;
}
.req-list .req-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
  line-height: 1.15;
}
.req-list .req-desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 540px) {
  .req-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; }
  .req-list .req-num { font-size: 24px; }
  .req-list .req-title { font-size: 18px; }
  .req-list .req-desc { font-size: 15px; }
}

/* ===== Personnel grid ===== */
.personnel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 60px;
}
@media (max-width: 980px) {
  .personnel-grid { gap: 20px; }
}
@media (max-width: 640px) {
  .personnel-grid { grid-template-columns: 1fr; }
}
.person {
  background: var(--paper-warm);
  border: 1px solid var(--rule-soft);
  padding: 32px;
}
.person .role {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fire); font-weight: 900;
}
.person h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 28px; margin-top: 14px; line-height: 1.05;
  letter-spacing: -0.018em;
}
.person .meta {
  margin-top: 12px; font-family: 'Outfit', sans-serif; font-style: normal;
  color: var(--ink-mute); font-size: 16px;
}

/* ===== Memorial cards ===== */
.memorial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 60px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.memorial-card {
  padding: 48px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
@media (max-width: 540px) {
  .memorial-grid { grid-template-columns: 1fr; }
}
.memorial-card {
  position: relative;
}
.memorial-card::before {
  content: ""; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--fire);
}
.memorial-card h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 32px; margin-top: 20px; line-height: 1.05;
  letter-spacing: -0.018em;
}
.memorial-card .dates {
  margin-top: 12px; font-family: 'Outfit', sans-serif; font-style: normal;
  color: var(--ink-mute); font-size: 17px;
}
.memorial-card .role {
  margin-top: 18px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 900;
}

/* ===== Two column content ===== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.two-col.image-left { grid-template-columns: 1fr 1fr; }
.two-col img,
.two-col .img {
  width: 100%; aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  background-color: var(--paper-warm);
  min-height: 320px;
}
.two-col h3 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1; letter-spacing: -0.025em;
}
.two-col h3 em { font-style: normal; color: var(--fire); font-weight: 900; }
.two-col p {
  margin-top: 24px; font-size: 17px; line-height: 1.6;
  color: var(--ink-soft); max-width: 540px;
}
.two-col p + p { margin-top: 18px; }

/* ===== FAQ ===== */
.faq { margin-top: 60px; border-top: 1px solid var(--rule); }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0; cursor: pointer;
}
.faq-item summary {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.012em;
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--fire);
  font-family: 'Outfit', sans-serif; font-weight: 400; font-size: 32px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 18px; color: var(--ink-soft); font-size: 17px;
  line-height: 1.6; max-width: 760px;
}

/* ===== Rate callout (hall rental headline pricing) ===== */
.rate-callout {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 0;
  margin-top: 60px;
  border: 1px solid var(--rule);
}
.rate-callout-main {
  background: var(--ink); color: var(--paper);
  padding: 56px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.rate-callout-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fire); font-weight: 900;
}
.rate-callout-price {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(80px, 11vw, 144px);
  line-height: 1; letter-spacing: -0.04em;
  margin-top: 20px;
}
.rate-callout-detail {
  padding: 56px 48px;
}
.rate-callout-detail p {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-soft);
}
.rate-callout-detail p + p { margin-top: 18px; }
.rate-callout-detail strong { color: var(--ink); font-weight: 900; }
.rate-payment-note { padding-top: 18px; border-top: 1px solid var(--rule); }
@media (max-width: 768px) {
  .rate-callout { grid-template-columns: 1fr; }
  .rate-callout-main { padding: 40px 32px; }
  .rate-callout-detail { padding: 32px; }
  .rate-callout-price { font-size: clamp(72px, 22vw, 100px); }
}

/* ===== Pricing / Rates ===== */
.rates {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 60px; border: 1px solid var(--rule);
}
.rate {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
}
.rate:last-child { border-right: none; }
.rate .label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 900;
}
.rate h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 24px; margin-top: 12px; line-height: 1.1;
  letter-spacing: -0.012em;
}
.rate .price {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 56px; margin-top: 24px; line-height: 1;
  letter-spacing: -0.035em;
}
.rate .price em {
  font-style: normal; color: var(--fire); font-weight: 900;
}
.rate .price small {
  display: block; font-family: 'Outfit', sans-serif;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 12px; font-weight: 900;
}

/* ===== Process / Steps ===== */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px;
  border-top: 1px solid var(--rule);
}
.step {
  padding: 40px 28px 48px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.step:last-child { border-right: none; }
.step .num {
  font-family: 'Outfit', sans-serif; font-style: normal; font-weight: 900;
  font-size: 56px; line-height: 1; color: var(--fire);
  letter-spacing: -0.04em;
}
.step h5 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 22px; margin-top: 22px; line-height: 1.15;
  letter-spacing: -0.012em;
}
.step p {
  margin-top: 12px; color: var(--ink-soft); font-size: 15.5px;
  line-height: 1.55;
}

/* ===== Site-wide Emergency Banner ===== */
.emergency-banner {
  background: var(--fire); color: var(--paper);
  padding: 64px 0; position: relative; overflow: hidden;
  text-align: center;
}
.emergency-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence baseFrequency='0.85' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
}
.emergency-banner .container { position: relative; z-index: 2; }
.emergency-banner h2 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1; letter-spacing: -0.025em;
}
.emergency-banner h2 em {
  font-style: normal; color: var(--paper); font-weight: 900;
  border-bottom: 3px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
}
.emergency-banner p {
  margin-top: 18px; font-size: 17px; opacity: 0.94;
  max-width: 600px; margin-left: auto; margin-right: auto;
  line-height: 1.5;
}
.emergency-banner a {
  display: inline-block; margin-top: 28px;
  background: var(--ink); color: var(--paper) !important;
  padding: 18px 36px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.2s;
}
.emergency-banner a:hover { background: var(--paper); color: var(--ink) !important; }

/* ===== Helmet Colors (color-coded cards, no helmet shapes) ===== */
.helmets {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 60px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.helmet {
  padding: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
}
.helmet-swatch {
  height: 96px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.helmet-swatch::after {
  content: attr(data-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.24em;
}
.helmet-swatch-white { background: linear-gradient(180deg, #FAFAFA 0%, #ECECEC 100%); border-bottom: 1px solid var(--rule); }
.helmet-swatch-white::after { color: var(--ink); }
.helmet-swatch-red { background: linear-gradient(180deg, #D43027 0%, #9F1B14 100%); }
.helmet-swatch-red::after { color: var(--paper); }
.helmet-swatch-yellow { background: linear-gradient(180deg, #F4C82E 0%, #C99A0F 100%); }
.helmet-swatch-yellow::after { color: var(--ink); }
.helmet-swatch-black { background: linear-gradient(180deg, #2A2A2A 0%, #0A0A0A 100%); }
.helmet-swatch-black::after { color: var(--paper); }
.helmet-swatch-blue { background: linear-gradient(180deg, #1F5FB0 0%, #133D72 100%); }
.helmet-swatch-blue::after { color: var(--paper); }
.helmet-body {
  padding: 28px 28px 32px;
  flex: 1;
}
.helmet h5 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.012em;
}
.helmet p {
  margin-top: 12px; font-size: 14.5px; line-height: 1.5;
  color: var(--ink-soft);
}
.helmet-junior-callout {
  margin-top: 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex; align-items: stretch;
}
.helmet-junior-callout .helmet-swatch {
  width: 110px; flex-shrink: 0; height: auto;
}
.helmet-junior-callout-text {
  padding: 22px 28px; flex: 1;
}
.helmet-junior-callout-text strong {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 19px; display: block;
}
.helmet-junior-callout-text span {
  display: block; margin-top: 6px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.5;
}

/* ===== Pull Quote / Big Stat Block ===== */
.pull-stat {
  background: var(--ink); color: var(--paper);
  padding: 110px 0; position: relative; overflow: hidden;
}
.pull-stat .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pull-stat .big-num {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85; letter-spacing: -0.05em; color: var(--fire);
}
.pull-stat .big-num small {
  display: block; font-family: 'Outfit', sans-serif;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 900; margin-top: 24px;
}
.pull-stat h2 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-style: normal;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12; letter-spacing: -0.018em;
}
.pull-stat p {
  margin-top: 28px; font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.78); max-width: 480px;
}

/* ===== Priorities (1-2-3 ordered list) ===== */
.priorities {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--rule);
}
.priority {
  padding: 48px 36px 56px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.priority:last-child { border-right: none; }
.priority .order {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-style: normal;
  font-size: 18px; color: var(--fire);
  letter-spacing: 0.06em;
}
.priority h4 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 36px; margin-top: 18px; line-height: 1.05;
  letter-spacing: -0.022em;
}
.priority p {
  margin-top: 18px; color: var(--ink-soft); font-size: 16px;
  line-height: 1.55;
}

/* Helmets responsive */
@media (max-width: 980px) {
  .helmets { grid-template-columns: repeat(2, 1fr); }
  .priorities { grid-template-columns: 1fr; }
  .priority { border-right: none; }
  .pull-stat .container { grid-template-columns: 1fr; gap: 24px; }
  .pull-stat { padding: 60px 0; }
  .pull-stat .big-num {
    font-size: clamp(160px, 38vw, 240px);
    line-height: 0.85;
  }
  .pull-stat .big-num small {
    font-size: 14px; margin-top: 16px;
  }
  .pull-stat h2 { font-size: clamp(30px, 7vw, 44px); }
  .pull-stat p { font-size: 17px; max-width: 100%; }
}
@media (max-width: 540px) {
  .helmets { grid-template-columns: 1fr; }
  .helmet { border-right: none; }
}
@media (max-width: 980px) {
  .hero-grid, .recruit-grid, .stations-grid, .why-head, .apparatus-head, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .apparatus-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { border-right: 1px solid var(--rule); }
  .why-card:nth-child(2n) { border-right: none; }
  .app-cell { border-right: 1px solid var(--rule); }
  .app-cell:nth-child(2n) { border-right: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat { border-right: none; padding: 14px 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 24px; }
  .stat:nth-child(even) { padding-left: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .recruit-image { aspect-ratio: 4 / 3; }
  .nav-links a:not(.nav-cta) { display: none; }
  .why-head p { margin-left: 0; }
  .apparatus-head .meta { margin-left: 0; }
  section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .timeline-item { grid-template-columns: 200px 1fr; gap: 30px; }
  .timeline-year { font-size: 44px; }
  .personnel-grid, .memorial-grid, .rates, .process { grid-template-columns: repeat(2, 1fr); }
  .rate, .step { border-right: 1px solid var(--rule); }
  .rate:nth-child(2n), .step:nth-child(2n) { border-right: none; }
  .memorial-card { border-right: 1px solid var(--rule); }
  .memorial-card:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 48px 0 60px; }
}

/* True mobile collapse */
@media (max-width: 640px) {
  .why-grid, .apparatus-grid { grid-template-columns: 1fr; }
  .why-card, .app-cell { border-right: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .personnel-grid, .memorial-grid, .rates, .process { grid-template-columns: 1fr; }
  .memorial-card, .rate, .step { border-right: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  section { padding: 60px 0; }
}
@media (max-width: 540px) {
  .container { padding: 0 22px; }
  .emergency .right { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none !important; padding: 18px 0 !important; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Polish layer: motion, focus, selection ===== */

/* Smooth in-page scrolling (anchors, form step jumps) */
html { scroll-behavior: smooth; }

/* Brand text selection */
::selection { background: var(--fire); color: #FFFFFF; }

/* Visible, on-brand keyboard focus (a11y) */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fire);
  outline-offset: 2px;
  border-radius: 1px;
}

/* Sticky nav gains depth once the page scrolls */
nav.main { transition: box-shadow 0.25s ease; }
nav.main.scrolled { box-shadow: 0 10px 34px -22px rgba(10, 10, 10, 0.35); }

/* Scroll-reveal: only when JS is running; invisible-content risk = zero */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .app-cell:hover .app-cell-img { transform: none; }
  .pulse { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
