/* ==========================================================================
   Spokane Pole Building Co. — Design System Stylesheet
   Tokens: bg #F4F1E8 (raw lumber/straw cream) · surface #FFFFFF ·
   surface-alt #EAE3D3 (deeper wheat) · ink #23262B (charcoal steel) ·
   primary #35505E (gunmetal steel-teal) · accent #C99A3D (harvest wheat
   gold) · cta #963A2C (barn oxide red, buttons only)
   Fonts: Big Shoulders Display (display, condensed industrial caps,
   700-800) · Source Sans 3 (body, 400/600)
   Signature: repeating vertical corrugated-steel-rib line motif — section
   dividers, hero scrims, 6px card top-edge accents — plus a single-weight
   line-art post-and-truss gable mark used as the brand icon.
   ========================================================================== */

:root {
  --bg: #F4F1E8;
  --surface: #FFFFFF;
  --surface-alt: #EAE3D3;
  --ink: #23262B;
  --ink-soft: #5B5E63;
  --primary: #35505E;
  --primary-raised: #40606F;
  --primary-line: rgba(255, 255, 255, 0.14);
  --primary-text-soft: rgba(255, 255, 255, 0.78);
  --accent: #C99A3D;
  --accent-dark: #A87D2B;
  --cta: #963A2C;
  --cta-dark: #7C2F22;
  --rib: rgba(35, 38, 43, 0.08);
  --rib-on-dark: rgba(255, 255, 255, 0.09);
  --line: #DED5BC;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 2px;
  --shadow-card: 0 18px 40px -22px rgba(35, 38, 43, 0.35);
  --shadow-panel: 0 24px 60px -28px rgba(20, 24, 28, 0.55);
}

/* ---------- 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; }
img:not([src]), img[src=""] { visibility: hidden; }

a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-transform: none;
}
h1 { font-size: clamp(2.5rem, 2.1rem + 1.7vw, 3.6rem); text-transform: uppercase; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.8rem, 1.55rem + 1vw, 2.4rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; text-transform: none; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
strong { color: var(--ink); }
ul, ol { padding-left: 1.25em; color: var(--ink-soft); }
li { margin-bottom: 0.45em; }

:focus-visible {
  outline: 3px 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(--accent); color: #1A1300;
  padding: 12px 20px; z-index: 300;
  font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Honeypot field: visually hidden off-screen, never display:none */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mono-label, .eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
}
.eyebrow--on-dark, .mono-label--on-dark { color: var(--accent); }

/* ---------- Section rhythm ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--primary); color: #fff; }
.section-dark p { color: var(--primary-text-soft); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-header { max-width: 640px; margin-bottom: 42px; }
.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s ease, transform .1s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--cta); color: #fff; border-color: var(--cta); }
.btn-cta:hover { background: var(--cta-dark); color: #fff; border-color: var(--cta-dark); }
.btn-outline-primary { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-lg { padding: 20px 38px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 100; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { flex-shrink: 0; color: var(--primary); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.005em; text-transform: uppercase; line-height: 1.05; }
.brand:hover { color: var(--ink); }
.brand:hover .brand-mark { color: var(--accent-dark); }

/* Primary illustrated identity. Keep the original wordmark in the
   accessibility tree while the generated portfolio lockup is visible. */
.site-header .brand {
  position: relative; display: block; width: 100px; height: 68px; flex: 0 0 100px;
  background: url("/assets/logo.webp") left center / contain no-repeat;
}
.site-header .brand > * {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.primary-nav > ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li > a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.94rem;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.primary-nav > ul > li > a:hover { color: var(--primary); border-bottom-color: var(--accent); }

.nav-dropdown { position: relative; }
.dropdown-panel {
  display: none; position: absolute; top: 100%; left: -16px; margin-top: 4px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  min-width: 240px; padding: 8px; list-style: none; z-index: 50;
}
.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 12px; color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.dropdown-panel a:hover { background: var(--bg); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  text-decoration: none; color: var(--ink); font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.005em;
}
.header-phone-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 2px;
}
.header-phone:hover { color: var(--primary); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 8px; cursor: pointer; color: var(--ink);
}
.mobile-nav { display: none; }

