/* ==========================================================================
   LS6 Construction
   Palette: site ink, signal yellow, concrete putty, fresh plaster.
   Type: Schibsted Grotesk (display + text), Martian Mono (labels, data).
   ========================================================================== */

:root {
  --ink: #1a1915;
  --ink-90: #24221d;
  --ink-80: #34312a;
  --paper: #f3f0e9;
  --paper-2: #ebe7de;
  --putty: #e2dcd0;
  --putty-2: #d3cbbd;
  --plaster: #ebd2c4;
  --signal: #ffd400;
  --white: #ffffff;

  --text-muted: #5c584e;
  --line: rgba(26, 25, 21, 0.14);
  --line-2: rgba(26, 25, 21, 0.3);
  --line-inv: rgba(243, 240, 233, 0.16);
  --muted-inv: rgba(243, 240, 233, 0.68);

  --font-sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(3rem, 1.2rem + 7.4vw, 9rem);
  --fs-display-2: clamp(2.75rem, 1.35rem + 5.4vw, 7.25rem);
  --fs-h2: clamp(2.25rem, 1.3rem + 3.5vw, 4.75rem);
  --fs-h3: clamp(1.625rem, 1.25rem + 1.3vw, 2.5rem);
  --fs-h4: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
  --fs-lead: clamp(1.5rem, 1.05rem + 1.75vw, 2.875rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.6875rem;

  --gutter: clamp(16px, 3vw, 48px);
  --frame: clamp(8px, 1vw, 16px);
  --gap: clamp(16px, 2vw, 28px);
  --radius: clamp(22px, 2.6vw, 38px);
  --radius-md: clamp(16px, 1.6vw, 24px);
  --max: 1520px;
  --header-h: 76px;

  --section: clamp(88px, 10vw, 168px);
  --section-sm: clamp(64px, 7vw, 112px);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: -0.006em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--signal); }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--signal);
  border-radius: 999px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

