/* ==========================================================================
   Titanium GC — Brand kit
   Bone (light beige) leads, warm ink and logo gold carry the original identity.
   ========================================================================== */
:root {
  --bone: #f6f1e7;
  --bone-2: #efe7d8;
  --ink: #17150f;
  --ink-2: #24211a;
  --stone: #6b6453;
  --stone-light: #a79f8b;
  --gold: #a8833a;        /* text-safe gold on bone */
  --gold-bright: #d6b56e; /* gold on dark */
  --gold-grad: linear-gradient(100deg, #8d6a2b 0%, #d9bc7a 45%, #f1dfae 55%, #b08c45 100%);
  --line: rgba(23, 21, 15, 0.1);
  --line-dark: rgba(246, 241, 231, 0.1);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-accent: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --room: 120px; /* default vertical padding of a section; the colour blends between sections take it (see [data-bg]) */
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-tone="dark"] { color: var(--bone); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}
.serif { font-family: var(--f-accent); font-style: normal; font-weight: 300; text-transform: none; letter-spacing: -0.045em; font-stretch: 100%; }
.eyebrow { font-family: var(--f-accent); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; display: block; line-height: 1; }
.muted { color: var(--stone); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Continuous background: section colour, soft light, grain ---------- */
/* decoration only (grid, light, grain): fixed over the page colour, under the content */
#bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  --glow: 0.2;
  --grid: rgba(246, 241, 231, 0.035);
}
#bg > * { position: absolute; }

/* Section colour. Every section carries its own text colour and paints its own tone, so text never depends on
   script. The tone is part of the page (z-index -2: over the ink canvas, under #bg), so the browser scrolls it
   together with the content and nothing redraws it on the way: the colour edge cannot trail the scroll on phones.
   Ink sections paint nothing (the canvas is ink). Keep transform / opacity / filter / isolation off a bone
   [data-bg] element itself, or its colour would rise above the grid and the grain. */
[data-bg] { position: relative; --tone: 246 241 231; --room-up: var(--room); --room-down: var(--room); }
[data-bg="bone"], [data-bg="bone2"] { color: var(--ink); }
[data-bg="bone2"] { --tone: 238 230 215; }
[data-bg="ink"] { color: var(--bone); --tone: 23 21 15; }
[data-bg="bone"] + [data-bg] { --prev: 246 241 231; }
[data-bg="bone2"] + [data-bg] { --prev: 238 230 215; }
[data-bg="ink"] + [data-bg] { --prev: 23 21 15; }

/* Where two neighbours differ, the lower one draws the blend from the previous tone into its own. The blend is
   eased (flat at both ends, so it has no visible start or finish) and takes the empty space around the shared edge:
   --room-up   = free space under the previous section's content (its bottom padding)
   --room-down = free space above this section's content (its top padding)
   It reaches a little past each room (--over, never more than the room itself: a side with no room gets no
   blend), which lands the nearest content on the flat ends of the curve, at roughly 7% of the other tone.
   Change a section's vertical padding -> change its room here. A [data-bg] section must not clip vertically
   (overflow-x: clip, not overflow: hidden): its blend starts above its own top edge. */
[data-bg="bone"]::before, [data-bg="bone2"]::before,
[data-bg="bone"] + [data-bg="ink"]::before, [data-bg="bone2"] + [data-bg="ink"]::before {
  content: ""; position: absolute; z-index: -2; left: 0; right: 0; pointer-events: none;
  --over: calc((var(--room-up) + var(--room-down)) * 0.37);
  --up: calc(var(--room-up) + min(var(--over), var(--room-up)));
  --len: calc(var(--up) + var(--room-down) + min(var(--over), var(--room-down)));
  top: calc(var(--up) * -1);
  background: rgb(var(--prev, var(--tone))) linear-gradient(to bottom,
    rgb(var(--tone) / 0) 0,
    rgb(var(--tone) / 0.009) calc(var(--len) * 0.1),
    rgb(var(--tone) / 0.027) calc(var(--len) * 0.15),
    rgb(var(--tone) / 0.058) calc(var(--len) * 0.2),
    rgb(var(--tone) / 0.163) calc(var(--len) * 0.3),
    rgb(var(--tone) / 0.317) calc(var(--len) * 0.4),
    rgb(var(--tone) / 0.5) calc(var(--len) * 0.5),
    rgb(var(--tone) / 0.683) calc(var(--len) * 0.6),
    rgb(var(--tone) / 0.837) calc(var(--len) * 0.7),
    rgb(var(--tone) / 0.942) calc(var(--len) * 0.8),
    rgb(var(--tone) / 0.973) calc(var(--len) * 0.85),
    rgb(var(--tone) / 0.991) calc(var(--len) * 0.9),
    rgb(var(--tone)) var(--len));
}
[data-bg="bone"]::before, [data-bg="bone2"]::before { bottom: 0; }
[data-bg="bone"] + [data-bg="ink"]::before, [data-bg="bone2"] + [data-bg="ink"]::before { height: var(--len); }
/* rooms that differ from the default section padding (--room) */
.hero + [data-bg], .page-gallery + [data-bg] { --room-up: 72px; }
.page-hero + [data-bg] { --room-up: 96px; }
.showcase + [data-bg] { --room-up: 110px; }
.bridge + [data-bg] { --room-up: 18vh; }
.reveal + [data-bg] { --room-up: 12vh; } /* inside the photo's faded bottom edge */
.work + [data-bg] { --room-up: 0px; }    /* the film runs to the very edge */
.reveal, .bridge { --room-down: 22vh; }
.work { --room-down: 30vh; }
.cta { --room-down: 34vh; }
.showcase { --room-down: 140px; }
.page-gallery { --room-down: 72px; }
.voices { --room-down: 40px; }
@media (max-width: 720px) {
  .page-hero + [data-bg] { --room-up: 64px; }
  .showcase + [data-bg] { --room-up: 80px; }
  .showcase { --room-down: 96px; }
}
/* light architectural grid: 6 columns + wide courses, very low contrast, drifts slower than the page */
.bg-grid {
  left: 0; right: 0; top: -200px; height: calc(100% + 400px);
  background-image: linear-gradient(90deg, var(--grid) 1px, transparent 1px), linear-gradient(0deg, var(--grid) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%, 100% 200px;
  will-change: transform;
}
@media (max-width: 720px) { .bg-grid { background-size: 50% 100%, 100% 200px; } }
.bg-glow {
  left: 0; top: 0; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 181, 110, 1) 0%, rgba(214, 181, 110, 0) 62%);
  opacity: var(--glow); will-change: transform;
}
#bg .grain {
  inset: 0; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), padding 0.4s var(--ease), transform 0.5s var(--ease);
}
.header.is-scrolled { background: color-mix(in srgb, var(--bone) 88%, transparent); backdrop-filter: blur(10px); padding-top: 12px; padding-bottom: 12px; }
body[data-tone="dark"] .header.is-scrolled { background: color-mix(in srgb, var(--ink) 84%, transparent); }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 30px; width: auto; }
.logo span { font-stretch: 125%; font-weight: 700; letter-spacing: 0.08em; font-size: 15px; line-height: 1; }
.logo small { display: block; font-size: 8.5px; letter-spacing: 0.32em; font-weight: 500; color: var(--stone); margin-top: 4px; }
body[data-tone="dark"] .logo small { color: var(--stone-light); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav .links { display: flex; gap: 28px; }
.nav .links a { font-size: 14px; font-weight: 500; opacity: 0.75; transition: opacity 0.3s; }
.nav .links a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 99px; border: 0;
  background: var(--ink); color: var(--bone);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-bright); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: transparent; color: var(--gold-bright); }
