/* P&G Construction Group
   Layout concept: a stack of "courses" — each section is a layer laid on the one below,
   like a road section. Material swatches (asphalt, concrete, pavers, sod, snow) are the
   recurring visual system in place of stock photos. */
:root {
  --bg: #f2f3f4;          /* cured-concrete white */
  --surface: #ffffff;
  --ink: #15171a;         /* asphalt black */
  --muted: #565c64;
  --line: #d8dbdf;
  --red: #d2231c;         /* logo red */
  --red-ink: #b81d17;
  --on-red: #ffffff;
  --band: #1c1f23;        /* fresh asphalt band, same in both themes */
  --band-ink: #eef0f2;
  --band-muted: #a5abb3;
  --paint: #f0bf2c;       /* road line paint — diagrams only */
  --sod: #3f7d3a;
  --chip: #e7e9ec;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-amp: "Alfa Slab One", Georgia, serif;

  --wrap: 1180px;
  --r: 6px;
  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);
  --step-4: clamp(3rem, 2rem + 5vw, 6.4rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111316; --surface: #191c20; --ink: #eceef0; --muted: #a3a9b1; --line: #2c3036;
    --red: #ef4a3f; --red-ink: #ff6b61; --band: #0b0c0e; --chip: #23272c; --sod: #5aa053;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111316; --surface: #191c20; --ink: #eceef0; --muted: #a3a9b1; --line: #2c3036;
  --red: #ef4a3f; --red-ink: #ff6b61; --band: #0b0c0e; --chip: #23272c; --sod: #5aa053;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--paint); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; max-width: 65ch; }
.amp { font-family: var(--f-amp); color: var(--red); text-transform: none; font-weight: 400; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * 24px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 1rem; }
.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .98rem/1 var(--f-body); padding: .95em 1.4em; border-radius: var(--r); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.hazard { height: 6px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--band) 14px 28px); }
.nav-bar { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-badge { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.brand-badge img { width: 50px; height: 50px; }
.brand-name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: .95; }
.brand-name small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .64rem; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .7em; border-radius: var(--r); }
.nav a:hover { background: var(--chip); }
.nav a[aria-current="page"] { color: var(--red-ink); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: .5rem; padding: .8em 1.1em; }
.nav .btn[aria-current="page"] { color: var(--on-red); box-shadow: none; border-radius: var(--r); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: var(--r); width: 46px; height: 46px; color: var(--ink); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); flex-direction: column; align-items: stretch; padding: .75rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); gap: 0; }
  .nav:not(.open) { display: none; }
  .nav a { padding: .9em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: .8em; }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; }
}

