/* ==========================================================================
   NETWORK32 ACCESS GROUP — SITE STYLESHEET
   Veteran's Mission Ministry

   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout utilities
   5.  Accessibility (skip link, focus)
   6.  Crisis bar
   7.  Header & navigation
   8.  Buttons
   9.  Hero
   10. Tab / dossier card
   11. Entry-point cards
   12. Step sequence (five-step model)
   13. Value chips
   14. Panels (info / safety / boundary)
   15. Pull quote
   16. Fact panel (company snapshot)
   17. Checklist
   18. Data table
   19. Forms
   20. CTA band
   21. Footer
   22. Scroll reveal
   23. Responsive
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------------------- */
:root {
  /* Brand color — red, black, white, with working tones of each */
  --paper: #F6F3EC;         /* primary background, warm off-white */
  --white: #FFFFFF;         /* card / panel surfaces, pure white */
  --ink: #17140F;           /* near-black, primary text + dark sections */
  --ink-soft: #4A443C;      /* softer charcoal, secondary text on light bg */
  --red: #A6222B;           /* signal red, primary accent */
  --red-deep: #7A1A21;      /* deep red, hover / pressed states */
  --line: #DDD6C6;          /* hairline rule / borders on light bg */
  --line-dark: rgba(246, 243, 236, 0.16); /* hairline rule on dark bg */

  /* Fonts */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius: 3px;
  --radius-sm: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.2s;

  /* Shadow — used sparingly */
  --shadow-card: 0 1px 2px rgba(23, 20, 15, 0.06), 0 8px 24px rgba(23, 20, 15, 0.08);
}

/* -----------------------------------------------------------------------
   2. Reset & base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* -----------------------------------------------------------------------
   3. Typography
   ----------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--sp-2);
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.eyebrow--on-dark { color: #E8AEA9; }
.eyebrow--on-dark::before { background: #E8AEA9; }

.section-head {
  max-width: 46rem;
  margin-bottom: var(--sp-5);
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.text-muted { color: var(--ink-soft); }

.text-link { color: var(--red); font-weight: 600; }
.text-link:hover { color: var(--red-deep); }

.text-link-deep { color: var(--red-deep); font-weight: 700; }
.text-link-deep:hover { color: var(--red); }

/* -----------------------------------------------------------------------
   4. Layout utilities
   ----------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

section { position: relative; }

.section-pad { padding: var(--sp-7) 0; }
.section-pad--sm { padding: var(--sp-5) 0; }

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }

.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }
.bg-ink .text-muted { color: rgba(246, 243, 236, 0.68); }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-tight { gap: var(--sp-3); }

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

.bg-ink .divider { border-top-color: var(--line-dark); }

/* -----------------------------------------------------------------------
   5. Accessibility
   ----------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  z-index: 3000;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--sp-2);
  top: var(--sp-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}

.bg-ink a:focus-visible,
.bg-ink button:focus-visible {
  outline-color: var(--white);
}

/* -----------------------------------------------------------------------
   6. Crisis bar
   ----------------------------------------------------------------------- */
.crisis-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-dark);
}

.crisis-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  text-align: center;
}

.crisis-bar strong {
  color: var(--white);
  font-weight: 600;
}

.crisis-bar a {
  color: #F1B3AE;
  font-weight: 600;
  border-bottom: 1px solid rgba(241, 179, 174, 0.4);
}

.crisis-bar a:hover { color: var(--white); border-color: var(--white); }

/* -----------------------------------------------------------------------
   7. Header & navigation
   ----------------------------------------------------------------------- */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.brand__name span { color: var(--red); }

.brand__tag {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-list > li { position: relative; }

.nav-list a:not(.btn) {
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--speed) var(--ease);
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn).is-active {
  color: var(--white);
}

.nav-list a.is-active { box-shadow: inset 0 -2px 0 var(--red); }

.nav-caret { width: 9px; height: 9px; opacity: 0.7; transition: transform var(--speed) var(--ease); }

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-card);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
  z-index: 500;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--ink) !important;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.dropdown a:hover { background: var(--paper); color: var(--red) !important; }

.dropdown li + li { margin-top: 2px; }

