/* Northcorp concept: warm brutalism meets Swiss editorial.
   Bone, deep charcoal, warm travertine, raw sage. Northcorp crimson only as a signature. */
:root {
  --bone: #ece6dc;
  --bone-2: #e3dbcd;
  --char: #1d1c1a;
  --char-2: #2b2926;
  --stone: #c9b79c;      /* warm travertine */
  --sage: #8b9581;       /* raw sage */
  --ink-soft: #5a554c;
  --crimson: #b10e36;    /* Northcorp burgundy, sampled from the logo */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bone); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; color: var(--char); background: var(--bone);
  font: 400 1.0625rem/1.6 var(--display); font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.022em; line-height: .92; font-variation-settings: "opsz" 96, "wdth" 80; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 4px; }

/* ---------- cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
  .cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: normal; }
  .cursor-dot {
    position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--crimson); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background-color .25s;
  }
  .cursor.big .cursor-dot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(177 14 54 / .14); border: 1px solid var(--crimson); }
  .cursor-tag {
    position: absolute; left: 18px; top: 14px; white-space: nowrap; padding: 7px 12px; border-radius: 999px;
    background: var(--crimson); color: #fff; font: 500 .85rem var(--display);
    opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s var(--ease);
  }
  .cursor.tagged .cursor-tag { opacity: 1; transform: none; }
}
@media not ((hover: hover) and (pointer: fine)) { .cursor { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  border-radius: 999px; text-decoration: none; font: 600 1.02rem var(--display); white-space: nowrap;
  background: var(--bone); color: var(--char); border: 1px solid var(--char);
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--char); color: var(--bone); }
.btn-dark { background: var(--char); color: var(--bone); }
.btn-dark:hover { background: var(--crimson); border-color: var(--crimson); }
.btn-big { min-height: 72px; padding: 0 40px; font-size: 1.25rem; }
.magnetic { will-change: transform; }

/* ---------- floating nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%; translate: -50% 0;
  width: min(calc(100% - 32px), 1320px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgb(236 230 220 / .78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgb(29 28 26 / .1);
  opacity: 0; transform: translateY(-14px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav.on { opacity: 1; transform: none; pointer-events: auto; }
.nav-logo img { height: 64px; width: auto; margin: -6px 0; }
.nav nav { display: flex; gap: 6px; }
.nav nav a { padding: 12px 20px; border-radius: 999px; text-decoration: none; font-size: 1.15rem; font-weight: 500; color: var(--char); transition: color .2s, background-color .2s; }
.nav nav a:hover { color: var(--char); background: rgb(29 28 26 / .06); }
@media (max-width: 860px) { .nav nav { display: none; } }

/* ---------- 1 hero ---------- */
.hero { height: 260vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-frame {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(20% 8% 11% 46% round 4px); will-change: clip-path;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(29 28 26 / .0) 40%, rgb(29 28 26 / .55)); opacity: 0; }
.hero-head {
  position: absolute; left: var(--pad); top: clamp(130px, 19vh, 190px); width: min(92vw, 1500px);
  transform-origin: 0 0; will-change: transform, opacity;
}
.hero-kicker { font: 500 .85rem var(--mono); color: var(--ink-soft); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.9rem, 6.1vw, 7.8rem); max-width: 9.5ch; line-height: .9; letter-spacing: -0.028em; font-variation-settings: "opsz" 96, "wdth" 82; }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(24px, 5vh, 48px);
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
}
.hero-foot p { max-width: 30ch; font-size: 1.05rem; color: var(--ink-soft); }
.hero-cue { font: 400 .9rem var(--display); color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.hero-cue::after { content: ""; width: 1px; height: 40px; background: var(--char); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .hero-frame { clip-path: inset(46% 6% 14% 6% round 4px); }
  .hero-foot p { max-width: 24ch; font-size: .95rem; }
}

/* ---------- 2 statement ---------- */
.statement { padding: clamp(110px, 16vw, 220px) var(--pad) clamp(90px, 12vw, 160px); display: grid; gap: clamp(64px, 9vw, 120px); }
.st-line { font-size: clamp(2.2rem, 5.2vw, 5.6rem); max-width: 19ch; font-weight: 700; letter-spacing: -0.025em; line-height: .95; }
.st-line .w { display: inline-block; opacity: .14; transition: opacity .4s; }
.st-line .w.on { opacity: 1; }
.figures { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--char); }
.figures div { padding: 22px 24px 0 0; display: flex; flex-direction: column-reverse; gap: 10px; }
.figures div + div { padding-left: 24px; border-left: 1px solid rgb(29 28 26 / .18); }
.figures dt { color: var(--ink-soft); font-size: .95rem; max-width: 20ch; }
.figures dd { margin: 0; font: 800 clamp(3rem, 7vw, 7.5rem)/.85 var(--display); font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -0.03em; }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .figures div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- 3 before / after ---------- */
.reveal { height: 340vh; background: var(--char); color: var(--bone); }
.reveal-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(300px, 30vw); }
.rv-stage { position: relative; overflow: hidden; }
.rv-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.rv-shell { position: absolute; inset: 0; display: flex; }
.rv-shell .slat { position: relative; flex: 1; overflow: hidden; will-change: clip-path; }
.rv-shell .slat::before { /* concrete layer: the photo, desaturated and blurred, plus concrete grain */
  content: ""; position: absolute; inset: 0; width: var(--sw); left: var(--sx);
  background:
    linear-gradient(180deg, rgb(120 113 104 / .55), rgb(78 74 68 / .6)),
    url("assets/img/shell-al-quoz.jpg") center / cover;
}
.rv-shell .slat::after { /* blueprint grid drawn over the bare shell */
  content: ""; position: absolute; inset: 0; width: var(--sw); left: var(--sx);
  background:
    linear-gradient(rgb(236 230 220 / .3) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgb(236 230 220 / .3) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgb(236 230 220 / .1) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(236 230 220 / .1) 1px, transparent 1px) 0 0 / 24px 24px,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .53  0 0 0 0 .5  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: normal;
}
.rv-shell .veil { /* second curtain layer: a travertine edge that leads each slat */
  position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--stone); z-index: 2; will-change: height;
}
.rv-label { position: absolute; z-index: 3; left: 24px; top: 96px; font: 500 .8rem var(--mono); color: var(--bone); background: rgb(29 28 26 / .55); padding: 6px 10px; border-radius: 4px; }
.rv-copy { padding: clamp(96px, 14vh, 140px) clamp(24px, 3vw, 48px) 48px; display: flex; flex-direction: column; gap: 32px; border-left: 1px solid rgb(236 230 220 / .12); }
.rv-copy h2 { font-size: clamp(2.4rem, 4vw, 4.4rem); }
.rv-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.rv-stages li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; font-size: 1.25rem; color: rgb(236 230 220 / .3); transition: color .35s; }
.rv-stages li::before { content: "0" counter(s); font: 500 .8rem var(--mono); }
.rv-stages li.on { color: var(--bone); }
.rv-stages li.on::before { color: var(--stone); }
.rv-note { margin-top: auto; font-size: .85rem; color: rgb(236 230 220 / .55); }
.rv-meter { position: absolute; left: 0; bottom: 0; width: calc(100% - max(300px, 30vw)); height: 3px; background: rgb(236 230 220 / .1); }
.rv-meter i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--stone); }
@media (max-width: 860px) {
  .reveal-pin { grid-template-columns: 1fr; grid-template-rows: 58% 1fr; }
  .rv-copy { padding: 22px var(--pad); gap: 14px; border-left: 0; }
  .rv-copy h2 { font-size: 2rem; }
  .rv-stages li { font-size: 1rem; }
  .rv-meter { width: 100%; top: 58%; bottom: auto; }
}

