/* Bairco Construction, Inc. — site styles
   Palette from the Bairco logo: red, brushed silver, charcoal, plus a light "survey paper" tone. */
:root {
  --red: #A3201B;
  --red-hot: #C8312A;
  --red-deep: #7E1814;
  --char: #1E1F21;
  --char-2: #26282B;
  --granite: #3A3D40;
  --steel: #6F757B;
  --silver: #C9CDD1;
  --silver-hi: #EEF0F2;
  --paper: #EEEBE4;
  --paper-2: #E4E0D6;
  --ink: #17181A;
  --ink-soft: #4A4D52;
  --line-dark: rgba(201, 205, 209, .14);
  --line-light: rgba(23, 24, 26, .14);
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); font-stretch: 112%; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 900; }
h2 { font-weight: 850; font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-weight: 800; font-size: clamp(19px, 2vw, 23px); line-height: 1.15; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--red); color: #fff; padding: 10px 14px; z-index: 200; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }

/* Mono labels used for data, coordinates and field tags */
.tag {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--red-hot); }

/* Buttons */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--head); font-stretch: 112%; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: #fff; background: var(--b); white-space: nowrap;
  border: 2px solid var(--b); border-radius: var(--radius); cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--ease), background .2s;
}
.btn::after { /* hatch sweep on hover, like caution striping */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 8px, transparent 8px 16px);
  transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover { background: var(--red-hot); border-color: var(--red-hot); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: transparent; color: var(--red-hot); border-color: var(--red-hot); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 13px; }