/* -----------------------------------------------------------------------
   8. Buttons
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-deep); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(246, 243, 236, 0.5);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(246, 243, 236, 0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.btn-ghost-red {
  color: var(--red);
  font-weight: 700;
  padding: 0.4rem 0;
  gap: 0.4rem;
}
.btn-ghost-red:hover { color: var(--red-deep); gap: 0.6rem; }

.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }

/* -----------------------------------------------------------------------
   9. Hero
   ----------------------------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: var(--sp-7) 0 var(--sp-6);
  overflow: hidden;
  position: relative;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(166, 34, 43, 0.22), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-6);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 { color: var(--white); margin-bottom: var(--sp-3); }
.hero h1 em { color: var(--red); font-style: normal; }

.hero__sub {
  font-size: 1.15rem;
  color: rgba(246, 243, 236, 0.78);
  max-width: 34rem;
  margin-bottom: var(--sp-4);
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: var(--sp-6) 0 var(--sp-5);
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 42px 42px;
}

.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(246, 243, 236, 0.78); max-width: 42rem; }
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-4); }

.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.5);
  margin-bottom: var(--sp-3);
}

.breadcrumb a { color: rgba(246, 243, 236, 0.75); }
.breadcrumb a:hover { color: var(--white); }

/* -----------------------------------------------------------------------
   10. Tab / dossier card — signature component
   ----------------------------------------------------------------------- */
.brief-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(23, 20, 15, 0.08);
  padding: var(--sp-4) var(--sp-4) var(--sp-4);
  position: relative;
  box-shadow: var(--shadow-card);
}

.brief-card__tab {
  position: absolute;
  top: -18px;
  left: var(--sp-4);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
}

.brief-card__head {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-2);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
}

.brief-card__list { display: flex; flex-direction: column; gap: 0.7rem; }

.brief-card__row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.brief-card__row .num {
  font-family: var(--font-label);
  color: var(--red);
  font-weight: 600;
  font-size: 0.78rem;
  flex-shrink: 0;
  width: 1.4rem;
}

.brief-card__foot {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}

.brief-card__foot .status { color: var(--red); font-weight: 600; }

/* -----------------------------------------------------------------------
   11. Entry-point / general cards
   ----------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.tab-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-4);
  position: relative;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}

.tab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.tab-card__num {
  position: absolute;
  top: -14px;
  left: var(--sp-4);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  font-weight: 600;
}

.tab-card:hover .tab-card__num { background: var(--red); }

.tab-card h3 { margin-top: var(--sp-2); font-size: 1.3rem; }

.tab-card p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }

.tab-card__link {
  margin-top: var(--sp-2);
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--speed) var(--ease);
}
.tab-card:hover .tab-card__link { gap: 0.6rem; }

/* Plain service / value cards (no tab) */
.plain-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-4);
}

.plain-card h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plain-card h4 .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  flex-shrink: 0;
}

.plain-card p { color: var(--ink-soft); font-size: 0.94rem; margin-top: 0.5rem; }

/* -----------------------------------------------------------------------
   12. Step sequence (five-step model)
   ----------------------------------------------------------------------- */
.step-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.bg-white .step-strip, .bg-paper .step-strip { background: var(--line); border-color: var(--line); }

.step-strip__item {
  background: var(--ink);
  padding: var(--sp-3) var(--sp-2);
  position: relative;
}

.bg-white .step-strip__item, .bg-paper .step-strip__item { background: var(--white); }

.step-strip__num {
  font-family: var(--font-label);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--red);
  display: block;
  margin-bottom: 0.4rem;
}

.step-strip__label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.bg-white .step-strip__label, .bg-paper .step-strip__label { color: var(--ink); }

.step-strip__connector {
  position: absolute;
  top: var(--sp-3);
  right: -1px;
  color: var(--red);
  font-size: 1.1rem;
  z-index: 2;
}

.step-strip__item:last-child .step-strip__connector { display: none; }

/* Full step detail (Our Approach page) */
.step-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}

.step-detail:first-of-type { padding-top: 0; }
.step-detail:last-of-type { border-bottom: none; }

.step-detail__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.step-detail h3 { margin-bottom: 0.5rem; }
.step-detail p { color: var(--ink-soft); margin-bottom: 0; }

.step-detail__title {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.3rem;
}

