/* ==========================================================================
   Spokane Snow Pros — Design System Stylesheet
   Tokens: bg #F4F8FB · surface #FFFFFF · ink #101826
   primary #0B2545 (midnight navy) · cta #C81E3A (cardinal) · accent #1D6FA5 (steel blue)
   glacier #BFE1F0 (decorative only)
   Fonts: Outfit (display) · Work Sans (body) · IBM Plex Mono (operational labels)
   ========================================================================== */

:root {
  --bg: #F4F8FB;
  --surface: #FFFFFF;
  --surface-frost: rgba(255, 255, 255, 0.55);
  --surface-frost-strong: rgba(255, 255, 255, 0.72);
  --ink: #101826;
  --ink-soft: #3C4A5C;
  --primary: #0B2545;
  --primary-soft: #16345E;
  --cta: #C81E3A;
  --cta-dark: #A0172E;
  --accent: #1D6FA5;
  --accent-soft: #4A8CBB;
  --glacier: #BFE1F0;
  --line: #D7E4EC;

  --font-display: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --container: 1180px;
  --radius: 0px;
  --shadow-card: 0 18px 40px -22px rgba(11, 37, 69, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(11, 37, 69, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--cta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
strong { color: var(--ink); }

ul, ol { padding-left: 1.3em; color: var(--ink-soft); }
li { margin-bottom: 0.5em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 13px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Mono operational labels ---------- */
.eyebrow, .mono-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow--on-dark { color: var(--glacier); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(191, 225, 240, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--glacier); }
.brand svg { flex-shrink: 0; }
.brand-logo {
  width: auto; height: 52px;
  filter: drop-shadow(0 0 1px rgba(244,248,251,0.7)) drop-shadow(0 0 6px rgba(244,248,251,0.3));
}

.primary-nav {
  display: none;
}
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}
.primary-nav a {
  color: #E6EEF4;
  text-decoration: none;
  font-weight: 500;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--glacier); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: middle; opacity: 0.7; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 250px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--primary-soft);
  border: 1px solid rgba(191, 225, 240, 0.25);
  box-shadow: var(--shadow-card);
}
.nav-dropdown:hover > .dropdown-panel,
.nav-dropdown:focus-within > .dropdown-panel { display: block; }
.dropdown-panel li { margin: 0; }
.dropdown-panel a { display: block; padding: 10px 18px; font-size: 14px; }
.dropdown-panel a::after { content: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--glacier);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: #fff; }

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 2px solid rgba(191, 225, 240, 0.5);
  color: #fff;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  background: var(--primary-soft);
  border-top: 1px solid rgba(191, 225, 240, 0.25);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: #E6EEF4;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(191, 225, 240, 0.12);
}
.mobile-nav a:hover { color: var(--glacier); }

@media (min-width: 900px) {
  .primary-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-phone { display: inline-flex; }
  .brand-logo { height: 68px; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  padding: 14px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--line);
}
.breadcrumbs li[aria-current] { color: var(--ink); }

/* ==========================================================================
   Buttons — sharp corners, steel-blue inner hairline
   ========================================================================== */
