/* KEF Consulting · site styles. Warm paper, ink type, one teal. Headings in Inter (self-hosted, variable, weights 500 to 800), body in the system face. */
@font-face {
  font-family: "Inter";
  src: url("/img/inter.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
:root {
  --paper: #f6f4ee;
  --paper-2: #edeae2;
  --card: #fffdf8;
  --ink: #101c18;
  --ink-2: #2e3b37;
  --muted: #5e6b66;
  --line: #d9d5cb;
  --line-2: #c6c1b5;
  --teal: #1e6b5c;
  --teal-2: #2f8a77;
  --teal-soft: #dcebe6;
  --amber: #d9a02a;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --head: "Inter", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: var(--head); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 650; }
h1 { font-size: clamp(38px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 14px; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.lede { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.link { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; font-size: 16px; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn::after { content: "\2192"; font-family: var(--head); font-weight: 600; transition: transform .15s; }
.btn:hover::after { transform: translateX(3px); }
.btn-plain::after { content: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,238,.92); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 34px; flex: none; }
.brand-name { font-family: var(--head); font-weight: 720; font-size: 19px; letter-spacing: -0.01em; }
.brand-llc { font-weight: 500; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 13px; border-radius: 999px; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.site-nav .nav-call { margin-left: 10px; border: 2px solid var(--ink); color: var(--ink); padding: 8px 18px; background: transparent; }
.site-nav .nav-call:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow { color: #8fd3c1; }
.section-ink .eyebrow::before { background: #8fd3c1; }
.section-ink .muted { color: rgba(255,255,255,.66); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head .muted { font-size: 17px; max-width: 34rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Home hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hero-meta strong { color: var(--ink); font-weight: 650; }
/* Dark hero: ink band, the warehouse photo dimmed behind it, the map card floating on the right. */
.hero-dark { position: relative; background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .16; filter: saturate(.6); z-index: -1; }
.hero-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,28,24,.92) 0%, rgba(16,28,24,.6) 55%, rgba(16,28,24,.35) 100%); }
.hero-dark .eyebrow { color: #8fd3c1; }
.hero-dark .eyebrow::before { background: #8fd3c1; }
.hero-dark .lede { color: rgba(255,255,255,.8); }
.hero-dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero-dark .btn:hover { background: var(--teal-2); border-color: var(--teal-2); color: #fff; }
.hero-dark .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-caps { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 13px; }
.hero-caps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; color: var(--ink-2); background: var(--card); }
.hero-dark .hero-caps { border-top-color: rgba(255,255,255,.14); }
.hero-dark .hero-caps li { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.88); background: transparent; }
.hero-caps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
/* Proof row under the hero: four facts in bordered cells, the KDCO strip idea with KEF's own numbers. */
.proof { padding: 0 0 clamp(40px, 6vw, 72px); }
.proof-row { list-style: none; margin: 0; padding: 0; }
.proof-row span { display: block; line-height: 1.45; }
/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 24px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Map teaser (home) */
.map-teaser { display: grid; gap: 12px; padding: 16px 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; box-shadow: 0 24px 60px -30px rgba(16,28,24,.35); transition: transform .2s, box-shadow .2s, border-color .2s; }
.map-teaser:hover { transform: translateY(-3px); box-shadow: 0 34px 70px -30px rgba(16,28,24,.45); border-color: var(--teal-2); }
.map-teaser-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.map-teaser-eyebrow { font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.map-teaser-live { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); white-space: nowrap; }
.map-teaser-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(47,138,119,.5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,138,119,.45); } 70% { box-shadow: 0 0 0 9px rgba(47,138,119,0); } 100% { box-shadow: 0 0 0 0 rgba(47,138,119,0); } }
.map-teaser-svg { width: 100%; height: auto; aspect-ratio: 1000 / 620; border-radius: 10px; display: block; background: #e6eef0; }
.teaser-pins circle { fill: var(--teal); stroke: #fff; stroke-width: 1.5; }
.map-teaser-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.map-teaser-cap strong { color: var(--ink); font-weight: 700; }
.map-teaser-go { flex: none; font-weight: 650; color: var(--teal); white-space: nowrap; }
.map-teaser-go::after { content: " \2192"; }

/* Capability strip */
.strip { background: var(--ink); color: #fff; padding: 18px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.strip li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; white-space: nowrap; }
.strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--head); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 6px; }
.fact span { font-size: 14px; color: var(--muted); }

/* Services: two buyer paths (home), grouped ledger */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.path-head { margin: 0 0 12px; font-size: 16px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.path-tag { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; }
.group-head { font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 12px; display: flex; align-items: center; gap: 12px; scroll-margin-top: 92px; }
.group-head + .service { border-top-color: var(--line-2); }
.service-index .index-group { font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 0 4px 16px; }
.service-index .index-group:first-child { padding-top: 0; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { border-bottom: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: 44px 1fr 32px; gap: 8px 16px; align-items: center; padding: 20px 8px; text-decoration: none; transition: background .15s, padding .15s; border-radius: 10px; }
.ledger a:hover { background: var(--card); padding-left: 16px; }
.ledger .num { font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .08em; }
.ledger h3 { margin: 0; font-size: clamp(19px, 1.7vw, 22px); }
.ledger p { margin: 0; color: var(--muted); font-size: 15px; grid-column: 2; }
.ledger .go { grid-row: 1; grid-column: 3; font-family: var(--head); font-size: 22px; color: var(--muted); text-align: right; transition: transform .15s, color .15s; }
.ledger a:hover .go { transform: translateX(4px); color: var(--teal); }

/* About band (home) */
.about-band { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.photo { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--ink); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,28,24,0) 55%, rgba(16,28,24,.55) 100%); }
.photo-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font-size: 14px; z-index: 1; display: flex; justify-content: space-between; gap: 12px; }
.prose p { font-size: 18px; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { position: relative; padding: 13px 14px 13px 44px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person { display: grid; grid-template-columns: 168px 1fr; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; align-items: start; }
.person img { width: 168px; height: 200px; object-fit: cover; object-position: center 20%; border-radius: 14px; }
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--teal); font-weight: 650; font-size: 14px; margin-bottom: 12px; }
.person p { font-size: 15.5px; color: var(--ink-2); }
.creds { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--muted); }
.creds li { margin: 0; }

/* Quote */
.quote-band { background: var(--teal); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.quote-band .eyebrow { color: #cfe9df; }
.quote-band .eyebrow::before { background: #cfe9df; }
blockquote { margin: 0; font-family: var(--head); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 560; max-width: 30ch; }
blockquote::before { content: "\201C"; opacity: .6; }
blockquote::after { content: "\201D"; opacity: .6; }
.quote-by { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.8); }

/* CTA */
.cta { padding: clamp(56px, 8vw, 100px) 0; }
.cta-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,138,119,.55), rgba(47,138,119,0)); }
.cta-card > * { position: relative; }
.cta-card h2 { margin-bottom: 8px; }
.cta-card .muted { color: rgba(255,255,255,.7); margin: 0; }
.cta-card .actions { justify-content: flex-end; }
.cta-card .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-card .btn:hover { background: var(--teal-2); border-color: var(--teal-2); color: #fff; }

/* Page head */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 20ch; }
.page-head-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.page-stat { justify-self: end; text-align: right; }
.page-stat strong { display: block; font-family: var(--head); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.page-stat span { color: var(--muted); font-size: 15px; }

/* About page */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split h2 { position: sticky; top: 96px; }

/* Services page */
.services-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.service-index { position: sticky; top: 96px; list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.service-index a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.service-index a:hover, .service-index a.is-on { color: var(--ink); border-left-color: var(--teal); }
.service-index .num { font-family: var(--head); color: var(--teal); font-size: 12px; letter-spacing: .1em; margin-right: 8px; }
.services { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service .num { font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--teal); letter-spacing: -0.02em; line-height: 1; padding-top: 6px; }
.service h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.service .summary { font-size: 17px; color: var(--ink-2); max-width: 44rem; }
.dots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.dots li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* Network map */
.map-section { padding-top: 8px; }
.tip { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.netmap-filters { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.netmap.ready .netmap-filters { display: flex; }
.chip { font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; transition: background .12s, border-color .12s; }
.chip:hover { border-color: var(--ink); }
.chip img { width: 18px; height: 18px; }
.chip-n { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip-n { color: rgba(255,255,255,.72); }
.chip:focus-visible, .netmap-zoom button:focus-visible, .netmap-card button:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.netmap-view { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(16,28,24,.4); overflow: hidden; background: #e6eef0; }
.netmap-svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 620; cursor: grab; user-select: none; -webkit-user-select: none; }
.netmap-svg.dragging { cursor: grabbing; }
.pin { cursor: pointer; }
.pin-s { transform: scale(var(--pin, 1)); }
.pin circle { fill: var(--teal); stroke: #fff; stroke-width: 1.6; }
.pin text { fill: #fff; font: 700 8.5px Arial, sans-serif; text-anchor: middle; pointer-events: none; }
.pin:hover circle, .pin.on circle { fill: var(--ink); }
.pin.off { display: none; }
.netmap-zoom { position: absolute; right: 12px; top: 12px; display: none; flex-direction: column; gap: 6px; }
.netmap.ready .netmap-zoom { display: flex; }
.netmap-zoom button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 20px/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.netmap-card { position: absolute; left: 12px; top: 12px; width: min(340px, calc(100% - 76px)); max-height: calc(100% - 24px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(16,28,24,.22); padding: 16px 18px 14px; font-size: 15px; }
.netmap-card .card-kicker { font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 34px 4px 0; }
.netmap-card h3 { margin: 0 34px 2px 0; font-size: 20px; }
.netmap-card .card-where { color: var(--ink-2); font-size: 14px; margin: 0; }
.netmap-card .card-n { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.netmap-card ul { list-style: none; margin: 0; padding: 0; }
.netmap-card > ul > li { padding: 12px 0 10px; border-top: 1px solid var(--line); }
.netmap-card .card-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 14px; }
.netmap-card .card-row-head strong { font-family: var(--head); font-weight: 650; color: var(--ink); }
.caps-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.caps-grid li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; font-size: 13px; background: var(--paper-2); color: var(--muted); }
.caps-grid li.on { background: var(--teal-soft); color: var(--ink); }
.caps-grid li .v { font-weight: 700; color: var(--muted); }
.caps-grid li.on .v { color: var(--teal); }
.netmap-card .site-note { margin: 8px 0 0; font-size: 13px; }
.netmap-card .close { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; font: 400 24px/1 Arial, sans-serif; color: var(--muted); cursor: pointer; }
.netmap-count { margin: 12px 0 0; }
.site-list { margin-top: 48px; }
.site-list h2 { margin: 0 0 18px; }
.site-groups { columns: 3 260px; column-gap: 32px; }
.site-group { break-inside: avoid; margin: 0 0 20px; }
.site-group h3 { font-size: 16px; margin: 0 0 6px; }
.site-group h3 .muted { font-weight: 500; font-size: 14px; }
.site-group ul { list-style: none; margin: 0; padding: 0; }
.site-group li { padding: 4px 0; font-size: 15px; line-height: 1.35; }
.site-group li.off { display: none; }
.site-caps, .site-note, .site-n { color: var(--muted); font-size: 13px; }
.site-n { font-weight: 600; }
.map-cta { margin-top: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.label { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.big { font-family: var(--head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; letter-spacing: -0.02em; margin-bottom: 28px; word-break: break-word; }
.big a { text-decoration: none; }
.big a:hover { color: var(--teal); }
.contact-note { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 15px; }
.contact-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal-2); border-color: var(--teal-2); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #a33a2b; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-top: clamp(48px, 7vw, 80px); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.brand-footer { color: #fff; }
.brand-footer .brand-llc { color: rgba(255,255,255,.55); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 36px; padding-bottom: 44px; }
.footer-note { margin-top: 16px; max-width: 34rem; color: rgba(255,255,255,.66); }
.footer-head { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-big { font-family: var(--head); font-size: 26px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 6px; }
.footer-links a { display: block; padding: 4px 0; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 28px; font-size: 14px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound main { max-width: 34rem; }

/* Reveal on scroll: opt in with data-reveal; site.js adds is-in. Off without JS and for reduced motion. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .about-band, .section-head, .page-head-grid, .cta-card { grid-template-columns: 1fr; }
  .page-stat { justify-self: start; text-align: left; }
  .cta-card .actions { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .service-index { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; border-left: 0; margin-bottom: 8px; }
  .service-index a { border-left: 0; margin: 0; padding: 6px 0; }
  .service-index .index-group { flex-basis: 100%; padding: 8px 0 0; }
  .paths { grid-template-columns: 1fr; }
  .split h2 { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 20px 18px; box-shadow: 0 16px 30px rgba(16,28,24,.1); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { background: none; }
  .site-nav .nav-call { margin: 14px 0 0; text-align: center; border-bottom: 2px solid var(--ink); border-radius: 999px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 16px; }
  .brand-llc { display: none; }
  .checks, .row2, .dots { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person img { width: 100%; height: 300px; object-position: center 18%; }
  .service { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .strip ul { justify-content: flex-start; }
  .map-teaser-live { display: none; }
  .map-teaser-cap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .netmap-svg { aspect-ratio: 1000 / 760; }
  .netmap-card { position: relative; left: 0; top: 0; width: auto; max-height: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; }
  .netmap-zoom { flex-direction: row; right: 8px; top: 8px; }
  .netmap-zoom button { width: 44px; height: 44px; }
  .site-groups { columns: 2 150px; column-gap: 20px; }
  .footer-links a { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
