/* A1 Design and Construction — drawing-set design system */
:root {
  --paper: oklch(0.985 0 0);
  --paper-2: oklch(0.953 0.004 20);
  --ink: oklch(0.18 0.008 20);
  --ink-2: oklch(0.27 0.01 20);
  --ink-3: oklch(0.36 0.01 20);
  --muted: oklch(0.45 0.01 20);
  --muted-on-ink: oklch(0.78 0.008 20);
  --rule: oklch(0.86 0.004 20);
  --rule-ink: oklch(0.36 0.01 20);
  --red: #880015;
  --red-2: oklch(0.34 0.13 20);
  --red-hi: oklch(0.68 0.19 24);
  --white: #fff;

  --f-display: "Archivo", "Arial Narrow", "Roboto Condensed", "TeX Gyre Heros Cn", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Fraunces", Georgia, "Times New Roman", serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-stencil: "Black Ops One", "Archivo", sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --hdr: 104px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z-sticky: 10;
  --z-header: 30;
  --z-menu: 40;
  --z-modal: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ink :focus-visible, .site-foot :focus-visible, .lb :focus-visible, .menu :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared type ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 400; }
.acc { font-family: var(--f-accent); font-style: italic; font-weight: 600; letter-spacing: 0; font-variation-settings: "opsz" 36, "SOFT" 50; }
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 76;
  font-weight: 760;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.h2 .acc { color: var(--red); font-size: 1em; }
.ink .h2 .acc { color: var(--red-hi); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); max-width: 60ch; color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 168px) 0; position: relative; }

