/* North & Noble: site styles. Concatenated from src/css/*.css by build.mjs.
 *
 * Design plan (single deliberate look: daylight)
 *   Layout   Left-aligned editorial grid. The one bold moment is the drawn house section in the hero;
 *            everything else stays quiet and typographic. Drawings replace stock photography until
 *            real project photos exist, and every plate has a photo slot waiting.
 *   Colour   The logo's two colours do the work: navy (dark bands, buttons) and silver (on navy). Paper is a cool
 *            off-white, ink a deeper navy for text and line work, and a steel blue (accent, accent-d) marks
 *            hover, focus and the active zone. No warm accent: photography brings the warmth.
 *   Type     Marcellus for headlines only, Hanken Grotesk for reading, Barlow Semi Condensed for drafting
 *            labels inside drawings and small tags.
 */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #f4f6f8;
  --paper-2: #e8ecf1;
  --fill-2: #dde3ea;
  --line: #c9d1da;
  --ink: #17283c;
  --ink-2: #4a5b6e;
  --navy: #243c57;
  --navy-2: #2f4e72;
  --navy-3: #182b41;
  --silver: #bfc7cf;
  --accent: #4f77a3;
  --accent-d: #2e5a8a;
  --accent-l: var(--silver);
  --glass: #d3e0ea;

  --f-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-draw: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: clamp(2.45rem, 1.4rem + 4.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.005em; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
h2 + p, h2 + .lede { margin-top: 1rem; }
.lede + .small, p + .small { margin-top: 1rem; }
.small { font-size: .9375rem; }
.muted { color: var(--ink-2); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--navy); color: var(--paper); padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band-dark { background: var(--navy); color: var(--paper); }
.band-dark .muted, .band-dark .lede { color: #b8c3ce; }
.band-panel { background: var(--paper-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3rem; padding: .7rem 1.4rem; border-radius: var(--radius); border: 1.5px solid var(--navy); background: var(--navy); color: var(--paper); font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--navy); color: var(--paper); }
.band-dark .btn { background: var(--accent-l); border-color: var(--accent-l); color: var(--navy); }
.band-dark .btn:hover { background: #dbe0e6; border-color: #dbe0e6; }
.band-dark .btn--ghost { background: transparent; color: var(--paper); border-color: #7b8ea5; }
.band-dark .btn--ghost:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.link { color: var(--accent-d); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 3px; }
.band-dark .link { color: var(--accent-l); }

/* Drawings. Every drawing is inline SVG styled here, so tokens recolour them. */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art * { vector-effect: non-scaling-stroke; }
.art .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.art .ln.thin { stroke-width: 1.1; }
.art .ln.heavy { stroke-width: 2.2; }
.art .ln2 { fill: none; stroke: var(--ink-2); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.art .ln2.thin { stroke-width: .9; }
.art .ln2.hair { stroke-width: .6; }
.art .dash { stroke-dasharray: 6 5; }
.art .ghost { stroke-dasharray: 5 4; }
.art .nofill { fill: none; }
.art .fl { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.art .pch { fill: var(--ink); stroke: none; }
.art .pch2 { fill: var(--ink-2); stroke: none; }
.art .band { fill: var(--fill-2); stroke: var(--ink); stroke-width: 1.2; }
.art .gls { fill: var(--glass); stroke: var(--ink); stroke-width: 1.1; }
.art .lbl { font: 500 11px/1 var(--f-draw); letter-spacing: .09em; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.art .lbl.accent, .art .accent { fill: var(--accent-d); }
.art .lbl.sm { font-size: 9px; letter-spacing: .08em; }
.art .lbl.lg { font-size: 15px; font-weight: 600; fill: var(--ink); letter-spacing: .1em; }
.art .dim { stroke: var(--ink-2); stroke-width: .9; fill: none; }
.art .dimt { font-size: 10.5px; }
.art .ghostfill { fill: var(--accent); opacity: .07; stroke: none; }
.art .ztint { fill: var(--accent); opacity: 0; transition: opacity .25s; }
.art .hitfill { fill: transparent; pointer-events: all; cursor: pointer; }
.art .hit:focus { outline: none; }
.art .hit:focus-visible .hitfill { stroke: var(--accent-d); stroke-width: 3; }
.art g[data-z] { transition: opacity .25s; }

/* Zone highlight. Inside the active group the ink tokens point at the accent blue, so every line in it recolours. */
.hero-art[data-active="kitchen"] [data-zt="kitchen"] .ztint,
.hero-art[data-active="bathroom"] [data-zt="bathroom"] .ztint,
.hero-art[data-active="basement"] [data-zt="basement"] .ztint,
.hero-art[data-active="addition"] [data-zt="addition"] .ztint,
.hero-art[data-active="deck"] [data-zt="deck"] .ztint { opacity: .2; }
.hero-art[data-active="all"] .ztint { opacity: .1; }

.hero-art[data-active="kitchen"] g[data-z="kitchen"],
.hero-art[data-active="bathroom"] g[data-z="bathroom"],
.hero-art[data-active="basement"] g[data-z="basement"],
.hero-art[data-active="addition"] g[data-z="addition"],
.hero-art[data-active="deck"] g[data-z="deck"],
.hero-art[data-active="structure"] g[data-z="structure"],
.hero-art[data-active="all"] g[data-z]:not([data-z="notes"]) { --ink: var(--accent-d); --ink-2: var(--accent); }

.hero-art[data-active="kitchen"] g[data-z]:not([data-z="kitchen"], [data-z="notes"], [data-z="structure"], [data-z="hall"]),
.hero-art[data-active="bathroom"] g[data-z]:not([data-z="bathroom"], [data-z="notes"], [data-z="structure"], [data-z="hall"]),
.hero-art[data-active="basement"] g[data-z]:not([data-z="basement"], [data-z="notes"], [data-z="structure"], [data-z="hall"]),
.hero-art[data-active="addition"] g[data-z]:not([data-z="addition"], [data-z="notes"], [data-z="structure"], [data-z="hall"]),
.hero-art[data-active="deck"] g[data-z]:not([data-z="deck"], [data-z="notes"], [data-z="structure"], [data-z="hall"]),
.hero-art[data-active="structure"] g[data-z]:not([data-z="structure"], [data-z="notes"]) { opacity: .35; }

/* header, navigation, hero, plates, chips */
[hidden] { display: none !important; }

/* ---- header ---- */
.site-header { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 40; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 2.7rem; width: auto; }
@media (min-width: 560px) { .brand img { height: 3rem; } }

.menu-btn { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; background: transparent; border: 1.5px solid var(--navy); border-radius: var(--radius); font-weight: 650; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--navy); color: var(--paper); }

.nav { display: none; }
.site-header.is-open .nav { display: flex; flex-direction: column; gap: 1rem; position: absolute; left: 0; right: 0; top: 100%; padding: 1rem var(--gutter-r) 1.5rem var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -22px rgba(23, 40, 60, .45); }
.nav ul { display: flex; flex-direction: column; }
.nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.nav li a[aria-current="page"] { color: var(--accent-d); }
.nav .btn { width: 100%; }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav, .site-header.is-open .nav { display: flex; flex-direction: row; align-items: center; gap: 2rem; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav ul { flex-direction: row; gap: 1.75rem; }
  .nav li a { padding: .4rem 0; border: 0; font-size: .98rem; border-bottom: 2px solid transparent; }
  .nav li a:hover { border-bottom-color: var(--accent); }
  .nav li a[aria-current="page"] { border-bottom-color: var(--accent-d); }
  .nav .btn { width: auto; min-height: 2.75rem; padding: .5rem 1.15rem; font-size: .95rem; }
}

/* ---- plates: a photo, or the drawing that stands in for it ---- */
.plate { position: relative; margin: 0; background-color: var(--paper-2); background-image: linear-gradient(rgba(23, 40, 60, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 40, 60, .05) 1px, transparent 1px); background-size: 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; }
.plate img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.plate--card, .plate--wide { padding: .5rem; }
.plate--wide { align-self: start; }
.plate--card .art text { display: none; }
.badge { position: absolute; left: .6rem; top: .6rem; padding: .15rem .55rem; background: var(--paper); border: 1px solid var(--accent-d); border-radius: 2px; color: var(--accent-d); font: 600 .75rem/1.4 var(--f-draw); letter-spacing: .12em; text-transform: uppercase; }
.plate--compass { max-width: 20rem; width: 100%; margin-inline: auto; padding: 0; background: none; border: 0; }
@media (min-width: 1000px) { .plate--compass { max-width: 24rem; } }

/* ---- hero ---- */
.hero { padding-top: clamp(2.25rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.45rem, 1.5rem + 3.1vw, 3.9rem); }
.hero-copy .lede { margin-top: 1.25rem; }
.checks { display: grid; gap: .55rem; margin-top: 1.5rem; }
.checks li, .ticks li { position: relative; padding-left: 1.55rem; }
.checks li::before, .ticks li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .55rem; height: .55rem; background: var(--accent); transform: rotate(45deg); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { padding: .75rem .75rem .5rem; }
.hero-cap { margin-top: .5rem; padding: .6rem .35rem .25rem; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; color: var(--ink-2); min-height: 5.2em; }
.hero-cap strong { color: var(--ink); font-weight: 650; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 600 .875rem/1.2 var(--f-draw); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover, .chip.is-hover { border-color: var(--accent); background: #fff; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
}
@media (max-width: 640px) {
  .hero-art .art text { display: none; }
}

/* home sections: model, crew sheet, grids, cards, steps, area, reviews, call to action, FAQ */
.sec-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 46rem; }
.sec-head .lede { margin-top: 1rem; }
.more { margin-top: 2rem; }

/* model: a team built for each project */
.model { display: grid; gap: 3rem; align-items: start; }
.model-copy .lede { margin-top: 1.25rem; }
.points { display: grid; gap: 1.5rem; margin-top: 2rem; }
.points li { padding-top: 1rem; border-top: 1px solid var(--line); }
.points h3 { font-size: 1.15rem; }
.points p { margin-top: .35rem; }
.model-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.sheet-label { font: 600 .8125rem/1.3 var(--f-draw); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-d); margin-bottom: .75rem; }
.model-sheet .small { margin-top: .9rem; }

/* crew sheet: a real table drawn as bars */
.crew-panel + .crew-panel { margin-top: 2.5rem; }
.crew-title { font-size: 1.5rem; margin-bottom: .75rem; }
.crew { width: 100%; border-collapse: collapse; table-layout: fixed; }
.crew th, .crew td { padding: 0; border-bottom: 1px solid var(--line); height: 2.5rem; }
.crew thead th { height: auto; padding: 0 0 .45rem; font: 600 .6875rem/1.15 var(--f-draw); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-align: center; vertical-align: bottom; overflow-wrap: anywhere; }
.crew thead th:first-child { width: 34%; }
.crew tbody th { text-align: left; font-weight: 600; font-size: .9375rem; line-height: 1.25; padding: .35rem .5rem .35rem 0; }
.crew td.on i { display: block; height: .75rem; background: var(--accent); }
.crew td.on.s i, .crew td.on.o i { margin-left: .4rem; border-radius: 6px 0 0 6px; }
.crew td.on.e i, .crew td.on.o i { margin-right: .4rem; border-radius: 0 6px 6px 0; }
.crew td.on.o i { border-radius: 6px; }
.crew tbody tr:last-child th, .crew tbody tr:last-child td { border-bottom-color: var(--ink-2); }
.crew .ph-short { display: none; }
@media (max-width: 520px) {
  .crew .ph-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .crew .ph-short { display: inline; }
  .crew thead th:first-child { width: 31%; }
  .model-sheet { padding: 1rem .85rem .85rem; }
}

/* crew tabs (shown by script; without it every crew table is listed in turn) */
.tablist { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.tab { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); font: 600 .875rem/1.2 var(--f-draw); letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s; }
.tab:hover { border-color: var(--accent); background: #fff; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.crew-tabs.is-ready .crew-title { display: none; }
.band-panel .tab { background: #fff; }
.band-panel .tab[aria-selected="true"] { background: var(--navy); }
.band-panel .crew-panel { max-width: 46rem; }

/* grids and cards */
.band-panel .plate { background-color: var(--paper); }
.grid { display: grid; gap: 2rem 1.5rem; }
.card { display: block; color: inherit; text-decoration: none; }
.card h3 { margin-top: 1rem; }
.card p { margin-top: .35rem; }
.card .plate { transition: border-color .2s, transform .2s; }
.card:hover .plate, .card:focus-visible .plate { border-color: var(--accent); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* steps: dark band */
.steps-band h2 { color: var(--paper); }
.steps { display: grid; gap: 1.75rem; counter-reset: none; }
.steps li { padding-top: 1rem; border-top: 1px solid #4a6585; }
.step-n { display: block; font: 400 2.25rem/1 var(--f-display); color: var(--accent-d); }
.band-dark .step-n { color: var(--accent-l); }
.steps h3 { margin-top: .6rem; font-size: 1.15rem; color: var(--paper); }
.steps p { margin-top: .4rem; }

/* service area */
.area { display: grid; gap: 2.5rem; align-items: center; }
.area-list { columns: 2 8.5rem; column-gap: 1.75rem; margin-top: 1.75rem; }
.area-list li { padding: .3rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: .9875rem; }
.area .small { margin-top: 1rem; }

/* reviews (only rendered when real reviews exist) */
.reviews { display: grid; gap: 1.5rem; }
.review { margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.review figcaption { margin-top: 1rem; font: 600 .875rem/1.3 var(--f-draw); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* call to action */
.cta { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.cta h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); color: var(--paper); }
.cta .lede { margin-top: .9rem; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* FAQ */
.faqs { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 650; font-size: 1.075rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font: 400 1.6rem/1 var(--f-display); color: var(--accent-d); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 2.5rem 1.25rem 0; color: var(--ink-2); max-width: 40rem; }

@media (min-width: 600px) {
  .points { grid-template-columns: 1fr 1fr; }
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .model { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .area { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* inner pages: breadcrumbs, page heads, two-column layouts, lists, project pages, process */
.crumbs { padding-top: 1.25rem; padding-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font: 600 .8125rem/1.4 var(--f-draw); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-d); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--ink); }

.page-head { padding-bottom: 0; }
.page-head--solo { padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.5vw, 3.9rem); max-width: 18em; }
.page-head .lede { margin-top: 1.25rem; }
.page-head .lede + .lede { margin-top: .9rem; }
.narrow { max-width: 50rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: .85rem; max-width: 40rem; }

.two { display: grid; gap: 2rem 4rem; align-items: start; }
.two > .actions { margin-top: 0; }
.svc-hero { display: grid; gap: 2.5rem; align-items: center; }
.svc-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.5vw, 3.9rem); }
.svc-hero .lede { margin-top: 1.25rem; }
.svc-hero .lede + .lede { margin-top: .9rem; }

.ticks { display: grid; gap: .6rem; }
.ticks--sm { gap: .4rem; margin-top: .75rem; font-size: .9875rem; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.tags li { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: 600 .8125rem/1.3 var(--f-draw); letter-spacing: .08em; text-transform: uppercase; }

.note { margin-top: 1.5rem; max-width: 46rem; padding: .85rem 1.1rem; border-left: 3px solid var(--accent); background: var(--paper-2); font-size: .9375rem; color: var(--ink-2); }

/* project page */
.project-grid { display: grid; gap: 2rem; align-items: start; }
.facts dl { display: grid; gap: 1rem; margin: 0; }
.facts dl > div { padding-top: .75rem; border-top: 1px solid var(--line); }
.facts dt { font: 600 .8125rem/1.3 var(--f-draw); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: .2rem 0 0; font-weight: 600; }

/* how we build: five stages */
.process { display: grid; gap: 0; counter-reset: none; }
.proc { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.proc:last-child { border-bottom: 1px solid var(--line); }
.proc h3 { font-size: 1.3rem; }
.proc p { margin-top: .3rem; color: var(--ink-2); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }

@media (min-width: 900px) {
  .two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .two--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .svc-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; }
  .project-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; }
  .points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 600px) {
  .points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

/* contact form and footer */
:root { --field: #6d7f93; }

.contact-grid { display: grid; gap: 3rem; align-items: start; }
.form { display: grid; gap: 1.25rem; }
.field-row { display: grid; gap: 1.25rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 650; font-size: .96rem; }
.field .opt { margin-left: .35rem; font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 3rem; padding: .65rem .85rem; background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius); }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317283c' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem; }
.field input[type="file"] { padding: .55rem .6rem; }
.field input[type="file"]::file-selector-button { margin-right: .8rem; padding: .4rem .9rem; border: 1.5px solid var(--navy); border-radius: var(--radius); background: var(--paper); font: inherit; font-weight: 650; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field :user-invalid { border-color: #9a2f1f; }
.hint { margin-top: .4rem; font-size: .9rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { padding: .85rem 1.1rem; border-left: 3px solid var(--accent); background: var(--paper-2); font-size: .9875rem; }

.contact-side h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.contact-side h2 + .next, .contact-side h2 + .contact-lines { margin-top: 1.25rem; }
.contact-side .next + h2 { margin-top: 2.5rem; }
.next { display: grid; gap: 1.25rem; }
.next li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; }
.next .step-n { font-size: 1.9rem; }
.next h3 { font-size: 1.05rem; }
.contact-lines { line-height: 1.9; }
.contact-lines .k { display: inline-block; min-width: 4rem; font: 600 .8125rem/1 var(--f-draw); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact-side .small { margin-top: .5rem; }

/* footer */
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--navy-3); border-top: 1px solid #3b5675; }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
.foot-brand, .foot > div:last-child { grid-column: 1 / -1; }
.foot-brand p { margin-top: 1rem; max-width: 22rem; }
.foot-h { font: 600 .8125rem/1.3 var(--f-draw); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-l); margin-bottom: .9rem; }
.foot ul { display: grid; gap: .45rem; }
.foot a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot a.link { text-decoration: underline; }
.foot-base { margin-top: 3rem; padding-bottom: 1.75rem; }
.foot-base span { display: block; padding-top: 1.25rem; border-top: 1px solid #3b5675; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
  .foot-brand, .foot > div:last-child { grid-column: auto; }
}