/* Preview ribbon (remove at launch) */
.preview-ribbon {
  background: repeating-linear-gradient(-45deg, #2b2c2f 0 10px, #232427 10px 20px);
  color: var(--silver); text-align: center; padding: 7px var(--gut); font-size: 12px;
}
.preview-ribbon strong { color: #fff; }

/* Shared logo */
.logo-svg { width: 100%; height: auto; overflow: visible; }
.logo-svg .bear { fill: none; stroke: url(#bc-chrome); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.logo-svg .word { font-family: "Anton", "Archivo", sans-serif; fill: url(#bc-chrome-text); }
.logo-svg .sub { font-family: "Anton", "Archivo", sans-serif; fill: var(--red-hot); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(24, 25, 27, .92);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; width: 168px; flex: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 11px; white-space: nowrap; text-decoration: none;
  font-family: var(--head); font-stretch: 108%; font-weight: 700; font-size: 14px; letter-spacing: .03em; color: var(--silver);
  position: relative;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: none; }
.header-phone { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--silver); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); color: #fff; border-radius: var(--radius); width: 46px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1060px) and (min-width: 881px) {
  .nav a { padding: 10px 7px; font-size: 13px; }
  .brand { width: 140px; }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .site-header .bar > .btn { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--char); border-bottom: 1px solid var(--line-dark); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gut) 18px; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav .nav-cta { display: block; }
}
.nav .nav-cta { display: none; }
.nav .nav-cta a { margin-top: 12px; color: #fff; background: var(--red); text-align: center; border: 0; border-radius: var(--radius); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.dark { background: var(--char); color: #E6E8EA; }
.dark h2, .dark h3 { color: #fff; }
.paper { background: var(--paper); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 640px; }
.dark .lede { color: #B9BEC3; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin: 0; max-width: 760px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* Contour texture for "survey paper" sections */
.contours-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.contours-bg svg { position: absolute; width: 140%; height: 140%; left: -20%; top: -20%; opacity: .5; }
.contours-bg path { fill: none; stroke: rgba(23, 24, 26, .08); stroke-width: 1; }
.dark .contours-bg path { stroke: rgba(201, 205, 209, .06); }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #120f0c; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08); animation: slowpush 24s var(--ease) forwards; }
@keyframes slowpush { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(14,14,15,.35) 0%, rgba(14,14,15,0) 30%, rgba(14,14,15,.35) 65%, rgba(14,14,15,.9) 100%),
  linear-gradient(90deg, rgba(14,14,15,.62) 0%, rgba(14,14,15,0) 58%); }
.hero .eyebrow { color: #F4DEDA; }
.hero .eyebrow::before { background: var(--red-hot); height: 3px; }
.hero-lines { position: absolute; inset: 0; z-index: 1; opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.hero-lines path { fill: none; stroke: rgba(255, 220, 190, .18); stroke-width: 1; stroke-dasharray: 6 10; animation: drift 40s linear infinite; }
@keyframes drift { to { stroke-dashoffset: -640; } }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(42px, 7.2vw, 100px); line-height: .94; max-width: 12ch; margin-bottom: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
.hero .lede { color: #E3E1DC; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-ghost { color: #fff; }
.field-caption { position: absolute; right: var(--gut); bottom: 22px; z-index: 2; color: rgba(255,255,255,.72); text-align: right; font-size: 11px; }
.field-caption b { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .field-caption { display: none; } .hero { min-height: 88vh; } }

/* Spec plate: proof numbers styled as a stamped equipment ID plate */
.plate-band { background: var(--char); padding: 0 0 clamp(56px, 7vw, 88px); position: relative; }
.plate {
  position: relative; margin-top: -48px; z-index: 3;
  border-radius: 6px; padding: 26px clamp(18px, 3vw, 34px) 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #E7E9EB 0%, #BFC4C8 48%, #D9DCDF 52%, #A9AFB4 100%);
  color: #202225;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 0 rgba(0,0,0,.18), 0 30px 60px rgba(0,0,0,.45);
}
.plate::before, .plate::after { /* rivets */
  content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #8d9399 60%, #5c6166);
  box-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.plate::before { left: 12px; }
.plate::after { right: 12px; }
.plate-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 2px solid rgba(32,34,37,.35); padding: 0 14px 12px; margin-bottom: 18px; font-size: 11px; color: #3c3f43; }
.plate-top .serial { background: var(--red); color: #fff; padding: 3px 8px; border-radius: 2px; }
.plate-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .9fr); }
.stat { padding: 4px 14px; border-left: 1px dashed rgba(32,34,37,.35); }
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: clamp(30px, 3.5vw, 48px); line-height: 1;
  display: flex; align-items: baseline; gap: 6px; color: #17181A;
  text-shadow: 0 1px 0 rgba(255,255,255,.65), 0 -1px 0 rgba(0,0,0,.25); /* stamped */
}
.stat .unit { font-size: .42em; font-stretch: 100%; letter-spacing: .04em; color: var(--red-deep); }
.stat .label { font-size: 14px; line-height: 1.35; margin-top: 10px; color: #33363a; max-width: 22ch; }
/* odometer digits */
.odo { display: inline-flex; height: 1.08em; line-height: 1.08; font-variant-numeric: tabular-nums; }
.odo .d { display: inline-block; width: 1ch; height: 1.08em; overflow: hidden; text-align: center; }
.odo .d > span { display: block; transition: transform 1.6s var(--ease); }
.odo .d > span > i { display: block; height: 1.08em; font-style: normal; }
.odo .c { display: inline-block; }
@media (max-width: 860px) {
  .plate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .stat:nth-child(2) { grid-column: 1 / -1; order: -1; border-left: 0; padding-bottom: 18px; border-bottom: 1px dashed rgba(32,34,37,.35); }
  .stat:first-child { border-left: 0; }
}
@media (max-width: 480px) {
  .plate-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-bottom: 1px dashed rgba(32,34,37,.35); padding-bottom: 16px; }
  .stat:last-child { border-bottom: 0; }
  .stat .num { font-size: 40px; }
}
@media (max-width: 420px) { .plate-top .plate-model { display: none; } }

/* Project Atlas */
.atlas { background: #141517; color: #E6E8EA; overflow: hidden; }
.atlas h2 { color: #fff; }
.atlas-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  background: transparent; color: var(--silver); border: 1px solid rgba(201,205,209,.28); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--red-hot)); }
.chip:hover { border-color: var(--silver); color: #fff; }
.chip[aria-pressed="true"] { background: var(--silver-hi); color: var(--ink); border-color: var(--silver-hi); }
.atlas-stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.atlas-map { position: relative; border: 1px solid rgba(201,205,209,.14); border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 55% 40%, #1d1f22 0%, #121315 70%); }
.atlas-map svg { width: 100%; height: auto; }
.atlas-map .land { fill: #222428; stroke: none; }
.atlas-map .topo path { fill: none; stroke: rgba(201,205,209,.13); stroke-width: .8; }
.atlas-map .topo path:nth-child(4n) { stroke: rgba(201,205,209,.24); stroke-width: 1.1; }
.atlas-map .borders { fill: none; stroke: rgba(201,205,209,.32); stroke-width: .9; stroke-dasharray: 3 3; }
.atlas-map .routes path { fill: none; stroke: rgba(200, 49, 42, .55); stroke-width: 1.2; stroke-dasharray: 2 4; }
.atlas-map .grid line { stroke: rgba(201,205,209,.06); }
.pin { cursor: pointer; outline: none; }
.pin .halo { fill: var(--k, var(--red-hot)); opacity: .18; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.pin .dot { fill: var(--k, var(--red-hot)); stroke: #0d0e0f; stroke-width: 2; transition: r .2s; }
.pin:hover .dot, .pin:focus-visible .dot, .pin.is-active .dot { r: 9; }
.pin:focus-visible .ring, .pin.is-active .ring { opacity: 1; }
.pin .ring { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; transition: opacity .2s; }
.pin.is-dim { opacity: .14; pointer-events: none; }
.pin.hq .dot { fill: #fff; }
@keyframes ping { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.atlas-legend { position: absolute; left: 14px; bottom: 12px; font-size: 11px; color: rgba(201,205,209,.6); }
.atlas-compass { position: absolute; right: 14px; top: 12px; font-size: 11px; color: rgba(201,205,209,.6); text-align: center; }
.atlas-card {
  border: 1px solid rgba(201,205,209,.16); border-radius: 6px; background: #1b1c1f; overflow: hidden;
  display: flex; flex-direction: column; min-height: 100%;
}
.atlas-card .ph { aspect-ratio: 4 / 3; background: #26282b center / cover no-repeat; position: relative; }
.atlas-card .ph.empty { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #222428 0 10px, #1d1f22 10px 20px); }
.atlas-card .ph.empty::after { content: "Field photos from Bairco"; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(201,205,209,.45); }
.atlas-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.atlas-card h3 { margin-bottom: 12px; }
.atlas-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; font-size: 14.5px; }
.atlas-card dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(201,205,209,.55); padding-top: 3px; }
.atlas-card dd { margin: 0; color: #DADDE0; }
.atlas-card .more { margin-top: auto; color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.atlas-card .more:hover { color: var(--red-hot); }
.atlas-card .fade-in { animation: cardIn .35s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.atlas-note { margin-top: 14px; font-size: 13px; color: rgba(201,205,209,.6); }
@media (max-width: 960px) {
  .atlas-stage { grid-template-columns: 1fr; }
  .atlas-card { flex-direction: row; }
  .atlas-card .ph { width: 40%; aspect-ratio: auto; min-height: 180px; }
}
@media (max-width: 560px) {
  .atlas-card { flex-direction: column; }
  .atlas-card .ph { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
}

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap {
  position: relative; display: block; text-decoration: none; color: #fff; border-radius: 6px; overflow: hidden;
  aspect-ratio: 4 / 3.4; background: var(--char); isolation: isolate;
}
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,15,.05) 30%, rgba(14,14,15,.88) 100%); }
.cap .cap-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px 22px; }
.cap .cap-for { color: rgba(255,255,255,.78); font-size: 11px; display: block; margin-bottom: 8px; }
.cap h3 { margin: 0; color: #fff; }
.cap p { margin: 10px 0 0; font-size: 15px; color: #E3E5E7; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s; }
.cap .bar { position: absolute; left: 22px; bottom: 0; height: 4px; width: 46px; background: var(--red-hot); transition: width .45s var(--ease); }
/* survey crosshair that tracks the pointer */
.cap .xhair { position: absolute; width: 54px; height: 54px; left: var(--x, 50%); top: var(--y, 40%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.cap .xhair::before, .cap .xhair::after { content: ""; position: absolute; background: rgba(255,255,255,.85); }
.cap .xhair::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cap .xhair::after { top: 50%; left: 0; right: 0; height: 1px; }
.cap .xhair span { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; }
.cap:hover img, .cap:focus-visible img { transform: scale(1.06); }
.cap:hover p, .cap:focus-visible p { max-height: 120px; opacity: 1; }
.cap:hover .bar, .cap:focus-visible .bar { width: calc(100% - 44px); }
.cap:hover .xhair { opacity: 1; }
.caps-also { margin-top: 26px; color: var(--ink-soft); font-size: 15.5px; }
@media (hover: none) { .cap p { max-height: 120px; opacity: 1; } }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } .cap { aspect-ratio: 4 / 3; } }

/* Featured story */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-steps { list-style: none; margin: 26px 0 30px; padding: 0; counter-reset: s; }
.story-steps li { position: relative; padding: 0 0 22px 56px; }
.story-steps li::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; left: 0; top: -2px; font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--red);
  border: 1.5px solid var(--red); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center;
}
.story-steps li::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 4px; width: 1.5px; background: repeating-linear-gradient(var(--red) 0 4px, transparent 4px 8px); }
.story-steps li:last-child::after { display: none; }
.story-steps h3 { font-size: 18px; margin-bottom: 6px; }
.story-steps p { margin: 0; color: var(--ink-soft); }
.quote-mini { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; margin: 0 0 28px; font-size: 18px; font-style: italic; }
.quote-mini cite { display: block; font-style: normal; margin-top: 8px; color: var(--ink-soft); }

/* Before / after slider */
.compare { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--char); user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; }
.compare .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.compare .knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); border: 3px solid #fff; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input[type=range]:focus-visible + .handle .knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare .lbl { position: absolute; top: 14px; padding: 6px 10px; background: rgba(14,14,15,.75); color: #fff; font-size: 11px; border-radius: 2px; pointer-events: none; }
.compare .lbl.l { left: 14px; }
.compare .lbl.r { right: 14px; }
.compare-cap { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.dark .compare-cap { color: #9EA4AA; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* Field reports (testimonials as a deck you flip through) */
.reports { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.deck { position: relative; height: 340px; }
.report {
  position: absolute; inset: 0; background: var(--paper); color: var(--ink); border-radius: 4px;
  padding: 28px 30px; display: flex; flex-direction: column;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(23,24,26,.07) 31px 32px);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
  transform-origin: 50% 100%;
}
.report .rh { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; font-size: 11px; }
.report .rh .stamp { color: var(--red); border: 1.5px solid var(--red); padding: 2px 8px; transform: rotate(-4deg); }
.report blockquote { margin: 0; font-family: var(--head); font-stretch: 100%; font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; flex: 1; }
.report .who { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }
.report[data-depth="0"] { z-index: 5; transform: none; }
.report[data-depth="1"] { z-index: 4; transform: translate(14px, -12px) rotate(2.2deg); }
.report[data-depth="2"] { z-index: 3; transform: translate(26px, -22px) rotate(4deg); }
.report[data-depth="3"] { z-index: 2; transform: translate(34px, -30px) rotate(5.5deg); opacity: .8; }
.report[data-depth="hide"] { z-index: 1; transform: translate(34px, -30px) rotate(5.5deg); opacity: 0; }
.report.toss { z-index: 6; transform: translate(-120%, 30px) rotate(-14deg); opacity: 0; }
.deck-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.deck-ctrl button { background: transparent; border: 1px solid rgba(201,205,209,.35); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.deck-ctrl button:hover { border-color: #fff; }
.deck-count { font-size: 12px; color: #9EA4AA; }
@media (max-width: 860px) { .reports { grid-template-columns: 1fr; } .deck { height: 380px; margin-right: 30px; } }

/* Government contracting */
.gov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.gov-card { background: #fff; border: 1px solid var(--line-light); border-radius: 6px; padding: clamp(22px, 3vw, 34px); position: relative; }
.gov-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); border-radius: 6px 0 0 6px; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.certs li { border: 1.5px solid var(--ink); border-radius: 3px; padding: 7px 12px; font-family: var(--head); font-stretch: 108%; font-weight: 800; font-size: 14px; }
.certs li small { display: block; font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 24px; }
.kv dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.kv dd { margin: 0; font-weight: 500; }
.agencies { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.agencies li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.agencies li::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pending { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #FFF2CC; border: 1px dashed #c9a13a; border-radius: 2px; padding: 1px 6px; vertical-align: middle; }
@media (max-width: 860px) { .gov { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .agencies { columns: 1; } }

/* Careers band */
.careers { position: relative; color: #fff; overflow: hidden; background: var(--red-deep); }
.careers::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0,0,0,.12) 0 18px, transparent 18px 36px); }
.careers .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: center; }
.careers h2 { margin-bottom: 10px; color: #fff; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.perks li { background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.careers .btn { --b: #fff; color: var(--red-deep); }
.careers .btn:hover { background: var(--paper); border-color: var(--paper); }
@media (max-width: 760px) { .careers .wrap { grid-template-columns: 1fr; } }

/* Start a Project form */
.start { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.start-aside .call { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.start-aside .call a { font-family: var(--head); font-stretch: 112%; font-weight: 900; font-size: clamp(26px, 3vw, 34px); color: #fff; text-decoration: none; }
.start-aside .call a:hover { color: var(--red-hot); }
.scope { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.survey { display: flex; align-items: center; margin: 0 0 26px; padding: 0; list-style: none; }
.survey li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-soft); position: relative; }
.survey li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--ink-soft) 0 5px, transparent 5px 9px); opacity: .5; }
.survey .stake { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink-soft); display: grid; place-items: center; font-weight: 700; flex: none; background: var(--paper); }
.survey li.on { color: var(--ink); }
.survey li.on .stake { background: var(--red); border-color: var(--red); color: #fff; }
.survey li.done .stake { background: var(--ink); border-color: var(--ink); color: #fff; }
.survey li.done::after { background: var(--ink); opacity: 1; }
@media (max-width: 520px) { .survey .txt { display: none; } }
.step[hidden] { display: none !important; }
.step legend, .step .q { font-family: var(--head); font-stretch: 112%; font-weight: 850; font-size: clamp(21px, 2.4vw, 27px); margin: 0 0 16px; padding: 0; line-height: 1.15; }
.step fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.picks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: block; height: 100%; border: 1.5px solid rgba(23,24,26,.25); border-radius: 4px; padding: 13px 14px; background: #fff; font-weight: 600; line-height: 1.3; transition: border-color .15s, box-shadow .15s, background .15s; }
.pick span small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px; margin-top: 3px; }
.pick input:hover + span { border-color: var(--ink); }
.pick input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); background: #FBF4F3; }
.pick input:focus-visible + span { outline: 3px solid var(--red-hot); outline-offset: 2px; }
@media (max-width: 560px) { .picks, .picks.three { grid-template-columns: 1fr; } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label.f { display: block; font-weight: 600; font-size: 14.5px; }
label.f .opt { font-weight: 400; color: var(--ink-soft); }
.f input, .f select, .f textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(23,24,26,.25); border-radius: 4px; padding: 12px 13px; min-height: 48px;
}
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(163,32,27,.18); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.step-nav .back { background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer; padding: 10px 0; }
.step-nav .back:hover { color: var(--ink); }
.route-note { background: #fff; border: 1px dashed rgba(23,24,26,.3); border-radius: 4px; padding: 12px 14px; margin: 0 0 16px; font-size: 14.5px; }
.form-done { text-align: left; }
.form-done .big { font-family: var(--head); font-stretch: 112%; font-weight: 900; font-size: 28px; margin-bottom: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #111214; color: #A9AEB3; padding: 64px 0 100px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { width: 200px; margin-bottom: 16px; }
.site-footer h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D6D9DC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(201,205,209,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Phone call bar (phones only) */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(17,18,20,.96); border-top: 1px solid rgba(201,205,209,.15); }
  .callbar a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius); text-decoration: none; font-family: var(--head); font-stretch: 108%; font-weight: 800; font-size: 15px; }
  .callbar .c1 { background: var(--red); color: #fff; }
  .callbar .c2 { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Bear-draw intro (plays once per visit) */
.intro { display: none; }
.js-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; background: #141517;
  transition: transform .8s cubic-bezier(.7, 0, .2, 1), opacity .3s .5s;
}
.intro .intro-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro .intro-lines path { fill: none; stroke: rgba(201,205,209,.08); stroke-width: 1; animation: drift 30s linear infinite; stroke-dasharray: 8 8; }
.intro .intro-logo { width: min(520px, 78vw); position: relative; }
.intro .bear { stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawBear 1.25s .15s cubic-bezier(.6, 0, .3, 1) forwards; }
.intro .word, .intro .sub { opacity: 0; animation: settle .55s 1.05s var(--ease) forwards; }
.intro .sub { animation-delay: 1.2s; }
@keyframes drawBear { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.intro.lift { transform: translateY(-100%); }
.intro .skip-intro { position: absolute; right: 18px; bottom: 18px; background: none; border: 0; color: rgba(201,205,209,.6); cursor: pointer; }
.intro .skip-intro:hover { color: #fff; }

/* ---------- Project page ---------- */
.p-hero { position: relative; color: #fff; background: #141517; overflow: hidden; }
.p-hero .media { position: absolute; inset: 0; }
.p-hero .media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,21,23,.95) 0%, rgba(20,21,23,.6) 55%, rgba(20,21,23,.2) 100%); }
.p-hero .wrap { position: relative; z-index: 2; padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(50px, 7vw, 90px); }
.p-hero h1 { font-size: clamp(38px, 6.4vw, 84px); line-height: .95; max-width: 13ch; }
.crumbs { font-size: 12px; color: rgba(201,205,209,.7); margin-bottom: 22px; }
.crumbs a { color: rgba(201,205,209,.9); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.specs { background: var(--char); color: #E6E8EA; border-top: 1px solid var(--line-dark); }
.specs dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.specs dl > div { padding: 22px 18px; border-left: 1px solid var(--line-dark); }
.specs dl > div:first-child { border-left: 0; padding-left: 0; }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8E949A; margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 600; color: #fff; }
@media (max-width: 900px) {
  .specs dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs dl > div { border-left: 0; border-bottom: 1px solid var(--line-dark); padding-left: 0; }
}
.chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); padding: clamp(46px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-light); }
.chapter:last-child { border-bottom: 0; }
.chapter .ch-label { position: sticky; top: 100px; align-self: start; }
.chapter .ch-label .n { font-family: var(--head); font-stretch: 125%; font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.chapter h2 { font-size: clamp(28px, 3.6vw, 42px); }
.chapter .prose { max-width: 680px; font-size: 18px; }
.chapter figure { margin: 30px 0 0; }
.chapter figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; } .chapter .ch-label { position: static; } .chapter .ch-label .n { font-size: 44px; } }
.big-quote { font-family: var(--head); font-stretch: 108%; font-weight: 800; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.2; margin: 0; max-width: 900px; }
.big-quote::before { content: "\201C"; display: block; color: var(--red-hot); font-size: 2.4em; line-height: .6; margin-bottom: 8px; }
.big-quote-who { margin-top: 18px; color: #9EA4AA; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10,10,11,.94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 20px; }
.lightbox .x { top: 16px; right: 16px; }
.lightbox .pv { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .nx { right: 16px; top: 50%; transform: translateY(-50%); }
/* depth gauge: a thin line that tracks how far down the story you are */
.depth { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); height: 46vh; width: 22px; z-index: 50; pointer-events: none; }
.depth .rail { position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(rgba(23,24,26,.25) 0 6px, transparent 6px 10px); }
.depth .fill { position: absolute; left: 10px; top: 0; width: 2px; height: var(--d, 0%); background: var(--red); }
.depth .mark { position: absolute; left: 4px; top: var(--d, 0%); width: 14px; height: 14px; margin-top: -7px; background: var(--red); transform: rotate(45deg); }
.depth .lbl { position: absolute; left: -2px; top: -26px; font-size: 9.5px; color: var(--ink-soft); writing-mode: horizontal-tb; }
.depth.on-dark .rail { background: repeating-linear-gradient(rgba(201,205,209,.3) 0 6px, transparent 6px 10px); }
.depth.on-dark .lbl { color: #9EA4AA; }
@media (max-width: 1280px) { .depth { display: none; } }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--head); font-stretch: 108%; font-weight: 800; font-size: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 28px; color: var(--red); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .ans { padding: 0 0 22px; color: var(--ink-soft); max-width: 720px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Atlas entrance: routes and pins appear once the map scrolls into view */
.js .atlas-map .routes path, .js .atlas-map .pin { opacity: 0; transition: opacity .6s var(--ease); }
.js .atlas-map.go .routes path, .js .atlas-map.go .pin { opacity: 1; }
.js .atlas-map.go .pin.is-dim { opacity: .14; }