@media (max-width: 880px) {
  .site-header .brand { width: 79px; height: 54px; flex-basis: 79px; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone { font-size: 1.02rem; }
  .mobile-nav {
    display: block; max-height: 0; overflow: hidden; background: var(--primary);
    transition: max-height .28s ease;
  }
  .mobile-nav.is-open { max-height: 680px; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 20px; }
  .mobile-nav li { margin: 0; border-bottom: 1px solid var(--primary-line); }
  .mobile-nav a { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-weight: 600; }
  .mobile-nav-call { color: var(--accent) !important; font-family: var(--font-display); font-weight: 800 !important; }
}

/* ---------- Rib-panel divider (signature motif) ---------- */
.rib-divider {
  height: 7px; width: 100%; border: 0; margin: 0; flex-shrink: 0;
  background-image: repeating-linear-gradient(90deg, var(--rib) 0px, var(--rib) 2px, transparent 2px, transparent 9px);
  background-color: var(--accent);
}
.rib-divider--on-dark {
  background-image: repeating-linear-gradient(90deg, var(--rib-on-dark) 0px, var(--rib-on-dark) 2px, transparent 2px, transparent 9px);
}

/* ---------- Homepage hero (poster-first, video-ready) ---------- */
.hero {
  position: relative; background: var(--primary); color: #fff;
  overflow: hidden; min-height: 600px; display: flex; align-items: stretch;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #3D5C6C 0%, #2A414C 65%, #23343D 100%); }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media video { z-index: 1; }
.hero-rib {
  position: absolute; inset: 0; z-index: 1;
  background-image: repeating-linear-gradient(115deg, rgba(0,0,0,.16) 0px, rgba(0,0,0,.16) 2px, transparent 2px, transparent 22px);
  mix-blend-mode: multiply;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(35,42,47,.92) 0%, rgba(35,42,47,.78) 40%, rgba(35,42,47,.45) 70%, rgba(35,42,47,.28) 100%);
}
.hero-inner {
  position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0 72px; min-height: 600px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.hero-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,154,61,0.22);
}
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 18px; }
.hero-sub { max-width: 48ch; font-size: 1.12rem; color: var(--primary-text-soft); margin-bottom: 32px; }
.hero-quote-card {
  background: var(--surface); color: var(--ink); padding: 26px 28px; max-width: 420px;
  border-top: 6px solid var(--cta); box-shadow: var(--shadow-panel); margin-bottom: 4px;
}
.hero-quote-card .mono-label { margin-bottom: 10px; }
.hero-quote-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.hero-quote-card p { font-size: 0.94rem; margin-bottom: 18px; }
.hero-phone-callout {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--primary); text-decoration: none;
  letter-spacing: -0.005em; margin-bottom: 14px;
}
.hero-phone-callout:hover { color: var(--cta); }

/* ---------- Interior page hero band ---------- */
.page-hero { background: var(--primary); color: #fff; padding: 56px 0 48px; }
.page-hero .eyebrow--on-dark { margin-bottom: 14px; }
.page-hero h1 { color: #fff; max-width: 24ch; margin-bottom: 14px; }
.page-hero-sub { max-width: 62ch; color: var(--primary-text-soft); font-size: 1.05rem; margin-bottom: 24px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--bg); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; }
.breadcrumbs li { margin: 0; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--accent-dark); font-weight: 700; }
.breadcrumbs a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.86rem; color: var(--ink);
}
.trust-item svg { color: var(--accent-dark); flex-shrink: 0; }

