:root {
  --blue: #1450d2;
  --blue-deep: #0c3ba8;
  --blue-tint: #e8effc;
  --ink: #0b1b3a;
  --slate: #5f6b7d;
  --paper: #f6f8fc;
  --line: #dce3ef;
  --white: #fff;
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-stretch: 125%; font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
::selection { background: var(--blue); color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin-left: auto; }
.site-nav a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; color: var(--slate);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current] { color: var(--ink); border-color: var(--blue); }
.site-nav .btn { color: var(--white); padding: 12px 18px; border: 2px solid var(--blue); }
.site-nav .btn:hover { border-color: var(--ink); }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 15px/1 var(--display); letter-spacing: 0.01em; text-decoration: none;
  padding: 17px 24px; border: 2px solid var(--blue);
  background: var(--blue); color: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { padding: 12px 18px; font-size: 14px; }
.btn.invert { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.btn.invert:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 85% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 40%, #000 0%, transparent 70%);
  opacity: 0.8;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px);
}
.hero h1 { font-size: clamp(2.35rem, 5.1vw, 4.5rem); margin: 0 0 28px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--blue); }
.hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.rise { opacity: 0; transform: translateY(18px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.rise.d1 { animation-delay: 0.08s; } .rise.d2 { animation-delay: 0.16s; } .rise.d3 { animation-delay: 0.26s; }
.rise.d4 { animation-delay: 0.36s; } .rise.d5 { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero report sheet */
.sheet-stage { position: relative; justify-self: end; width: min(100%, 420px); padding: 28px 28px 0 0; }
.sheet-stage::before { content: ""; position: absolute; top: 0; right: 0; width: 62%; aspect-ratio: 1; background: var(--blue); }
.sheet {
  position: relative; margin: 0; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -28px rgba(11, 27, 58, 0.35), 0 2px 0 rgba(11, 27, 58, 0.03);
  padding: 22px;
}
.sheet-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sheet-top span { font: 500 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.sheet-top .chip { color: var(--blue); background: var(--blue-tint); padding: 5px 9px; letter-spacing: 0.1em; }
.sheet-photos { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin: 16px 0; height: 168px; }
.sheet-photos div { background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); }
.sheet-photos div:first-child { grid-row: span 2; }
.sheet-photos svg { width: 46%; max-width: 84px; }
.sheet-rows { list-style: none; margin: 0; padding: 0; }
.sheet-rows li { display: grid; grid-template-columns: 84px 1fr 18px; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.sheet-rows i { height: 6px; background: var(--paper); position: relative; overflow: hidden; }
.sheet-rows i::after { content: ""; position: absolute; inset: 0; background: var(--line); transform-origin: left; transform: scaleX(0); animation: fill 0.7s ease-out forwards; animation-delay: calc(0.9s + var(--i) * 0.28s); }
.sheet-rows svg { width: 18px; color: var(--blue); opacity: 0; transform: scale(0.4); animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; animation-delay: calc(1.5s + var(--i) * 0.28s); }
@keyframes fill { to { transform: scaleX(var(--w, 1)); } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Sections */
section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.section-head p:not(.label) { color: var(--slate); font-size: 1.1rem; max-width: 36em; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Approach */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.pillars article { padding: 32px 32px 8px 0; border-right: 1px solid var(--line); }
.pillars article + article { padding-left: 32px; }
.pillars article:last-child { border-right: 0; padding-right: 0; }
.pillars .num { font: 500 12px var(--mono); letter-spacing: 0.14em; color: var(--slate); }
.pillars h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 8px 0 14px; }
.pillars p { color: var(--slate); }

/* Services */
.services { background: var(--paper); border-block: 1px solid var(--line); }

/* Offer */
.offer { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; right: -6vw; top: -10vw; width: 28vw; aspect-ratio: 1; background: var(--blue-deep); opacity: 0.55; }
.offer .wrap { position: relative; }
.offer .label { color: var(--white); }
.offer .label::before { background: var(--white); }
.offer .section-head p:not(.label) { color: #d5e1fb; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, 0.28); }
.steps li { position: relative; padding-top: 48px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; background: var(--white); }
.steps .num { font: 500 12px var(--mono); letter-spacing: 0.14em; color: #b7cbf7; }
.steps h3 { font-size: 1.45rem; margin: 0 0 12px; }
.steps p { color: #d5e1fb; max-width: 24em; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.offer-foot strong { font-stretch: 125%; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; }

/* Coverage */
.coverage .wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.coverage .section-head { margin-bottom: 36px; }
.legend { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.legend li { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 125%; }
.legend span { font: 500 12px var(--mono); letter-spacing: 0.1em; color: var(--slate); text-transform: uppercase; }
.readout { margin-top: 22px; min-height: 1.6em; font: 500 13px var(--mono); letter-spacing: 0.06em; color: var(--blue); }
.map { width: 100%; height: auto; overflow: hidden; }
.map .ctx path { fill: #eef2f9; stroke: var(--line); stroke-width: 1; }
.map .county { fill: var(--blue); stroke: rgba(255, 255, 255, 0.42); stroke-width: 0.8; transition: fill 0.2s; cursor: default; }
.map.armed .county { opacity: 0; }
.map.armed.in .county { animation: county 0.6s ease forwards; animation-delay: var(--cd); }
@keyframes county { from { opacity: 0; fill: #9bb8f5; } to { opacity: 1; } }
.map .county:hover { fill: var(--ink); }
.map .outline path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; pointer-events: none; }
.map .state-name { font: 800 22px var(--display); font-stretch: 125%; letter-spacing: 0.32em; fill: rgba(255, 255, 255, 0.92); pointer-events: none; }
.map .state-name.abbr { font-size: 15px; letter-spacing: 0.18em; }
.map .city circle { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.map .city rect { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.map .city text { font: 500 12.5px var(--mono); fill: var(--ink); }
.map .city { pointer-events: none; }

/* About */
.about { background: var(--ink); color: var(--white); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about .label { color: #7fa6ff; }
.about .label::before { background: #7fa6ff; }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); margin-top: 22px; }
.about p:not(.label) { color: #b9c6e0; font-size: 1.15rem; }
.about p + p { margin-top: 1.1em; }

/* Contact */
.contact .wrap { display: grid; justify-items: center; text-align: center; gap: 20px; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin: 22px 0 28px; }
.contact .mail { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contact .mail:hover { color: var(--blue); }
.contact .actions { margin-top: 36px; }
.brief { border-top: 2px solid var(--ink); list-style: none; margin: 0; padding: 0; counter-reset: b; }
.brief li { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.brief-title { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }

/* Footer */
.site-footer { background: #26282c; color: #d5d9e0; padding: clamp(56px, 7vw, 88px) 0 36px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 48px clamp(32px, 6vw, 96px); }
.foot-brand img { height: 36px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 32px 24px; }
.foot-cols div { display: grid; gap: 12px; align-content: start; }
.foot-title { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.foot-cols a { font-size: 15px; color: #aab1bd; text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s; }
.foot-cols a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid #3a3d43; font-size: 13px; color: #8a919d; }

@media (max-width: 980px) {
  .hero .wrap, .coverage .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .sheet-stage { justify-self: start; }
  .about .wrap { align-items: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 34px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .pillars article, .pillars article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .steps li { padding: 0 0 0 48px; }
  .map .state-name { font-size: 26px; }
  .map .state-name.abbr { font-size: 20px; }
  .map .city rect, .map .city text { display: none; }
  .map .city circle { r: 6px; }
  .steps { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .sheet-rows i::after, .sheet-rows svg, .map.armed .county { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .sheet-rows i::after { transform: scaleX(var(--w, 1)) !important; }
}

/* ---- Multi-page additions ---- */
.btn.outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn.outline:hover { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.text-link { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--blue); display: inline-flex; gap: 10px; white-space: nowrap; }
.text-link .arrow { transition: transform 0.25s; }
.text-link:hover .arrow { transform: translateX(4px); }

/* Hero with photograph */
.hero-visual { position: relative; justify-self: end; width: min(100%, 620px); padding: 28px 28px 124px 0; }
.hero-visual::before { content: ""; position: absolute; top: 0; right: 0; width: 58%; aspect-ratio: 1; background: var(--blue); }
.hero-visual > img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-position: 35% 50%; object-fit: cover; box-shadow: 0 30px 60px -28px rgba(11, 27, 58, 0.45); }
.hero-visual .sheet { position: absolute; left: -32px; bottom: 0; width: min(70%, 310px); padding: 16px 18px 6px; }
.hero-visual .sheet-top { padding-bottom: 12px; }
.hero-visual .sheet-rows li { padding: 9px 0; }

/* Inner page header */
.page-head { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.8;
  mask-image: radial-gradient(ellipse 60% 120% at 90% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 120% at 90% 30%, #000 0%, transparent 70%);
}
.page-head .wrap { position: relative; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 14em; }
.page-head .lede { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate); max-width: 36em; }
.page-head.blue { background: var(--blue); color: var(--white); border-bottom: 0; }
.page-head.blue::before { background: var(--blue-deep); opacity: 0.55; inset: auto; right: -6vw; top: -10vw; width: 28vw; aspect-ratio: 1; mask-image: none; -webkit-mask-image: none; }
.page-head.blue .label { color: var(--white); }
.page-head.blue .label::before { background: var(--white); }
.page-head.blue .lede { color: #d5e1fb; }

/* Home service cards */
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head.split > div { display: grid; gap: 22px; max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: filter 0.3s; }
.card div { padding: 22px 22px 26px; border-top: 3px solid var(--blue); }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.95rem; }
.card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11, 27, 58, 0.4); }

/* Photographs */
.photo { margin: 0; position: relative; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--white); padding: 8px 14px 6px 0; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.photo figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--blue); }
.photo.wide img { aspect-ratio: 21 / 9; }

/* Services page rows */
.rows .wrap { display: grid; gap: clamp(56px, 8vw, 112px); }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 100px; }
.row:nth-child(even) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.row:nth-child(even) .photo { order: 2; }
.row .num { font: 500 12px var(--mono); letter-spacing: 0.14em; color: var(--blue); }
.row h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0 0 16px; }
.row .line { color: var(--slate); font-size: 1.12rem; max-width: 26em; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ticks svg { width: 16px; flex: none; color: var(--blue); }

/* CTA band */
.cta-band { background: var(--blue); color: var(--white); padding: clamp(64px, 8vw, 112px) 0; text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 22px; }
.cta-band .label { color: var(--white); }
.cta-band .label::before { background: var(--white); }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); max-width: 16em; }
.cta-band .sub { color: #d5e1fb; font-size: 1.1rem; max-width: 34em; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.cta-band .btn, .contact .btn { letter-spacing: 0.04em; }
.contact-lede { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--slate); max-width: 26em; }
.contact-kicker { font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.01em; }
.contact .actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 16px; }
.contact .btn { padding: 22px 36px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; }

/* How to start, coverage, about, credits */
.upfront { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.upfront .section-head { margin-bottom: 0; }
.page-coverage .page-head h1 { max-width: 20em; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.page-coverage .coverage { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.story .wrap { display: grid; gap: clamp(40px, 6vw, 80px); }
.story-text { max-width: 720px; margin-left: auto; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; }
.story-text p + p { margin-top: 1.1em; }
.story-text p:first-child { font-weight: 700; }
.page-contact .contact { padding-top: clamp(48px, 6vw, 80px); }

@media (max-width: 980px) {
  .hero-visual { justify-self: start; margin-left: 36px; width: min(calc(100% - 36px), 520px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .row, .row:nth-child(even), .upfront { grid-template-columns: 1fr; }
  .row:nth-child(even) .photo { order: 0; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; gap: 7px; place-content: center; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; padding: 0; cursor: pointer; }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgba(11, 27, 58, 0.3); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 20px; justify-content: center; padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .hero-visual { margin-left: 0; width: 100%; padding: 20px 20px 130px 0; }
  .hero-visual .sheet { left: 16px; }
  .photo.wide img { aspect-ratio: 3 / 2; }
}

/* Careers form */
.page-careers .careers { padding-top: clamp(48px, 6vw, 80px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; max-width: 860px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--display); color: var(--ink); background: var(--white); border: 1px solid #b9c3d4; border-radius: 0; padding: 14px 14px; width: 100%; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { resize: vertical; }
.field .btn { justify-self: start; cursor: pointer; }
.form-note { font-size: 14px; color: var(--slate); }

@media (max-width: 980px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* Home hero: interactive collage. Tiles link to pages; the headline word follows the active tile.
   Every grid cell is filled, so no page background shows through. All class names are collage-specific. */
.collage {
  --row: clamp(54px, 7.5vh, 72px);
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(10, var(--row));
  gap: 6px; max-width: 1680px; margin: 0 auto; padding: 6px; background: var(--ink); overflow: hidden;
}
.collage .rise { transform: translate(var(--from, 0, 18px)); animation-duration: 1s; }
.collage > * { transition: translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile { position: relative; display: block; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s; }
.tile::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--blue); transition: border-width 0.3s; pointer-events: none; }
.tile-label { position: absolute; left: 0; top: 0; display: flex; gap: 12px; align-items: center; padding: 14px 20px; background: var(--blue); font-stretch: 125%; font-weight: 800; font-size: 1.05rem; transform: translateY(-101%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile.active img, .tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile.active::after, .tile:hover::after, .tile:focus-visible::after { border-width: 6px; }
.tile.active .tile-label, .tile:hover .tile-label, .tile:focus-visible .tile-label { transform: none; }
.collage.engaged .tile:not(.active) img { filter: saturate(0.55) brightness(0.8); }
.t-res { grid-area: 1 / 1 / 6 / 4; }
.t-custom { grid-area: 6 / 1 / 11 / 4; }
.t-com { grid-area: 1 / 10 / 5 / 13; }
.t-farm { grid-area: 5 / 10 / 9 / 13; }
.t-home { grid-area: 8 / 4 / 11 / 7; }
.t-brick { grid-area: 8 / 7 / 11 / 10; }
.t-farm img { object-position: 60% 30%; }
/* One composite text block: navy headline with the supporting sentence as a blue strip along its base. It overhangs the photos on its left. */
.collage-panel { grid-area: 1 / 4 / 8 / 10; z-index: 3; margin-left: clamp(-72px, -4vw, -32px); background: var(--ink); color: var(--white); display: grid; grid-template-rows: 1fr auto; box-shadow: -30px 30px 70px -30px rgba(0, 0, 0, 0.65); }
.collage-panel h1 { align-self: center; padding: clamp(24px, 3.4vw, 56px) clamp(28px, 4vw, 64px); font-size: clamp(2.2rem, 4.3vw, 4.2rem); line-height: 1.02; }
.swap { display: block; height: 1.08em; overflow: hidden; color: #7fa6ff; }
.swap span { display: block; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s; }
.swap span.out { transform: translateY(-100%); opacity: 0; }
.swap span.pre { transform: translateY(100%); opacity: 0; transition: none; }
.collage-strip { background: var(--blue); padding: clamp(16px, 1.6vw, 24px) clamp(28px, 4vw, 64px); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.45; font-weight: 500; }
.cta-tile { grid-area: 9 / 10 / 11 / 13; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(20px, 2.6vw, 40px); background: var(--blue); color: var(--white); text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: clamp(1.3rem, 2vw, 2rem); transition: background 0.25s, translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cta-tile .arrow { transition: transform 0.3s; }
.cta-tile:hover { background: var(--blue-deep); }
.cta-tile:hover .arrow { transform: translateX(8px); }

@media (max-width: 900px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .collage > * { grid-area: auto; }
  .collage-panel, .cta-tile { grid-column: 1 / -1; }
  .collage-panel { order: -1; margin-left: 0; box-shadow: none; }
  .collage-panel h1 { padding: 44px 22px; }
  .collage-strip { padding: 20px 22px; }
  .tile { aspect-ratio: 4 / 3; }
  .tile-label { top: auto; bottom: 0; transform: none; font-size: 0.9rem; padding: 10px 14px; }
  .t-farm img { object-position: 50% 50%; }
  .cta-tile { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .collage > *, .swap span, .tile img, .tile-label { transition: none !important; }
}

/* Services page text */
.intro { padding-bottom: 0; }
.intro p { font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.4; font-weight: 500; max-width: 34em; }
.rows .row .line { max-width: 30em; }
.commit { background: var(--paper); border-top: 1px solid var(--line); }
.commit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.commit h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.commit p { color: var(--slate); font-size: 1.12rem; }

@media (max-width: 900px) {
  .commit .wrap { grid-template-columns: 1fr; }
}

/* About page */
.story .wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.story h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.story-text { margin-left: 0; }
.story-text p:first-child { font-weight: 400; }
.story-text p:last-child { font-weight: 700; color: var(--blue); }
@media (max-width: 900px) {
  .story .wrap { grid-template-columns: 1fr; }
}

/* Inner-page header band: static, no photos. Navy ground, expanded headline, full-width blue strip, square blocks echoing the logo and the home mosaic. */
.band { background: var(--ink); color: var(--white); overflow: hidden; }
.band > .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: clamp(40px, 5vw, 72px); }
.band h1 { font-size: clamp(1.9rem, 3.2vw, 3rem); max-width: 16em; padding-bottom: clamp(24px, 2.4vw, 36px); }
.band-strip { background: var(--blue); font-size: clamp(1rem, 1.15vw, 1.12rem); font-weight: 500; }
.band-strip .wrap { display: block; padding-top: 16px; padding-bottom: 16px; }
.band-blocks { flex: none; display: grid; grid-template-columns: repeat(3, clamp(40px, 4.4vw, 60px)); grid-auto-rows: clamp(40px, 4.4vw, 60px); gap: 6px; }
.band-blocks span:nth-child(1) { grid-area: 1 / 2; background: var(--blue-deep); }
.band-blocks span:nth-child(2) { grid-area: 1 / 3; background: #cfdcf7; }
.band-blocks span:nth-child(3) { grid-area: 2 / 1; background: var(--blue-deep); }
.band-blocks span:nth-child(4) { grid-area: 2 / 2 / 3 / 4; background: var(--blue); }
.legend li { justify-content: flex-start; }
@media (max-width: 720px) {
  .band-blocks { display: none; }
}