/* ---------- 4 horizontal gallery ---------- */
.work { position: relative; background: var(--bone); }
.work-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 40px; gap: 28px; }
.work-head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.work-head h2 { font-size: clamp(2.6rem, 6vw, 6.6rem); }
.work-cat { font: 500 1rem var(--display); color: var(--ink-soft); }
.work-cat span { display: inline-block; padding: 8px 14px; border: 1px solid var(--char); border-radius: 999px; color: var(--char); }
.track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--pad); width: max-content; will-change: transform; perspective: 1200px; }
.divider { width: clamp(220px, 22vw, 320px); flex: none; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 12px; border-left: 1px solid var(--char); padding-left: 18px; }
.divider b { font: 800 clamp(2.2rem, 3.6vw, 3.6rem)/.9 var(--display); font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -0.025em; }
.divider span { margin-top: 12px; color: var(--ink-soft); font-size: .95rem; max-width: 28ch; }
.card {
  flex: none; width: clamp(280px, 30vw, 460px); margin: 0; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit;
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.card .ph { position: relative; aspect-ratio: 804 / 520; overflow: hidden; border-radius: 3px; background: var(--bone-2); transform: translateZ(0); }
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease); }
.card:hover img { transform: scale(1.1); }
.card .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .22), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover .glare { opacity: 1; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.card .meta b { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.card .meta span { color: var(--ink-soft); font-size: .9rem; padding-top: 2px; }
.work-progress { margin: 0 var(--pad); height: 2px; background: rgb(29 28 26 / .12); }
.work-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--char); }
@media (max-width: 860px) {
  .work-pin { height: auto; padding: 100px 0 60px; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .card, .divider { scroll-snap-align: start; }
  .card { width: 78vw; }
  .divider { width: 60vw; }
  .work-progress { display: none; }
}

/* ---------- 5 materials ---------- */
.materials { background: var(--bone-2); padding: clamp(100px, 13vw, 180px) var(--pad); }
.mt-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.mt-copy { display: grid; gap: 22px; }
.mt-copy h2 { font-size: clamp(2.6rem, 5vw, 5.6rem); max-width: 10ch; }
.mt-copy > p { color: var(--ink-soft); max-width: 46ch; }
.mt-sectors { list-style: none; margin: 40px 0 0; padding: 0; display: grid; }
.mt-sectors li { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-top: 1px solid rgb(29 28 26 / .18); opacity: .3; transition: opacity .4s; }
.mt-sectors li.on { opacity: 1; }
.mt-sectors b { font: 800 clamp(2rem, 3.4vw, 3.4rem)/.95 var(--display); font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -0.025em; }
.mt-sectors span { color: var(--ink-soft); max-width: 40ch; }
.mt-board-wrap { position: sticky; top: 110px; }
.mt-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sw { position: relative; display: flex; flex-direction: column; gap: 6px; transition: opacity .5s; }
.sw i { display: block; aspect-ratio: 1; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06), 0 18px 30px -22px rgb(29 28 26 / .6); transition: transform .5s var(--ease); }
.sw b { font-weight: 600; font-size: .98rem; }
.sw span { color: var(--ink-soft); font-family: var(--display); font-size: .88rem; }
.sw.dim { opacity: .28; }
.sw.dim i { transform: scale(.94); }
.sw:first-child { grid-column: span 2; grid-row: span 2; }
.sw:first-child i { aspect-ratio: auto; flex: 1; min-height: 0; }
/* procedural material swatches */
.sw-timber i { background:
  linear-gradient(90deg, rgb(0 0 0 / .28), transparent 30%, rgb(255 255 255 / .1) 55%, transparent 70%, rgb(0 0 0 / .32)) 0 0 / 28px 100%,
  repeating-linear-gradient(178deg, rgb(70 40 18 / .15) 0 2px, transparent 2px 9px),
  linear-gradient(180deg, #a87447, #8a5a33 60%, #7a4d2b); }
.sw-glass i { background:
  linear-gradient(115deg, rgb(255 255 255 / .55) 0 12%, transparent 12% 30%, rgb(255 255 255 / .25) 30% 34%, transparent 34%),
  linear-gradient(160deg, #cfd9d6, #a9b8b5 55%, #8fa09d); }
.sw-brass i { background:
  repeating-linear-gradient(90deg, rgb(255 255 255 / .08) 0 1px, transparent 1px 3px),
  linear-gradient(120deg, #8a6a2f, #c9a45c 35%, #e6cd8e 50%, #b48c45 70%, #7d5f28); }
.sw-cement i { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='5' seed='4'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .31  0 0 0 0 .3  0 0 0 1.4 -.35'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / cover,
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .3  0 0 0 0 .3  0 0 0 .25 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"),
  linear-gradient(135deg, #a8a299, #8f8a82); }
.sw-felt i { background:
  repeating-linear-gradient(90deg, rgb(0 0 0 / .32) 0 3px, rgb(255 255 255 / .05) 3px 5px, transparent 5px 26px),
  linear-gradient(180deg, rgb(255 255 255 / .06), rgb(0 0 0 / .18)),
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .22  0 0 0 0 .18  0 0 0 .4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
  #6f7a67; }
.sw-travertine i { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='v'><feTurbulence type='fractalNoise' baseFrequency='.002 .045' numOctaves='4' seed='11'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .25  0 0 0 2.2 -.9'/></filter><rect width='100%' height='100%' filter='url(%23v)'/></svg>") 0 0 / cover,
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='p'><feTurbulence type='turbulence' baseFrequency='.08 .5' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .32  0 0 0 0 .22  0 0 0 1.6 -1.1'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>"),
  linear-gradient(180deg, #d8c7a8, #c8b493 60%, #d3c1a1); }
@media (max-width: 860px) {
  .mt-grid { grid-template-columns: 1fr; }
  .mt-board-wrap { order: -1; position: sticky; top: 84px; z-index: 2; background: var(--bone-2); padding: 8px 0 10px; }
  .mt-grid { gap: 28px; }
  .mt-board { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .sw:first-child { grid-column: auto; grid-row: auto; }
  .sw:first-child i { aspect-ratio: 1; }
  .sw b, .sw span { display: none; }
  .mt-sectors li { min-height: 36vh; }
}

/* ---------- 6 services ---------- */
.services { padding: clamp(100px, 13vw, 180px) var(--pad); position: relative; }
.sv-title { font-size: clamp(2.6rem, 6vw, 6.6rem); margin-bottom: clamp(40px, 6vw, 72px); }
.sv-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--char); }
.sv { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--char); transition: padding-left .4s var(--ease), color .3s; }
.sv h3 { font-size: clamp(2.2rem, 5.2vw, 5.4rem); }
.sv p { color: var(--ink-soft); max-width: 44ch; }
.sv:hover { padding-left: 18px; }
.sv:hover h3 { color: var(--sage); }
.sv-float { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s var(--ease); }
.sv-float.on { opacity: 1; transform: none; }
.sv-float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .sv { grid-template-columns: 1fr; gap: 10px; } .sv-float { display: none; } }

/* ---------- 7 process ---------- */
.process { background: var(--char); color: var(--bone); padding: clamp(100px, 13vw, 180px) var(--pad); }
.process h2 { font-size: clamp(2.6rem, 5.4vw, 6rem); max-width: 12ch; margin-bottom: clamp(48px, 7vw, 96px); }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(236 230 220 / .25); }
.pr-list li { padding: 28px 28px 48px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid rgb(236 230 220 / .12); }
.pr-list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgb(236 230 220 / .12); }
.pr-list .mono { color: var(--stone); }
.pr-list h3 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.pr-list p { color: rgb(236 230 220 / .66); max-width: 34ch; }
@media (max-width: 860px) { .pr-list { grid-template-columns: 1fr; } .pr-list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; } }

/* ---------- 8 people ---------- */
.people { padding: clamp(100px, 13vw, 180px) var(--pad); display: grid; gap: clamp(48px, 7vw, 90px); }
.pp-quote { margin: 0; display: grid; gap: 22px; }
.pp-quote p { font: 700 clamp(2rem, 5vw, 5.4rem)/1 var(--display); font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -0.025em; max-width: 20ch; }
.pp-quote footer { color: var(--ink-soft); }
.pp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--char); }
.pp-list li { padding: 18px 18px 0 0; display: grid; gap: 4px; }
.pp-list b { font-weight: 600; font-size: 1.15rem; }
.pp-list span { color: var(--ink-soft); font-size: .95rem; }
.pp-words { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.pp-words figure { margin: 0; padding: 28px; background: var(--bone-2); border-radius: 3px; display: grid; gap: 18px; }
.pp-words blockquote { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; }
.pp-words figcaption { color: var(--ink-soft); font-size: .95rem; }
.pp-heritage { color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 860px) { .pp-list { grid-template-columns: 1fr 1fr; row-gap: 20px; } .pp-words { grid-template-columns: 1fr; } }

/* ---------- burgundy display type on light backgrounds ---------- */
.hero h1, .st-line, .figures dd, .work-head h2, .divider b, .card .meta b,
.mt-copy h2, .mt-sectors b, .sv-title, .sv h3, .pp-quote p, .pp-list b, .contact h2 { color: var(--crimson); }
.sv:hover h3 { color: var(--char); }
.work-cat span { border-color: var(--crimson); color: var(--crimson); }
.figures { border-top-color: var(--crimson); }

/* ---------- 9 contact ---------- */
.contact { background: var(--stone); padding: clamp(100px, 13vw, 180px) var(--pad) 40px; display: grid; gap: clamp(40px, 6vw, 72px); }
.contact h2 { font-size: clamp(3rem, 7.6vw, 8.8rem); max-width: 11ch; letter-spacing: -0.018em; }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--char); padding-top: 22px; }
.ct-label { font-size: .95rem; font-weight: 600; color: var(--char-2); margin-bottom: 8px; }
.ct-grid a { text-decoration: none; display: inline-block; font-size: 1.2rem; }
.ct-grid a:hover { color: var(--crimson); }
.contact .btn-big { justify-self: start; background: var(--char); color: var(--bone); }
.contact .btn-big:hover { background: var(--crimson); border-color: var(--crimson); }
.foot { margin-top: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--char-2); }
.foot img { height: 44px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: var(--bone); }
.lightbox::backdrop { background: rgb(29 28 26 / .9); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; border-radius: 3px; }
.lightbox p { margin-top: 12px; font-size: 1.05rem; }
.lb-close { position: absolute; right: 0; top: -48px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bone); background: none; color: var(--bone); font: 500 .9rem var(--display); }
.lightbox[open] { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .hero-cue::after { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 3 the 3D build ---------- */
.build { height: 640vh; background: var(--bone-2); }
.build-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#build-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: opacity; }
.bd-photo { position: absolute; z-index: 1; left: 0; top: 0; width: 66%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.bd-photo-frame { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 74%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 74%, transparent 100%); }
.bd-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; transform-origin: 50% 50%; will-change: transform, filter; }
.bd-photo figcaption { position: absolute; left: var(--pad); bottom: 64px; padding: 8px 14px; border-radius: 999px; background: rgb(236 230 220 / .9);
  font-size: .95rem; color: var(--char); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.bd-photo figcaption.on { opacity: 1; transform: none; }
.bd-copy { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; width: min(400px, 32vw); display: grid; gap: 28px; pointer-events: none; }
.bd-copy h2 { font-size: clamp(2.2rem, 3.4vw, 3.8rem); color: var(--crimson); }
.bd-intro { color: var(--ink-soft); max-width: 36ch; }
.bd-count { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.bd-count b { font: 800 1.5rem var(--display); color: var(--char); font-variant-numeric: tabular-nums; margin-right: 6px; }
.bd-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: b; }
.bd-stages li { counter-increment: b; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 10px 0; border-top: 1px solid rgb(29 28 26 / .14); opacity: .32; transition: opacity .4s; }
.bd-stages li::before { content: "0" counter(b); grid-row: span 2; font: 500 .85rem var(--mono); color: var(--crimson); padding-top: 4px; }
.bd-stages b { font-weight: 700; font-size: 1.2rem; }
.bd-stages span { color: var(--ink-soft); font-size: .95rem; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.bd-stages li.on { opacity: 1; }
.bd-stages li.on span { max-height: 4em; }
.bd-meter { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 2px; background: rgb(29 28 26 / .12); }
.bd-meter i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--crimson); }
.bd-hint { position: absolute; left: var(--pad); bottom: 44px; margin: 0; color: var(--ink-soft); font-size: .95rem; transition: opacity .4s; }
@media (max-width: 860px) {
  .bd-copy { top: auto; bottom: 48px; translate: none; left: var(--pad); width: auto; gap: 12px; }
  .bd-photo-frame { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .bd-photo figcaption { bottom: 28px; }
  .bd-copy h2 { font-size: 1.8rem; }
  .bd-intro { display: none; }
  .bd-stages li { display: none; }
  .bd-stages li.on { display: block; }
  .bd-stages li::before { display: none; }
  .bd-stages b, .bd-stages li.on span { display: block; }
  .bd-hint { display: none; }
}
