/* Datum: a Line and Grid template. Big, confident and photo-led, for
   established contractors: a full-height hero, the work shown as projects,
   dark and light bands in turn, and one brand colour. To set it up for a firm,
   change the tokens below (--brand does most of the work), swap the photos in
   img/, and edit the copy.
   Every size and space below comes from these tokens: nothing outranks the
   home page h1, and nothing uses a pixel value the scale doesn't have. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --brand: #1F4D3B;        /* the firm's colour: the figures band, buttons, links */
  --brand-ink: #FFFFFF;    /* text on the brand colour */
  --brand-hi: color-mix(in oklab, var(--brand) 42%, #FFFFFF);   /* the brand, lifted to read on the dark bands */
  --ink: #121714;
  --night: #0F1412;        /* the dark bands */
  --night-2: #18201C;      /* the quote form, on a dark band */
  --deep: #0A0D0C;         /* the footer */
  --paper: #F3F1EC;        /* the light bands */
  --sand: #E8E3D8;         /* careers */
  --white: #FFFFFF;
  --muted: #59615C;
  --muted-dark: #A6AEA9;   /* small text on the dark bands */
  --rule: #D8D3C8;
  --rule-dark: rgba(255, 255, 255, .16);
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --radius: 4px;
  --header: 84px;

  /* Type: nine sizes, plus the two in the logo. */
  --fs-hero: clamp(54px, 9vw, 150px);      /* the home page h1 */
  --fs-title: clamp(46px, 6.6vw, 104px);   /* inner page h1s */
  --fs-figure: clamp(58px, 7.4vw, 118px);  /* the figures band */
  --fs-h2: clamp(38px, 4.6vw, 68px);       /* section titles */
  --fs-statement: clamp(27px, 3.2vw, 48px);/* the opening statement, the first review */
  --fs-phone: clamp(34px, 3.6vw, 52px);    /* the phone number in the contact band */
  --fs-h3: clamp(22px, 1.9vw, 30px);       /* card, panel and row titles */
  --fs-lead: clamp(18px, 1.45vw, 21px);    /* the paragraph under a title */
  --fs-body: 17px;
  --fs-small: 15px;                        /* labels, places, small print, the example bar */
  --fs-logo: 20px;
  --fs-logo-sub: 13px;

  /* Space: six steps, then five that grow with the screen. */
  --s0: 4px;
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s-block: clamp(32px, 4vw, 56px);       /* under a section title */
  --s-step: clamp(56px, 7vw, 104px);       /* between stacked blocks */
  --s-section: clamp(80px, 10vw, 144px);   /* the top and bottom of a section */
  --gap: clamp(20px, 2.4vw, 32px);         /* between cards */
  --gap-wide: clamp(32px, 5.5vw, 96px);    /* between a photo and its words, and between columns */

  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Where the browser can, lift the brand to a light shade of its own hue, so it keeps its colour on the dark bands. */
@supports (color: oklch(from red l c h)) {
  :root { --brand-hi: oklch(from var(--brand) 0.82 clamp(0.05, c * 1.25, 0.085) h); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + var(--s3)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .page-head :focus-visible, .top :focus-visible, .foot :focus-visible { outline-color: var(--brand-hi); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: .88; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); line-height: .95; }
h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 34em; }
.hl { color: var(--brand-hi); }
.arr { width: 1em; height: 1em; flex: none; transition: transform 200ms var(--ease); }
a:hover .arr { transform: translateX(3px); }
.skip { position: absolute; left: var(--s2); top: -80px; background: var(--brand); color: var(--brand-ink); padding: var(--s2) var(--s3); z-index: 40; }
.skip:focus { top: var(--s2); }

/* Sections rise into view as they arrive (only with JavaScript, and never with reduced motion). */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* The example bar: only on the demo. Delete it for a client. */
.example { background: var(--paper); color: var(--muted); font-size: var(--fs-small); }
.example .wrap { display: flex; flex-wrap: wrap; gap: var(--s0) var(--s3); align-items: center; justify-content: space-between; padding-block: var(--s2); }
.example a { color: var(--ink); font-weight: 600; }
.example .back { margin-left: auto; font-weight: 400; }
.demo-note { position: fixed; left: var(--s3); right: var(--s3); bottom: var(--s3); z-index: 30; max-width: 560px; margin: 0 auto; display: flex; gap: var(--s3); align-items: flex-start; justify-content: space-between; background: var(--paper); color: var(--ink); padding: var(--s3); border-radius: var(--radius); font-size: var(--fs-small); line-height: 1.5; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.demo-note[hidden] { display: none; }
.demo-note a { color: var(--brand); font-weight: 600; }
.demo-note button { flex: none; background: none; border: 0; color: var(--ink); font: inherit; font-size: var(--fs-logo); line-height: 1; padding: 0 var(--s0); cursor: pointer; }

/* ---------- Header: over the first photo, solid once the page scrolls ---------- */
.top { position: sticky; top: 0; z-index: 20; height: var(--header); margin-bottom: calc(-1 * var(--header)); background: var(--night); color: var(--white); transition: background-color 300ms ease-out, box-shadow 300ms ease-out; }
.js .top:not(.solid) { background: transparent; }
.top.solid { box-shadow: 0 1px 0 var(--rule-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 100%; }
.logo { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; color: inherit; font-weight: 800; font-size: var(--fs-logo); line-height: 1; letter-spacing: -0.02em; }
.logo .mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); border-radius: var(--radius); font-size: var(--fs-logo); }
.logo .mark.svg { background: none; color: var(--brand); }
.logo .mark svg { display: block; width: 100%; height: 100%; }
.logo small { display: block; margin-top: var(--s0); font-size: var(--fs-logo-sub); font-weight: 400; letter-spacing: 0; opacity: .72; }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: var(--s1) 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; text-decoration-color: var(--brand-hi); }
.nav .btn, .nav .btn:hover { text-decoration: none; }
.menu { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: var(--s2) var(--s3); border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-list { display: grid; }
  .menu-list { display: none; position: absolute; right: 0; top: calc(100% + var(--s1)); min-width: 240px; background: var(--night-2); border: 1px solid var(--rule-dark); border-radius: var(--radius); padding: var(--s1); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
  .menu-list a { padding: var(--s2); color: var(--white); text-decoration: none; font-weight: 600; }
}
@media (max-width: 420px) { .logo small { display: none; } }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: var(--s1); min-height: 54px; padding: 0 var(--s4); border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: filter 150ms ease-out; }
.btn:hover { filter: brightness(1.15); }
.btn.line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn.line:hover { background: var(--white); color: var(--ink); filter: none; }
.btn.small { min-height: 44px; padding: 0 var(--s3); font-size: var(--fs-small); }
.more { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more:hover { color: var(--brand); }
.dark .more { color: var(--white); }
.dark .more:hover { color: var(--brand-hi); }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-section); }
.section.dark { background: var(--night); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s-block); }
.section-head p { margin-top: var(--s3); max-width: 34em; color: var(--muted); }
.dark .section-head p, .dark .lead { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(640px, 100svh); display: grid; grid-template-rows: 1fr auto; padding-top: var(--header); background: var(--night); color: var(--white); overflow: hidden; }
.hero .bg, .page-head .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: settle 14s var(--ease) both; }
/* On the demo, the example bar sits above the hero: keep the strip on the first screen. */
.example ~ main .hero { min-height: max(640px, calc(100svh - 48px)); }
@keyframes settle { from { transform: scale(1.1); } to { transform: none; } }
.hero::after, .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 12, .6) 0%, rgba(10, 14, 12, .1) 28%, rgba(10, 14, 12, .3) 55%, rgba(10, 14, 12, .9) 100%), linear-gradient(90deg, rgba(10, 14, 12, .55), rgba(10, 14, 12, 0) 70%); }
.hero-in { align-self: end; padding-block: var(--s-step) var(--s-block); }
.hero .intro { font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero h1 { margin-top: var(--s3); max-width: 9.5em; }
.hero h1 span { display: block; }
.js .hero h1 span, .js .hero .lead, .js .hero .actions { animation: rise 1s var(--ease) both; }
.js .hero h1 span + span { animation-delay: 120ms; }
.js .hero .lead { animation-delay: 260ms; }
.js .hero .actions { animation-delay: 360ms; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.hero .lead { margin-top: var(--s4); color: rgba(255, 255, 255, .86); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .28); }
.strip li { padding: var(--s4) var(--s4) var(--s5) 0; }
.strip li + li { padding-left: var(--s4); border-left: 1px solid rgba(255, 255, 255, .28); }
.strip span { display: block; font-size: var(--fs-small); color: rgba(255, 255, 255, .72); }
.strip b { display: flex; align-items: center; gap: var(--s1); margin-top: var(--s0); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.strip a { color: var(--white); text-decoration: none; }
.strip a:hover b { color: var(--brand-hi); }
@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .28); }
  .strip li { padding-block: var(--s3); }
}