.display {
  font-size: var(--fs-display);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.052em;
}
.display-2 {
  font-size: var(--fs-display-2);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h4 {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.lead-sm {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.muted { color: var(--text-muted); }

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 400;
  font-stretch: 87.5%;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.label--inv { color: var(--muted-inv); }

.prose p + p { margin-top: 1.1em; }
.prose a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-color: var(--signal); text-decoration-thickness: 3px; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.frame { margin-inline: var(--frame); }
.section { padding-block: var(--section); }
.section-sm { padding-block: var(--section-sm); }
.section-top { padding-top: var(--section); }
.section-bottom { padding-bottom: var(--section); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 20px;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head > .label { grid-column: 1 / span 3; padding-top: 0.9em; }
.section-head > div { grid-column: 4 / -1; }
.section-head .section-intro { margin-top: clamp(20px, 2vw, 32px); max-width: 52ch; color: var(--text-muted); }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head--row .label { padding-top: 0; margin-bottom: 18px; }

/* ---------- Icons ---------- */

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: var(--btn-h);
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .i { font-size: 15px; transition: transform 0.35s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--signal); }
.btn-ink:hover { background: #000; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--signal); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-inv { border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-ghost-inv:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn-sm { --btn-h: 44px; padding: 0 20px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  font-size: 1rem;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.link-arrow .i { font-size: 14px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--paper);
  transition: transform 0.45s var(--ease-out), box-shadow 0.3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: none;
  padding-inline: calc(var(--frame) + clamp(8px, 1.4vw, 24px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.065em;
}
.brand-mark::after {
  content: "";
  width: 0.42em;
  height: 0.2em;
  margin-left: 0.08em;
  background: var(--signal);
  border-radius: 1px;
}
.brand-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-stretch: 87.5%;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease);
}
.nav a:hover { background: var(--putty); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  font-family: var(--font-mono);
  font-size: 12px;
  font-stretch: 87.5%;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions .btn { --btn-h: 46px; padding: 0 22px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
}
.menu-toggle-lines { position: relative; width: 16px; height: 8px; }
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-toggle-lines::before { top: 0; }
.menu-toggle-lines::after { top: 6.5px; }
.menu-open .menu-toggle-lines::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines::after { top: 3.25px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
  visibility: hidden;
}
.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.6s var(--ease-in-out), visibility 0s;
}
.menu-open .site-header { background: var(--ink); color: var(--paper); }
.menu-open .site-header::after { opacity: 0; }
.menu-open .brand-text { border-color: var(--line-inv); }
.menu-open .menu-toggle { background: var(--paper); color: var(--ink); }
.menu-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-inv);
  font-size: clamp(2.5rem, 10vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.menu-nav a span { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted-inv); }
.menu-nav a[aria-current="page"] { color: var(--signal); }
.menu-foot { display: grid; gap: 16px; }
.menu-foot a:not(.btn) { font-size: 1.25rem; font-weight: 600; }
.menu-foot .btn { justify-self: start; }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  margin-inline: var(--frame);
  height: calc(100svh - var(--header-h) - var(--frame));
  min-height: 640px;
  max-height: 1040px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: 50% 100%;
  transform-origin: 50% 100%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 8, 0.6) 0%, rgba(12, 11, 8, 0.28) 46%, rgba(12, 11, 8, 0) 72%),
    linear-gradient(180deg, rgba(12, 11, 8, 0.32) 0%, rgba(12, 11, 8, 0) 22%),
    linear-gradient(0deg, rgba(12, 11, 8, 0.78) 0%, rgba(12, 11, 8, 0.3) 40%, rgba(12, 11, 8, 0) 64%);
}
.hero-content { padding: clamp(24px, 4vw, 64px); }
.hero-kicker { margin-bottom: clamp(18px, 2vw, 28px); color: rgba(255, 255, 255, 0.78); }
.hero h1 { max-width: 12.5ch; }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 48px;
  margin-top: clamp(28px, 3.4vw, 48px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-foot p { max-width: 46ch; color: rgba(255, 255, 255, 0.86); font-size: 1.0625rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-tile {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  width: 304px;
  padding: 20px 22px 18px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--paper);
}
.hero-tile .label { display: flex; align-items: center; gap: 10px; color: var(--signal); }
.dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}
.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hero-tile-title { margin-top: 16px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.hero-tile-meta { margin-top: 2px; font-size: 0.875rem; color: var(--muted-inv); }
.progress {
  margin-top: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-inv);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0.5) * 100%);
  background: var(--signal);
  border-radius: inherit;
  transform-origin: left;
  animation: grow 1.6s var(--ease-out) 0.6s both;
}
@keyframes grow { from { transform: scaleX(0); } }
.hero-tile-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-stretch: 87.5%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted-inv);
}

/* Hero entrance */
.js .hero h1,
.js .hero-kicker,
.js .hero-foot,
.js .hero-tile {
  animation: rise 1.1s var(--ease-out) both;
}
.js .hero-kicker { animation-delay: 0.05s; }
.js .hero h1 { animation-delay: 0.12s; }
.js .hero-foot { animation-delay: 0.3s; }
.js .hero-tile { animation-delay: 0.5s; }
.js .hero-media img { animation: settle 1.8s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes settle { from { transform: scale(1.07); } }

/* ---------- Facts strip ---------- */

.facts-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.facts-list li {
  padding: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 32px) clamp(24px, 2.6vw, 40px) 0;
}
.facts-list li + li { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.facts-title { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.facts-list p:not(.facts-title) { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.55; }

/* ---------- Intro ---------- */

.intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
}
.intro > .label { grid-column: 1 / span 3; padding-top: 1em; }
.intro-body { grid-column: 4 / -1; }
.intro-body .lead { max-width: 23em; }
.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: clamp(40px, 4.5vw, 72px);
  max-width: 920px;
  color: var(--text-muted);
}
.intro-body .link-arrow { margin-top: 36px; }

/* ---------- Split panel ---------- */

