/* Natur Beton — site styles
   Layout: white corporate grid in the manner of large German contractors. Full-bleed photo hero on the
   home page, contained 1320px wrap elsewhere, square edges, hairline rules. The 2:1 formwork panel
   (2500 × 1250 mm) and its tie holes are the recurring motif; formwork-panel yellow is the only accent. */

@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo Variable"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"), url(../fonts/archivo-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --paper: #FFFFFF;
  --ink: #151718;
  --ink-2: #464B4E;
  --ink-3: #676D71;
  --tint: #F1F2F0;
  --tint-2: #E2E4E1;
  --line: #D4D7D4;
  --formwork: #F5BD00;
  --on-dark: #E8EAE7;
  --on-dark-2: #A9AFB2;

  --display: "Archivo Variable", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo Variable", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.55rem + 3.7vw, 5rem);
  --fs-page: clamp(2.375rem, 1.7rem + 2.7vw, 4.375rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.85vw, 3.125rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + .3vw, 1.4375rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-mono: .78125rem;

  --wrap: 1320px;
  --hdr-h: 76px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 128px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--fs-body); line-height: 1.6; font-stretch: 100%;
  font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- type */
.display, .h2, .h3, .fact__v, .sbtable__code, .menu__nav a, .cinfo__big {
  font-family: var(--display); text-wrap: balance;
}
.display { font-size: var(--fs-display); font-weight: 780; font-stretch: 112%; line-height: 1.0; letter-spacing: -.018em; }
.display--page { font-size: var(--fs-page); }
.h2 { font-size: var(--fs-h2); font-weight: 740; font-stretch: 108%; line-height: 1.06; letter-spacing: -.012em; }
.h3 { font-size: var(--fs-h3); font-weight: 680; font-stretch: 104%; line-height: 1.22; letter-spacing: -.004em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.eyebrow, .meta, .tag, .step__n, .crumbs, .note, .gallery figcaption, .photopair figcaption, .pfacts dt, .cinfo dt, .fwfig .legend {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .04em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--formwork); flex: none; }
.meta { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.prose { max-width: 62ch; color: var(--ink-2); display: grid; gap: 1.05em; align-content: start; }
.prose--lg { font-size: 1.125rem; }
.prose--tight { margin-top: 24px; }
.prose-p { color: var(--ink-2); max-width: 52ch; }

.ico { width: 1.15em; height: 1.15em; flex: none; transition: transform .2s ease; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 620; font-stretch: 104%;
  text-decoration: none; color: var(--ink); padding-block: 4px;
  background: linear-gradient(var(--formwork), var(--formwork)) 0 100% / 100% 2px no-repeat;
  transition: background-size .2s ease;
}
.link-arrow:hover { background-size: 100% 100%; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow--sm { font-size: var(--fs-small); margin-top: 12px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px;
  padding: 0 22px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: .9375rem; font-weight: 640; font-stretch: 106%; letter-spacing: .01em; line-height: 1;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--formwork); color: var(--ink); border-color: var(--formwork); }
.btn--yellow { background: var(--formwork); color: var(--ink); border-color: var(--formwork); }
.btn--yellow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- header */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.hdr.is-scrolled { box-shadow: 0 6px 24px rgba(21, 23, 24, .08); }
.hdr__in { display: flex; align-items: center; gap: 40px; height: var(--hdr-h); }
.brand { display: block; color: var(--ink); flex: none; }
.brand svg { height: 40px; width: auto; display: block; }
.nav { margin-left: 8px; }
.nav ul { display: flex; gap: 30px; }
.nav a {
  position: relative; display: flex; align-items: center; height: var(--hdr-h); text-decoration: none;
  font-size: .96875rem; font-weight: 600; font-stretch: 104%; color: var(--ink);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--formwork); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.langs { display: flex; gap: 2px; font-family: var(--mono); font-size: .8125rem; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; text-decoration: none; color: var(--ink-3); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ink); }
.hdr__cta { min-height: 44px; }
.hdr__cta[aria-current="page"] { background: var(--formwork); border-color: var(--formwork); color: var(--ink); }
.burger { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0 10px 8px; cursor: pointer; font-weight: 620; font-size: .9375rem; }
.burger__bars { position: relative; width: 22px; height: 12px; }
.burger__bars i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.burger__bars i:first-child { top: 0; }
.burger__bars i:last-child { top: 10px; }
.burger[aria-expanded="true"] .burger__bars i:first-child { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.menu {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  background: var(--paper); overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.menu__in { padding-block: 24px 48px; display: grid; gap: 36px; }
.menu__nav { display: grid; }
.menu__nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.625rem, 1.3rem + 2vw, 2.25rem); font-weight: 720; font-stretch: 110%; }
.menu__nav a[aria-current="page"] { box-shadow: inset 6px 0 0 var(--formwork); padding-left: 18px; }
.menu__langs { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: .875rem; }
.menu__langs a { text-decoration: none; color: var(--ink-3); padding: 6px 0; }
.menu__langs a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.menu__contact { color: var(--ink-2); line-height: 1.9; }

@media (max-width: 1099px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 699px) {
  :root { --hdr-h: 64px; }
  .brand svg { height: 34px; }
  .langs, .hdr__cta { display: none; }
}

/* ---------- hero */
.hero { position: relative; }
.hero__media { position: relative; height: clamp(340px, 52vw, 700px); background: var(--tint-2); overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap {
  position: absolute; top: 16px; right: max(16px, env(safe-area-inset-right, 0px));
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: #fff;
  background: rgba(21, 23, 24, .58); padding: 6px 10px;
}
.hero__wrap { position: relative; margin-top: clamp(-240px, -14vw, -60px); }
.hero__panel { position: relative; background: var(--paper); max-width: 880px; padding: clamp(28px, 4vw, 56px) clamp(22px, 4.2vw, 60px) clamp(28px, 3.6vw, 52px) clamp(22px, 4.2vw, 60px); margin-left: calc(-1 * clamp(0px, 4.2vw, 60px)); }
.hero__panel .lead { margin-top: 22px; max-width: 54ch; }
@media (max-width: 1399px) { .hero__panel { margin-left: 0; } }
@media (max-width: 699px) {
  .hero__wrap { margin-top: -36px; }
  .hero__panel { padding: 26px 20px 30px; margin-right: 0; }
}

/* ---------- sections */
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--tint); }
.sec--after-hero { padding-top: clamp(48px, 6vw, 96px); }
.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sechead__main { max-width: 760px; min-width: 0; }
.sechead__intro { margin-top: 18px; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.5; max-width: 56ch; }
.sechead__link { flex: none; }