/* ---------- The opening statement, with the photos stacked beside it ---------- */
.about-intro { background: var(--paper); }
.statement { font-size: var(--fs-statement); line-height: 1.12; font-weight: 650; letter-spacing: -0.022em; max-width: 25em; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-wide); align-items: center; margin-top: var(--s-step); }
.collage { position: relative; aspect-ratio: 6 / 5; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(18, 23, 20, .45); }
.collage img:nth-child(1) { left: 0; top: 10%; width: 64%; aspect-ratio: 4 / 3; }
.collage img:nth-child(2) { right: 0; top: 0; width: 42%; aspect-ratio: 4 / 5; }
.collage img:nth-child(3) { left: 34%; bottom: 0; width: 38%; aspect-ratio: 1; }
.intro-copy .lead { color: var(--ink); }
.for { margin-top: var(--s5); font-size: var(--fs-small); color: var(--muted); }
.clients { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); border-top: 1px solid var(--rule); }
.clients li { padding: var(--s2) 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-lead); font-weight: 650; letter-spacing: -0.01em; }
.intro-copy .more { margin-top: var(--s5); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- What we do: panels that open to the one you point at ---------- */
.panels { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); display: flex; gap: var(--s2); height: clamp(460px, 72vh, 700px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; transition: flex-grow 600ms var(--ease); }
.panels:not(:hover):not(:focus-within) .panel:first-child, .panel:hover, .panel:focus-within { flex-grow: 2.6; }
.panel a { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s4); color: var(--white); text-decoration: none; }
.panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.panel a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 12, .35) 0%, rgba(10, 14, 12, .15) 35%, rgba(10, 14, 12, .9) 100%); }
.panel:hover img { transform: scale(1.04); }
.panel .n { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.pt { max-width: 30em; }
.pd, .go { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 500ms var(--ease), opacity 300ms ease-out; }
.panels:not(:hover):not(:focus-within) .panel:first-child :is(.pd, .go), .panel:hover :is(.pd, .go), .panel:focus-within :is(.pd, .go) { max-height: 10em; opacity: 1; transition-delay: 150ms; }
.pd { margin-top: var(--s2); color: rgba(255, 255, 255, .85); }
.go { display: flex; align-items: center; gap: var(--s1); margin-top: var(--s3); font-weight: 600; }
@media (max-width: 960px) {
  .panels { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: var(--s2); scrollbar-width: none; }
  .panel, .panels:not(:hover):not(:focus-within) .panel:first-child, .panel:hover, .panel:focus-within { flex: 0 0 min(82%, 420px); height: 460px; scroll-snap-align: start; }
  .pd, .go { max-height: none; opacity: 1; }
}

/* ---------- The figures ---------- */
.stats { background: var(--brand); color: var(--brand-ink); padding-block: var(--s-step); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { padding-right: var(--s4); }
.stats li + li { padding-left: var(--s4); border-left: 1px solid color-mix(in oklab, var(--brand-ink) 28%, transparent); }
.stats b { display: block; font-size: var(--fs-figure); font-weight: 800; line-height: .9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stats li > span { display: block; margin-top: var(--s2); opacity: .85; }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
  .stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ---------- Projects: a rail that scrolls sideways ---------- */
.ctrl { display: flex; align-items: center; gap: var(--s2); }
.ctrl button { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out; }
.ctrl button:hover { background: var(--ink); color: var(--white); }
.ctrl button:first-child .arr { transform: rotate(180deg); }
.ctrl .more { margin-left: var(--s3); }
html:not(.js) .ctrl button { display: none; }
.rail { --inset: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset); padding: 0 var(--inset) var(--s3); scrollbar-width: thin; }
.rail .card { flex: 0 0 clamp(290px, 40vw, 600px); scroll-snap-align: start; }
.card { position: relative; }
.card-img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card:has(a:hover) .card-img img { transform: scale(1.04); }
.tag { position: absolute; left: var(--s3); top: var(--s3); padding: var(--s0) var(--s2); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.tag.on { background: var(--brand); color: var(--brand-ink); }
.card h2, .card h3 { margin-top: var(--s3); font-size: var(--fs-h3); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card .where { margin-top: var(--s1); color: var(--muted); }
.card .where span { display: block; font-size: var(--fs-small); }
.card .where + p { margin-top: var(--s2); max-width: 36em; }
@media (max-width: 600px) { .ctrl button { display: none; } .ctrl .more { margin-left: 0; } }

/* ---------- How we work: the heading stays put while the four photos pass ---------- */
.how { background: var(--paper); }
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-wide); align-items: start; }
.how-head { position: sticky; top: calc(var(--header) + var(--s5)); }
.how-head .lead { margin-top: var(--s4); }
.how-head .more { margin-top: var(--s5); }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-block) var(--gap); }
.how-list li:nth-child(even) { margin-top: var(--s-step); }
.how-list img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.how-list h3 { margin-top: var(--s4); }
.how-list p { margin-top: var(--s2); color: var(--muted); }
@media (max-width: 860px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .how-head { position: static; }
}
@media (max-width: 560px) {
  .how-list { grid-template-columns: minmax(0, 1fr); }
  .how-list li:nth-child(even) { margin-top: 0; }
  .how-list img { aspect-ratio: 3 / 2; }
}