.split {
  margin-inline: var(--frame);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(560px, 52vw, 820px);
}
.split-copy {
  background: var(--signal);
  padding: clamp(28px, 4.6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.split-copy .h2 { max-width: 11ch; }
.split-copy p:not(.label) { margin-top: clamp(20px, 2vw, 32px); max-width: 44ch; }
.split-copy .btn { align-self: flex-start; }
.split-media { position: relative; background: var(--putty); min-height: 360px; }
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split--plaster .split-copy { background: var(--plaster); }
.split--putty .split-copy { background: var(--putty); }
.split--reverse .split-copy { order: 2; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 2.4vw, 36px); }
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ---------- Services list ---------- */

.svc-list { border-top: 1px solid var(--ink); counter-reset: svc; }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.35fr) minmax(0, 1fr) 52px;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--ink);
}
.svc-num { font-family: var(--font-mono); font-size: 12px; font-stretch: 87.5%; }
.svc-name {
  font-size: clamp(1.875rem, 1.1rem + 2.7vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: transform 0.5s var(--ease-out);
}
.svc-desc { color: var(--text-muted); font-size: var(--fs-small); max-width: 38ch; line-height: 1.5; }
.svc-go {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-go .i { font-size: 16px; transition: transform 0.4s var(--ease-out); }
.svc-row:hover .svc-name { transform: translateX(14px); }
.svc-row:hover .svc-go { background: var(--ink); color: var(--signal); }
.svc-row:hover .svc-go .i { transform: rotate(-45deg); }

.svc-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 300px;
  aspect-ratio: 4 / 5;
  pointer-events: none;
  will-change: transform;
}
.svc-preview-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--putty);
  opacity: 0;
  transform: scale(0.82) rotate(-3deg);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease-out);
}
.svc-preview.is-on .svc-preview-inner { opacity: 1; transform: scale(1) rotate(0); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 64px) var(--gap);
}
.work-card { display: block; }
.work-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--putty);
  aspect-ratio: var(--ar, 4 / 5);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.work-card:hover .work-media img { transform: scale(1.04); }
.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.work-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 18px;
}
.work-cap h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.work-cap .label { color: var(--text-muted); white-space: nowrap; }
.work-cap .arrow { display: inline-block; transition: transform 0.4s var(--ease-out); }

.work-grid .w-a { grid-column: 1 / span 7; --ar: 5 / 4; }
.work-grid .w-b { grid-column: 9 / span 4; --ar: 4 / 5; margin-top: clamp(80px, 12vw, 200px); }
.work-grid .w-c { grid-column: 1 / span 5; --ar: 4 / 5; }
.work-grid .w-d { grid-column: 7 / span 6; --ar: 4 / 3; margin-top: clamp(40px, 7vw, 120px); }

/* ---------- Process (ink) ---------- */

.process {
  margin-inline: var(--frame);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 5vw, 88px) clamp(20px, 4.4vw, 80px) clamp(32px, 5vw, 80px);
}
.process-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px var(--gap);
}
.process-head .label { grid-column: 1 / span 3; padding-top: 0.9em; }
.process-head > div { grid-column: 4 / -1; }
.process-head .h2 { max-width: 14ch; }
.process-head p:not(.label) { margin-top: 24px; color: var(--muted-inv); max-width: 50ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 120px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px clamp(12px, 1.6vw, 28px) 0 0;
  border-top: 1px solid var(--line-inv);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.14s + 0.1s);
}
.steps.is-in .step::before,
.no-js .step::before { transform: scaleX(1); }
.step-num { font-family: var(--font-mono); font-size: 12px; font-stretch: 87.5%; color: var(--signal); }
.step h3 { margin-top: clamp(28px, 3.2vw, 56px); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 750; letter-spacing: -0.04em; }
.step p { margin-top: 14px; font-size: var(--fs-small); color: var(--muted-inv); line-height: 1.6; }
.step .step-time { margin-top: 22px; font-size: var(--fs-label); line-height: 1.4; color: var(--paper); }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}
.card {
  border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 32px);
  min-height: clamp(300px, 28vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  background: var(--putty);
}
.card h3 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.card p:not(.label) { margin-top: 14px; font-size: var(--fs-small); line-height: 1.55; }
.card--putty { background: var(--putty); }
.card--plaster { background: var(--plaster); }
.card--signal { background: var(--signal); }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink p:not(.label) { color: var(--muted-inv); }
.card--ink .label { color: var(--signal); }
.card--outline { background: transparent; border: 1px solid var(--line-2); }