.grid-2 { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid-2--even { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .grid-2--facts { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* ---------- facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { border-top: 2px solid var(--ink); padding-top: 20px; min-width: 0; }
.fact__v { display: block; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 820; font-stretch: 118%; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.fact__l { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.45; max-width: 26ch; }

/* ---------- cards */
.cards { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cards--3, .cards--2, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards--4 .card__body { padding: 22px 22px 26px; } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--paper); color: var(--ink); text-decoration: none; min-width: 0; }
.sec:not(.sec--tint) .card { outline: 1px solid var(--line); outline-offset: -1px; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint-2); }
.card--big .card__media { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; flex: 1; }
.card__body p:not(.meta) { color: var(--ink-2); }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }
.card .h3 { transition: color .2s; }
.tag { align-self: flex-start; padding: 5px 9px; border: 1px solid var(--line); color: var(--ink-2); }
.card--drawing .card__media { background: var(--tint-2); display: grid; place-items: center; }
.card--drawing .card__media .fw, .pagehead__media .fw--slice { position: absolute; inset: 0; width: 100%; height: 100%; }
.pagehead__media { position: relative; }
.media-label { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: 6px 10px; }
.cards--wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .cards--wide .card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .cards--wide .card__media { aspect-ratio: auto; min-height: 340px; }
  .cards--wide .card__body { padding: 40px; justify-content: center; }
  .cards--wide .card__body .link-arrow { margin-top: 12px; }
}