/* ---------- Reviews: the first one large ---------- */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-block) var(--gap-wide); }
.review { padding-top: var(--s4); border-top: 1px solid var(--rule); }
.dark .review { border-top-color: var(--rule-dark); }
.review:first-child { grid-column: 1 / -1; }
.stars { display: flex; gap: 2px; margin: 0; color: var(--brand); }
.dark .stars { color: var(--brand-hi); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: var(--s3) 0 0; }
.review blockquote p { font-size: var(--fs-lead); line-height: 1.45; }
.review:first-child blockquote p { font-size: var(--fs-statement); line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; max-width: 26em; }
.who { margin-top: var(--s3); font-size: var(--fs-small); font-weight: 600; }
.who span { display: block; font-weight: 400; color: var(--muted); }
.dark .who span { color: var(--muted-dark); }
@media (max-width: 760px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Careers ---------- */
.careers { background: var(--sand); }
.careers-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-wide); align-items: center; }
.careers-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.careers .lead { margin-top: var(--s4); color: var(--ink); }
.jobs { list-style: none; margin: var(--s5) 0; padding: 0; border-top: 1px solid var(--rule); }
.jobs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s4); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.jobs b { font-size: var(--fs-h3); font-weight: 750; letter-spacing: -0.015em; line-height: 1.15; }
.jobs span { grid-column: 1; color: var(--muted); font-size: var(--fs-small); }
.jobs .arr { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; }
.jobs a:hover b { color: var(--brand); }
@media (max-width: 860px) { .careers-grid { grid-template-columns: minmax(0, 1fr); } .careers-img { aspect-ratio: 3 / 2; } }