/* ---------- Areas ---------- */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.areas-media {
  grid-column: 1 / span 6;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--putty);
}
.areas-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.areas-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
}
.areas-copy { grid-column: 8 / -1; padding-top: clamp(0px, 2vw, 32px); }
.areas-copy .h2 { margin-top: 20px; }
.areas-copy > p:not(.label) { margin-top: 28px; color: var(--text-muted); max-width: 46ch; }
.area-list { margin-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--ink); }
.area-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.area-list li span { font-family: var(--font-mono); font-size: 11px; font-stretch: 87.5%; color: var(--text-muted); }

/* ---------- Quotes ---------- */

.quotes-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}
.quotes-nav { display: flex; align-items: center; gap: 14px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.round-btn:hover { background: var(--ink); color: var(--signal); }
.round-btn .i { font-size: 15px; }
.round-btn--prev .i { transform: rotate(180deg); }
.quotes-stage { display: grid; padding-top: clamp(40px, 5vw, 80px); }
.quote {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px var(--gap);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out), visibility 0s linear 0.6s;
}
.quote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease) 0.1s, transform 0.8s var(--ease-out) 0.1s, visibility 0s;
}
.quote blockquote { grid-column: 4 / -1; }
.quote blockquote p {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.038em;
  text-indent: -0.42em;
  text-wrap: balance;
}
.quote figcaption {
  grid-column: 1 / span 3;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 6px;
  padding-top: 0.8em;
}
.quote figcaption strong { font-weight: 600; font-size: 1rem; }
.quote figcaption .label { color: var(--text-muted); }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gap);
}
.faq-intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.inline-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}
.inline-link:hover { text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
.faq-intro .h2 { margin-top: 20px; max-width: 9ch; }
.faq-intro p:not(.label) { margin-top: 24px; color: var(--text-muted); max-width: 34ch; }
.faq-intro .link-arrow { margin-top: 32px; }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--ink); }
.faq-list--full { grid-column: 4 / -1; }

.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background-color 0.3s var(--ease), transform 0.5s var(--ease-out);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); color: var(--signal); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item summary:hover .faq-icon { background: var(--putty); }
.faq-item[open] summary:hover .faq-icon { background: var(--ink); }
.faq-a { padding: 0 64px 28px 0; color: var(--text-muted); max-width: 70ch; }
.faq-a p + p { margin-top: 0.9em; }

/* ---------- CTA stage ---------- */

.cta-stage {
  position: relative;
  margin-inline: var(--frame);
  border-radius: var(--radius);
  background: var(--putty);
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 9vw, 152px) var(--gutter) 0;
}
.cta-stage .label { margin-bottom: 24px; }
.cta-stage h2 { max-width: 12ch; margin-inline: auto; }
.cta-stage > p:not(.label) { margin: 28px auto 0; max-width: 46ch; color: var(--text-muted); }
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 40px;
}
.cta-phone { font-weight: 600; }
.cta-phone span { color: var(--text-muted); font-weight: 400; }
.cta-phone a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.elevation {
  width: min(1180px, 100%);
  margin: clamp(56px, 6vw, 96px) auto 0;
  color: var(--ink);
  overflow: visible;
}
.elevation .e-line { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.elevation .e-thin { fill: none; stroke: currentColor; stroke-width: 0.75; vector-effect: non-scaling-stroke; opacity: 0.55; }
.elevation .e-dash { fill: none; stroke: currentColor; stroke-width: 0.9; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; opacity: 0.6; }
.elevation .e-new { fill: var(--signal); stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.elevation .e-glass { fill: rgba(26, 25, 21, 0.06); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.elevation text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-stretch: 87.5%;
  letter-spacing: 0.04em;
  fill: currentColor;
}
.js .elevation .e-draw {
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
}
.js .elevation.is-in .e-draw {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s var(--ease-in-out);
}
.js .elevation .e-fade { opacity: 0; transition: opacity 0.8s var(--ease) 1.4s; }
.js .elevation.is-in .e-fade { opacity: 1; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-top: clamp(56px, 8vw, 136px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.page-hero .label { margin-bottom: clamp(20px, 2.4vw, 36px); }
.page-hero h1 { max-width: 13ch; }
.page-hero-foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gap);
  margin-top: clamp(36px, 4.5vw, 72px);
  align-items: end;
}
.page-intro {
  grid-column: 7 / -1;
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  max-width: 48ch;
}
.page-hero-foot .page-meta { grid-column: 1 / span 5; }

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: clamp(20px, 2.4vw, 36px);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.crumbs a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

.jump {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.jump a {
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.jump a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.wide-media {
  margin-inline: var(--frame);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--putty);
}
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service detail (services page) ---------- */

.svc-detail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gap);
  padding-block: clamp(56px, 6vw, 104px);
  border-top: 1px solid var(--ink);
}
.svc-detail-media {
  grid-column: 1 / span 6;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 820px;
  background: var(--putty);
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.svc-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail-body { grid-column: 8 / -1; }
.svc-detail:nth-of-type(even) .svc-detail-media { grid-column: 7 / -1; order: 2; }
.svc-detail:nth-of-type(even) .svc-detail-body { grid-column: 1 / span 5; order: 1; }
.svc-detail-head { display: flex; gap: 18px; align-items: baseline; }
.svc-detail h2 { margin-top: 20px; }
.svc-detail-body > p:not(.label) { margin-top: 24px; color: var(--text-muted); max-width: 52ch; }
.svc-detail h3 { margin-top: 44px; }
.tick-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-2);
}
.tick-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.tick-list li::before {
  content: "";
  width: 10px;
  height: 5px;
  margin-top: 0.55em;
  background: var(--ink);
  border-radius: 1px;
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  border-radius: var(--radius-md);
  background: var(--putty);
  overflow: hidden;
}
.spec div { padding: 20px 22px; }
.spec div + div { border-left: 1px solid var(--line-2); }
.spec dt { font-family: var(--font-mono); font-size: var(--fs-label); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted); }
.spec dd { margin-top: 8px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.svc-detail .link-arrow { margin-top: 32px; }

.note {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px var(--gap);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--paper);
}
.note .label { grid-column: 1 / span 3; color: var(--signal); padding-top: 0.4em; }
.note p:not(.label) { grid-column: 4 / -1; max-width: 70ch; color: var(--muted-inv); }
.note strong { color: var(--paper); font-weight: 600; }

