/* v=2 */
/* Just Enterprise One Corp. — shared site styles */
:root {
  --ink: oklch(0.22 0.02 250);
  --ink-2: oklch(0.32 0.02 250);
  --ink-soft: oklch(0.48 0.015 250);
  --paper: oklch(0.97 0.005 80);
  --paper-2: oklch(0.94 0.008 80);
  --paper-3: oklch(0.90 0.01 80);
  --line: oklch(0.86 0.012 80);
  --line-dark: oklch(0.30 0.02 250);
  --accent: oklch(0.62 0.15 45);
  --accent-ink: oklch(0.38 0.12 45);
  --accent-soft: oklch(0.92 0.04 55);
  --shadow: 0 1px 2px rgba(20,24,40,0.06), 0 12px 28px -18px rgba(20,24,40,0.18);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(40px, 5.5vw, 78px); }
h2 { font-size: clamp(30px, 3.8vw, 52px); }
h3 { font-size: clamp(20px, 1.9vw, 26px); }
p { margin: 0; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-feature-settings: "zero"; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* ─── Announcement strip ─── */
.announce { background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: 0.04em; }
.announce-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 24px; }
.announce .pill { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; opacity: 0.85; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px oklch(0.62 0.15 45 / .2); }
.announce .right { display: flex; gap: 28px; align-items: center; opacity: 0.85; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 720px) { .announce .right { display: none; } }