/* section title with CAD detail bubble */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.bubble { width: 58px; height: 58px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; grid-template-rows: 1fr 1fr; font-family: var(--f-mono); font-size: 12px; text-align: center; line-height: 1; position: relative; margin-top: 6px; }
.bubble::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; border-top: 1.5px solid currentColor; }
.bubble span { display: grid; place-items: center; }
.bubble span:first-child { padding-top: 6px; font-weight: 500; }
.bubble span:last-child { padding-bottom: 6px; color: var(--red); }
.ink .bubble span:last-child { color: var(--red-hi); }
.sec-head .lede { margin: 18px 0 0; }
@media (max-width: 640px) { .sec-head { grid-template-columns: 1fr; } .bubble { width: 50px; height: 50px; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 88; font-weight: 650; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  position: relative; isolation: isolate; overflow: hidden;
  transition: color 0.25s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn--red { --bg: var(--red); }
.btn--red::before { background: var(--ink); }
.btn--paper { --bg: var(--white); --fg: var(--ink); }
.btn--paper:hover, .btn--paper:focus-visible { color: var(--white); }
.btn .arr { width: 18px; height: 10px; transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.tlink { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size 0.3s var(--ease-out), color 0.2s; }
.tlink:hover { color: var(--red); background-size: 0% 1.5px; background-position: 100% 100%; }

/* ---------- header ----------
   Always on screen: bigger, and it never slides away, so the sections are one click away from anywhere. */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--hdr);
  display: flex; align-items: center; gap: clamp(20px, 2vw, 32px);
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hdr.is-scrolled { border-color: var(--rule); box-shadow: 0 14px 30px -26px oklch(0.18 0.008 20 / 0.55); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: clamp(52px, 4.4vw, 76px); height: auto; aspect-ratio: 1; flex: none; }
.brand__txt { display: grid; line-height: 1; }
.brand__word { font-family: var(--f-stencil); font-size: clamp(21px, 2vw, 34px); letter-spacing: 0.01em; font-weight: 400; }
.brand__tag { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 14, "SOFT" 50; font-size: clamp(13px, 1.05vw, 17.5px); margin-top: 6px; color: var(--ink-2); }
.brand__tag b { color: var(--red); font-weight: 700; }
.nav { margin-left: auto; display: flex; gap: clamp(18px, 2vw, 34px); }
.nav a { font-family: var(--f-display); font-variation-settings: "wdth" 90; font-weight: 620; font-size: clamp(15.5px, 1.2vw, 18.5px); text-decoration: none; position: relative; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.hdr .btn { min-height: 54px; padding: 0 26px; font-size: 16px; }
.menu-btn { display: none; margin-left: auto; min-width: 52px; min-height: 52px; background: none; border: 0; cursor: pointer; padding: 0 4px; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; color: var(--ink); }
.menu-btn i { display: grid; gap: 6px; width: 26px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 2px; background: var(--ink); }
/* no phone number in the header (it is in the menu, the About section, the quote section and the footer); when room gets tight the links fold into the menu */
@media (max-width: 1080px) {
  :root { --hdr: 84px; }
  .brand__mark { width: 46px; }
  .brand__word { font-size: clamp(18px, 2.4vw, 24px); }
  .brand__tag { font-size: 13px; }
  .nav, .hdr .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --hdr: 72px; }
  .hdr { gap: 12px; }
  .brand { gap: 10px; }
  .brand__mark { width: 40px; }
  .brand__word { font-size: 16px; }
  .brand__tag { font-size: 12px; margin-top: 4px; }
}
@media (max-width: 380px) { .brand__word { font-size: 15px; } .brand__tag { font-size: 11px; } .brand__mark { width: 36px; } .menu-btn { font-size: 0; gap: 0; } }
@media (max-width: 340px) { .brand { gap: 8px; } .brand__word { font-size: 13.5px; } .brand__tag { font-size: 10px; } .brand__mark { width: 32px; } }

.menu { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: var(--ink); color: var(--white); z-index: var(--z-menu); }
.menu::backdrop { background: transparent; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.menu__close { background: none; border: 0; color: var(--white); min-width: 48px; min-height: 48px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; cursor: pointer; }
.menu nav { display: grid; margin: auto 0; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 780; font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: 1.05; text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.menu nav a span { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--red-hi); }
.menu__foot { display: grid; gap: 14px; }
.menu__foot a:not(.btn) { color: var(--muted-on-ink); text-decoration: none; font-family: var(--f-mono); font-size: 14px; }
.menu[open] nav a { animation: menuIn 0.5s var(--ease-out) both; }
.menu[open] nav a:nth-child(2) { animation-delay: 0.04s; } .menu[open] nav a:nth-child(3) { animation-delay: 0.08s; } .menu[open] nav a:nth-child(4) { animation-delay: 0.12s; } .menu[open] nav a:nth-child(5) { animation-delay: 0.16s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--paper); }
.hero__stage {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--hdr) + clamp(16px, 3vh, 36px)) var(--gutter) clamp(20px, 3.5vh, 40px);
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) 1.26fr;
  gap: clamp(24px, 3.5vw, 64px);
  align-items: center;
  max-width: 1720px; margin: 0 auto;
}
.hero::before { /* graph paper */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(0.18 0.008 20 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.18 0.008 20 / 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.seq .hero { height: 330vh; }
.seq .hero__stage { position: sticky; top: 0; height: 100svh; }

.hero__brand { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; margin: 0 0 22px; }
.hero__logo { display: block; width: 0; min-width: min(100%, 60vh); height: auto; margin: 0 0 clamp(14px, 2.4vh, 26px); }  /* as wide as the line below it (no wider), smaller on short screens */
.hero__kicker { margin: 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hero__kicker span + span::before { content: "/"; margin-right: 14px; color: var(--red); }
.hero__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 66;
  font-weight: 820;
  font-size: clamp(2.9rem, min(5vw, 9.6vh), 5.9rem);  /* short, wide windows: smaller, so the whole hero fits and can stay pinned */
  line-height: 0.93;
  letter-spacing: -0.02em;
  display: grid;
}
.hero__title .ln { display: block; white-space: nowrap; transition: color 0.5s var(--ease-out), opacity 0.5s var(--ease-out); position: relative; width: fit-content; }
.hero__title .ln b { font-weight: inherit; color: var(--red); }
.seq .hero__title .ln, .play .hero__title .ln { color: oklch(0.18 0.008 20 / 0.2); }
.seq .hero__title .ln.is-on, .play .hero__title .ln.is-on { color: var(--ink); }
.seq .hero__title .ln.is-done, .play .hero__title .ln.is-done { color: oklch(0.18 0.008 20 / 0.55); }
.hero__title .ln::after { content: ""; position: absolute; left: 0; bottom: 0.06em; width: 100%; height: 0.07em; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.seq .hero__title .ln.is-on::after, .play .hero__title .ln.is-on::after { transform: scaleX(1); }
.hero__lede { margin: clamp(20px, 3vh, 32px) 0 0; max-width: 40ch; font-size: clamp(1rem, 1.15vw, 1.15rem); color: var(--ink-2); }
.hero__cta { margin-top: clamp(20px, 3.5vh, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__hint { position: absolute; left: var(--gutter); bottom: clamp(16px, 3vh, 28px); display: flex; align-items: center; gap: 12px; color: var(--muted); }
.hero__hint i { width: 1.5px; height: 34px; background: var(--rule); position: relative; overflow: hidden; }
.hero__hint i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__hint { transition: opacity 0.3s; }
.hero.is-moving .hero__hint { opacity: 0; }
html:not(.seq) .hero__hint { display: none; }
@media (max-height: 960px) { .hero__hint { display: none; } }  /* on shorter screens the A1DC mark needs that room; the hint would sit on the buttons */

/* drawing sheet */
.sheet { margin: 0; justify-self: end; width: 100%; max-width: calc((100svh - var(--hdr) - 132px) * 4 / 3); background: var(--white); border: 1.5px solid var(--ink); padding: 10px; position: relative; box-shadow: 0 1px 0 var(--ink), 14px 18px 0 -6px oklch(0.18 0.008 20 / 0.06); }
.sheet__frame { border: 1px solid var(--ink); position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); }
.lay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
img.lay { object-fit: cover; }
svg.lay { pointer-events: none; overflow: hidden; }
.wipe, .wipe__in { overflow: hidden; will-change: transform; }
.seq .sheet__frame, .play .sheet__frame { --wipe: 0; --draw: 0; }
.seq .wipe, .play .wipe { transform: translate3d(calc((var(--wipe) - 1) * 100%), 0, 0); }
.seq .wipe__in, .play .wipe__in { transform: translate3d(calc((1 - var(--wipe)) * 100%), 0, 0); }
.scan { opacity: 0; border-right: 2px solid var(--red); pointer-events: none; will-change: transform, opacity; transition: opacity 0.2s; }
.seq .scan, .play .scan { transform: translate3d(calc((var(--wipe) - 1) * 100%), 0, 0); }
.scan.is-on { opacity: 1; }
.scan span { position: absolute; right: 0; top: 0; background: var(--red); color: var(--white); padding: 5px 8px; font-size: 10px; }
.sweep { background: var(--white); pointer-events: none; transform: translateX(100%); }
.seq .sweep, .play .sweep { animation: sweep 1.7s var(--ease-io) 0.25s both; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }
.xh { pointer-events: auto; cursor: crosshair; }
.tb { display: grid; grid-template-columns: auto 1.6fr 1.1fr 1fr 0.9fr; border: 1px solid var(--ink); border-top: 0; font-family: var(--f-mono); font-size: 11px; line-height: 1.35; text-transform: uppercase; }
.tb > div { padding: 7px 10px; border-left: 1px solid var(--ink); min-width: 0; }
.tb > div:first-child { border-left: 0; display: grid; place-items: center; padding: 6px 10px; }
.tb small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }
.tb strong { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .tb__stage strong { color: var(--red); }
.tb svg { width: 26px; height: 26px; }
@media (max-width: 1280px) { .tb { grid-template-columns: auto 1.6fr 1fr 0.9fr; } .tb .tb__scale { display: none; } }

/* overlay drawing */
.eng { color: var(--ink); }
.sheet__frame { --draw: 1; }
.eng--light { color: var(--white); }
.eng .gl, .eng .ll, .eng .dl, .eng .ext { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; }
.eng .gl { stroke-width: 1; stroke-dasharray: 18 5 3 5; opacity: 0.75; }
.eng .ll { stroke-width: 1; stroke-dasharray: 10 6; opacity: 0.7; }
.eng .dl { stroke: var(--red); stroke-width: 1.25; }
.eng--light .dl { stroke: var(--red-hi); }
.eng .ext { stroke-width: 0.8; opacity: 0.6; }
.eng .tick { stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.eng--light .tick { stroke: var(--red-hi); }
.eng text { font-family: var(--f-mono); fill: currentColor; font-size: 15px; letter-spacing: 0.02em; }
.eng .dt { fill: var(--red); font-size: 16px; font-weight: 500; }
.eng--light .dt { fill: var(--red-hi); }
.eng .bub { fill: var(--white); stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.eng--light .bub { fill: oklch(0.18 0.008 20 / 0.55); }
.eng .bt { font-size: 18px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.eng .cloud { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.eng--light .cloud { stroke: var(--red-hi); }
.eng .delta { fill: var(--red); }
.eng .delta-t { fill: var(--white); font-size: 14px; text-anchor: middle; }
.eng .lvl-sym { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.eng .lvl-sym-f { fill: currentColor; }
.eng .ttl { font-size: 18px; font-weight: 500; }
.eng .ttl-line { stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* draw-in mechanics, driven by --draw (0..1) */
.eng .gl, .eng .ext { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(var(--draw)); }
.eng .ll, .eng .dl { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--draw)); }
.eng .fade { opacity: calc((var(--draw) - 0.55) * 2.2); }
.eng .cloud { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--draw) - 0.4) * 1.7, 1)); }

.xhair { opacity: 0; transition: opacity 0.2s; }
.sheet:hover .xhair { opacity: 1; }
.xhair line { stroke: var(--red); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.7; }
.xhair rect { fill: none; stroke: var(--red); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

@media (max-width: 960px) {
  .hero__stage { grid-template-columns: 1fr; align-content: start; gap: 22px; padding-top: calc(var(--hdr) + 14px); }
  .sheet { order: -1; justify-self: stretch; max-width: none; padding: 6px; }
  .hero__title { font-size: clamp(2.4rem, 10.4vw, 4.4rem); }
  .hero__brand { margin-bottom: 14px; }
  .hero__lede { margin-top: 14px; }
  .hero__cta { margin-top: 18px; }
  .hero__hint { display: none; }
  .tb { grid-template-columns: auto 1fr 1fr; font-size: 10px; }
  .tb .tb__scale, .tb .tb__proj { display: none; }
}

/* ---------- intro statement ---------- */
.intro { padding-top: clamp(80px, 10vw, 150px); }
.intro__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.intro__text { font-family: var(--f-display); font-variation-settings: "wdth" 92; font-weight: 430; font-size: clamp(1.7rem, 3.1vw, 2.95rem); line-height: 1.14; letter-spacing: -0.012em; margin: 0; max-width: 26ch; }
.intro__text .acc { color: var(--red); font-size: 1em; }
.intro__fig { margin: 0; }
.intro__fig img { width: 100%; height: auto; }
.intro__fig figcaption { margin-top: 10px; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: clamp(48px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.facts li { padding: 18px 20px 0 0; font-family: var(--f-display); font-variation-settings: "wdth" 86; font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.25; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts .mono { display: block; color: var(--red); margin-bottom: 8px; font-weight: 400; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } .intro__fig { max-width: 420px; } .facts { grid-template-columns: 1fr; } .facts li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 18px; } }

/* dimension divider */
.dim { display: grid; grid-template-columns: 14px 1fr auto 1fr 14px; align-items: center; color: var(--red); margin: clamp(60px, 8vw, 110px) 0 0; }
.dim::before, .dim::after { content: ""; height: 18px; border-left: 1.5px solid currentColor; justify-self: center; transform: skewX(-45deg); }
.dim span { height: 1.5px; background: currentColor; }
.dim em { font-style: normal; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; padding: 0 14px; letter-spacing: 0.04em; }

/* ---------- services (disciplines) ---------- */
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.disc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.disc { width: 100%; display: grid; grid-template-columns: 64px 1fr 28px; gap: 4px 12px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 20px 0; cursor: pointer; position: relative; }
.disc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.disc[aria-selected="true"]::before { transform: scaleX(1); }
.disc__code { font-family: var(--f-mono); font-size: 13px; color: var(--muted); transition: color 0.3s; }
.disc__name { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 720; font-size: clamp(1.6rem, 2.6vw, 2.45rem); line-height: 1.02; letter-spacing: -0.01em; transition: transform 0.4s var(--ease-out), color 0.3s; }
.disc__desc { grid-column: 2 / 3; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 50ch; margin-top: 8px; display: none; }
.disc__arr { width: 22px; height: 22px; color: var(--muted); transition: transform 0.4s var(--ease-out), color 0.3s; align-self: center; }
.disc[aria-selected="true"] .disc__code, .disc[aria-selected="true"] .disc__arr { color: var(--red); }
.disc[aria-selected="true"] .disc__desc { display: block; animation: descIn 0.45s var(--ease-out); }
.disc:hover .disc__name { transform: translateX(6px); }
.disc[aria-selected="true"] .disc__arr { transform: rotate(-45deg); }
@keyframes descIn { from { opacity: 0; transform: translateY(-6px); } }
.svc__view { position: sticky; top: calc(var(--hdr) + 24px); margin: 0; }
.svc__img { position: relative; aspect-ratio: 4 / 3; background: var(--white); border: 1.5px solid var(--ink); overflow: hidden; }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__img img.is-in { animation: wipeIn 0.7s var(--ease-out) both; }
@keyframes wipeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.svc__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); }
.svc__cap b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc__view { position: sticky; top: calc(var(--hdr) + 8px); z-index: 2; background: var(--paper); padding-bottom: 10px; order: -1; }
  .svc__img { aspect-ratio: 16 / 9; }
}

/* ---------- work (ink) ---------- */
.ink { background: var(--ink); color: var(--white); }
.ink .lede { color: var(--muted-on-ink); }
.work__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; background: transparent; color: var(--white); border: 1px solid var(--rule-ink); border-radius: 999px; cursor: pointer; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.filters button sup { font-size: 10px; color: var(--muted-on-ink); }
.filters button:hover { border-color: var(--white); }
.filters button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.filters button[aria-pressed="true"] sup { color: var(--red); }
.grid { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 24px); }
.tile { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 24px); }
.tile[hidden] { display: none; }
.tile button { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; text-align: left; color: inherit; }
.tile__img { position: relative; overflow: hidden; background: var(--ink-2); }
.tile__img img { width: 100%; transition: transform 0.9s var(--ease-out), filter 0.5s; }
.tile button:hover .tile__img img, .tile button:focus-visible .tile__img img { transform: scale(1.045); }
.tile__img::after { content: ""; position: absolute; inset: 0; border: 1px solid oklch(1 0 0 / 0.0); transition: border-color 0.4s, inset 0.4s var(--ease-out); pointer-events: none; }
.tile button:hover .tile__img::after { inset: 10px; border-color: oklch(1 0 0 / 0.55); }
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 0; }
.tile__t { font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 640; font-size: 17px; line-height: 1.25; }
.tile__d { display: block; color: var(--muted-on-ink); font-size: 14px; font-weight: 400; font-family: var(--f-body); margin-top: 2px; }
.tile__c { color: var(--red-hi); flex: none; }
.work__note { margin-top: 28px; color: var(--muted-on-ink); }
.work__more { display: flex; justify-content: center; margin-top: clamp(8px, 1.4vw, 20px); }
.work__more .btn[hidden] { display: none; }
.work__more-n { font-size: 12px; color: var(--red); }
.work__more .btn:hover .work__more-n, .work__more .btn:focus-visible .work__more-n { color: var(--white); }

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: oklch(0.12 0.006 20 / 0.97); color: var(--white); z-index: var(--z-modal); }
.lb::backdrop { background: oklch(0.12 0.006 20 / 0.6); }
.lb__in { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px var(--gutter) 24px; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.lb__fig { margin: 0; display: grid; place-items: center; min-height: 0; min-width: 0; }
.lb__fig img { max-height: calc(100svh - 190px); width: auto; height: auto; max-width: 100%; object-fit: contain; animation: lbIn 0.45s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.985); } }
.lb__cap { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.lb__cap h3 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.lb__cap p { margin: 4px 0 0; color: var(--muted-on-ink); }
.lb__nav { display: flex; gap: 8px; }
.icon-btn { min-width: 48px; min-height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--rule-ink); color: var(--white); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.icon-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- what we design ---------- */
.band { background: var(--paper-2); }
.types { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1.5px solid var(--ink); }
.types section { padding: 22px clamp(14px, 1.6vw, 26px) 0 0; }
.types section + section { padding-left: clamp(14px, 1.6vw, 26px); border-left: 1px solid var(--rule); }
.types section:nth-child(n+5) { border-top: 1px solid var(--rule); margin-top: 32px; }
.types section:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.types h3 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 740; font-size: clamp(1.35rem, 1.9vw, 1.8rem); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.types h3 .mono { color: var(--red); }
.types ul { list-style: none; margin: 18px 0 0; padding: 0; }
.types li { padding: 11px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; align-items: baseline; line-height: 1.35; transition: transform 0.35s var(--ease-out); }
.types li::before { content: ""; width: 10px; height: 1.5px; background: var(--ink-3); flex: none; transform: translateY(-4px); transition: width 0.35s var(--ease-out), background 0.3s; }
.types li:hover { transform: translateX(4px); }
.types li:hover::before { width: 20px; background: var(--red); }
.types li small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 1080px) { .types { grid-template-columns: 1fr 1fr; } .types section:nth-child(n) { padding-left: clamp(14px, 1.6vw, 26px); border-left: 1px solid var(--rule); } .types section:nth-child(2n+1) { padding-left: 0; border-left: 0; } .types section:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 32px; } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } .types section:nth-child(n) { padding-left: 0; border-left: 0; } .types section + section { border-top: 1px solid var(--rule); margin-top: 32px; } }