/* -----------------------------------------------------------------------
   13. Value chips
   ----------------------------------------------------------------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.bg-ink .chip { border-color: var(--line-dark); color: rgba(246,243,236,0.8); }

.chip strong { color: var(--red); margin-right: 0.4rem; }

/* -----------------------------------------------------------------------
   14. Panels — info / safety / boundary
   ----------------------------------------------------------------------- */
.panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
}

.panel__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--red);
}

.panel h4 { margin-bottom: 0.4rem; }
.panel p { color: var(--ink-soft); font-size: 0.94rem; }
.panel p:last-child { margin-bottom: 0; }

.panel--safety {
  border-color: var(--red);
  border-left-width: 4px;
  background: #FBF1EF;
}

.panel--safety .panel__icon { color: var(--red); }
.panel--safety h4 { color: var(--red-deep); }

/* -----------------------------------------------------------------------
   15. Pull quote
   ----------------------------------------------------------------------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: var(--sp-4);
  max-width: 46rem;
}

.bg-ink .pull-quote { color: var(--white); border-left-color: var(--red); }

.pull-quote cite {
  display: block;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: var(--sp-2);
}

/* -----------------------------------------------------------------------
   16. Fact panel (company snapshot)
   ----------------------------------------------------------------------- */
.fact-panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.fact-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child { border-bottom: none; }

.fact-row dt {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.fact-row dd { margin: 0; color: var(--ink); }

/* -----------------------------------------------------------------------
   17. Checklist
   ----------------------------------------------------------------------- */
.checklist { display: flex; flex-direction: column; gap: var(--sp-2); }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}

.checklist li:last-child { border-bottom: none; }

.checklist .mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

/* -----------------------------------------------------------------------
   18. Data table
   ----------------------------------------------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border-bottom: none;
}

.data-table tbody tr:nth-child(odd) { background: var(--white); }
.data-table tbody tr:nth-child(even) { background: var(--paper); }

.data-table td:first-child, .data-table th:first-child { font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.table-wrap .data-table { border: none; }

/* -----------------------------------------------------------------------
   19. Forms
   ----------------------------------------------------------------------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-5);
}

.field { margin-bottom: var(--sp-3); }

.field label,
.field legend {
  display: block;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  padding: 0;
}

.field .hint { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.35rem; display: block; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 120px; }

fieldset { border: none; padding: 0; margin: 0 0 var(--sp-3); }

.radio-row, .check-row {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.radio-opt, .check-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  cursor: pointer;
}

/* .field normally sets an uppercase label style for field names — radio and
   checkbox option text should read as plain sentence-case body copy instead. */
.field .radio-opt, .field .check-opt {
  display: flex;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

.radio-opt input, .check-opt input { width: 17px; height: 17px; accent-color: var(--red); }

.safety-question {
  border: 1.5px solid var(--ink);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
  background: var(--paper);
}

.safety-question .field { margin-bottom: 0; }
.safety-question .hint { margin-bottom: 0.75rem; }

#safetyAlert {
  display: none;
  border: 2px solid var(--red);
  background: #FBF1EF;
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
}

#safetyAlert.is-visible { display: block; }

#safetyAlert h4 { color: var(--red-deep); margin-bottom: 0.5rem; }
#safetyAlert p { margin-bottom: 0.4rem; font-size: 0.95rem; }
#safetyAlert a { color: var(--red-deep); font-weight: 700; text-decoration: underline; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: var(--sp-2);
}

.confirm-panel {
  border: 2px solid var(--ink);
  background: var(--white);
  padding: var(--sp-5);
  text-align: center;
}

.confirm-panel .mark-lg {
  width: 46px;
  height: 46px;
  border: 2px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  font-size: 1.3rem;
}