/* ─── Header ─── */
header.site { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
header.site.scrolled { background: oklch(0.97 0.005 80 / 0.88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
/* Header spans full viewport width — override .container centering */
header.site .container.nav { max-width: none; padding: 0 clamp(20px, 3vw, 48px); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: max-content; justify-self: start; }
.brand-mark { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: transparent; border: 1px solid var(--line); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .n1 { font-family: "Instrument Serif", serif; font-size: 20px; white-space: nowrap; }
.brand-name .n2 { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

nav.primary { display: flex; justify-content: center; gap: 6px; justify-self: center; grid-column: 2; }
nav.primary > .nav-item { position: relative; }
nav.primary a.nav-link, nav.primary button.nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink); padding: 10px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; cursor: pointer; font-family: inherit; transition: background .15s;
  white-space: nowrap; word-break: normal; overflow-wrap: normal;
}
nav.primary a.nav-link:hover, nav.primary button.nav-link:hover, nav.primary .nav-item.open button.nav-link { background: var(--paper-2); }
nav.primary a.nav-link.current { color: var(--accent-ink); }
nav.primary .caret { width: 10px; height: 10px; opacity: .5; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 14px; min-width: 520px;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 60;
}
.dropdown::before {
  content: ''; position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.dropdown.wide { min-width: 720px; }
.nav-item.open .dropdown { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown .dd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.dropdown.wide .dd-grid { grid-template-columns: repeat(3, 1fr); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink); transition: background .12s; }
.dropdown a:hover { background: var(--paper-2); color: var(--accent-ink); }
.dropdown .dd-head { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 12px 4px; }

.nav-right { display: flex; align-items: center; gap: 14px; grid-column: 3; justify-self: end; }

/* Mobile phone icon button (shown ≤768px, replaces hidden phone-pill) */
.phone-btn-mobile {
  display: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.phone-btn-mobile:hover { background: oklch(0.58 0.16 45); }
@media (max-width: 768px) { .phone-btn-mobile { display: inline-flex; } }
.phone-pill { display: inline-flex; align-items: center; gap: 7px; font-family: "Geist Mono", monospace; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; white-space: nowrap; flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper-2); transition: border-color 0.15s, background 0.15s; }
.phone-pill:hover { border-color: var(--accent); background: var(--paper); }
.phone-pill .ph-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.phone-pill .ph-label { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); display: block; line-height: 1; margin-bottom: 2px; }
.phone-pill .ph-num { font-weight: 600; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: 14.5px; cursor: pointer; border: 0; font-family: inherit; transition: transform .12s, background .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: oklch(0.58 0.16 45); }
.btn-primary .arrow { transition: transform .2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-dark); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-lg { padding: 17px 28px; font-size: 15.5px; }
.btn-onDark { background: var(--accent); color: #fff; }
.btn-onDark-ghost { background: transparent; color: var(--paper); border: 1px solid oklch(0.45 0.02 250); }
.btn-onDark-ghost:hover { background: oklch(0.32 0.02 250); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
@media (max-width: 1080px) { nav.primary { display: none; } .menu-toggle { display: inline-flex; } .phone-pill .ph-label { display: none; } }
@media (max-width: 768px) {
  /* Hide phone + CTA from header on mobile — both live in the drawer instead */
  .phone-pill { display: none; }
  .btn-header-cta { display: none; }
}
@media (max-width: 640px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 10px; height: 70px; }
}

/* Mobile drawer */
/* ─── Mobile drawer overlay ─── */
.drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── Mobile drawer panel ─── */
.drawer {
  position: fixed; top: 0; right: 0;
  width: min(340px, 90vw); height: 100%; height: 100dvh;
  background: var(--paper);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; overflow-x: hidden;
  box-shadow: -8px 0 32px rgba(0,0,0,0.25);
  will-change: transform;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }

/* Drawer header row: close button + brand */
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer .close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  cursor: pointer; display: grid; place-items: center;
  font-size: 18px; color: var(--ink); flex-shrink: 0;
}
.drawer-body { padding: 20px 20px 40px; flex: 1; overflow-y: auto; }
.drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.drawer-ctas .btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }
.drawer-label { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 28px 0 8px; font-weight: 700; text-align: center; }
.drawer a { display: block; padding: 10px 0; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }

/* ─── Breadcrumbs ─── */
.crumbs { padding: 20px 0 8px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs .sep { margin: 0 8px; opacity: .5; }
.crumbs .cur { color: var(--ink); }

/* ─── Page hero (generic, for non-home pages) ─── */
.page-hero { padding: 40px 0 72px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.page-eye { display: inline-flex; align-items: center; gap: 10px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 24px; }
.page-eye .bar { width: 28px; height: 1px; background: var(--accent-ink); }
.page-hero h1 em { font-style: italic; color: var(--accent-ink); }
.page-hero .lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; margin-top: 28px; }
.page-hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.hero-img .cap { position: absolute; left: 18px; bottom: 18px; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .1em; }
.hero-img .cap .k { display: block; color: var(--ink-soft); margin-bottom: 3px; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 40px; }
.hstat { background: var(--paper); padding: 22px 24px; }
.hstat .k { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hstat .v { font-family: "Instrument Serif", serif; font-size: 36px; line-height: 1.1; margin-top: 6px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Hero image pattern placeholders (varied by nth) */
.ph-pattern-1 { background: repeating-linear-gradient(135deg, oklch(0.30 0.02 250) 0 22px, oklch(0.26 0.02 250) 22px 44px); }
.ph-pattern-2 { background: repeating-linear-gradient(135deg, oklch(0.88 0.01 80) 0 22px, oklch(0.84 0.012 80) 22px 44px); }
.ph-pattern-3 { background: repeating-linear-gradient(135deg, oklch(0.82 0.02 60) 0 18px, oklch(0.78 0.025 60) 18px 36px); }
.ph-pattern-4 { background: repeating-linear-gradient(45deg, oklch(0.62 0.15 45 / .35) 0 18px, oklch(0.58 0.14 45 / .35) 18px 36px), oklch(0.30 0.02 250); }

/* ─── Trust strip (slim) ─── */
.strip { background: var(--ink); color: var(--paper); padding: 24px 0; }
.strip-inner { display: flex; gap: 40px; justify-content: space-around; flex-wrap: wrap; font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; opacity: .9; }
.strip-inner .chk { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; color: #fff; font-size: 8px; font-family: sans-serif; }

/* ─── Section shell ─── */
section.band { padding: 120px 0; }
section.band.tight { padding: 88px 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 56px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.section-head .eye { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.section-head .eye .num { padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-soft); }
.section-head h2 { max-width: 22ch; }
.section-head .side { max-width: 380px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ─── Body layout (article + sidebar) ─── */
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 64px; padding-block: 96px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; gap: 40px; padding-block: 56px; } }
article.content h2 { margin-top: 56px; margin-bottom: 20px; max-width: 22ch; }
article.content h2:first-child { margin-top: 0; }
article.content h3 { margin-top: 36px; margin-bottom: 10px; }
article.content p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 18px; max-width: 66ch; }
article.content p strong { color: var(--ink); font-weight: 600; }
article.content ul { margin: 18px 0 28px; padding: 0; list-style: none; max-width: 66ch; }
article.content ul li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
article.content ul li::before { content: ""; position: absolute; left: 0; top: 18px; width: 16px; height: 1px; background: var(--accent); }
article.content a.inline { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
article.content a.inline:hover { color: var(--accent); }
.callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 24px 28px; border-radius: 10px; margin: 30px 0; max-width: 66ch; }
.callout .k { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.callout .v { font-family: "Instrument Serif", serif; font-size: 22px; line-height: 1.3; }

/* Process steps */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0 12px; }
.step { background: var(--paper); padding: 22px; }
.step .n { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--accent-ink); letter-spacing: .14em; }
.step .t { font-family: "Instrument Serif", serif; font-size: 22px; margin-top: 10px; line-height: 1.15; }
.step .d { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }
@media (max-width: 720px) { .process { grid-template-columns: repeat(2,1fr); } }

/* City pills */
.city-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.city-pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.city-pill:hover { background: var(--ink); color: var(--paper); }
.city-pill .arr { opacity: .5; }

/* Sidebar */
aside.rail { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.rail-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.rail-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-card h3 { font-size: 22px; margin-bottom: 8px; }
.rail-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.rail-card.dark p { color: oklch(0.85 0.01 250); }
.rail-card .quote-form { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.rail-card .quote-form input, .rail-card .quote-form select, .rail-card .quote-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid oklch(0.45 0.02 250);
  background: oklch(0.28 0.02 250); color: var(--paper); font-family: inherit; font-size: 14px; resize: vertical;
}
.rail-card .quote-form input::placeholder, .rail-card .quote-form textarea::placeholder { color: oklch(0.7 0.02 250); }
.rail-card .quote-form button { margin-top: 4px; justify-content: center; }
.rail-card .mini-phone { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid oklch(0.32 0.02 250); }
.rail-card .mini-phone .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.rail-card .mini-phone .num { font-size: 18px; font-weight: 600; color: var(--paper); }
.rail-card .mini-phone .hrs { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: oklch(0.7 0.02 250); }
.rail-related a.rel { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.rail-related a.rel:last-child { border-bottom: 0; }
.rail-related a.rel .arr { color: var(--ink-soft); transition: transform .2s, color .2s; }
.rail-related a.rel:hover { color: var(--accent-ink); }
.rail-related a.rel:hover .arr { transform: translateX(4px); color: var(--accent); }

/* Inline image */
.inline-img { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; position: relative; border: 1px solid var(--line); margin: 28px 0; max-width: 66ch; background: repeating-linear-gradient(135deg, oklch(0.88 0.01 80) 0 22px, oklch(0.84 0.012 80) 22px 44px); }
.inline-img .cap { position: absolute; left: 14px; bottom: 14px; background: var(--paper); padding: 8px 12px; border-radius: 6px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: .1em; }
.inline-img .cap .k { color: var(--ink-soft); display: block; margin-bottom: 2px; }

/* ─── FAQ ─── */
.srv-faq { padding: 80px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-eye { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 24px 0; background: transparent; border: 0; text-align: left; font-family: "Instrument Serif", serif; font-size: 22px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; color: var(--ink); }
.faq-q .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: all .2s; flex-shrink: 0; margin-top: 4px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-a-inner { padding: 0 0 24px 0; color: var(--ink-2); line-height: 1.6; font-size: 15.5px; max-width: 62ch; }

/* ─── CTA strip ─── */
.cta-strip { background: var(--ink); color: var(--paper); padding: 72px 0; position: relative; overflow: hidden; }
.cta-strip::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 300px at 85% 50%, oklch(0.62 0.15 45 / 0.25), transparent 70%); pointer-events:none; }
.cta-strip .inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; }
.cta-strip h2 { max-width: 22ch; color: var(--paper); }
.cta-strip .small { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }
@media (max-width: 820px) { .cta-strip .inner { grid-template-columns: 1fr; } }

/* ─── Footer ─── */
footer.site { background: var(--ink); color: var(--paper); padding: 72px 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.foot-brand .brand-mark { background: var(--paper); color: var(--ink); }
.foot-brand .brand-name .n1 { color: var(--paper); }
.foot-brand .brand-name .n2 { color: oklch(0.65 0.02 250); }
.foot-about { margin-top: 24px; color: oklch(0.8 0.01 250); font-size: 14.5px; line-height: 1.6; max-width: 40ch; }
.foot-h { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.65 0.02 250); margin-bottom: 18px; }
.foot-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot-list a { color: oklch(0.88 0.01 250); font-size: 14px; transition: color .15s; }
.foot-list a:hover { color: var(--accent); }
.foot-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: oklch(0.88 0.01 250); }
.foot-bottom { padding-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; font-family: "Geist Mono", monospace; font-size: 11px; color: oklch(0.7 0.02 250); letter-spacing: .08em; }
.foot-bottom .pays { display: flex; gap: 8px; }
.pay-chip { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 6px; font-size: 10px; letter-spacing: .1em; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } .foot-bottom { grid-template-columns: 1fr; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.emergency-band { background: var(--ink); color: var(--paper); }

/* ─── Scroll reveal ─── */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
[data-reveal-group] > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.40s; }
[data-reveal-group].revealed > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Mobile overflow guard ─── */
html { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  /* Keep phone digits visible as a readable pill */
  .phone-pill .ph-label { display: none; }
  .phone-pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    gap: 6px;
    font-size: 13px;
  }
  .phone-pill .ph-icon { width: 26px; height: 26px; }
  .phone-pill .ph-icon svg { width: 14px; height: 14px; }
  .phone-pill .ph-num { font-size: 13px; font-weight: 600; display: inline-block; }
}
@media (max-width: 420px) {
  .phone-pill .ph-num { font-size: 12px; letter-spacing: -0.2px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  h1 { font-size: clamp(28px, 7vw, 48px); }
  h2 { font-size: clamp(22px, 5vw, 36px); }
  .strip-inner { gap: 16px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hstat .v { font-size: 28px; }
  .layout { padding-block: 40px; }
  .page-hero { padding: 24px 0 48px; }
  .page-hero .lede { font-size: 16px; }
  .faq-q { font-size: 18px; }
  aside.rail { position: static; }
  section.band { padding: 72px 0; }
  section.band.tight { padding: 56px 0; }
  .hero-sub { font-size: 16px; }
}
@media (max-width: 480px) {
  .nav { height: 62px; gap: 8px; }
  .brand-name .n1 { font-size: 16px; }
  .brand-name .n2 { display: none; }
  .btn-lg { padding: 13px 18px; font-size: 14px; }
  .foot-top { gap: 28px; }
  .cta-strip { padding: 48px 0; }
  .cta-strip .inner { gap: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .sa-row { grid-template-columns: 30px 1fr; }
  .sa-row .zip { display: none; }
  .sa-row .city-name { font-size: 18px; }
}
/* ─── Tiny screen (≤360px) ─── */
@media (max-width: 360px) {
  .nav { height: 56px; gap: 6px; }
  .brand-name .n1 { font-size: 14px; }
  h1 { font-size: clamp(24px, 8vw, 36px); }
}
@media (min-width: 1440px) {
  .container { max-width: 1440px; }
  h1 { font-size: clamp(52px, 5vw, 90px); }
}
@media (min-width: 2560px) {
  .container { max-width: 1760px; }
  body { font-size: 18px; }
}

/* ─── .tag / .tags geo pills (V1) ─── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 24px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--paper-2);
  transition: border-color .15s, color .15s, background .15s;
}
.tag:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

/* ─── Wider container on ultrawide/4K (V5) ─── */
@media (min-width: 1600px) and (max-width: 2199px) {
  .container { max-width: 1440px; }
}
@media (min-width: 2200px) and (max-width: 2559px) {
  .container { max-width: 1560px; }
}
/* ≥2560px: the existing max-width: 1760px rule (earlier in file) applies */

/* ─── (hover: none) nav guard — prevents stale hover state on touch ─── */
@media (hover: none) {
  .nav-item[data-dd]:hover .dropdown { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(6px); }
  .nav-item[data-dd].open .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
}

[data-theme="light"] {
  --ink:        oklch(0.22 0.02 250);
  --ink-2:      oklch(0.32 0.02 250);
  --ink-soft:   oklch(0.48 0.015 250);
  --paper:      oklch(0.97 0.005 80);
  --paper-2:    oklch(0.94 0.008 80);
  --paper-3:    oklch(0.90 0.01 80);
  --line:       oklch(0.86 0.012 80);
  --line-dark:  oklch(0.30 0.02 250);
  --accent:     oklch(0.62 0.15 45);
  --accent-ink: oklch(0.38 0.12 45);
  --accent-soft: oklch(0.92 0.04 55);
  --shadow:     0 1px 2px rgba(20,24,40,0.06), 0 12px 28px -18px rgba(20,24,40,0.18);
}

/* Fix hardcoded scrolled-header background */
/* Emergency card in contact.html */

/* ─── Global mobile safety net ─── */
@media (max-width: 768px) {
  /* Force any remaining multi-column grids to stack (blog .post-grid handles its own breakpoints) */
  [class*="-grid"]:not(.dd-grid):not(.post-grid) { grid-template-columns: 1fr !important; }
  /* Prevent horizontal scroll from any element */
  section, .container, article, aside, main { overflow-x: hidden; max-width: 100vw; }
  /* All images scale down */
  img { max-width: 100%; height: auto; }
  /* All text breaks properly */
  h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; word-break: break-word; }
  /* Sticky elements become static (exclude .drawer — it must stay position:fixed) */
  .sticky, aside:not(.drawer) { position: static !important; }
}

/* ─── Sitewide image lightbox — zoom cursor ─── */
img:not(#site-lb img):not(.nav img):not(.drawer img):not(header img):not(.brand img):not([data-no-lightbox]) {
  cursor: zoom-in;
}
/* Logo / nav images should never show zoom cursor */
header img, .brand img, nav img, .brand-mark img { cursor: default; }

/* ─── Sitewide lightbox #site-lb — mobile touch improvements ─── */
#site-lb {
  user-select: none;
  touch-action: pan-y;
}
@media (max-width: 600px) {
  #site-lb img {
    max-width: 98vw;
    max-height: 88vh;
  }
}

/* ─── Lightbox close button ─── */
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10001;
  transition: background 0.15s ease;
}
.lb-close:hover, .lb-close:focus-visible {
  background: rgba(255,255,255,0.28);
  outline: none;
}