/* ---------- process: project schedule ---------- */
.sched { border-bottom: 1px solid var(--rule); }
.sched__axis { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: 0 clamp(20px, 3vw, 48px); color: var(--muted); padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.sched__axis span:first-child { grid-row: 1; }
.sched__axis span:not(:first-child) { grid-column: 2; grid-row: 1; }
.sched__axis span:nth-child(2) { justify-self: start; }
.sched__axis span:nth-child(3) { justify-self: end; }
.sched__rows { list-style: none; margin: 0; padding: 0; }
.srow { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: 12px clamp(20px, 3vw, 48px); align-items: center; padding: 24px 0; border-top: 1px solid var(--rule); }
.srow:first-child { border-top: 0; }
.srow h3 { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 740; font-size: clamp(1.5rem, 2.2vw, 2.05rem); line-height: 1; }
.srow h3 .acc { color: var(--red); }
.srow p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.srow__track { position: relative; height: 44px; background-image: repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px calc(100% / 12)); border-right: 1px solid var(--rule); }
.srow__bar { position: absolute; top: 8px; height: 14px; left: calc(var(--s) * 100%); width: calc(var(--w) * 100%); background: var(--ink); transform-origin: left center; }
.srow__bar::after { content: ""; position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; background: inherit; transform: translateY(-50%) rotate(45deg); }
.srow--build .srow__bar { background: var(--red); }
.srow__ms { position: absolute; top: 26px; left: calc(var(--s) * 100%); white-space: nowrap; color: var(--muted); font-size: 11px; }
.srow--build .srow__ms { color: var(--red); left: auto; right: 0; }
@media (max-width: 800px) {
  .sched__axis { display: none; }
  .srow { grid-template-columns: 1fr; }
  .srow__track { height: 40px; }
}
/* ---------- project stories: drawings → renderings → construction ---------- */
.cases { padding-top: 0; }
.cases__head { margin-bottom: clamp(48px, 6vw, 88px); }
.cases__head .lede { margin: 18px 0 0; }
.case { display: grid; grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; border-top: 1.5px solid var(--ink); padding-top: clamp(24px, 2.6vw, 36px); }
.case + .case { margin-top: clamp(88px, 10vw, 150px); }
.case--flip { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr); }
.stg, .rnd { min-width: 0; }
.case--flip .case__tb { order: 2; }
.case__tb { position: sticky; top: calc(var(--hdr) + 24px); }
.case__place { margin: 0 0 14px; color: var(--red); }
.case__t { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 740; font-size: clamp(1.7rem, 2.5vw, 2.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.case__t .acc { color: var(--red); }
.case__sum { margin: 18px 0 0; color: var(--ink-2); max-width: 44ch; }
.case__facts { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.case__facts div { padding: 10px 12px 12px; min-width: 0; }
.case__facts div:nth-child(n+3) { border-top: 1px solid var(--ink); }
.case__facts div:nth-child(even) { border-left: 1px solid var(--ink); }
.case__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.case__facts dt { font-size: 11px; color: var(--muted); }
.case__facts dd { margin: 4px 0 0; font-family: var(--f-display); font-variation-settings: "wdth" 86; font-weight: 620; font-size: 17px; line-height: 1.25; }

/* stage viewer */
.stg__tabs { display: grid; grid-template-columns: repeat(var(--n), 1fr); position: relative; padding-bottom: 14px; }
.stg__tab { display: grid; gap: 2px; align-content: start; text-align: left; background: none; border: 0; padding: 0 12px 0 0; cursor: pointer; color: var(--muted); min-height: 48px; transition: color 0.25s; }
.stg__tab b { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 720; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.1; }
.stg__tab small { font-size: 11px; }
.stg__num { font-size: 11px; }
.stg__tab:hover, .stg__tab[aria-selected="true"] { color: var(--ink); }
.stg__tab[aria-selected="true"] .stg__num { color: var(--red); }
.stg__rail { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rule); }
.stg__rail i { position: absolute; inset: 0; background: var(--red); transform-origin: left center; transform: scaleX(var(--p, 0.05)); transition: transform 0.6s var(--ease-out); }
.stg__view { margin: 16px 0 0; }
.stg__frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--white); border: 1.5px solid var(--ink); cursor: zoom-in; }
.stg__bg { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: blur(26px) saturate(0.85); opacity: 0.5; }
.stg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stg__img.is-small { margin: auto; max-width: var(--mw, 100%); max-height: var(--mh, 100%); } /* phone photos: enlarge up to 1.8x, never more */
.stg__img.is-in { animation: wipeIn 0.7s var(--ease-out) both; }
.stg__img.is-out { opacity: 0; transition: opacity 0.35s var(--ease-out); }
.stg__cap { display: flex; align-items: baseline; gap: 8px 16px; margin-top: 12px; flex-wrap: wrap; }
.stg__k { color: var(--red); }
.stg__c { flex: 1; min-width: 12ch; font-weight: 560; }
.stg__n { color: var(--muted); }
.stg__foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.stg__thumbs { list-style: none; margin: 0; padding: 2px; display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: thin; }
.stg__thumbs li[hidden] { display: none; }
.stg__thumbs a { display: block; width: 84px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--rule); opacity: 0.62; transition: opacity 0.25s, border-color 0.25s; }
.stg__thumbs a:hover { opacity: 1; }
.stg__thumbs a[aria-current="true"] { opacity: 1; border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.stg__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stg__nav { display: flex; gap: 8px; flex: none; }
.cases .icon-btn { color: var(--ink); border-color: var(--ink); }
.cases .icon-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* rendering rounds */
.rnd__view { margin: 0; }
.rnd__frame { position: relative; aspect-ratio: 1.72; overflow: hidden; background: var(--white); border: 1.5px solid var(--ink); cursor: zoom-in; }
.zoom-btn { position: absolute; top: 10px; right: 10px; z-index: 3; background: oklch(1 0 0 / 0.92); opacity: 0; transition: opacity 0.25s, background 0.2s, color 0.2s; }
.stg__frame:hover .zoom-btn, .rnd__frame:hover .zoom-btn, .zoom-btn:focus-visible { opacity: 1; }
@media (hover: none) { .zoom-btn { opacity: 1; min-width: 40px; min-height: 40px; } }
.rnd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); opacity: 0; }
.rnd__img:last-of-type { opacity: 1; } /* without JavaScript: the final rendering */
/* only the current round shows; the next one fades in on top, then the old one steps out */
.rnd.is-js .rnd__img { opacity: 0; z-index: 0; transition: opacity 0.3s linear 0.6s; }
.rnd.is-js .rnd__img.is-on { opacity: 1; z-index: 1; transition: opacity 0.6s var(--ease-out); }
.rnd__cap { display: flex; align-items: baseline; gap: 8px 16px; margin-top: 12px; flex-wrap: wrap; }
.rnd__k { color: var(--red); }
.rnd__c { flex: 1; min-width: 12ch; font-weight: 560; }
.rnd__ctl { margin-top: 18px; padding: 0 28px; }
.rnd__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.rnd__range::-webkit-slider-runnable-track { height: 1.5px; background: var(--ink); }
.rnd__range::-moz-range-track { height: 1.5px; background: var(--ink); }
.rnd__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 6px; height: 30px; margin-top: -14px; background: var(--red); border: 0; border-radius: 0; }
.rnd__range::-moz-range-thumb { width: 6px; height: 30px; background: var(--red); border: 0; border-radius: 0; }
.rnd__range:focus-visible { outline-offset: 6px; }
.rnd__ticks { list-style: none; margin: 0; padding: 0; position: relative; height: 40px; }
.rnd__ticks li { position: absolute; top: 0; left: calc(3px + (100% - 6px) * var(--i) / (var(--n) - 1)); transform: translateX(-50%); }
.rnd__ticks li::before { content: ""; display: block; width: 1.5px; height: 8px; background: var(--ink); margin: 0 auto 6px; }
.rnd__ticks button { background: none; border: 0; padding: 4px 2px; min-height: 28px; cursor: pointer; color: var(--muted); white-space: nowrap; font-size: 11px; transition: color 0.2s; }
.rnd__ticks button:hover, .rnd__ticks button[aria-current="true"] { color: var(--ink); }
.rnd__ticks button[aria-current="true"] { color: var(--red); }