/* ---------- split + formwork drawing */
.split { display: grid; gap: 40px 64px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split__text { display: grid; gap: 22px; }
.split__text .eyebrow { margin-bottom: -4px; }

.fwfig { min-width: 0; }
.fw { width: 100%; height: auto; display: block; }
.fw .fw-wall { fill: #E7E9E6; }
.fw .fw-pores circle { fill: #8C9294; opacity: .35; }
.fw .fw-joint line { stroke: #8F9597; stroke-width: 1.3; }
.fw .fw-work line { stroke: var(--ink); stroke-width: 3; }
.fw .fw-tie .ring { fill: #D2D5D2; }
.fw .fw-tie .hole { fill: #3C4144; }
.fw .fw-edge rect { fill: none; stroke: var(--ink); stroke-width: 3; }
.fw .fw-dim line { stroke: var(--ink-3); stroke-width: 1; }
.fw .fw-dim line.tick { stroke: var(--ink); stroke-width: 1.4; }
.fw .fw-dim text { font-family: var(--mono); font-size: 14px; fill: var(--ink-2); }
.fw .fw-label { font-family: var(--mono); font-size: 15px; letter-spacing: .12em; fill: var(--ink); }
.fw g[data-part] { transition: opacity .2s ease; }
.fw .fw-joint line, .fw .fw-work line, .fw .fw-edge rect, .fw .fw-tie circle { transition: stroke .2s ease, fill .2s ease, stroke-width .2s ease; }

.fwfig[data-hl] .fw g[data-part], .fwfig[data-hl] .fw .fw-pores { opacity: .28; }
.fwfig[data-hl="joint"] .fw .fw-joint,
.fwfig[data-hl="tie"] .fw .fw-tie,
.fwfig[data-hl="work"] .fw .fw-work,
.fwfig[data-hl="edge"] .fw .fw-edge { opacity: 1; }
.fwfig[data-hl="joint"] .fw .fw-joint line { stroke: var(--formwork); stroke-width: 5; }
.fwfig[data-hl="work"] .fw .fw-work line { stroke: var(--formwork); stroke-width: 7; }
.fwfig[data-hl="edge"] .fw .fw-edge rect { stroke: var(--formwork); stroke-width: 7; }
.fwfig[data-hl="tie"] .fw .fw-tie .ring { fill: var(--formwork); }
.fwfig[data-hl="tie"] .fw .fw-tie .hole { fill: var(--ink); }

.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legend__btn {
  display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); padding: 9px 13px 9px 11px;
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.legend__btn:hover, .legend__btn[aria-pressed="true"] { border-color: var(--ink); }
.legend__btn[aria-pressed="true"] { background: #FFF6D6; }
.sw { width: 22px; height: 16px; flex: none; position: relative; }
.sw--joint { background: linear-gradient(90deg, transparent 10px, #8F9597 10px, #8F9597 12px, transparent 12px), #E7E9E6; }
.sw--tie { background: radial-gradient(circle at 50% 50%, #3C4144 3px, #D2D5D2 3.5px, #D2D5D2 6px, #E7E9E6 6.5px); }
.sw--work { background: linear-gradient(0deg, transparent 6px, var(--ink) 6px, var(--ink) 9px, transparent 9px), #E7E9E6; }
.sw--edge { background: #E7E9E6; box-shadow: inset 0 0 0 2px var(--ink); }
.legend--full { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
.legend--full .legend__btn { align-items: flex-start; padding: 16px 18px; width: 100%; font-family: var(--body); font-size: var(--fs-small); }
.legend--full .sw { margin-top: 3px; }
.legend__txt { display: grid; gap: 4px; }
.legend--full .legend__name { font-weight: 680; font-stretch: 104%; font-size: 1rem; }
.legend__desc { color: var(--ink-2); line-height: 1.5; }
.fwfig--full { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.fwfig__drawing { background: var(--paper); padding: clamp(12px, 2.5vw, 32px); min-width: 0; }
@media (min-width: 1000px) {
  .fwfig--full { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
}

/* ---------- steps */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { border-top: 1px solid var(--ink); padding: 22px 0 40px; display: grid; gap: 10px; align-content: start; }
.step__n { color: var(--ink-3); }
.step p { color: var(--ink-2); max-width: 40ch; }

/* ---------- ruled columns */
.ruled { display: grid; gap: 8px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ruled--3, .ruled--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ruled--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ruled--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ruled__item { border-top: 2px solid var(--ink); padding: 22px 0 36px; display: grid; gap: 10px; align-content: start; }
.ruled__item p { color: var(--ink-2); }

/* ---------- SB table */
.tablewrap { overflow-x: auto; background: var(--paper); }
.sbtable { width: 100%; min-width: 600px; border-collapse: collapse; }
.sbtable th, .sbtable td { text-align: left; vertical-align: middle; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.sbtable thead th { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-block: 16px; border-bottom: 2px solid var(--ink); }
.sbtable tbody tr:last-child > * { border-bottom: 0; }
.sbtable__code { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); font-weight: 820; font-stretch: 120%; line-height: 1; width: 1%; white-space: nowrap; letter-spacing: -.01em; }
.sbtable__level { white-space: nowrap; font-weight: 600; }
.meter { display: inline-flex; gap: 4px; margin-right: 14px; vertical-align: -1px; }
.meter i { width: 12px; height: 12px; border: 1.5px solid var(--ink); }
.meter i.on { background: var(--ink); }
.sbtable tbody tr:last-child .meter i.on { background: var(--formwork); border-color: var(--ink); }
.sbtable td:last-child { color: var(--ink-2); }
.note { margin-top: 20px; color: var(--ink-2); max-width: 90ch; line-height: 1.7; }

.callout { background: var(--tint); padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 14px; border-top: 4px solid var(--ink); }
.callout p { color: var(--ink-2); }

/* ---------- services */
.svc-grid { display: grid; gap: 16px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc { border-top: 2px solid var(--ink); padding: 24px 0 44px; display: grid; gap: 14px; align-content: start; }
.svc > p { color: var(--ink-2); }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink); font-size: var(--fs-small); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--formwork); outline: 1px solid var(--ink); outline-offset: -1px; }

/* ---------- page head */
.pagehead { padding-top: clamp(28px, 4vw, 52px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.pagehead__grid { display: grid; gap: 22px 64px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 4.5vw, 64px); }
@media (min-width: 1000px) { .pagehead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.pagehead__grid .lead { max-width: 48ch; }
.pagehead__media { aspect-ratio: 21 / 9; overflow: hidden; background: var(--tint-2); max-width: 100%; }
.pagehead__media .pagehead__img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media .fw { width: 100%; height: 100%; }
@media (max-width: 699px) { .pagehead__media { aspect-ratio: 4 / 3; } }
.pagehead + .sec { padding-top: clamp(56px, 7vw, 112px); }
.pagehead:not(:has(.pagehead__media)) { border-bottom: 1px solid var(--line); }
.pagehead--404 { padding-block: 64px 96px; }
.nf { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 900px) { .nf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nf > div { display: grid; gap: 14px; align-content: start; border-top: 2px solid var(--ink); padding-top: 22px; }
.nf p { color: var(--ink-2); }

/* ---------- projects */
.grouphead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 36px; }
.sec--group + .sec--group { padding-top: var(--sec); }
.pfacts { display: grid; gap: 24px; align-content: start; }
.pfacts > div { border-top: 1px solid var(--line); padding-top: 14px; }
.pfacts dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.pfacts dd { font-weight: 620; font-stretch: 104%; font-size: 1.0625rem; }
.pfacts dd li + li { margin-top: 2px; }

.gallery { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery figure { display: grid; gap: 10px; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--tint-2); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .2s; }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery figcaption { color: var(--ink-2); line-height: 1.45; letter-spacing: .02em; }

.photopair { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .photopair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photopair figure { display: grid; gap: 12px; }
.photopair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photopair figcaption { color: var(--ink-3); }

/* ---------- CTA band */
.ctaband { background: var(--formwork); color: var(--ink); }
.ctaband__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding-block: clamp(56px, 7vw, 96px); }
.ctaband__in > div { max-width: 760px; display: grid; gap: 16px; min-width: 0; }
.ctaband p { font-size: var(--fs-lead); line-height: 1.5; max-width: 52ch; }
.ctaband .btn--ink:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- contact */
.contact { display: grid; gap: 56px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.contact__info { display: grid; gap: 48px; }
.cinfo { display: grid; gap: 28px; }
.cinfo > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.cinfo dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.cinfo dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.cinfo address { font-size: 1.1875rem; line-height: 1.5; font-weight: 560; flex-basis: 100%; }
.cinfo__big { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); font-weight: 700; font-stretch: 106%; text-decoration: none; overflow-wrap: anywhere; }
.cinfo__big:hover { text-decoration: underline; text-decoration-color: var(--formwork); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.copy { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; background: none; border: 1px solid var(--line); padding: 5px 9px; cursor: pointer; color: var(--ink-2); }
.copy:hover { border-color: var(--ink); color: var(--ink); }
.checklist { display: grid; gap: 18px; }

.form { border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 44px); display: grid; gap: 20px; background: var(--paper); min-width: 0; }
.form__row { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 640; font-stretch: 104%; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #B9BEBB; border-radius: 0; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23151718' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--formwork); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form__error { color: #B3261E; font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form__note { color: var(--ink-3); font-size: .875rem; max-width: 44ch; line-height: 1.5; }

/* ---------- footer */
.ft { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 7vw, 96px); }
.ft :focus-visible { outline-color: var(--paper); }
.ft__grid { display: grid; gap: 40px 48px; grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
@media (min-width: 700px) { .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ft__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); } }
.ft__logo { display: inline-block; }
.ft__logo svg { height: 44px; width: auto; display: block; }
.ft__brand p { margin-top: 20px; color: var(--on-dark-2); max-width: 34ch; }
.ft__h { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-2); margin-bottom: 16px; }
.ft__addr { line-height: 1.6; }
.ft__links { margin-top: 14px; line-height: 1.9; }
.ft a { text-decoration: none; color: var(--on-dark); }
.ft a:hover { color: var(--formwork); }
.ft__list { display: grid; gap: 6px; }
.ft__list a[aria-current="true"] { color: var(--paper); font-weight: 600; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .14); font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--on-dark-2); }

/* ---------- lightbox */
.lb { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(13, 14, 15, .97); color: #fff; }
.lb::backdrop { background: rgba(0, 0, 0, .7); }
.lb__frame { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: calc(64px + env(safe-area-inset-top, 0px)) max(72px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(72px, env(safe-area-inset-left, 0px)); }
.lb__fig { display: grid; gap: 14px; justify-items: center; max-width: 100%; max-height: 100%; }
.lb__img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.lb__cap { font-family: var(--mono); font-size: .8125rem; letter-spacing: .03em; color: #D9DCD9; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
.lb__count { color: var(--formwork); }
.lb__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer; }
.lb__btn:hover { background: var(--formwork); color: var(--ink); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
.lb__prev { left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb__next { right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb :focus-visible { outline-color: var(--formwork); }
@media (max-width: 699px) {
  .lb__frame { padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .lb__prev, .lb__next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
