/* Profile Build Group — site styles. Ledger layout: ruled, numbered, one deep charcoal used generously,
   a pale paper partner, and their yellow kept for the things that matter. */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/oswald-latin.woff2) format('woff2');
}

:root {
  --ink: #262626;
  --ink-2: #1c1c1c;
  --ink-3: #303030;
  --paper: #f2f1ed;
  --paper-2: #e7e5df;
  --white: #fff;
  --y: #ffd400;
  --text: #262626;
  --muted: #55585d;
  --muted-ink: #b8b8b3;
  --rule: rgba(38, 38, 38, .16);
  --rule-strong: rgba(38, 38, 38, .55);
  --rule-ink: rgba(255, 255, 255, .14);
  --display: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gut: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--y); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.on-paper :focus-visible, .paper :focus-visible { outline-color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.005em; margin: 0 0 .5em; text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 7.4vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--y); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- The make-safe tape: their diagonal yellow band, made into barrier tape ---------- */
.tape {
  height: 10px;
  background: repeating-linear-gradient(-58deg, var(--y) 0 11px, var(--ink-2) 11px 22px);
}
.tape--thin { height: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule-ink), 0 10px 30px rgba(0, 0, 0, .25); }
.head-row { display: flex; align-items: center; gap: 18px; height: var(--head-h); transition: height .3s var(--ease); }
.is-scrolled .head-row { height: 56px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 150px; height: auto; }
.is-scrolled .brand img { width: 136px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a {
  display: block; padding: 8px 10px; text-decoration: none;
  font: 500 .95rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #e9e9e6;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--y); }
.head-call {
  display: none; align-items: center; gap: 8px; margin-left: 8px;
  background: var(--y); color: var(--ink); text-decoration: none;
  padding: 10px 14px; font: 600 1rem/1 var(--display); letter-spacing: .04em;
}
.head-call:hover { background: #fff; }

/* Mobile menu (details/summary works without scripts) */
.menu { position: static; }
.menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  font: 500 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 4px 12px 12px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-bars { width: 22px; height: 12px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s; }
.menu-bars::before { top: 0; }
.menu-bars::after { top: 10px; }
.menu[open] .menu-bars::before { top: 5px; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 5px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-top: 1px solid var(--rule-ink);
  padding: 8px var(--gut) 28px; max-height: calc(100vh - 60px); overflow: auto;
}
.menu-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-panel li { counter-increment: m; border-bottom: 1px solid var(--rule-ink); }
.menu-panel a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none;
  font: 500 1.55rem/1.1 var(--display); text-transform: uppercase;
}
.menu-panel a::before { content: counter(m, decimal-leading-zero); font: 400 .8rem/1 var(--display); color: var(--y); letter-spacing: .1em; }
.menu-panel .menu-call { margin-top: 20px; display: block; text-align: center; background: var(--y); color: var(--ink); padding: 16px; font: 600 1.2rem/1 var(--display); text-decoration: none; }

@media (min-width: 1000px) {
  .menu { display: none; }
  .nav-links { display: flex; }
  .head-call { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--y); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 1.08rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--line { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--y); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--y); }
.paper .btn--line:hover, .on-paper .btn--line:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--ink:hover { background: var(--y); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Ledger scaffolding ---------- */
.ink { background: var(--ink); color: #f1f1ee; }
.ink-2 { background: var(--ink-2); color: #f1f1ee; }
.paper { background: var(--paper); color: var(--text); }
.white { background: #fff; color: var(--text); }
.sec { padding: clamp(46px, 10vw, 120px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 7vw, 80px) 0; }
.ledger-head {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline;
  border-top: 1.5px solid currentColor; padding-top: 12px; margin-bottom: clamp(22px, 4vw, 40px);
}
.ledger-no { font: 500 .85rem/1 var(--display); letter-spacing: .14em; color: var(--muted); }
.ink .ledger-no, .ink-2 .ledger-no { color: var(--y); }
.ledger-label { font: 500 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.ledger-head h2 { grid-column: 1 / -1; margin: 14px 0 0; }
.wry { font-style: italic; color: var(--muted); max-width: 34em; }
.ink .wry, .ink-2 .wry { color: var(--muted-ink); }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 38em; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #f1f1ee; overflow: hidden; position: relative; }
.hero-grid { display: grid; gap: 0 48px; padding-top: 22px; padding-bottom: 26px; }
.hero-kicker {
  font: 500 .78rem/1.35 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #cfcfca;
  margin: 0 0 6px; display: flex; gap: 10px; align-items: center;
}
.hero-kicker::before { content: ""; width: 26px; height: 6px; flex: 0 0 auto; background: repeating-linear-gradient(-58deg, var(--y) 0 4px, transparent 4px 8px); }
.hero-title { margin: 0; text-transform: none; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 12px; }
.hero-title .big {
  font: 700 clamp(9.5rem, 46vw, 21rem)/.8 var(--display); letter-spacing: -.04em; color: #fff;
  grid-row: span 2; margin-left: -.04em; font-variant-numeric: lining-nums;
}
.hero-title .unit { font: 600 clamp(2.4rem, 11.5vw, 5.4rem)/.9 var(--display); text-transform: uppercase; color: var(--y); align-self: end; }
.hero-title .rest { font: 500 clamp(1.15rem, 4.6vw, 1.85rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; padding-bottom: .35em; }
.hero-sub { margin: 18px 0 0; color: #d8d8d3; max-width: 34em; font-size: 1rem; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-art { margin: 10px -6px 0; }
.hero-actions { margin-top: 16px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-wry { margin: 14px 0 0; font-style: italic; color: var(--muted-ink); font-size: .95rem; }
.cred {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule-ink); font: 500 .8rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #d9d9d4;
}
.cred li { padding: 12px 16px 12px 0; margin-right: 16px; border-right: 1px solid var(--rule-ink); }
.cred li:last-child { border-right: 0; }
.cred b { color: var(--y); font-weight: 600; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; padding-top: 48px; padding-bottom: 40px; }
  .hero-art { margin: 0; grid-row: 1 / span 3; grid-column: 2; }
  .hero-title .big { font-size: clamp(12rem, 20vw, 21rem); }
  .hero-title .unit { font-size: clamp(3.2rem, 5.4vw, 5.4rem); }
  .hero-title .rest { font-size: clamp(1.3rem, 2vw, 1.85rem); }
}

/* Hero drawing: fine single-weight line, one accent */
.house { width: 100%; height: auto; overflow: visible; }
.house .ln { fill: none; stroke: #e9e9e4; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.house .ln-f { stroke-opacity: .45; }
.house .ln-ff { stroke-opacity: .22; }
.house .acc { fill: none; stroke: var(--y); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.house .acc-fill { fill: var(--y); fill-opacity: .14; stroke: none; }
.house .rain line { stroke: #cfd3d6; stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.house .tagno { font: 600 15px/1 var(--display); fill: var(--ink); }
.house .tagdot { fill: var(--y); }

.house .rain-a { animation: rain 0.9s linear infinite; }
.house .rain-b { animation: rain 1.4s linear infinite; opacity: .5; }
.house .rain-wrap { animation: rain-ease 6s ease 1 forwards; }
@keyframes rain { from { transform: translate(0, 0); } to { transform: translate(-22px, 80px); } }
@keyframes rain-ease { 0%, 60% { opacity: 1; } 100% { opacity: .38; } }
.house .flap { transform-box: fill-box; transform-origin: 0% 100%; animation: flap 1.1s ease-in-out infinite alternate, gone .6s ease 3s forwards; }
@keyframes flap { from { transform: rotate(-4deg); } to { transform: rotate(-17deg); } }
@keyframes gone { to { opacity: 0; visibility: hidden; } }
.house .hole { animation: gone .5s ease 3.3s forwards; }
.house .drip { animation: drip 1s linear infinite, gone .4s ease 4.1s forwards; }
.house .drip:nth-child(2) { animation-delay: .33s, 4.1s; }
.house .drip:nth-child(3) { animation-delay: .66s, 4.1s; }
@keyframes drip { from { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } to { transform: translateY(44px); opacity: 0; } }
.house .tarp-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) 2.7s forwards; }
.house .tarp-fill { opacity: 0; animation: fadein .6s ease 3.5s forwards; }
.house .rope { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s ease 3.6s forwards; }
.house .t1 { opacity: 0; animation: fadein .35s ease 2.1s forwards; }
.house .t2 { opacity: 0; animation: fadein .35s ease 3.7s forwards; }
.house .t3 { opacity: 0; animation: fadein .35s ease 4.4s forwards; }
.house .meter-tag { opacity: 0; animation: fadein .3s ease 2.1s forwards; }
.house .palm { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 2.6s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.5deg); } to { transform: rotate(3deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.steps-tick { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-ink); }
.steps-tick li { padding: 10px 8px 0 0; font: 500 .78rem/1.25 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #8d8d89; display: flex; gap: 8px; align-items: flex-start; }
.steps-tick li span { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #6e6e6a; font-size: .72rem; letter-spacing: 0; transition: background .3s, color .3s, border-color .3s; }
.steps-tick li { animation: tickon .3s ease forwards; }
.steps-tick li:nth-child(1) { animation-delay: 2.1s; }
.steps-tick li:nth-child(2) { animation-delay: 3.7s; }
.steps-tick li:nth-child(3) { animation-delay: 4.4s; }
.steps-tick li span { animation: tickdot .3s ease forwards; animation-delay: inherit; }
@keyframes tickon { to { color: #f1f1ee; } }
@keyframes tickdot { to { background: var(--y); color: var(--ink); border-color: var(--y); } }

/* ---------- Sections common ---------- */
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

/* ---------- The "What happened?" picker (the one interactive feature) ---------- */
.wh-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 22px; padding: 2px var(--gut) 6px; scroll-snap-type: x proximity; }
.wh-tabs::-webkit-scrollbar { display: none; }
.wh-tab {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--rule-strong); background: transparent; cursor: pointer;
  padding: 10px 14px 10px 10px; font: 500 1rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.wh-tab svg { width: 30px; height: 30px; }
.wh-tab svg * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wh-tab .acc-s { stroke: #b38f00; }
.wh-tab:hover { border-color: var(--ink); }
.wh-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wh-tab[aria-selected="true"] .acc-s { stroke: var(--y); }
.wh-panel { display: grid; gap: 18px; }
.wh-fig .wh-job { margin-top: 8px; }
.wh-h { font: 500 .8rem/1 var(--display); letter-spacing: .14em; color: var(--muted); margin: 0; }
.wh-steps { margin-top: 10px; }
.wh-steps li { padding: 8px 0; }
.wh-note { margin-bottom: 12px; }
.wh-note b { margin-bottom: 2px; }
.wh-panel[hidden] { display: none; }
.js .wh-panel.is-in { animation: panelin .45s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .wh-panel { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; } }
.wh-panel h3 { margin-bottom: 6px; }
.wh-steps { list-style: none; margin: 14px 0 18px; padding: 0; counter-reset: s; border-top: 1px solid var(--rule-strong); }
.wh-steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .98rem; line-height: 1.4; }
.wh-steps li::before { content: counter(s, decimal-leading-zero); font: 500 .9rem/1.5 var(--display); color: var(--muted); letter-spacing: .06em; }
.wh-steps li.is-first::after { content: ""; }
.wh-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; background: #fff; border-left: 4px solid var(--y);
  font-size: .95rem;
}
.wh-note b { font-family: var(--display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; display: block; color: var(--muted); }
.wh-job { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.wh-job a { color: var(--text); font-weight: 600; }

/* ---------- Before and after slider ---------- */
.ba { position: relative; margin: 0; background: var(--ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%; }
.ba-frame { position: relative; overflow: hidden; aspect-ratio: 650 / 600; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--y); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ba-knob {
  position: absolute; top: 50%; left: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: var(--y); box-shadow: 0 4px 16px rgba(0,0,0,.35); display: grid; place-items: center;
}
.ba-knob svg { width: 24px; height: 24px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba-range:focus-visible ~ .ba-line .ba-knob { outline: 3px solid #fff; outline-offset: 3px; }
.ba-lab { position: absolute; top: 12px; padding: 5px 9px; background: rgba(28,28,28,.82); color: #fff; font: 500 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba-lab--b { left: 12px; }
.ba-lab--a { right: 12px; background: var(--y); color: var(--ink); }
.ba figcaption, .ba-cap { background: var(--ink); color: #d6d6d1; padding: 10px 14px; font-size: .86rem; display: flex; justify-content: space-between; gap: 12px; }
.ba-cap b { color: #fff; font-family: var(--display); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.js .ba.is-hint .ba-line, .js .ba.is-hint .ba-after { transition: left .9s var(--ease), clip-path .9s var(--ease); }
.photo-single { margin: 0; background: var(--ink); }
.photo-single img { width: 100%; aspect-ratio: 1300 / 600; object-fit: cover; }

/* ---------- Catastrophe ledger (home) ---------- */
.cat-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--y); margin: 0 0 26px; }
.cat-stats div { padding: 14px 10px 0 0; }
.cat-stats dt { font: 700 clamp(2.6rem, 12vw, 5.6rem)/.9 var(--display); color: #fff; letter-spacing: -.02em; }
.cat-stats dd { margin: 8px 0 0; font: 500 .78rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #c9c9c4; }
.event-row { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: thin; scrollbar-color: #555 transparent; list-style: none; }
.event-row li { flex: 0 0 auto; width: 152px; scroll-snap-align: start; border-left: 1px solid var(--rule-ink); padding: 0 14px 14px; }
.event-row .yr { display: block; font: 600 1.9rem/1 var(--display); color: var(--y); }
.event-row .ev { display: block; margin-top: 8px; font: 500 .95rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #ecece8; }
.swipe-hint { font: 500 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #9a9a95; margin: 12px 0 0; }

/* ---------- Services ledger ---------- */
.svc-ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); counter-reset: v; }
.svc-ledger li { counter-increment: v; border-bottom: 1px solid var(--rule); }
.svc-ledger li:nth-child(odd) { border-right: 1px solid var(--rule); }
.svc-ledger a { display: grid; gap: 6px; padding: 14px 12px 16px 0; text-decoration: none; min-height: 100%; }
.svc-ledger li:nth-child(even) a { padding-left: 14px; }
.svc-ledger a::before { content: counter(v, decimal-leading-zero); font: 500 .8rem/1 var(--display); color: var(--muted); letter-spacing: .1em; }
.svc-ledger .nm { font: 600 1.12rem/1.08 var(--display); text-transform: uppercase; }
.svc-ledger .ds { font-size: .84rem; color: var(--muted); line-height: 1.35; display: none; }
.svc-ledger a:hover .nm { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (min-width: 760px) {
  .svc-ledger { grid-template-columns: repeat(4, 1fr); }
  .svc-ledger li { border-right: 1px solid var(--rule); }
  .svc-ledger li:nth-child(4n) { border-right: 0; }
  .svc-ledger li a, .svc-ledger li:nth-child(even) a { padding: 18px 16px 22px; }
  .svc-ledger .ds { display: block; }
  .svc-ledger .nm { font-size: 1.3rem; }
}

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; flex-wrap: wrap; }
.rating .score { font: 700 4.4rem/.85 var(--display); }
.rating .of { font: 500 .85rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; }
.quotes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 14px; list-style: none; scrollbar-width: thin; }
.quotes li { flex: 0 0 min(84%, 400px); scroll-snap-align: start; background: #fff; padding: 22px 20px 18px; display: flex; flex-direction: column; border-top: 4px solid var(--ink); }
.quotes blockquote { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; }
.quotes blockquote::before { content: "“"; display: block; font: 700 3rem/.6 var(--display); color: var(--y); margin-bottom: 6px; -webkit-text-stroke: 1px var(--ink); }
.quotes .who { margin-top: auto; font: 600 .95rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.quotes .src { font-size: .8rem; color: var(--muted); }

/* ---------- Area & licences (home, end) ---------- */
.facts { display: grid; gap: 0; border-top: 1.5px solid currentColor; }
.facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-ink); }
.paper .facts > div, .white .facts > div { border-bottom-color: var(--rule); }
.facts dt { font: 500 .8rem/1.5 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--y); }
.paper .facts dt, .white .facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts a { font-weight: 600; }
.close-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .close-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.close-call { font: 700 clamp(2.3rem, 10vw, 4.6rem)/1 var(--display); color: var(--y); text-decoration: none; display: inline-block; letter-spacing: -.01em; }
.close-call:hover { color: #fff; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--ink); color: #f1f1ee; padding: clamp(34px, 7vw, 80px) 0 clamp(28px, 5vw, 56px); position: relative; }
.page-head .crumbs { font: 500 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #a9a9a4; margin: 0 0 14px; }
.page-head .crumbs a { color: #d9d9d4; text-decoration: none; }
.page-head h1 { font-size: clamp(2.5rem, 9vw, 5.6rem); margin: 0 0 14px; max-width: 14em; }
.page-head .lede { color: #dcdcd7; }
.page-head .ph-art { margin-top: 18px; max-width: 520px; }
@media (min-width: 900px) {
  .ph-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
  .page-head .ph-art { margin: 0; }
}
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(1.8rem, 5.4vw, 2.8rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }
.list-ledger { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1px solid var(--rule-strong); counter-reset: l; }
.list-ledger li { counter-increment: l; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.list-ledger li::before { content: counter(l, decimal-leading-zero); font: 500 .85rem/1.6 var(--display); color: var(--muted); }
.ink .list-ledger, .ink-2 .list-ledger { border-top-color: rgba(255,255,255,.4); }
.ink .list-ledger li, .ink-2 .list-ledger li { border-bottom-color: var(--rule-ink); }
.ink .list-ledger li::before, .ink-2 .list-ledger li::before { color: var(--y); }
.side-card { background: var(--ink); color: #eeeeea; padding: 24px 22px; }
.side-card h2, .side-card h3 { color: #fff; }
.side-card .btn { width: 100%; margin-top: 8px; }
.split { display: grid; gap: 36px; }
.split > *, .two-col > *, .wh-panel > *, .close-grid > *, .map-wrap > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; } .split > aside { position: sticky; top: 90px; } }
.figs { display: grid; gap: 14px; margin: 1.4em 0; }
@media (min-width: 700px) { .figs--2 { grid-template-columns: 1fr 1fr; } }
.icon-line { width: 56px; height: 56px; }
.icon-line * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-line .acc-s { stroke: var(--y); }

/* service cards on /services */
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); counter-reset: c; }
.svc-cards li { counter-increment: c; border-bottom: 1px solid var(--rule); }
.svc-cards a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: start; padding: 20px 0; text-decoration: none; }
.svc-cards a::before { content: counter(c, decimal-leading-zero); font: 500 .9rem/1.9 var(--display); color: var(--muted); }
.svc-cards h2 { font-size: clamp(1.5rem, 4.6vw, 2.2rem); margin: 0 0 6px; }
.svc-cards p { margin: 0; color: var(--muted); max-width: 40em; }
.svc-cards .go { font: 500 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding-top: 10px; white-space: nowrap; }
.svc-cards a:hover h2 { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 4px; text-underline-offset: 5px; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font: 600 1.15rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1 var(--display); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; max-width: 42em; }

/* Projects page */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 20px; padding: 2px var(--gut) 4px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; border: 1.5px solid var(--rule-strong); background: transparent; padding: 9px 14px; cursor: pointer; font: 500 .9rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .jobs { grid-template-columns: repeat(3, 1fr); } }
.jobs li[hidden] { display: none; }
.job-card { display: block; text-decoration: none; height: 100%; border-top: 1.5px solid var(--ink); padding-top: 10px; }
.job-card .pic { aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; position: relative; }
.job-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.job-card:hover .pic img { transform: scale(1.04); }
.job-card .pic.no-photo { display: grid; place-items: center; color: #d8d8d3; }
.job-card .pic.no-photo svg { width: 46%; height: auto; }
.job-card .meta { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 4px; font: 500 .75rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.job-card h2 { font-size: 1.35rem; margin: 0; }
.job-card .ba-badge { position: absolute; left: 10px; bottom: 10px; background: var(--y); color: var(--ink); font: 600 .7rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; }

/* Job sheet: the picture grows from the card into the top of the job's own page */
.job-sheet { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow: auto; overscroll-behavior: contain; visibility: hidden; }
.job-sheet.is-open { visibility: visible; }
.job-sheet .js-hero { position: relative; background: var(--ink); }
.job-sheet .js-hero .photo-single img { width: 100%; max-height: 62vh; object-fit: cover; aspect-ratio: 1300 / 600; }
.job-sheet .js-body { opacity: 0; transform: translateY(16px); transition: opacity .4s ease .25s, transform .5s var(--ease) .25s; padding: 22px 0 120px; }
.job-sheet.is-open .js-body { opacity: 1; transform: none; }
.job-sheet .js-close { position: fixed; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--y); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.job-sheet .js-close svg { width: 20px; height: 20px; }
.job-sheet h2 { font-size: clamp(2rem, 7vw, 3.6rem); }
.flyer { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; transition: all .55s var(--ease); }

/* Map */
.qmap { width: 100%; height: auto; }
.qmap .land { fill: none; stroke: #e6e6e1; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.qmap .border { fill: none; stroke: #8e8e89; stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.qmap .grat { stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.qmap .pin circle { fill: var(--ink); stroke: var(--y); stroke-width: 2; vector-effect: non-scaling-stroke; }
.qmap .pin .core { fill: var(--y); stroke: none; }
.qmap .pin text, .qmap .lab { font: 500 19px/1 var(--display); fill: #f0f0eb; letter-spacing: .04em; text-transform: uppercase; }
.qmap .lead { stroke: rgba(255,214,0,.55); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.qmap .state { font: 500 22px/1 var(--display); fill: #7f7f7a; letter-spacing: .3em; }
.qmap .hqlab { fill: var(--y); }
.map-wrap { display: grid; gap: 30px; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.ev-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ev-table th { text-align: left; font: 500 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #a9a9a4; padding: 0 8px 10px 0; border-bottom: 1.5px solid var(--y); }
.ev-table td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--rule-ink); vertical-align: top; }
.ev-table td:first-child { color: var(--y); font-family: var(--display); width: 42px; }
.ev-table td:nth-child(2) { font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.ev-table td:last-child { font-family: var(--display); white-space: nowrap; text-align: right; color: #d6d6d1; }

/* Contact & forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--rule-strong); background: transparent; padding: 10px 2px; font-size: 1.05rem; border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; background: rgba(255,255,255,.6); border: 1.5px solid var(--rule); padding: 10px 12px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 2px 0 0 var(--y); }
.form .fine { font-size: .8rem; color: var(--muted); margin: 0; }
.form-done { padding: 18px; background: #fff; border-left: 4px solid var(--y); }

/* Drawer: the form rises over the page */
.drawer { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; max-height: 100%; height: 100%; background: transparent; position: fixed; inset: 0; z-index: 95; overflow: hidden; }
.drawer:not([open]) { display: none; }
.drawer::backdrop { background: transparent; }
.drawer-shade { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); opacity: 0; transition: opacity .3s ease; }
.drawer-card {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--paper);
  transform: translateY(105%); transition: transform .45s var(--ease); padding: 0 0 22px;
}
.drawer.is-up .drawer-shade { opacity: 1; }
.drawer.is-up .drawer-card { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gut) 8px; }
.drawer-head h2 { font-size: 1.7rem; margin: 0; }
.drawer-x { width: 44px; height: 44px; border: 0; background: var(--ink); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.drawer-x svg { width: 18px; height: 18px; }
.drawer-body { padding: 0 var(--gut); }
.drawer-body .wry { margin: 0 0 12px; font-size: .92rem; }
@media (min-width: 760px) {
  .drawer-card { left: auto; right: 24px; bottom: 24px; width: 460px; max-height: calc(100vh - 48px); }
}

/* Sticky call bar on phones: the number never leaves the screen */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.25fr 1fr;
  background: var(--ink); box-shadow: 0 -8px 24px rgba(0,0,0,.2); padding-bottom: env(safe-area-inset-bottom);
  transition: transform .35s var(--ease);
}
.callbar a, .callbar button {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 1.02rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; transition: min-height .3s var(--ease);
}
.callbar .cb-call { background: var(--y); color: var(--ink); }
.callbar .cb-tell { background: var(--ink); color: #fff; }
.callbar svg { width: 18px; height: 18px; }
.callbar.is-compact a, .callbar.is-compact button { min-height: 46px; }
.callbar::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 5px; background: repeating-linear-gradient(-58deg, var(--y) 0 8px, var(--ink-2) 8px 16px); }
body { padding-bottom: 64px; }
@media (min-width: 1000px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* Footer */
.site-foot { background: var(--ink-2); color: #cfcfca; padding: 0 0 28px; font-size: .92rem; }
.foot-grid { display: grid; gap: 24px 18px; grid-template-columns: 1fr 1fr; }
.foot-grid .foot-brand { grid-column: 1 / -1; }
.site-foot li { font-size: .88rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } .foot-grid .foot-brand { grid-column: auto; } }
.site-foot h2 { font-size: .85rem; letter-spacing: .14em; color: var(--y); margin: 0 0 12px; font-weight: 500; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: #e8e8e4; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-brand img { width: 170px; margin-bottom: 14px; }
.foot-legal { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--rule-ink); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .8rem; color: #9d9d98; }
.foot-legal a { color: #bdbdb8; }
.credit { color: #8a8a85; }

/* horizontal rows snap with the page gutter kept */
.wh-tabs, .event-row, .quotes, .filters { scroll-padding-inline: var(--gut); }

/* Small utilities (no inline styles anywhere: the security policy forbids them) */
.mt { margin-top: 20px; }
.mt-l { margin-top: 36px; }
.tuck { margin-top: -18px; }
.h-s { font-size: 1.6rem; }
.h-m { font-size: 2.2rem; }
.unit-s { font-size: .4em; }
.foot-grid { margin-top: 34px; }
.side-fine { margin: 14px 0 0; font-size: .85rem; color: var(--muted-ink); }
.cat-stats--paper { border-top-color: var(--ink); }
.cat-stats--paper dt { color: var(--ink); }
.cat-stats--paper dd { color: var(--muted); }
.paper .facts { border-top-color: var(--ink); }
.prose .quotes { margin-top: 6px; }
.prose .quotes li { flex-basis: min(88%, 380px); }
.js .job-more { display: none; }
.job-more { padding-top: 10px; font-size: .95rem; }
.job-sheet .js-hero .photo-single { max-width: 1100px; margin: 0 auto; }
.job-sheet .js-hero .ba { max-width: min(100%, 64vh); margin: 0 auto; }
.job-sheet .figs { margin-top: 18px; }

/* Reveal on scroll (scripts only; everything is visible without them) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="blur"] { filter: blur(8px); transition: opacity .8s ease, transform .9s var(--ease), filter .8s ease; }
.js [data-reveal="blur"].is-in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .house .rain-a, .house .rain-b { animation: none !important; }
  .house .rain-wrap { opacity: .38; animation: none !important; }
  .house .flap, .house .hole, .house .drip { animation: none !important; opacity: 0; visibility: hidden; }
  .house .tarp-line, .house .rope { stroke-dashoffset: 0; animation: none !important; }
  .house .tarp-fill, .house .t1, .house .t2, .house .t3, .house .meter-tag { opacity: 1; animation: none !important; }
  .house .palm { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