@media (max-width: 960px) {
  .case, .case--flip { grid-template-columns: minmax(0, 1fr); }
  .case--flip .case__tb { order: 0; }
  .case__tb { position: static; }
  .stg__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .stg__tab { padding-right: 6px; }
  .stg__tab small { display: none; }
  .stg__nav .icon-btn { min-width: 44px; min-height: 44px; }
  .rnd__ticks button { font-size: 10px; }
}

/* ---------- partners (ink) ---------- */
.partners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.pcard { border: 1px solid var(--rule-ink); display: grid; grid-template-rows: auto 1fr; transition: border-color 0.3s; }
.pcard:hover { border-color: var(--muted-on-ink); }
.pcard__logo { background: var(--white); aspect-ratio: 3 / 1.25; position: relative; overflow: hidden; }
.pcard__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease-out); }
.pcard:hover .pcard__logo img { transform: scale(1.04); }
.pcard__body { padding: clamp(20px, 2.4vw, 34px); display: grid; align-content: start; gap: 14px; }
.pcard h3 { font-family: var(--f-stencil); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(1.45rem, 2.1vw, 2.05rem); line-height: 1.05; }
.pcard__wm { display: block; }
.pcard__wm svg { display: block; height: calc(0.8em * var(--wm-h, 1)); width: auto; max-width: 100%; overflow: visible; }
.pcard p { margin: 0; color: var(--muted-on-ink); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; border: 1px solid var(--rule-ink); padding: 6px 10px; }
.pcard .where { color: var(--red-hi); }
.partners__photo { margin: clamp(16px, 2vw, 28px) 0 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; }
.partners__photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(0.2) contrast(1.05); }
.partners__photo figcaption { color: var(--muted-on-ink); }
@media (max-width: 860px) { .partners__grid, .partners__photo { grid-template-columns: 1fr; } }