/* ---------- Projects page ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.filter {
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--signal); }
.filter sup { font-family: var(--font-mono); font-size: 9px; margin-left: 4px; vertical-align: 0.5em; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 80px) var(--gap);
  padding-top: clamp(40px, 4vw, 64px);
}
/* Alternating 7/5 rows: a 7-column 4:3 card and a 5-column 15:16 card come out the same height */
.project-grid .work-card { grid-column: span 6; }
.project-grid .work-card:nth-child(4n + 1),
.project-grid .work-card:nth-child(4n + 4) { grid-column: span 7; --ar: 4 / 3; }
.project-grid .work-card:nth-child(4n + 2),
.project-grid .work-card:nth-child(4n + 3) { grid-column: span 5; --ar: 15 / 16; }
.project-grid.is-filtered .work-card { grid-column: span 6; --ar: 4 / 3; }
.work-card.is-leaving { opacity: 0; transform: translateY(12px); }
.work-card { transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out); }

/* ---------- Case study ---------- */

.case-media {
  margin-inline: var(--frame);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--putty);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
/* Trim the top of a photo whatever the crop (hides a giveaway skyline in the source image) */
.case-media.crop-top { position: relative; }
.case-media.crop-top img { position: absolute; left: 0; bottom: 0; height: 116%; object-position: 50% 100% !important; }
.case-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gap);
}
.case-facts {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(22px, 2.2vw, 32px);
}
.case-facts .label { color: var(--signal); }
.case-facts dl { margin-top: 20px; }
.case-facts dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-inv);
}
.case-facts dt { font-family: var(--font-mono); font-size: 10px; font-stretch: 87.5%; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted-inv); padding-top: 3px; }
.case-facts dd { font-size: var(--fs-small); font-weight: 500; line-height: 1.4; }
.case-facts .btn { margin-top: 24px; width: 100%; }
.case-text { grid-column: 6 / -1; }
.case-text > * + h2 { margin-top: clamp(48px, 5vw, 80px); }
.case-text h2 { font-size: var(--fs-h3); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.case-text h2 + p, .case-text h2 + ul { margin-top: 20px; }
.case-text p { max-width: 62ch; }
.case-text .lead-sm { max-width: 34em; }
.case-text .tick-list { max-width: 720px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.gallery figure { grid-column: span 6; }
.gallery figure.g-wide { grid-column: 1 / -1; }
.gallery figure.g-tall { grid-column: span 5; }
.gallery figure.g-tall + figure { grid-column: span 7; }
.gallery .g-img { border-radius: var(--radius); overflow: hidden; background: var(--putty); aspect-ratio: var(--ar, 4 / 3); }
.gallery .g-wide .g-img { --ar: 21 / 9; }
.gallery .g-tall .g-img { --ar: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--text-muted); }

.case-next {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gap);
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--ink);
}
.case-next .label { grid-column: 1 / span 3; }
.case-next a {
  grid-column: 4 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.case-next a .svc-go { width: 72px; height: 72px; }
.case-next a:hover .svc-go { background: var(--ink); color: var(--signal); }
.case-next a:hover .svc-go .i { transform: rotate(-45deg); }

/* ---------- About ---------- */

.principles { border-top: 1px solid var(--ink); counter-reset: rule; }
.principle {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px var(--gap);
  align-items: baseline;
  padding-block: clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--line-2);
}
.principle .label { grid-column: 1 / span 1; }
.principle h3 { grid-column: 2 / span 6; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.principle p { grid-column: 9 / -1; color: var(--text-muted); font-size: var(--fs-small); }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}
.trio .card { min-height: 0; justify-content: flex-start; gap: 0; }
.trio .card h3 { margin-top: 48px; }

.badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line-2);
}
.badges li {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 20px;
  text-align: center;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.badges li span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 9.5px; font-stretch: 87.5%; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted); }

.careers {
  margin-inline: var(--frame);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px var(--gap);
  align-items: end;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 5vw, 88px) clamp(20px, 4.4vw, 80px);
}
.careers > div:first-child { grid-column: 1 / span 7; }
.careers .h2 { margin-top: 20px; }
.careers > div:last-child { grid-column: 9 / -1; }
.careers p:not(.label) { color: var(--muted-inv); }
.careers .btn { margin-top: 28px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gap);
  align-items: start;
}
.form { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / -1; display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }

fieldset.form-section,
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-section + .form-section { margin-top: clamp(40px, 4vw, 56px); }
.form-section > .label { display: block; width: 100%; padding: 0 0 14px; margin-bottom: 24px; border-bottom: 1px solid var(--ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label,
.field > .field-label { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }
.field .opt { font-weight: 400; color: var(--text-muted); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.textarea { min-height: 160px; padding: 18px 22px; border-radius: var(--radius-md); resize: vertical; line-height: 1.5; }
.select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1915' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--signal); }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #b3261e; }
.field-error { font-size: 0.8125rem; color: #b3261e; }
.field-hint { font-size: 0.8125rem; color: var(--text-muted); }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice-group legend { padding: 0; margin-bottom: 12px; font-size: 0.875rem; font-weight: 600; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--signal); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  transition: border-color 0.2s, background-color 0.2s;
}
.file-drop:hover { border-color: var(--ink); background: var(--putty); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .round-btn { flex: none; pointer-events: none; }
.file-drop strong { display: block; font-weight: 600; font-size: 0.9375rem; }
.file-drop span { font-size: 0.8125rem; color: var(--text-muted); }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.875rem; color: var(--text-muted); }
.consent input {
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.consent input::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.consent input:checked { background: var(--ink); border-color: var(--ink); }
.consent input:checked::after { opacity: 1; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-submit .field-hint { max-width: 36ch; }
.form-error {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--plaster);
  font-size: var(--fs-small);
  font-weight: 500;
}
.btn[disabled] { opacity: 0.6; cursor: progress; }
.form-success {
  border-radius: var(--radius);
  background: var(--signal);
  padding: clamp(28px, 4vw, 56px);
}
.form-success .h3 { margin-top: 16px; max-width: 16ch; }
.form-success p:not(.label) { margin-top: 18px; max-width: 46ch; }

.contact-card {
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(22px, 2.4vw, 32px);
}
.contact-card .label { color: var(--muted-inv); }
.contact-card .contact-big {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  word-break: break-word;
}
.contact-card .contact-big:hover { color: var(--signal); }
.contact-card .contact-mid { display: block; margin-top: 8px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; word-break: break-word; }
.contact-card .contact-mid:hover { color: var(--signal); }
.contact-card hr { border: 0; border-top: 1px solid var(--line-inv); margin: 22px 0; }
.contact-card .contact-note { margin-top: 10px; }
.contact-card .contact-hours { margin-top: 12px; font-size: var(--fs-small); color: var(--muted-inv); }
.contact-card .status { margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: var(--fs-small); }
.status .dot { background: var(--muted-inv); }
.status .dot::after { display: none; }
.status.is-open .dot { background: var(--signal); }
.status.is-open .dot::after { display: block; }

.next-steps { border-radius: var(--radius-md); background: var(--putty); padding: clamp(22px, 2.4vw, 32px); }
.next-steps ol { margin-top: 18px; padding: 0; list-style: none; display: grid; gap: 0; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: var(--fs-small); line-height: 1.45; }
.next-steps li span { font-family: var(--font-mono); font-size: 11px; font-stretch: 87.5%; padding-top: 2px; }

/* ---------- Footer ---------- */

.site-footer {
  margin: clamp(40px, 5vw, 80px) var(--frame) var(--frame);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gap);
  padding: clamp(40px, 5vw, 88px) clamp(20px, 4.4vw, 80px) clamp(32px, 4vw, 64px);
}
.footer-contact { grid-column: 1 / span 6; }
.footer-contact .label { color: var(--muted-inv); }
.footer-big { margin-top: 20px; display: grid; gap: 6px; }
.footer-big a {
  justify-self: start;
  font-size: clamp(1.75rem, 1.1rem + 2.3vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  word-break: break-word;
  transition: color 0.25s;
}
.footer-big a:hover { color: var(--signal); }
.footer-big .footer-email { font-size: clamp(1.25rem, 0.95rem + 1.1vw, 2rem); letter-spacing: -0.03em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-cols { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.footer-cols .label { color: var(--muted-inv); margin-bottom: 18px; }
.footer-cols ul { display: grid; gap: 9px; }
.footer-cols a { font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.footer-cols a:hover { color: var(--signal); }
.footer-cols p:not(.label) { font-size: 0.9375rem; color: var(--paper); line-height: 1.55; }
.footer-cols .status { color: var(--muted-inv); font-size: 0.875rem; }

.footer-mark {
  display: block;
  padding-inline: clamp(12px, 2.6vw, 48px);
  font-size: clamp(9rem, 49vw, 56rem);
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: -0.055em;
  color: var(--signal);
  white-space: nowrap;
  user-select: none;
  margin-bottom: -0.1em;
}
.footer-base {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 22px clamp(20px, 4.4vw, 80px);
  background: var(--ink);
  border-top: 1px solid var(--line-inv);
  font-size: 0.8125rem;
  color: var(--muted-inv);
}
.footer-base nav { display: flex; gap: 24px; }
.footer-base a:hover { color: var(--paper); }

/* ---------- Floating CTA ---------- */

.float-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.14);
  transform: translate(-50%, calc(100% + 24px));
  transition: transform 0.6s var(--ease-out);
}
.float-cta.is-visible { transform: translate(-50%, 0); }
.float-cta .dot { flex: none; }
.float-cta-call { display: none; }

/* ---------- 404 / legal ---------- */

.page-ctas { margin-top: 28px; }
.legal { max-width: 760px; }
.legal > .lead-sm { color: var(--ink); }
.legal .updated { margin-top: 48px; color: var(--text-muted); }
.legal h2 { font-size: var(--fs-h4); margin-top: 44px; letter-spacing: -0.02em; }
.legal h2 + p { margin-top: 12px; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.2em; margin-top: 12px; }

/* ---------- Reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 0.08s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js [data-reveal="media"] {
    transform: none;
    clip-path: inset(8% 6% 8% 6% round var(--radius));
    transition: opacity 1s var(--ease-out), clip-path 1.4s var(--ease-out);
  }
  .js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-cols { grid-column: 1 / -1; }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .header-actions > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { grid-template-columns: 1fr auto; }

  .hero-tile { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }

  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .section-head > .label,
  .section-head > div,
  .intro > .label,
  .intro-body,
  .process-head .label,
  .process-head > div { grid-column: 1 / -1; padding-top: 0; }
  .intro-cols { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 0; aspect-ratio: 4 / 3; }
  .split--reverse .split-copy { order: 0; }

  .svc-row { grid-template-columns: 48px minmax(0, 1fr) 48px; row-gap: 8px; }
  .svc-desc { grid-column: 2 / 3; grid-row: 2; }
  .svc-go { grid-column: 3; grid-row: 1; width: 48px; height: 48px; }

  .work-grid .w-a, .work-grid .w-b, .work-grid .w-c, .work-grid .w-d { grid-column: 1 / -1; margin-top: 0; --ar: 4 / 3; }

  .areas-media { grid-column: 1 / -1; position: relative; top: 0; aspect-ratio: 4 / 3; }
  .areas-copy { grid-column: 1 / -1; }

  .quote blockquote, .quote figcaption { grid-column: 1 / -1; }
  .quote figcaption { grid-row: 2; }

  .faq-intro, .faq-list, .faq-list--full { grid-column: 1 / -1; }
  .faq-intro { position: relative; top: 0; }
  .faq-intro .h2 { max-width: 14ch; }

  .page-intro, .page-hero-foot .page-meta { grid-column: 1 / -1; }

  .svc-detail-media,
  .svc-detail-body,
  .svc-detail:nth-of-type(even) .svc-detail-media,
  .svc-detail:nth-of-type(even) .svc-detail-body { grid-column: 1 / -1; order: 0; }
  .svc-detail-media { position: relative; top: 0; aspect-ratio: 4 / 3; }

  .note .label, .note p:not(.label) { grid-column: 1 / -1; }

  .project-grid .work-card:nth-child(n),
  .project-grid.is-filtered .work-card:nth-child(n) { grid-column: 1 / -1; --ar: 4 / 3; }

  .case-facts, .case-text { grid-column: 1 / -1; position: relative; top: 0; }
  .case-media { aspect-ratio: 4 / 3; }
  .gallery figure, .gallery figure.g-tall, .gallery figure.g-tall + figure { grid-column: 1 / -1; }
  .gallery .g-wide .g-img { --ar: 4 / 3; }
  .case-next .label, .case-next a { grid-column: 1 / -1; }

  .principle .label { grid-column: 1 / -1; }
  .principle h3, .principle p { grid-column: 1 / -1; }
  .trio { grid-template-columns: 1fr; }
  .careers > div:first-child, .careers > div:last-child { grid-column: 1 / -1; }

  .form, .contact-aside { grid-column: 1 / -1; position: relative; top: 0; }

  .wide-media { aspect-ratio: 4 / 3; }

  .float-cta {
    left: 8px;
    right: 8px;
    bottom: 8px;
    justify-content: space-between;
    transform: translateY(calc(100% + 24px));
    padding-left: 20px;
  }
  .float-cta.is-visible { transform: none; }
  .float-cta-text { overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 640px) {
  .brand-text { display: none; }
  .hero { min-height: 600px; height: calc(100svh - var(--header-h) - 8px); }
  .hero-media img { object-position: 64% 50%; }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(12, 11, 8, 0.86) 0%, rgba(12, 11, 8, 0.62) 50%, rgba(12, 11, 8, 0.22) 78%, rgba(12, 11, 8, 0.3) 100%);
  }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }

  .facts-list { grid-template-columns: 1fr; }
  .facts-list li,
  .facts-list li + li { padding: 20px 0; border-left: 0; }
  .facts-list li + li { border-top: 1px solid var(--line); }

  .section-head--row { flex-direction: column; align-items: flex-start; }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 260px; }

  .area-list li { grid-template-columns: 84px 1fr; }

  .quotes-head { flex-wrap: wrap; }
  .faq-a { padding-right: 0; }

  .fields { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec div + div { border-left: 0; border-top: 1px solid var(--line-2); }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }

  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-facts dl div { grid-template-columns: 88px 1fr; }

  .float-cta-text { display: none; }
  .float-cta { padding: 6px; gap: 6px; }
  .float-cta .dot { display: none; }
  .float-cta-call { display: inline-flex; flex: 1; }
  .float-cta .btn { flex: 1; }
}