body[data-tone="dark"] .header .btn { background: var(--bone); color: var(--ink); }
body[data-tone="dark"] .header .btn:hover { background: var(--gold-bright); }

/* menu toggle (tablet / phone): two thin lines that cross when open */
.menu-btn { display: none; order: 2; position: relative; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn i:first-child { top: 18px; }
.menu-btn i:last-child { top: 25px; }
.header.is-open .menu-btn i { top: 21.5px; }
.header.is-open .menu-btn i:first-child { transform: rotate(45deg); }
.header.is-open .menu-btn i:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 116px; position: relative; color: var(--bone); overflow-x: clip; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; padding-bottom: 72px; }
.hero-grid > div:first-child { container-type: inline-size; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { font-size: clamp(26px, 7.8cqi, 108px); margin-top: 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: inline-block; white-space: nowrap; }
.hero h1 .serif { font-size: 0.9em; line-height: 0.9; color: var(--gold-bright); }
.hero-copy { max-width: 470px; margin: 28px 0 8px; font-size: 18px; color: var(--stone-light); }
.hero-proof { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof div { font-size: 13px; color: var(--stone-light); line-height: 1.3; }
.hero-proof strong { display: block; font-stretch: 125%; font-size: 24px; color: var(--bone); font-weight: 700; }

/* photos: row height = text column, so the mosaic aligns with the copy */
.hero-stack { position: relative; min-height: 420px; }
.hero-stack figure { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8); will-change: left, top, width, height; }
.hero-stack img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-stack .hs:nth-child(1) { left: 0; top: 0; width: 58%; height: 62%; }
.hero-stack .hs:nth-child(2) { left: 61%; top: 0; width: 39%; height: 38%; }
.hero-stack .hs:nth-child(3) { left: 61%; top: 41%; width: 39%; height: 59%; }
.hero-stack .hs:nth-child(4) { left: 0; top: 65%; width: 58%; height: 35%; }

/* official logo built floor by floor behind the hero */
.hero-logo { position: absolute; z-index: 0; pointer-events: none; left: 50%; top: 50%; width: min(1240px, 94vw); transform: translate(-50%, -50%); }
.hero-logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.laser { stroke: #f1dfae; stroke-width: 1.2; opacity: 0; filter: drop-shadow(0 0 3px rgba(241, 223, 174, 0.9)); }
.no-js .hero-logo { opacity: 0; }

/* ---------- Reveal — grows as it enters ---------- */
/* the image stays centred in the viewport (sticky) and opens evenly to all four edges as you scroll */
.reveal { height: 200svh; position: relative; }
.reveal-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* soft-edged window: the photo fades into the background on all sides; --mx/--my = inset, --f = feather width */
.reveal-frame {
  position: absolute; inset: 0; overflow: hidden;
  --mx: 26%; --my: 22%; --f: 9%; --fb: 9%; /* --fb: bottom feather, kept at full-bleed so the photo melts into the next scene */
  --mask-x: linear-gradient(to right, transparent var(--mx), #000 calc(var(--mx) + var(--f)), #000 calc(100% - var(--mx) - var(--f)), transparent calc(100% - var(--mx)));
  --mask-y: linear-gradient(to bottom, transparent var(--my), #000 calc(var(--my) + var(--f)), #000 calc(100% - var(--my) - var(--fb)), transparent calc(100% - var(--my)));
  -webkit-mask-image: var(--mask-x), var(--mask-y); -webkit-mask-composite: source-in;
  mask-image: var(--mask-x), var(--mask-y); mask-composite: intersect;
}
.reveal-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; }
.reveal-title { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--bone); z-index: 2; pointer-events: none; padding: 0 var(--gutter); }
.reveal-title h2 { font-size: clamp(36px, 7vw, 112px); }
.reveal-title p { margin: 18px auto 0; max-width: 520px; font-size: 18px; opacity: 0.9; }
.reveal-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(23,21,15,0.62), rgba(23,21,15,0.38)); pointer-events: none; opacity: var(--shade, 0); z-index: 1; }