/* -----------------------------------------------------------------------
   20. CTA band
   ----------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: var(--sp-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(166, 34, 43, 0.25), transparent 70%);
}

.cta-band__inner { position: relative; z-index: 1; max-width: 42rem; margin: 0 auto; padding: 0 var(--sp-4); }

.cta-band h2 { color: var(--white); }

.cta-band p { color: rgba(246, 243, 236, 0.75); margin-bottom: var(--sp-4); }

.cta-band .btn-row { justify-content: center; }

/* -----------------------------------------------------------------------
   21. Footer
   ----------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.7);
  padding-top: var(--sp-6);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4) var(--sp-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-4);
}

.footer-brand .brand__name { font-size: 1.2rem; }
.footer-brand p { font-size: 0.88rem; margin-top: var(--sp-2); max-width: 26rem; color: rgba(246, 243, 236, 0.6); }

.footer-col h5 {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: rgba(246, 243, 236, 0.7); }
.footer-col a:hover { color: var(--white); }

.footer-crisis {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.footer-crisis__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

.footer-crisis a { color: #F1B3AE; font-weight: 600; }
.footer-crisis a:hover { color: var(--white); }

.footer-legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  font-size: 0.78rem;
  color: rgba(246, 243, 236, 0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
}

.footer-legal p { margin: 0; max-width: 46rem; }

/* -----------------------------------------------------------------------
   22. Scroll reveal
   ----------------------------------------------------------------------- */
/* Scoped under .js-ready (added by main.js on load) so content is fully
   visible by default if JavaScript fails to load — progressive enhancement. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* -----------------------------------------------------------------------
   16b. Founder plate — used in place of a photo on the About page
   ----------------------------------------------------------------------- */
.founder-plate {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-4);
}

.founder-plate__mark {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  background: var(--ink);
  border-top: 4px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.founder-plate__name { margin-bottom: 0.15rem; }

.founder-plate__role {
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.founder-plate__branch {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .founder-plate { flex-direction: column; text-align: center; }
}

/* -----------------------------------------------------------------------
   16c. Rate list — "Call for Pricing" rows
   ----------------------------------------------------------------------- */
.rate-list { border: 1px solid var(--line); background: var(--white); }

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.rate-row:last-child { border-bottom: none; }

.rate-row h4 { margin: 0; font-size: 1.05rem; }
.rate-row p { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

.rate-tag {
  flex-shrink: 0;
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 0.6rem 1.1rem;
  white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.rate-tag:hover { background: var(--red); color: var(--white); }

@media (max-width: 560px) {
  .rate-row { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
  .rate-tag { align-self: stretch; text-align: center; }
}

/* -----------------------------------------------------------------------
   23. Layout utilities (spacing/alignment overrides used across pages)
   ----------------------------------------------------------------------- */
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.align-start { align-items: start; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--sp-3); }
.mt-5 { margin-top: var(--sp-5); }
.mb-4 { margin-bottom: var(--sp-4); }

.label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* -----------------------------------------------------------------------
   24. Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

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

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.5rem var(--sp-4) var(--sp-4);
    transform: translateX(100%);
    transition: transform var(--speed) var(--ease);
    z-index: 900;
    overflow-y: auto;
  }

  .main-nav.is-open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list > li { border-bottom: 1px solid var(--line-dark); }

  .nav-list a:not(.btn) { padding: 1rem 0; font-size: 1.05rem; width: 100%; }

  .nav-list a.is-active { box-shadow: none; color: var(--red); }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border-top: none;
    background: transparent;
    padding: 0 0 0.5rem 1rem;
  }

  /* .has-dropdown:hover/:focus-within .dropdown (desktop reveal rule) has
     higher specificity than the plain .dropdown reset above, and a tapped
     link naturally receives focus on mobile — so it must be neutralized
     here too, or its leftover translateX() pushes the submenu off-screen. */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    transform: none;
  }

  .has-dropdown.is-open .dropdown { display: block; }

  .dropdown a { color: rgba(246,243,236,0.8) !important; padding: 0.7rem 0; }
  .dropdown a:hover { background: none; color: var(--white) !important; }

  .nav-caret { display: none; }
  .has-dropdown > a { justify-content: space-between; }
  .has-dropdown > a .nav-caret { display: inline-block; }

  .nav-list .btn { margin-top: var(--sp-3); width: 100%; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.2rem; }
  .section-pad { padding: var(--sp-6) 0; }
  .section-pad--sm { padding: var(--sp-4) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .fact-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .step-strip { grid-template-columns: 1fr; }
  .step-strip__connector { display: none; }
  .step-detail { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-detail__num { font-size: 2rem; }
  .crisis-bar__inner { font-size: 0.74rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}