/* Asphalt band (dark section, both themes) */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band .muted, .band .lede { color: var(--band-muted); }
.band .eyebrow { color: #ff7a70; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px), radial-gradient(rgba(0,0,0,.35) 1px, transparent 1.6px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; }
.band > * { position: relative; z-index: 1; }

/* Hero */
.hero { padding-block: clamp(44px, 6vw, 88px) clamp(48px, 6vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { color: #fff; }
.hero h1 .line { display: block; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--f-mono); font-size: var(--step--1); color: var(--band-muted); letter-spacing: .04em; }
.hero-meta b { color: #fff; font-weight: 500; }
.hero .btn-ghost { color: #fff; }
.road-line { height: 4px; width: 100%; background: repeating-linear-gradient(90deg, var(--paint) 0 46px, transparent 46px 80px); opacity: .9; }

/* Cross-section widget */
.xsec { background: #14171a; border: 1px solid #2d3238; border-radius: 10px; padding: clamp(14px, 2.4vw, 22px); color: var(--band-ink); }
.xsec-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 14px; }
.xsec-tabs button { font: 600 .82rem/1 var(--f-body); color: var(--band-muted); background: #1f2327; border: 1px solid #343a41; border-radius: 99px; padding: .6em 1em; cursor: pointer; }
.xsec-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.xsec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 10px; }
.xsec-title strong { font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; }
.xsec-title span { font-family: var(--f-mono); font-size: .74rem; color: var(--band-muted); }
.xsec-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 520px) { .xsec-body { grid-template-columns: 1fr; } }
.xsec svg { width: 100%; height: auto; display: block; }
.xsec svg .layer { cursor: pointer; transition: opacity .2s; }
.xsec svg.has-focus .layer:not(.on) { opacity: .78; }
.xsec-detail { font-size: .92rem; display: grid; align-content: start; gap: .5rem; min-width: 0; }
.xsec-detail .thk { font-family: var(--f-mono); color: var(--paint); font-size: .82rem; letter-spacing: .04em; }
.xsec-detail h4 { font-size: 1.35rem; color: #fff; }
.xsec-detail p { color: var(--band-muted); }
.xsec-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.xsec-list button { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: .5rem; font: 500 .8rem/1.2 var(--f-mono); color: var(--band-muted); background: none; border: 0; border-top: 1px dashed #343a41; padding: .5em 0; cursor: pointer; }
.xsec-list button.on, .xsec-list button:hover { color: #fff; }
.xsec-note { margin-top: 12px; font-size: .74rem; color: #8c939b; font-family: var(--f-mono); }

/* Material swatches — the visual system */
.sw { position: relative; background-color: #2a2d31; overflow: hidden; }
.sw-asphalt { background-color: #26292d; background-image: radial-gradient(#4a4e54 1px, transparent 1.4px), radial-gradient(#15171a 1.2px, transparent 1.6px), radial-gradient(#5c6066 .8px, transparent 1.2px); background-size: 9px 9px, 13px 13px, 5px 5px; background-position: 0 0, 4px 6px, 2px 1px; }
.sw-asphalt::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--paint) 0 40px, transparent 40px 70px); }
.sw-concrete { background-color: #b9bbbd; background-image: repeating-linear-gradient(91deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, transparent 0 calc(33.3% - 2px), #8f9295 calc(33.3% - 2px) 33.3%), radial-gradient(#9fa2a5 1px, transparent 1.5px); background-size: auto, auto, 6px 6px; }
.sw-interlock { background-color: #8c4b3a; background-image: linear-gradient(#5f2f24 2px, transparent 2px), linear-gradient(90deg, #5f2f24 2px, transparent 2px), linear-gradient(90deg, transparent 50%, rgba(255,255,255,.06) 50%); background-size: 44px 22px, 44px 44px, 88px 22px; background-position: 0 0, 0 0, 0 0; }
.sw-interlock::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, #5f2f24 2px, transparent 2px); background-size: 44px 44px; background-position: 22px 22px; mask: repeating-linear-gradient(180deg, transparent 0 22px, #000 22px 44px); }
.sw-landscaping { background-color: #4e7a3c; background-image: radial-gradient(ellipse at 20% 30%, #6a9a4d 0 18%, transparent 19%), radial-gradient(ellipse at 70% 60%, #3d6430 0 22%, transparent 23%), radial-gradient(#5b8a45 1px, transparent 2px), linear-gradient(0deg, #6d4c33 0 22%, transparent 22%); background-size: 120px 90px, 140px 100px, 6px 6px, auto; }
.sw-grass { background-color: #4b8a3c; background-image: repeating-linear-gradient(90deg, #5a9b48 0 34px, #427c35 34px 68px), radial-gradient(rgba(0,0,0,.12) 1px, transparent 1.5px); background-size: auto, 5px 5px; }
.sw-snow { background-color: #e8eef3; background-image: radial-gradient(#fff 2px, transparent 2.5px), radial-gradient(#cfd9e2 1.5px, transparent 2px), repeating-linear-gradient(-12deg, transparent 0 26px, rgba(120,140,160,.15) 26px 30px); background-size: 18px 18px, 11px 11px, auto; background-position: 0 0, 5px 7px, 0 0; }
.sw-excavation { background-color: #7a5a3c; background-image: radial-gradient(#946f4b 2px, transparent 3px), radial-gradient(#5d432c 1.5px, transparent 2.5px), linear-gradient(170deg, transparent 55%, #5d432c 55% 60%, transparent 60%); background-size: 14px 14px, 9px 9px, auto; }
.sw-label { position: absolute; left: 12px; bottom: 10px; z-index: 2; font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(15,17,19,.82); color: #fff; padding: .45em .6em; border-radius: 3px; }

/* Sectors */
.sectors { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 820px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
.sector { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: .8rem; align-content: start; min-width: 0; }
.sector .tag { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.sector ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.sector li { padding-left: 1.2em; position: relative; }
.sector li::before { content: ""; position: absolute; left: 0; top: .7em; width: .55em; height: 3px; background: var(--red); }

/* Service tiles */
.tiles { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tile { display: grid; grid-template-rows: 150px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
.tile-body { padding: 20px 22px 22px; display: grid; gap: .6rem; align-content: start; }
.tile-body p { color: var(--muted); font-size: .96rem; }
.tile-more { font-weight: 600; color: var(--red-ink); font-size: .92rem; margin-top: .3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--chip); color: var(--muted); padding: .45em .6em; border-radius: 3px; }
.chip.r { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red-ink); }

/* Season chart */
.season { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2.5vw, 28px); }
.season-scroll { overflow-x: auto; }
.season-grid { display: grid; grid-template-columns: 150px repeat(12, minmax(38px, 1fr)); min-width: 640px; row-gap: 8px; align-items: center; }
.season-grid .m { font: 500 .72rem/1 var(--f-mono); color: var(--muted); text-align: center; letter-spacing: .06em; padding-bottom: 6px; position: relative; }
.season-grid .m.now { color: var(--red-ink); font-weight: 700; }
.season-grid .svc { font-weight: 600; font-size: .9rem; padding-right: .8rem; }
.season-grid .cell { height: 22px; position: relative; }
.season-grid .cell.on::before { content: ""; position: absolute; inset: 3px 0; background: var(--ink); opacity: .85; }
.season-grid .cell.on.start::before { left: 3px; border-radius: 3px 0 0 3px; }
.season-grid .cell.on.end::before { right: 3px; border-radius: 0 3px 3px 0; }
.season-grid .cell.now { background: color-mix(in srgb, var(--red) 12%, transparent); }
.season-grid .cell.on.now::before { background: var(--red); opacity: 1; }
.season-note { margin-top: 18px; display: flex; gap: 1rem; align-items: flex-start; padding-top: 16px; border-top: 1px dashed var(--line); }
.season-note .pill { flex-shrink: 0; font: 600 .74rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: var(--on-red); padding: .55em .7em; border-radius: 3px; }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-bottom: 24px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.seg button { font: 600 .85rem/1 var(--f-body); background: none; border: 0; border-right: 1px solid var(--line); padding: .75em 1em; color: var(--muted); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.field-inline { display: flex; align-items: center; gap: .5rem; }
select, input, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7em .8em; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--red) 40%, transparent); outline-offset: 0; border-color: var(--red); }
.filters select { width: auto; }
.filters input[type="search"] { width: min(100%, 260px); }
.count { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); margin-left: auto; }
.proj-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.proj { display: grid; grid-template-rows: 190px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.proj:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
.proj-art { position: relative; }
.proj-art img { width: 100%; height: 100%; object-fit: cover; }
.proj-art .split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.proj-body { padding: 18px 20px 20px; display: grid; gap: .5rem; align-content: start; }
.proj-body h3 { font-size: 1.55rem; }
.proj-meta { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.badge-ex { position: absolute; top: 10px; right: 10px; z-index: 3; font: 600 .66rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--paint); color: #1a1a1a; padding: .45em .55em; border-radius: 3px; }
.sector-dot { display: inline-flex; align-items: center; gap: .4em; }
.sector-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.s-municipal { --c: var(--red); } .s-commercial { --c: #3c78c8; } .s-residential { --c: var(--sod); }
.empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }

dialog.proj-dialog { border: 0; padding: 0; border-radius: 10px; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
dialog.proj-dialog::backdrop { background: rgba(10,12,14,.7); }
.dlg-art { height: 220px; position: relative; }
.dlg-body { padding: clamp(20px, 3vw, 32px); display: grid; gap: 1rem; }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 4; background: rgba(15,17,19,.85); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--surface); padding: .8rem 1rem; }
.facts dt { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.facts dd { margin: 0; font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .94rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--chip); }
tr:last-child td { border-bottom: 0; }
td.yr { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Split layouts */
.split-2 { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; } .split-2.wide-left { grid-template-columns: 1.3fr 1fr; } }
.split-2 > * { min-width: 0; }

/* Service detail */
.svc-detail { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; scroll-margin-top: 110px; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 320px 1fr; } }
.svc-detail .sw { height: 240px; border-radius: var(--r); position: sticky; top: 110px; }
@media (max-width: 899px) { .svc-detail .sw { position: relative; top: 0; height: 160px; } }
.svc-cols { display: grid; gap: 1.4rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: .6rem; }
.svc-cols h4 { font-size: 1.1rem; margin-bottom: .5rem; letter-spacing: .03em; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.ticks li { padding-left: 1.5em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75em; height: .4em; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { text-decoration: none; font: 600 .85rem/1 var(--f-body); color: var(--ink); border: 1px solid var(--line); background: var(--surface); padding: .7em 1em; border-radius: 99px; }
.jump a:hover { border-color: var(--red); color: var(--red-ink); }
details.faq { border-top: 1px solid var(--line); padding: 1rem 0; }
details.faq:last-child { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--red-ink); font-size: 1.2rem; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: .7rem; color: var(--muted); }

/* Process (real sequence) */
.process { counter-reset: step; display: grid; gap: 0; grid-template-columns: 1fr; border-left: 3px solid var(--red); }
.process li { list-style: none; counter-increment: step; position: relative; padding: 0 0 1.8rem 2.2rem; }
.process li::before { content: counter(step, decimal-leading-zero); position: absolute; left: -1.05rem; top: -.1rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--bg); border: 3px solid var(--red); border-radius: 50%; font: 700 .7rem/1 var(--f-mono); color: var(--red-ink); }
.process h4 { font-size: 1.3rem; margin-bottom: .35rem; }
.process p { color: var(--muted); }
.band .process li::before { background: var(--band); }

/* Planner */
.planner { display: grid; gap: 0; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
@media (min-width: 900px) { .planner { grid-template-columns: 1.05fr 1fr; } }
.planner-in { padding: clamp(20px, 3vw, 34px); display: grid; gap: 1.2rem; align-content: start; }
.planner-out { padding: clamp(20px, 3vw, 34px); background: var(--band); color: var(--band-ink); display: grid; gap: 1.1rem; align-content: start; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.svc-pick label { position: relative; cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick span { display: grid; grid-template-rows: 46px auto; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; font-weight: 600; font-size: .84rem; }
.svc-pick span i { display: block; }
.svc-pick span b { padding: .5em .6em; font-weight: 600; }
.svc-pick input:checked + span { border-color: var(--red); }
.svc-pick input:focus-visible + span { outline: 3px solid var(--paint); }
.row-2 { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
label.fld { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
label.fld small { font-weight: 400; color: var(--muted); }
.unit-toggle { display: inline-flex; }
.out-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.out-big small { font-size: .35em; color: var(--band-muted); margin-left: .2em; letter-spacing: .04em; }
.out-rows { display: grid; gap: 0; border-top: 1px solid #343a41; }
.out-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #343a41; font-variant-numeric: tabular-nums; }
.out-rows dt { color: var(--band-muted); }
.out-rows dd { margin: 0; font-family: var(--f-mono); color: #fff; text-align: right; }
.out-note { font-size: .82rem; color: #8c939b; }

/* Forms */
.form { display: grid; gap: 1.4rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; min-width: 0; }
legend { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin-bottom: .6rem; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; border: 1.5px solid var(--line); background: var(--surface); padding: .65em 1em; border-radius: 99px; font-weight: 600; font-size: .9rem; }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--paint); outline-offset: 2px; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-msg { padding: 1rem 1.2rem; border-radius: var(--r); background: color-mix(in srgb, var(--paint) 22%, var(--surface)); border: 1px solid var(--paint); font-size: .92rem; }
.hidden-field { display: none; }
.contact-card { background: var(--band); color: var(--band-ink); border-radius: 10px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 1.2rem; position: sticky; top: 110px; }
.contact-card .row { display: grid; gap: .2rem; padding-bottom: 1rem; border-bottom: 1px solid #343a41; }
.contact-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card .k { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.contact-card .v { font-size: 1.15rem; font-weight: 600; color: #fff; word-break: break-word; }
.contact-card a.v { text-decoration: none; }

/* Facts strip */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: #343a41; border-top: 1px solid #343a41; border-bottom: 1px solid #343a41; }
.facts-strip div { background: var(--band); padding: 1.4rem 1.2rem 1.4rem 0; }
.facts-strip b { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: #fff; }
.facts-strip span { font-family: var(--f-mono); font-size: .78rem; color: var(--band-muted); letter-spacing: .06em; text-transform: uppercase; }

/* Seal */
.seal { width: min(260px, 70%); aspect-ratio: 1; max-width: 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seal { filter: invert(1) brightness(.9); } }
:root[data-theme="dark"] .seal { filter: invert(1) brightness(.9); }

/* CTA band */
.cta { background: var(--red); color: var(--on-red); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(36px, 5vw, 56px); }
.cta h2 { font-size: var(--step-3); color: var(--on-red); }
.cta .btn { background: #fff; color: #b81d17; }
.cta .btn:hover { background: #15171a; color: #fff; }
.cta .btn-ghost { background: transparent; color: #fff; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: var(--step-4); color: #fff; }
.page-hero .lede { margin-top: 1.2rem; }
.crumbs { font-family: var(--f-mono); font-size: .76rem; color: var(--band-muted); margin-bottom: 1rem; letter-spacing: .06em; }
.crumbs a { color: var(--band-muted); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); font-size: .92rem; }
.site-footer .wrap { padding-block: clamp(44px, 6vw, 72px) 28px; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.foot-grid h4 { color: #fff; font-size: 1.1rem; margin-bottom: .8rem; letter-spacing: .04em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-grid a { color: var(--band-muted); text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand .brand-badge { width: 84px; height: 84px; } .foot-brand .brand-badge img { width: 76px; height: 76px; }
.foot-base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #343a41; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-family: var(--f-mono); font-size: .76rem; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
  .xsec svg .layer rect.slab { transform-box: fill-box; transform-origin: left; animation: lay .6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes lay { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.planner-out .eyebrow { color: #ff7a70; }
.sw-tree { background-color: #3d6a33; background-image: radial-gradient(circle at 25% 35%, #5d9446 0 16%, #47783a 16% 24%, transparent 25%), radial-gradient(circle at 72% 45%, #528a3f 0 19%, #3a6530 19% 27%, transparent 28%), radial-gradient(circle at 50% 80%, #6b4a30 0 4%, transparent 5%), radial-gradient(#4f8540 1px, transparent 2px); background-size: 150px 110px, 170px 120px, 150px 110px, 7px 7px; }
.proj-client { font-weight: 700; font-size: .92rem; display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; max-width: none; }
.proj-val { font-family: var(--f-mono); font-weight: 600; font-size: .82rem; color: var(--red-ink); white-space: nowrap; }
.clients { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; align-items: baseline; padding-block: 1.6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, .9rem + .7vw, 1.5rem); letter-spacing: .02em; color: var(--muted); line-height: 1.1; }
.clients span.pub { color: var(--ink); }
.band .clients { border-color: #343a41; } .band .clients span { color: var(--band-muted); } .band .clients span.pub { color: #fff; }
.band .process p { color: var(--band-muted); }
.facts { gap: 0; background: var(--surface); }
.facts div { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
/* Client logo wall: white plaques in both themes so any logo reads */
.client-wall { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .client-wall[data-kind="public"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 400px) { .client-word { font-size: 1.05rem; } .client-meta { flex-direction: column; } }
.client { display: grid; grid-template-rows: 110px auto; background: #ffffff; color: #15171a; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; font: inherit; padding: 0; }
.client.pick { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.client.pick:hover { transform: translateY(-2px); border-color: var(--red); box-shadow: 0 12px 26px -18px rgba(0,0,0,.5); }
.client-mark { display: grid; place-items: center; padding: 16px 18px; border-bottom: 1px solid #e3e5e8; }
.client-logo { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s ease, opacity .25s ease; }
.client:hover .client-logo, .client:focus-visible .client-logo { filter: none; opacity: 1; }
.client-word { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1; letter-spacing: .02em; text-align: center; color: #15171a; text-wrap: balance; }
.client-meta { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #565c64; background: #f6f7f8; }
.client-meta span:last-child { color: #b81d17; }
.band .client { border-color: #343a41; }
/* Project card art: client logo plaque + service strip */
.logo-art { background: #ffffff; display: grid; grid-template-rows: 1fr 14px; }
.logo-art .logo-slot { display: grid; place-items: center; padding: 18px 24px 28px; min-height: 0; }
.logo-art .client-word { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); max-width: 16ch; }
.logo-art .client-logo { max-height: 96px; max-width: 78%; filter: none; opacity: 1; }
.logo-art .svc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.logo-art .svc-strip .sw::after { height: 3px; }
.logo-art .sw-label { bottom: 22px; }
.dlg-art.logo-host .logo-art .client-logo, .dlg-art .logo-art .client-logo { max-height: 120px; }