@media (max-width: 880px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service / building-type cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.service-card-top { height: 6px; background: var(--accent); background-image: repeating-linear-gradient(90deg, var(--rib) 0px, var(--rib) 2px, transparent 2px, transparent 9px); }
.service-photo { aspect-ratio: 4/3; background: linear-gradient(135deg, #3D5C6C, #23343D); overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-icon-frame {
  aspect-ratio: 4/3; background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.service-icon-frame svg { color: var(--accent); }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card-body .mono-label { margin-bottom: 10px; color: var(--primary); }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { flex: 1; }
.card-link {
  color: var(--ink); font-weight: 700; text-decoration: none; font-size: 0.9rem;
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px;
}
.card-link:hover { color: var(--cta); }

@media (max-width: 1020px) { .card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Two-column content + capability panel ---------- */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 52px; align-items: start; }
.two-col .prose p { font-size: 1.02rem; }
.capability-panel {
  background: var(--primary); color: #fff; padding: 28px; position: sticky; top: 100px;
}
.capability-panel .mono-label { color: var(--accent); margin-bottom: 16px; }
.capability-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.capability-list li {
  padding: 12px 14px; background: var(--primary-raised); border-left: 3px solid var(--accent);
  font-size: 0.92rem; color: var(--primary-text-soft); font-weight: 500;
}

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .capability-panel { position: static; }
}

/* ---------- Numbered process strip ---------- */
.process-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.process-step { position: relative; padding-top: 8px; }
.process-index {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem;
  color: var(--accent-dark); line-height: 1; margin-bottom: 12px;
}
.process-step h3 { margin-bottom: 8px; }

@media (max-width: 780px) { .process-strip { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Cost table ---------- */
.cost-table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); }
.cost-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.cost-table th, .cost-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.cost-table th { background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.85rem; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table td:first-child, .cost-table th:first-child { font-weight: 700; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--surface); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 4px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: #1A1300; background: var(--accent); width: 30px; height: 30px; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2715"; }
.faq-answer { padding: 0 4px 22px; max-width: 68ch; }
.faq-answer p { margin: 0 0 0.9em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; }
.cta-band-inner {
  padding: 54px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 24ch; }
.cta-band p { color: var(--primary-text-soft); margin: 0; max-width: 46ch; }

@media (max-width: 780px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--primary-text-soft); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 46px; padding: 54px 0 38px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-phone { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--accent); text-decoration: none; margin-bottom: 4px; }
.footer-phone:hover { color: #fff; }
.footer-phone-block .mono-label { color: var(--primary-text-soft); font-weight: 600; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav .mono-label { color: var(--accent); margin-bottom: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--primary-text-soft); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-coverage { font-size: 0.88rem; margin: 0; }

.footer-disclosure {
  border-top: 1px solid var(--primary-line); padding-top: 22px; font-size: 0.82rem;
  color: rgba(255,255,255,0.6); max-width: 82ch;
}
.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.4); padding-bottom: 26px; margin: 4px 0 0; }

@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile sticky bar (60% Call / 40% Quote, direction-aware) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; height: 58px; background: var(--primary);
  border-top: 2px solid var(--accent);
  transform: translateY(100%); transition: transform .22s 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;
  text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.92rem;
}
.sticky-call { flex: 0 0 60%; background: var(--cta); color: #fff; }
.sticky-quote { flex: 0 0 40%; color: #fff; border-left: 2px solid var(--primary-raised); background: var(--primary); }

@media (min-width: 861px) { .sticky-bar { display: none !important; } }

/* ---------- Forms ---------- */
.lead-form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 13px 14px;
  font-family: var(--font-body); font-size: 1rem; background: var(--surface); color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin: 4px 0 0; }
.form-note a { color: var(--primary); font-weight: 700; }

/* ---------- Service area list page ---------- */
.area-block { padding: 38px 0; border-bottom: 1px solid var(--line); }
.area-block:last-child { border-bottom: 0; }
.area-block h2 { margin-bottom: 12px; }
.area-block .mono-label { display: block; margin-bottom: 10px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .reveal {
      opacity: 1; transform: none; transition: none;
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
      animation-delay: calc(var(--i, 0) * 80ms);
    }
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- About / Contact layout ---------- */
.standards-list { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.standards-list li {
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  font-weight: 600; color: var(--ink); font-size: 0.95rem;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-call-block { background: var(--primary); color: #fff; padding: 30px; }
.contact-call-block .mono-label { color: var(--accent); }
.contact-call-block .footer-phone { font-size: 1.9rem; margin: 12px 0 16px; }
.steps-recap { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; }
.steps-recap li { padding: 12px 0 12px 44px; position: relative; border-top: 1px solid var(--line); font-size: 0.95rem; }
.steps-recap li:first-child { border-top: 0; }
.steps-recap li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 10px; width: 28px; height: 28px;
  background: var(--accent); color: #1A1300; font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero-inner { padding: 88px 0 60px; }
  .footer-nav { grid-template-columns: 1fr; }
}