/* ---------- reach ---------- */
.reach__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.places { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.places li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.places b { font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 640; font-size: 18px; }
.places .mono { color: var(--muted); }
.places .mono.r { color: var(--red); }
.survey { width: 100%; height: auto; overflow: visible; }
.survey .ring { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 6; opacity: 0.45; vector-effect: non-scaling-stroke; }
.survey .ring-t { font-family: var(--f-mono); font-size: 13px; fill: var(--muted); }
.survey .ray { stroke: var(--red); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.survey .dot { fill: var(--ink); }
.survey .home { fill: var(--red); }
.survey .home-ring { fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.survey .ct { font-family: var(--f-display); font-size: 17px; font-weight: 640; fill: var(--ink); font-variation-settings: "wdth" 84; }
.survey .cd { font-family: var(--f-mono); font-size: 12px; fill: var(--muted); }
.survey .ax { stroke: var(--ink); stroke-width: 1; opacity: 0.25; vector-effect: non-scaling-stroke; }
.survey .n-t { font-family: var(--f-mono); font-size: 14px; fill: var(--ink); }
.survey .far { font-family: var(--f-mono); font-size: 12px; fill: var(--red); }
@media (max-width: 900px) { .reach__grid { grid-template-columns: 1fr; } }

/* ---------- contact: light form sheet with the A1 banner ---------- */
.contact { background: var(--paper-2); color: var(--ink); position: relative; overflow: hidden; }
.contact::before { /* faint graph paper, like the opening sheet */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, oklch(0.18 0.008 20 / 0.045) 1px, transparent 1px), linear-gradient(to bottom, oklch(0.18 0.008 20 / 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.contact .wrap { position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.contact__sheet { background: var(--white); border: 1px solid var(--rule); box-shadow: 0 30px 60px -40px oklch(0.18 0.008 20 / 0.35); }
.contact__banner { margin: 0; border-bottom: 4px solid var(--red); background: var(--ink); }
.contact__banner img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.contact__body { padding: clamp(24px, 3.6vw, 52px); }
.contact .h2 { font-size: clamp(2.2rem, 4.4vw, 4.1rem); }
.contact__sub { font-size: clamp(1.02rem, 1.2vw, 1.15rem); max-width: 52ch; margin: 14px 0 clamp(28px, 3vw, 40px); color: var(--ink-2); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid oklch(0.82 0.005 20); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font: 16px/1.4 var(--f-body);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field textarea:hover { border-color: oklch(0.6 0.008 20); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px oklch(0.34 0.13 20 / 0.12); }
.field .err { font-size: 14px; color: var(--red); font-weight: 600; }
.field .err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--red); }

/* click-to-choose boxes (project type, what you need, survey yes/no) */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); padding: 0; margin-bottom: 10px; }
.choices legend span, .field label .opt { text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; font-family: var(--f-body); font-size: 13px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 8px; }
.chips--2 { grid-template-columns: repeat(2, minmax(0, 120px)); }
.chips--kinds { grid-template-columns: repeat(3, minmax(0, 170px)); }
.chip-group { padding-top: 14px; }
.chip-group + .chip-group { margin-top: 14px; border-top: 1px dashed var(--rule); }
.chip-group__t { margin: 0 0 10px; color: var(--red); font-size: 11px; }
.field .chip { position: relative; display: block; cursor: pointer; font-family: var(--f-body); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; align-items: center; gap: 10px; min-height: 44px; height: 100%; padding: 10px 12px; border: 1.5px solid oklch(0.86 0.004 20); background: var(--paper); font-size: 15px; line-height: 1.25; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid oklch(0.6 0.008 20); background: var(--white); transition: background 0.2s, border-color 0.2s; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--ink); background: var(--white); }
.chip input:checked + span { background: var(--red); color: var(--white); border-color: var(--red); font-weight: 600; }
.chip input:checked + span::before { background: var(--white); border-color: var(--white); box-shadow: inset 0 0 0 3px var(--red); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.choices[aria-invalid="true"] .chip span { border-color: var(--red); }
.field input[type="file"] { padding: 9px 10px; font-size: 15px; }
.field input[type="file"]::file-selector-button { font: 600 14px var(--f-body); color: var(--white); background: var(--ink); border: 0; padding: 9px 14px; margin-right: 12px; cursor: pointer; transition: background 0.2s; }
.field input[type="file"]:hover::file-selector-button { background: var(--red); }
/* one file per box (Netlify), a Remove button once something is picked */
.file-row { display: flex; gap: 8px; min-width: 0; }
.file-row[hidden], .file-row__x[hidden] { display: none; }
.file-row input { flex: 1; min-width: 0; }
.file-row__x { flex: none; min-height: 52px; padding: 0 16px; border: 1.5px solid oklch(0.82 0.005 20); background: var(--white); color: var(--ink-2); font: 12px var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.file-row__x:hover { border-color: var(--ink); color: var(--red); }
.file-row__x:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.files__list { display: grid; gap: 8px; }
.files__note { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 84ch; }
.files__note a { color: var(--ink); font-weight: 600; }
.files__note a:hover { color: var(--red); }
.files__used { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.files__used:empty { display: none; }
.form__send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--rule); }
.form__status { font-weight: 600; color: var(--ink); margin: 0; }
.form__status:empty { display: none; }
.form .hp { position: absolute; left: -9999px; }

.cinfo { display: grid; gap: 28px; align-content: start; position: sticky; top: calc(var(--hdr) + 24px); padding-top: 4px; }
.cinfo > div { padding-top: 14px; border-top: 1.5px solid var(--ink); }
.cinfo .mono { color: var(--red); margin-bottom: 6px; display: block; }
.cinfo a { text-decoration: none; color: var(--ink); }
.cinfo .big { font-family: var(--f-display); font-variation-settings: "wdth" 76; font-weight: 740; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; display: block; }
.cinfo .big:hover, .cinfo a:hover { color: var(--red); }
.cinfo address { font-style: normal; color: var(--ink-2); }
.cinfo .cinfo__val { display: block; font-family: var(--f-body); font-size: 1.15rem; font-weight: 600; line-height: 1.45; color: var(--ink); font-style: normal; overflow-wrap: anywhere; }
.cinfo a.cinfo__val:hover { color: var(--red); }
.cinfo__note { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .cinfo { position: static; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 560px) {
  .contact .wrap { padding: 0 12px; }
  .form { grid-template-columns: 1fr; }
  .chips, .chips--kinds { grid-template-columns: 1fr 1fr; }
  .chip span { font-size: 14px; padding: 10px; gap: 8px; }
}

/* ---------- about us ---------- */
.about { background: var(--paper); border-top: 1px solid var(--rule); }
.about__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.about__kicker { color: var(--red); margin: 0 0 18px; }
.about__stats { margin: 0; display: grid; gap: clamp(22px, 3vw, 36px); }
.stat { border-top: 1.5px solid var(--ink); padding-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 22px; }
.stat__n { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 72; font-weight: 800; font-size: clamp(4.4rem, 9vw, 8.6rem); line-height: 0.82; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.stat__n i { font-style: normal; color: var(--red); margin-left: 0.02em; }
.stat__n span[data-count] { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
.stat dd { margin: 0 0 0.5em; font-family: var(--f-display); font-variation-settings: "wdth" 86; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.2; max-width: 18ch; }
.about__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(64px, 8vw, 120px); }
.about__cols > div { border-top: 1px solid var(--rule); padding-top: 22px; }
.about__cols h3 { margin: 0 0 12px; font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 740; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.05; }
.about__cols p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.about__phases { margin-top: clamp(64px, 8vw, 120px); background: var(--paper-2); padding: clamp(28px, 4vw, 56px); }
.about__ph { margin: 0 0 clamp(24px, 3vw, 40px); font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 740; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -0.01em; }
.about__ph .acc { color: var(--red); }
.about__phases ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: ph; }
.about__phases li { position: relative; padding-top: 22px; }
.about__phases li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); }
.about__phases li:first-child::before { background: var(--red); }
.about__phases li .mono { color: var(--red); }
.about__phases h4 { margin: 8px 0 10px; font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.about__phases p { margin: 0; color: var(--ink-2); }
.about__close { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.about__close p { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 86; font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.1; max-width: 26ch; }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.about__tel { font-family: var(--f-mono); font-size: 18px; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.about__tel:hover { color: var(--red); }
@media (max-width: 900px) {
  .about__top { grid-template-columns: 1fr; align-items: start; }
  .about__cols, .about__phases ol { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 100px) 0 28px; overflow: hidden; }
.foot__mark { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 2.4vw, 36px); align-items: center; background: var(--white); padding: clamp(14px, 2.2vw, 30px) clamp(16px, 2.8vw, 40px); }
.foot__mark svg.mk { width: clamp(46px, 8.6vw, 132px); height: auto; display: block; }
.foot__word { display: block; width: 100%; height: auto; }
.foot__word text { font-family: var(--f-stencil); fill: #000; }
.foot__tag { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 36, "SOFT" 50; font-size: clamp(1.2rem, 2vw, 1.8rem); margin: clamp(14px, 2vw, 24px) 0 0; }
.foot__tag b { color: var(--red-hi); }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(40px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--rule-ink); }
.foot__cols .mono { color: var(--muted-on-ink); display: block; margin-bottom: 10px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--red-hi); }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot__legal { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-on-ink); }
.foot__cols:has(> div:nth-child(5)) { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
@media (min-width: 1200px) { .foot__cols:has(> div:nth-child(6)) { grid-template-columns: 1.2fr 1.1fr 0.8fr 1.3fr 0.9fr 0.8fr; } }
@media (max-width: 800px) { .foot__cols, .foot__cols:has(> div:nth-child(5)) { grid-template-columns: 1fr 1fr; } .foot__cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- scroll-driven reveals (enhancement only) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: 0; transform: translateY(34px); } }
    .unveil { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    @keyframes unveil { from { clip-path: inset(14% 0 0 0); } }
    .unveil img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes settle { from { transform: scale(1.12); } }
    .srow__bar { animation: grow linear both; animation-timeline: view(); animation-range: entry 30% cover 42%; }
    @keyframes grow { from { transform: scaleX(0); } }
    .srow__ms { animation: msIn linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    @keyframes msIn { from { opacity: 0; } }
    .survey .ring { animation: ringdraw linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    @keyframes ringdraw { from { opacity: 0; transform: scale(0.6); } }
    .survey .ring { transform-box: view-box; transform-origin: var(--cx) var(--cy); }
    .survey .ray { animation: raydraw linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; stroke-dasharray: 1; }
    @keyframes raydraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    .foot__word { animation: wordIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes wordIn { from { clip-path: inset(0 100% 0 0); } }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .survey .home-ring { animation: ping 2.6s var(--ease-out) infinite; }
  @keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .hero__hint i::after { display: none; }
}

/* ---------- client reviews (homepage) ---------- */
.stars { display: inline-flex; gap: 0.18em; line-height: 0; }
.stars svg { flex: none; width: 1em; height: 1em; fill: currentColor; }
.rv__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.rv__kicker { color: var(--red-hi); margin: 0 0 14px; }
.rv__sum { justify-self: end; display: grid; gap: 10px; justify-items: start; padding: 24px 28px; border: 1px solid var(--rule-ink); min-width: 270px; }
.rv__avg { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 76; font-weight: 760; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.9; letter-spacing: -0.02em; }
.rv__meter { position: relative; display: inline-block; font-size: 26px; line-height: 0; color: var(--rule-ink); }
.rv__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--red-hi); white-space: nowrap; }
.rv__count { margin: 0; color: var(--muted-on-ink); }
.rv__sum .btn { margin-top: 8px; }
.rv__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; }
.rv { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.4vw, 34px); background: var(--ink-2); border-top: 3px solid var(--red-hi); }
.rv::after { content: "\201D"; position: absolute; top: 6px; right: 22px; font-family: var(--f-accent); font-style: italic; font-size: 5.5rem; line-height: 1; color: oklch(1 0 0 / 0.08); pointer-events: none; }
.rv__stars { margin: 0; display: flex; gap: 4px; font-size: 19px; line-height: 0; }
.rv__stars .on { color: var(--red-hi); }
.rv__stars .off { color: var(--rule-ink); }
.rv__text { margin: 0; }
.rv__text p { margin: 0; font-size: 1.06rem; line-height: 1.62; white-space: pre-line; color: var(--white); }
.rv__who { margin: 0; display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--rule-ink); }
.rv__who b { font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 650; font-size: 17px; }
.rv__who span { color: var(--muted-on-ink); font-size: 14px; }
.rv__who .mono { font-size: 11px; margin-top: 6px; }
.rv__empty { justify-self: end; display: grid; justify-items: start; gap: 20px; padding: clamp(26px, 3.2vw, 44px); border: 1.5px dashed var(--rule-ink); width: min(520px, 100%); }
.reviews:not(:has(.rv__grid)) .rv__top { margin-bottom: 0; }
.rv__empty-stars { font-size: 30px; color: var(--red-hi); line-height: 0; }
.rv__empty p { margin: 0; font-size: clamp(1.12rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--white); max-width: 44ch; }
@media (max-width: 860px) { .rv__top { grid-template-columns: 1fr; align-items: start; } .rv__sum, .rv__empty { justify-self: stretch; min-width: 0; width: 100%; } }