/* ---------- Work: editorial gallery ---------- */
.work { position: relative; color: var(--bone); }
.work-head { padding: 30vh var(--gutter) 4vh; display: flex; justify-content: space-between; gap: 32px; align-items: end; flex-wrap: wrap; }
.work-head h2 { font-size: clamp(34px, 5vw, 76px); }
.work-head p { max-width: 380px; color: var(--stone-light); margin: 0; }
/* one scene per craft: the lead film fills the screen and is held (sticky) while the scroll drives it,
   the title sits on top and the other projects run past on a belt along the bottom */
.scene { height: 240svh; position: relative; }
.scene-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); }
.film img, .film canvas { position: absolute; display: block; }
.film[data-frames] img, .film canvas { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film[data-move] img { left: 50%; top: 50%; max-width: none; will-change: transform; }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(23, 21, 15, 0.62) 0%, rgba(23, 21, 15, 0.18) 34%, rgba(23, 21, 15, 0) 52%, rgba(23, 21, 15, 0.85) 100%); }
.scene-head { position: absolute; left: 0; right: 0; top: clamp(96px, 14vh, 150px); z-index: 2; color: var(--bone); }
.scene-head h3 { font-size: clamp(34px, 6vw, 96px); }
.belt { position: absolute; left: 0; right: 0; bottom: clamp(16px, 4.5vh, 44px); z-index: 2; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.belt-track { display: flex; --g: clamp(10px, 1.2vw, 18px); gap: var(--g); padding-right: var(--g); width: max-content; will-change: transform; }
.belt-item { margin: 0; flex: none; position: relative; height: clamp(150px, 26vh, 280px); overflow: hidden; border-radius: 4px; background: var(--ink-2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.belt-item.p { aspect-ratio: 3 / 4; }
.belt-item.l { aspect-ratio: 4 / 3; }
.belt-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.belt-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(23, 21, 15, 0.75));
  font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--bone);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.belt-item:hover figcaption { opacity: 1; }
@media (hover: none) { .belt-item figcaption { opacity: 1; } }

/* ---------- Bridge: work -> services ---------- */
.bridge { padding: 22vh 0 18vh; text-align: center; }
.bridge h2 { font-size: clamp(34px, 6vw, 96px); max-width: 15ch; margin: 0 auto; }
.bridge h2 .word { display: inline-block; opacity: 0.15; }
.bridge p { max-width: 520px; margin: 28px auto 0; color: var(--stone); font-size: 18px; }

/* ---------- Services ---------- */
.services { padding-bottom: 120px; }
.services-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.services-sticky { position: sticky; top: 120px; align-self: start; }
.services-sticky h2 { font-size: clamp(36px, 5vw, 80px); margin: 0 0 24px; }
.services-sticky p { color: var(--stone); max-width: 420px; }
.svc { padding: 0 0 96px; }
.svc figure { margin: 0 0 28px; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 11; }
.svc figure img { width: 100%; height: 115%; object-fit: cover; }
.svc h3 { font-size: clamp(26px, 3vw, 42px); margin: 0 0 14px; }
.svc p { color: var(--stone); margin: 0; max-width: 560px; }

/* ---------- Process ---------- */
.process { padding: 120px 0; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.process-head h2 { font-size: clamp(34px, 5vw, 76px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step h3 { font-size: 20px; margin: 0 0 10px; font-stretch: 125%; text-transform: uppercase; line-height: 1.1; }
.step p { color: var(--stone); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.voices { padding: 40px 0 140px; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.voice { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.voice blockquote { margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; }
.voice cite { font-style: normal; font-size: 14px; font-weight: 600; }
.voice cite span { display: block; font-weight: 400; color: var(--stone); font-size: 13px; }

/* ---------- CTA + footer ---------- */
.cta { padding: 34vh 0 100px; color: var(--bone); text-align: center; }
.cta h2 { font-size: clamp(40px, 8vw, 132px); }
.cta p { color: var(--stone-light); max-width: 520px; margin: 28px auto 36px; font-size: 18px; }
.cta .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta .btn { background: var(--gold-bright); color: var(--ink); }
.cta .btn:hover { background: var(--bone); }
.cta .btn.ghost { background: transparent; color: var(--bone); }
.footer { color: var(--stone-light); padding: 64px 0 40px; font-size: 14px; }
.footer .logo img { height: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: var(--bone); font-stretch: 125%; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-bright); }
.footer .towns { font-size: 13px; line-height: 1.8; }
.footer .creds { font-size: 12px; margin: 16px 0 0; }
.footer-about { margin: 16px 0 0; max-width: 300px; }
.footer h4 a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12px; }

/* ---------- Service & town pages ---------- */
.scene-head a { transition: color 0.3s; }
.scene-head a:hover { color: var(--gold-bright); }
.svc h3 a { transition: color 0.3s; }
.svc h3 a:hover { color: var(--gold); }
.svc p a, .qa p a { color: var(--ink); font-weight: 600; transition: color 0.3s; }
.svc p a:hover, .qa p a:hover { color: var(--gold); }

.page-hero { padding: 150px 0 96px; color: var(--bone); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-accent); font-size: 12px; letter-spacing: 0.08em; color: var(--stone-light); margin-bottom: 28px; }
.crumbs a { opacity: 0.8; transition: opacity 0.3s; }
.crumbs a:hover { opacity: 1; color: var(--gold-bright); }
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 84px); margin-top: 20px; }
.page-lead { max-width: 560px; margin: 28px 0 36px; font-size: 18px; color: var(--stone-light); }
.page-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.page-hero .btn { background: var(--gold-bright); color: var(--ink); }
.page-hero .btn:hover { background: var(--bone); }
.page-actions .phone { font-weight: 600; font-size: 15px; transition: color 0.3s; }
.page-actions .phone:hover { color: var(--gold-bright); }
.page-hero-img { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* page hero with a film behind it (multifamily): the clip fills the hero, is shaded on the text side and
   melts into the page background at the bottom; the scroll plays it (see main.js) */
.page-hero.has-film { position: relative; isolation: isolate; min-height: min(100svh, 900px); display: flex; align-items: flex-end; }
.page-hero.has-film .page-hero-grid { grid-template-columns: minmax(0, 760px); }
.hero-film {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.hero-film img, .hero-film canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-film canvas { opacity: 0; transition: opacity 0.6s var(--ease); }
.hero-film.is-ready canvas { opacity: 1; }
.hero-film::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 21, 15, 0.9) 0%, rgba(23, 21, 15, 0.7) 46%, rgba(23, 21, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(23, 21, 15, 0.6) 0%, rgba(23, 21, 15, 0) 28%);
}
@media (max-width: 720px) {
  .page-hero.has-film { min-height: min(100svh, 760px); }
  .hero-film::after { background: linear-gradient(180deg, rgba(23, 21, 15, 0.72) 0%, rgba(23, 21, 15, 0.62) 100%); }
}

.page-block { padding: 120px 0; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.block-head h2 { font-size: clamp(30px, 4.2vw, 64px); max-width: 16ch; }
.block-head p { max-width: 440px; color: var(--stone); margin: 0; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.scope-item h3 { font-size: 19px; margin: 0 0 10px; font-stretch: 125%; text-transform: uppercase; line-height: 1.15; }
.scope-item p { color: var(--stone); font-size: 15px; margin: 0; }
.scope-item h3 a, .svc h3 a, .scene-head h3 a { display: block; }
.scope-item a { transition: color 0.3s; }
.scope-item a:hover { color: var(--gold); }

.page-gallery { padding: 72px 0; }
.belt.static { position: relative; left: auto; right: auto; bottom: auto; }

.towns-list { display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 20px; font-weight: 500; }
.towns-list a { transition: color 0.3s; }
.towns-list a:hover { color: var(--gold); }
.towns-list a[aria-current] { color: var(--gold); }

.faq { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq-head { position: sticky; top: 120px; align-self: start; }
.faq-head h2 { font-size: clamp(30px, 4.2vw, 64px); }
.faq-list { display: grid; gap: 44px; }
.qa h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.qa p { margin: 0; color: var(--stone); }

/* ---------- Showcase: a big project, its renderings orbiting the logo ---------- */
.showcase { padding: 140px 0 110px; overflow-x: clip; } /* sideways only: the colour blend reaches above the section */
.showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.showcase-head h2 { font-size: clamp(34px, 5vw, 76px); }
.showcase-head p { max-width: 420px; color: var(--stone-light); margin: 0 0 24px; }
.showcase .btn { background: var(--gold-bright); color: var(--ink); }
.showcase .btn:hover { background: var(--bone); }
.orbit { position: relative; height: clamp(380px, 50vw, 640px); margin-top: clamp(16px, 4vw, 56px); perspective: 1600px; }
.orbit-scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit-logo { position: absolute; left: 50%; top: 50%; width: clamp(140px, 21vw, 290px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); }
.orbit-card { position: absolute; left: 50%; top: 50%; margin: 0; width: clamp(92px, 13vw, 190px); aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); will-change: transform, opacity; }
.orbit-card img { width: 100%; height: 100%; object-fit: cover; }
.orbit-caption { text-align: center; font-family: var(--f-accent); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-light); margin: 12px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .menu-btn { display: block; }
  /* full-screen menu; the header drops its blur/transform while open so the fixed panel covers the viewport */
  .nav .links {
    position: fixed; inset: 0; z-index: -1; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--gutter) 48px;
    background: var(--ink); color: var(--bone);
    opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav .links a { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 8.5vw, 56px); line-height: 1.2; opacity: 1; transform: translateY(16px); transition: transform 0.6s var(--ease), color 0.3s; }
  .nav .links a:hover { color: var(--gold-bright); }
  .header.is-open { color: var(--bone); background: transparent; backdrop-filter: none; transform: none; }
  .header.is-open .nav .links { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }
  .header.is-open .nav .links a { transform: none; }
  .header.is-open .logo small { color: var(--stone-light); }
  .header.is-open .btn { background: var(--bone); color: var(--ink); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { height: 58vh; }
  .services-grid { grid-template-columns: 1fr; }
  .services-sticky { position: relative; top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .voices-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-grid, .faq-grid { grid-template-columns: 1fr; }
  .page-hero-img { aspect-ratio: 16 / 10; }
  .faq-head { position: relative; top: 0; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --room: 80px; }
  body { font-size: 16px; }
  .header .btn .label-long { display: none; }
  .header .btn { padding: 11px 16px; }
  .logo small { display: none; }
  .logo img { height: 26px; }
  .hero { padding-top: 96px; }
  .hero-stack { height: 52vh; }
  .hero-proof { gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 120px 0 64px; }
  .page-block, .faq { padding: 80px 0; }
  .page-hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .towns-list { font-size: 17px; gap: 10px 24px; }
  .orbit { height: 440px; }
  .orbit-card { width: 104px; }
  .orbit-logo { width: 150px; }
  .showcase { padding: 96px 0 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 12px; }
  .belt-item { height: clamp(118px, 19vh, 170px); }
  .belt-item figcaption { font-size: 11px; padding: 28px 9px 8px; }
  .scene { height: 210svh; }
  .footer-bottom { flex-direction: column; }
  .work-head h2, .services-sticky h2, .process-head h2, .bridge h2 { font-size: clamp(26px, 8.6vw, 40px); }
  .cta h2 { font-size: clamp(30px, 10vw, 48px); }
  .scene-head h3 { font-size: clamp(30px, 10vw, 44px); }
  .reveal-title h2 { font-size: clamp(26px, 9vw, 44px); }
}