.btn {
  --hairline: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 16px 26px;
  cursor: pointer;
  box-shadow: inset 0 0 0 var(--hairline) var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-cta {
  background: var(--cta);
  color: #fff;
}
.btn-cta:hover { background: var(--cta-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary), inset 0 0 0 5px var(--accent);
  padding: 14px 24px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7), inset 0 0 0 5px var(--accent);
  padding: 14px 24px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.75) hue-rotate(-4deg);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(11, 37, 69, 0.94) 0%,
    rgba(11, 37, 69, 0.86) 22%,
    rgba(29, 111, 165, 0.55) 46%,
    rgba(11, 37, 69, 0.35) 68%,
    rgba(11, 37, 69, 0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 76px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(191, 225, 240, 0.14);
  border: 1px solid rgba(191, 225, 240, 0.4);
  padding: 7px 14px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 3px rgba(200, 30, 58, 0.25);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  color: #fff;
  max-width: 15ch;
  margin-bottom: 0.3em;
}
.hero-sub {
  color: #DDEAF2;
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.6em;
}
.hero-panel {
  background: var(--surface-frost);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 26px;
  color: var(--ink);
  max-width: 400px;
}
.hero-panel h2 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4em;
}
.hero-panel p { font-size: 0.92rem; margin-bottom: 1em; color: var(--ink-soft); }
.hero-panel form { display: grid; gap: 10px; }
.hero-panel input, .hero-panel select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 12px;
  border: 1px solid #B9C9D6;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
}
.hero-panel input:focus, .hero-panel select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Snowfall — hero only, decorative, disabled under reduced motion */
.snowfall { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.snowfall span {
  position: absolute;
  top: -10%;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  animation: snow-drift linear infinite;
}
@keyframes snow-drift {
  0% { transform: translate(0, -10vh) translateX(0); opacity: 0; }
  8% { opacity: 0.9; }
  100% { transform: translate(30px, 115vh) translateX(-10px); opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  .snowfall { display: none; }
}

@media (min-width: 860px) {
  .hero-inner { padding: 84px 0 108px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 60px; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--primary-soft);
  border-top: 1px solid rgba(191,225,240,0.2);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(191,225,240,0.18);
}
.trust-item {
  background: var(--primary-soft);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #EAF3F8;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-item svg { flex-shrink: 0; color: var(--glacier); }
@media (min-width: 760px) {
  .trust-strip .container { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-header { max-width: 68ch; margin-bottom: 36px; }
.section-header p { font-size: 1.02rem; }
.section-alt { background: var(--surface); }
.section-navy { background: var(--primary); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #CFDFEA; }
.section-frost {
  background: linear-gradient(180deg, var(--glacier) 0%, var(--bg) 100%);
}

/* ==========================================================================
   Cards with corner-bracket signature marks
   ========================================================================== */
.bracket-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.bracket-card::before,
.bracket-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.bracket-card::before {
  top: -1px; left: -1px;
  border-top-width: 2px;
  border-left-width: 2px;
}
.bracket-card::after {
  bottom: -1px; right: -1px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card .photo-frame { margin: -28px -24px 20px; }
.service-card h3 { margin-bottom: 0.35em; }
.service-card .mono-label { display: block; margin-bottom: 10px; }
.service-card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.stat-block { text-align: left; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
  display: block;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Process cards */
.process-card { display: flex; gap: 16px; align-items: flex-start; }
.process-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Photo framing with cool-blue grading */
.photo-frame { position: relative; overflow: hidden; background: var(--primary); }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(0.98) hue-rotate(-3deg);
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(29,111,165,0.28), rgba(11,37,69,0.06) 60%);
  mix-blend-mode: multiply;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 12px; max-width: 78ch; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-item .faq-answer {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--primary);
  color: #fff;
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(29,111,165,0.35), transparent 55%);
}
.cta-band .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 0.25em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: #CFDFEA; margin-bottom: 0; max-width: 48ch; }

.cta-band-alert {
  background: var(--cta);
}
.cta-band-alert::before { background: linear-gradient(115deg, rgba(11,37,69,0.35), transparent 55%); }
.cta-band-alert p { color: #FBE2E6; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
}
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid #C6D4DF;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary);
  color: #C9DAE5;
  padding: 56px 0 28px;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-col h4 {
  color: var(--glacier);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #C9DAE5; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--glacier); }
.footer-phone {
  font-family: var(--font-mono);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}
.footer-disclosure {
  border-top: 1px solid rgba(191,225,240,0.18);
  padding-top: 24px;
  font-size: 12.5px;
  color: #9FB8C8;
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 18px;
  font-size: 12.5px;
  color: #7E99AA;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   Mobile sticky CTA bar
   ========================================================================== */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--primary);
  border-top: 1px solid var(--accent);
  display: flex;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar.is-hidden-scroll { transform: translateY(100%); }
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.sticky-bar .sticky-call {
  width: 65%;
  background: var(--cta);
  color: #fff;
}
.sticky-bar .sticky-quote {
  width: 35%;
  background: transparent;
  color: #fff;
  box-shadow: inset 2px 0 0 var(--accent);
}
@media (min-width: 860px) {
  .sticky-bar { display: none !important; }
}

/* ==========================================================================
   Misc content blocks
   ========================================================================== */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.two-col-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .two-col-content { grid-template-columns: 1.4fr 1fr; }
}
.callout {
  background: var(--glacier);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  margin: 1.4em 0;
  color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--ink); }

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

.area-card { display: flex; flex-direction: column; gap: 8px; }
.area-card h3 { margin-bottom: 0; }

.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0; }
.badge-list li {
  list-style: none;
  margin: 0;
  background: var(--glacier);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.table-wrap { overflow-x: auto; margin: 1.4em 0; }
table { border-collapse: collapse; width: 100%; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Page hero (interior pages, no photo) */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(29,111,165,0.5), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: #D7E6EE; max-width: 62ch; font-size: 1.05rem; }

@media (min-width: 860px) {
  .section { padding: 88px 0; }
  .section-tight { padding: 60px 0; }
}

/* ============================================================
   Tier 1 — video-ready hero (poster stays the LCP element; the
   video lazy-loads behind it and cross-fades in once playable)
   ============================================================ */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.75) hue-rotate(-4deg);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__video.is-playing { opacity: 1; }

/* ============================================================
   Tier 2 — scroll reveals
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    animation-delay: calc(var(--i, 0) * 80ms);
  }
}
@keyframes reveal-in { to { opacity: 1; transform: none; } }
.js-visible { opacity: 1 !important; transform: none !important; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Parallax-lite on the homepage hero photo/video */
@supports (animation-timeline: scroll()) {
  .hero-media {
    animation: hero-parallax linear both;
    animation-timeline: scroll();
    animation-range: 0 100vh;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-media { animation: none; }
  }
}
@keyframes hero-parallax {
  from { transform: translateY(-4%) scale(1.08); }
  to { transform: translateY(4%) scale(1.08); }
}