/* ---------- Questions ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s4) var(--gap-wide); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; list-style: none; cursor: pointer; font-size: var(--fs-h3); font-weight: 750; letter-spacing: -0.015em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; color: var(--brand); background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 200ms ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { margin: 0 0 var(--s4); color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-wide); align-items: start; }
.contact h2 .hl, .cta h2 .hl { display: block; }
.contact .lead { margin-top: var(--s4); }
.phone { display: inline-block; margin-top: var(--s5); font-size: var(--fs-phone); font-weight: 800; letter-spacing: -0.025em; line-height: 1; color: var(--white); text-decoration: none; }
.phone:hover { color: var(--brand-hi); }
.contact dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s1) var(--s4); margin: var(--s5) 0 0; }
.contact dt { color: var(--muted-dark); }
.contact dd { margin: 0; }
.contact dd a { color: var(--white); }
.quote { display: grid; gap: var(--s3); padding: var(--gap); background: var(--night-2); border: 1px solid var(--rule-dark); border-radius: var(--radius); }
.quote .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.quote label { display: grid; gap: var(--s1); font-size: var(--fs-small); font-weight: 600; }
.quote input, .quote textarea { width: 100%; min-height: 52px; padding: var(--s2) var(--s3); border: 1px solid transparent; border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-weight: 400; font-size: var(--fs-body); }
.quote textarea { min-height: 128px; resize: vertical; }
.quote .done { font-weight: 600; color: var(--brand-hi); }
.quote .done:empty { display: none; }
@media (max-width: 860px) { .contact-grid, .quote .pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The end of every inner page ---------- */
.cta { background: var(--brand); color: var(--brand-ink); padding-block: var(--s-step); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5) var(--gap-wide); }
.cta h2 { max-width: 14em; }
.cta h2 .hl { color: color-mix(in oklab, var(--brand-ink) 62%, var(--brand)); }
.cta-side { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.cta .btn { background: var(--brand-ink); color: var(--brand); }
.cta .phone { margin-top: 0; color: var(--brand-ink); font-size: var(--fs-h3); }

/* ---------- Inner pages ---------- */
.page-head { position: relative; isolation: isolate; min-height: clamp(440px, 64vh, 640px); display: grid; align-items: end; padding-top: var(--header); background: var(--night); color: var(--white); overflow: hidden; }
.page-head .wrap { padding-block: var(--s-step) var(--s-block); }
.page-head h1 { font-size: var(--fs-title); max-width: 12em; }
.page-head .lead { margin-top: var(--s4); color: rgba(255, 255, 255, .86); }
.page-head .lead a { color: var(--white); }

.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap-wide); align-items: center; padding-block: var(--s-block); }
.service:first-child { padding-top: 0; }
.service:last-child { padding-bottom: 0; }
.service + .service { border-top: 1px solid var(--rule); }
.service:nth-child(even) > img { order: 2; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service .n { display: block; color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.service h2 { margin-top: var(--s2); font-size: clamp(34px, 3.6vw, 54px); }
.service .lead { margin-top: var(--s3); color: var(--ink); }
.service p:not(.lead) { margin-top: var(--s3); color: var(--muted); max-width: 36em; }
.service ul, .job ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s1); }
.service li, .job li { position: relative; padding-left: var(--s4); }
.service li::before, .job li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--brand); border-radius: 2px; }
@media (max-width: 860px) { .service { grid-template-columns: minmax(0, 1fr); } .service:nth-child(even) > img { order: 0; } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-step) var(--gap); }
@media (max-width: 760px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap-wide); align-items: start; }
.story .lead { color: var(--ink); }
.story p + p { margin-top: var(--s3); color: var(--muted); max-width: 36em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.facts li { padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.facts b { display: block; font-size: clamp(44px, 4.6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.facts span { color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
.areas ul { list-style: none; margin: var(--s-block) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--rule); }
.areas li { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-h3); font-weight: 750; letter-spacing: -0.015em; }
@media (max-width: 760px) { .areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.apprentices { background: var(--sand); }
.apprentices .lead { margin-top: var(--s4); color: var(--ink); max-width: 38em; }
.apprentices .btn { margin-top: var(--s5); }
.job { padding: var(--s-block) 0; border-bottom: 1px solid var(--rule); }
.job:first-child { padding-top: 0; }
.job:last-child { border-bottom: 0; padding-bottom: 0; }
.job h2 { font-size: clamp(34px, 3.6vw, 54px); }
.job .facts-row { display: flex; flex-wrap: wrap; gap: var(--s0) var(--s4); margin-top: var(--s2); color: var(--brand); font-weight: 600; }
.job p { margin-top: var(--s3); color: var(--muted); max-width: 46em; }
.job .btn { margin-top: var(--s4); }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--muted-dark); font-size: var(--fs-small); padding-top: var(--s-step); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.foot .logo { color: var(--white); }
.foot-cols p { margin-top: var(--s3); max-width: 26em; }
.foot h2 { margin-bottom: var(--s2); font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; line-height: 1.6; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { color: var(--brand-hi); text-decoration: underline; }
.foot .logo:hover { text-decoration: none; }
.wordmark { margin: var(--s-step) 0 calc(-0.12em); font-size: clamp(88px, 19vw, 300px); font-weight: 800; line-height: .8; letter-spacing: -0.055em; color: rgba(255, 255, 255, .07); white-space: nowrap; }
.foot .base { border-top: 1px solid var(--rule-dark); }
.foot .base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s4); padding-block: var(--s3) var(--s4); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Phones: call or ask for a quote, always in reach ---------- */
.callbar { display: none; }
@media (max-width: 960px) {
  body { padding-bottom: 65px; }
  .callbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s1); padding: var(--s1) var(--gutter); background: var(--night); border-top: 1px solid var(--rule-dark); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font-size: var(--fs-small); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .cb-call { background: var(--brand); color: var(--brand-ink); }
  .cb-quote { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  .demo-note { bottom: calc(65px + var(--s2)); }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero .bg, .page-head .bg, .js .hero h1 span, .js .hero .lead, .js .hero .actions { animation: none; }
  .panel, .panel img, .pd, .go, .card-img img, .arr, .faq summary::after { transition: none; }
}