/* ---------- leave-a-review page ---------- */
.rp__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--hdr); padding: 12px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--rule); }
.rp__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); }
.rp__back svg { width: 18px; height: 10px; flex: none; transition: transform 0.3s var(--ease-out); }
.rp__back:hover { color: var(--red); }
.rp__back:hover svg { transform: translateX(-4px); }
.rp__main { padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 7vw, 96px); }
.rp__wrap { max-width: 900px; }
.rp__kicker { color: var(--red); margin: 0 0 12px; }
.rp .contact__body h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
.rate__stars { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.field .rate__stars input { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; margin: 0; opacity: 0; }
.rate__stars label { cursor: pointer; padding: 4px; line-height: 0; font-size: clamp(38px, 6vw, 46px); color: oklch(0.86 0.004 20); transition: color 0.15s, transform 0.15s var(--ease-out); }
.rate__stars label .stars { gap: 0; }
.rate__stars input:checked + label, .rate__stars label:has(~ input:checked) { color: var(--red); }
.rate__stars:has(label:hover) label { color: oklch(0.86 0.004 20); }
.rate__stars:has(label:hover) label:hover, .rate__stars:has(label:hover) label:has(~ label:hover) { color: var(--red-2); }
.rate__stars label:hover { transform: scale(1.08); }
.rate__stars input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.rate__say { margin-left: 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.rate__stars:has(#r1:checked) .rate__say::after { content: "1 of 5 · Poor"; }
.rate__stars:has(#r2:checked) .rate__say::after { content: "2 of 5 · Fair"; }
.rate__stars:has(#r3:checked) .rate__say::after { content: "3 of 5 · Good"; }
.rate__stars:has(#r4:checked) .rate__say::after { content: "4 of 5 · Very good"; }
.rate__stars:has(#r5:checked) .rate__say::after { content: "5 of 5 · Excellent"; }
.rp__checks { gap: 12px; }
.field .rp__check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--f-body); font-size: 15px; line-height: 1.45; text-transform: none; letter-spacing: 0; color: var(--ink); }
.field .rp__check input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--red); }
.rp__robot { min-width: 0; overflow: hidden; }
.rp__robot-t { margin: 0 0 2px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.rp__robot > div { min-height: 78px; }
@media (max-width: 400px) { .rp__robot > div { transform: scale(0.84); transform-origin: 0 0; min-height: 66px; height: 66px; } }
@media (max-width: 340px) { .rp__robot > div { transform: scale(0.76); min-height: 60px; height: 60px; } }
.rp__note { margin: 0; flex: 1 1 280px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rp__help { margin: 22px 0 0; color: var(--ink-2); font-size: 15px; }
.rp__help a { color: var(--ink); font-weight: 600; }
.rp__help a:hover { color: var(--red); }
.rp__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px var(--gutter) max(22px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--muted-on-ink); }
.rp__foot a { color: var(--white); text-decoration: none; }
@media (max-width: 640px) { .rp__back { font-size: 0; gap: 0; padding: 0 8px; } .rp__back svg { width: 22px; height: 12px; } }

@media print { .hdr, .hero__hint, .filters, .contact form { display: none; } .seq .hero { height: auto; } .seq .hero__stage { position: static; } }

/* ---------- preview banner (only on the unpublished preview copy) ---------- */
.preview-bar { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: var(--z-modal); background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.4; padding: 10px 16px; width: max-content; max-width: calc(100% - 32px); box-shadow: 0 8px 24px oklch(0 0 0 / 0.25); }
.preview-bar b:first-child { font-family: var(--f-mono); font-weight: 500; font-size: 12px; text-transform: uppercase; margin-right: 10px; color: var(--red-hi); }

/* ---------- service, area and hub pages ---------- */
.lp-hero { padding: calc(var(--hdr) + clamp(20px, 3vw, 44px)) 0 clamp(24px, 3vw, 40px); background: var(--paper); }
.crumbs ol { list-style: none; margin: 0 0 clamp(18px, 2.4vw, 32px); padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--rule); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--red); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.lp-kicker { color: var(--red); margin: 0 0 14px; }
.lp-h1 { font-family: var(--f-display); font-variation-settings: "wdth" 76; font-weight: 780; font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.lp-h1 .acc { color: var(--red); font-size: 1em; }
.lp-intro { margin: 22px 0 0; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.lp-hero__fig { margin: 0; background: var(--ink-2); overflow: hidden; }
.lp-hero__fig img { display: block; width: 100%; height: auto; }
.lp-hero__fig.is-drawing { background: var(--white); border: 1px solid var(--rule); }
.lp-body > * { max-width: 980px; }
.lp-block + .lp-block { margin-top: clamp(40px, 5vw, 64px); }
.lp-h2 { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 740; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; letter-spacing: -0.012em; margin: 0 0 16px; }
.lp-h2 .acc { color: var(--red); font-size: 1em; }
.lp-block p, .lp-faq p { font-size: clamp(1.02rem, 1.15vw, 1.14rem); line-height: 1.65; color: var(--ink-2); max-width: 70ch; margin: 0; }
.lp-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1.5px solid var(--ink); }
.lp-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 560; }
.lp-list li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 12px; height: 1.5px; background: var(--red); }
.lp-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; border-top: 1.5px solid var(--ink); }
.lp-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.lp-links a:hover { color: var(--red); }
.lp-links .arr, .lp-card__go .arr { width: 18px; height: 10px; flex: none; }
.lp-work .h2 { margin-bottom: clamp(28px, 3.6vw, 48px); }
.lp-more { display: flex; justify-content: center; margin: clamp(8px, 1.4vw, 20px) 0 0; }
.lp-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.lp-steps li { counter-increment: st; display: grid; grid-template-columns: 56px minmax(140px, 0.32fr) 1fr; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.lp-steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--red); }
.lp-steps b { font-family: var(--f-display); font-variation-settings: "wdth" 84; font-weight: 700; font-size: 1.15rem; }
.lp-steps b .acc { color: var(--red); }
.lp-steps span { color: var(--ink-2); }
.lp-faq { border-top: 1.5px solid var(--ink); }
.lp-faq details { border-bottom: 1px solid var(--rule); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--f-display); font-variation-settings: "wdth" 86; font-weight: 680; font-size: clamp(1.08rem, 1.35vw, 1.28rem); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--f-mono); font-size: 22px; color: var(--red); transition: transform 0.3s var(--ease-out); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 0 20px; }
.lp-close .lp-cta .tlink { color: var(--white); }
.lp-related { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--rule-ink); }
.lp-related .mono { color: var(--muted-on-ink); display: block; margin-bottom: 12px; }
.lp-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-related a { display: inline-block; padding: 9px 14px; border: 1px solid var(--rule-ink); text-decoration: none; color: var(--white); }
.lp-related a:hover { border-color: var(--red-hi); color: var(--red-hi); }
.lp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.lp-card a { display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 10px; height: 100%; text-decoration: none; color: inherit; padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.lp-card a > :not(.lp-card__img) { align-self: start; }
.lp-card__go { align-self: end !important; }
.lp-card a:has(.lp-card__tag) { grid-template-rows: auto auto auto 1fr auto; gap: 8px; }
.lp-card__img { display: block; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 3; }
.lp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.lp-card a:hover img { transform: scale(1.04); }
.lp-card__t { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 740; font-size: 1.5rem; line-height: 1.1; margin-top: 6px; }
.lp-card__d { color: var(--ink-2); }
.lp-card__go { color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.svc__pages { margin-top: clamp(36px, 4.6vw, 64px); }
.svc__pages .mono { color: var(--muted); display: block; margin-bottom: 12px; }
.places .mono a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.places .mono a:hover { color: var(--red); text-decoration-color: currentColor; }
.lp-cards--compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.lp-cards--compact .lp-card__t { font-size: 1.3rem; }
@media (max-width: 600px) {
  .lp-cards--compact { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .lp-cards--compact .lp-card__d { display: none; }
  .lp-cards--compact .lp-card__t { font-size: 1.1rem; }
  .lp-cards--compact .lp-card a { gap: 6px; padding-bottom: 12px; }
}
.lp-jump { margin: 0 0 clamp(36px, 5vw, 64px); }
.lp-jump .mono { display: block; color: var(--muted); margin-bottom: 12px; }
.lp-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-jump a { display: inline-block; padding: 8px 13px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.lp-jump a:hover { border-color: var(--red); color: var(--red); }
.lp-card__tag { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-notfound { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3vw, 40px); border: 1.5px solid var(--ink); }
.lp-notfound p { max-width: 62ch; margin: 0 0 22px; }
.lp-group { margin: clamp(48px, 6vw, 80px) 0 clamp(18px, 2vw, 26px); padding-top: 18px; border-top: 1.5px solid var(--ink); }
.lp-group:first-child { margin-top: 0; }
.lp-reach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1.5px solid var(--ink); }
.lp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags li { padding: 7px 12px; border: 1px solid var(--rule); font-size: 0.95rem; }
.places b a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.places b a:hover { color: var(--red); text-decoration-color: currentColor; }
.foot__lic { margin: 32px 0 0; color: var(--muted-on-ink); }
@media (max-width: 800px) { .lp-reach { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .lp-jump ul { gap: 6px; } .lp-jump a { padding: 6px 10px; font-size: 0.86rem; } }
@media (max-width: 960px) { .lp-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lp-steps li { grid-template-columns: 40px 1fr; } .lp-steps span { grid-column: 2; } }
