/* Energy Camp Builds — its own identity on top of the shared system.
   Blueprint grid, industrial condensed display type, one safety-orange accent. */

.builds {
  --black: #0A0A0A;
  --graphite: #161616;
  --line: #262626;
  --accent: #FF6500; /* Energy Camp Builds · Neon Orange */
  --f-disp: "Big Shoulders Display", "Arial Narrow", sans-serif;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.builds .grain { opacity: .07; }
.accent { color: var(--accent); }
.builds ::selection { background: var(--accent); color: #000; }

.bh2 {
  font: 900 clamp(40px, 6vw, 88px)/.92 var(--f-disp);
  text-transform: uppercase; letter-spacing: .005em;
  margin-top: 18px; text-wrap: balance;
}

/* Crop marks: the corners of a print proof */
.crop { position: absolute; width: 14px; height: 14px; border-color: var(--accent); border-style: solid; border-width: 0; pointer-events: none; z-index: 3; }
.crop--tl { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
.crop--tr { top: -7px; right: -7px; border-top-width: 1px; border-right-width: 1px; }
.crop--bl { bottom: -7px; left: -7px; border-bottom-width: 1px; border-left-width: 1px; }
.crop--br { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }

/* Buttons + nav */
.btn--accent { background: var(--accent); border-color: var(--accent); color: #000; }
.btn--accent:hover { background: transparent; color: var(--accent); }
.builds .nav__cta { background: var(--accent); border-color: var(--accent); color: #000; }
.builds .nav__cta:hover { background: transparent; color: var(--accent); }
.nav__back .label { color: var(--white); }
.builds .nav__links a::after { background: var(--accent); }
.builds .nav.is-solid { background: rgba(10, 10, 10, .92); }

/* ---------- Loader: the word fills like a tank ---------- */
.fill-word { position: relative; font: 900 clamp(96px, 20vw, 260px)/.85 var(--f-disp); text-transform: uppercase; }
.fill-word__outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.fill-word__solid { position: absolute; inset: 0; color: var(--accent); clip-path: inset(100% 0 0 0); }
.builds .loader__panel { background: var(--black); }
.builds .loader__seam { background: var(--accent); }

/* ---------- Hero ---------- */
.bhero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: 120px var(--gutter) 110px; max-width: var(--max); margin: 0 auto;
}
.bhero__kicker { color: var(--accent); margin-bottom: 24px; min-height: 1.4em; }
.bhero__title { font: 900 clamp(64px, 10.5vw, 176px)/.86 var(--f-disp); text-transform: uppercase; letter-spacing: -.005em; }
.bhero__title .line { display: block; }
.line--accent { color: var(--accent); }
.bhero__sub { color: var(--steel); max-width: 30em; margin: 28px 0 28px; font-size: 17px; }
.disciplines { display: flex; flex-wrap: wrap; gap: 8px; }
.disciplines li { padding: 8px 10px; border: 1px solid var(--line); color: var(--white); }
.disciplines li + li::before { content: none; }

.bhero__frame { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 72vh; justify-self: end; width: 100%; }
.bhero__stack { position: absolute; inset: 0; overflow: hidden; background: var(--graphite); }
.bhero__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease);
  filter: contrast(1.08) saturate(.9);
}
.bhero__stack img.is-on { opacity: 1; }
.bhero__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.bhero__name { color: var(--accent); }
.bhero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .bhero { grid-template-columns: 1fr; padding-top: 150px; }
  .bhero__frame { justify-self: stretch; aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Who we are ---------- */
.who { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.who__lead { font: 800 clamp(30px, 3.6vw, 54px)/1.02 var(--f-disp); text-transform: uppercase; margin: 28px 0 28px; }
.who__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--graphite); }
.who__photo:nth-child(2) { margin-top: 64px; }
.who__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .8s var(--ease), transform 1.4s var(--ease); }
.who__photo:hover img, .who__photo.is-live img { filter: grayscale(0); transform: scale(1.05); }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }

/* ---------- Numbers ---------- */
.bstats__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.bstats__grid li { padding: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.bstats__num { font: 900 clamp(56px, 8vw, 128px)/.9 var(--f-disp); font-variant-numeric: tabular-nums; }
.bstats__grid li:nth-child(odd) .bstats__num { color: var(--white); }
.bstats__grid li:nth-child(even) .bstats__num { color: var(--accent); }
@media (max-width: 767px) { .bstats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- What we build ---------- */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.kinds li { background: var(--black); padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 12px; align-content: start; transition: background .4s; }
.kinds li:hover { background: var(--graphite); }
.kinds h3 { font: 800 clamp(24px, 2.4vw, 34px)/1 var(--f-disp); text-transform: uppercase; }
.kinds p { color: var(--steel); font-size: 15px; }
@media (max-width: 900px) { .kinds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } }

/* ---------- Process: sticky side, scrolling steps ---------- */
.process__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.process__side { position: sticky; top: 120px; align-self: start; }
.process__count { font: 900 clamp(96px, 14vw, 220px)/.8 var(--f-disp); margin: 40px 0 20px; font-variant-numeric: tabular-nums; }
.process__count .muted { font-size: .3em; vertical-align: top; margin-left: 8px; }
.process__bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.process__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(.2); transform-origin: left; }
.steps { display: grid; }
.step { min-height: 52vh; padding: 36px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; align-content: start; opacity: .3; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step h3 { font: 800 clamp(34px, 4vw, 60px)/.95 var(--f-disp); text-transform: uppercase; }
.step p { color: var(--steel); max-width: 34em; font-size: 17px; }
@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__side { position: static; }
  .process__count { font-size: 96px; }
  .step { min-height: 0; opacity: 1; }
}

/* ---------- Work: the slideshow ---------- */
.work { position: relative; padding-top: clamp(80px, 7vw, 110px); overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.work__meter { width: min(260px, 40vw); display: grid; gap: 10px; text-align: right; }
.work__meter .process__bar i { transform: scaleX(0); }
.work__track { display: flex; gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter) clamp(64px, 8vw, 110px); width: max-content; }
.panel { width: min(1080px, 82vw); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.panel__media { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: min(68vh, calc(100vh - 330px)); width: 100%; }
.panel__img { width: 100%; height: 100%; object-fit: cover; background: var(--graphite); }
.panel__no { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #000; padding: 5px 7px; z-index: 2; }
.panel__body { display: grid; gap: 18px; align-content: center; }
.panel__title { font: 900 clamp(52px, 6.5vw, 110px)/.86 var(--f-disp); text-transform: uppercase; }
.spec { margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.spec div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.spec dd { margin: 0; font-size: 15px; }
.panel__text { color: var(--steel); font-size: 15px; max-width: 34em; }
.panel__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.panel__thumbs li { aspect-ratio: 1; overflow: hidden; background: var(--graphite); }
.panel__thumbs img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform 1s var(--ease); }
.panel__thumbs li:hover img { filter: grayscale(0); transform: scale(1.08); }
@media (max-width: 899px) {
  .work__track { flex-direction: column; width: auto; gap: 72px; }
  .panel { width: 100%; grid-template-columns: 1fr; }
  .panel__media { aspect-ratio: 4 / 3; max-height: none; }
  .work__meter { display: none; }
}

/* ---------- Blueprint ---------- */
.blueprint { background: #06101F; background-image: linear-gradient(rgba(120, 170, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, .08) 1px, transparent 1px); background-size: 32px 32px; }
.blueprint__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.checks { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid rgba(120, 170, 255, .2); }
.checks li { padding: 14px 0; border-bottom: 1px solid rgba(120, 170, 255, .2); font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; }
.drawing { position: relative; margin: 0; }
.drawing img { width: 100%; display: block; filter: invert(1) sepia(1) saturate(3) hue-rotate(175deg) brightness(.95); mix-blend-mode: screen; }
.drawing__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(255, 101, 0, .45); animation: scan 4.5s var(--ease) infinite;
}
@keyframes scan { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
.tag { position: absolute; padding: 5px 8px; background: var(--accent); color: #000; }
.tag::after { content: ""; position: absolute; width: 1px; height: 40px; background: var(--accent); left: 12px; top: 100%; }
.tag--a { top: 14%; left: 8%; }
.tag--b { top: 52%; right: 6%; }
.drawing figcaption { margin-top: 14px; }
@media (max-width: 900px) { .blueprint__grid { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.clients { padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.clients .wrap { margin-bottom: 40px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); }
.marquee:last-of-type { border-bottom: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 22px 0; }
.marquee__row span { font: 900 clamp(40px, 6vw, 96px)/1 var(--f-disp); text-transform: uppercase; white-space: nowrap; }
.marquee--rev .marquee__row span { color: transparent; -webkit-text-stroke: 1px var(--white); }
.marquee__row i { font-style: normal; font-size: clamp(18px, 2vw, 28px); }

/* ---------- CTA ---------- */
.bcta { text-align: left; }
.bcta__title { font: 900 clamp(88px, 17vw, 280px)/.82 var(--f-disp); text-transform: uppercase; margin: 24px 0 40px; }

/* ---------- Crosshair cursor ---------- */
.xhair { position: fixed; top: 0; left: 0; z-index: 180; pointer-events: none; opacity: 0; transition: opacity .3s; }
.xhair.is-on { opacity: 1; }
.xhair__x { position: absolute; left: -100vw; width: 200vw; height: 1px; background: rgba(255, 101, 0, .35); }
.xhair__y { position: absolute; top: -100vh; height: 200vh; width: 1px; background: rgba(255, 101, 0, .35); }
.xhair__read { position: absolute; left: 14px; top: 12px; color: var(--accent); white-space: nowrap; font-size: 10px; }

@media (prefers-reduced-motion: reduce) {
  .drawing__scan { animation: none; display: none; }
}

/* ---------- Official logo + Neon Orange moments ---------- */
.ecb-logo { display: block; height: 28px; width: auto; }
.ecb-logo--lg { height: auto; width: clamp(220px, 26vw, 360px); margin-bottom: 40px; }
.nav__back { color: var(--steel); transition: color .3s; }
.nav__back:hover { color: var(--white); }
@media (max-width: 600px) { .nav__back { display: none; } .ecb-logo { height: 24px; } }

/* Loader: when the tank is full, the screen turns Neon Orange with the logo */
.loader__brand {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: var(--accent);
  clip-path: circle(0% at 50% 50%);
}
.loader__brand img { width: min(560px, 72vw); height: auto; }
.loader__center { z-index: 3; }

/* CTA: a full Neon Orange block */
.bcta { position: relative; overflow: hidden; background: var(--accent); color: #000; }
.bcta .label { color: #000; }
.bcta__title { color: #000; position: relative; z-index: 1; }
.bcta__logo {
  position: absolute; right: -4%; bottom: -12%; width: min(1100px, 90vw); height: auto;
  opacity: .22; pointer-events: none;
}
.bcta .wrap { position: relative; z-index: 1; }
.btn--ink { background: #000; color: var(--accent); border-color: #000; }
.btn--ink:hover { background: transparent; color: #000; }
.btn--ink-outline { border-color: #000; color: #000; }
.btn--ink-outline:hover { background: #000; color: var(--accent); }

/* =========================================================
   TWO COLOURS ONLY: Neon Orange #FF6500 + White.
   Orange is the ground, white is the ink. Sections marked .inv
   flip to white ground with orange ink. Tints below are white or
   orange at lower opacity, never a third colour.
   ========================================================= */
.builds {
  --black: #FF6500;                       /* ground */
  --white: #FFFFFF;                       /* ink */
  --graphite: rgba(255, 255, 255, .12);   /* raised panels */
  --steel: rgba(255, 255, 255, .86);      /* secondary text */
  --line: rgba(255, 255, 255, .38);
  --accent: #FFFFFF;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  scrollbar-color: #FFFFFF #FF6500;
}
.builds .inv {
  --black: #FFFFFF;
  --white: #FF6500;
  --graphite: rgba(255, 101, 0, .08);
  --steel: #FF6500;
  --line: rgba(255, 101, 0, .3);
  --accent: #FF6500;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(rgba(255, 101, 0, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 101, 0, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--white);
}
.builds .grain { opacity: .03; }
.builds ::selection { background: #FFFFFF; color: #FF6500; }
.builds .inv ::selection { background: #FF6500; color: #FFFFFF; }
/* body copy a touch heavier so white-on-orange stays easy to read */
.builds .intro, .builds .bhero__sub, .builds .step p, .builds .panel__text, .builds .kinds p, .builds .spec dd { font-weight: 500; }

/* Nav + buttons */
.builds .nav.is-solid { background: rgba(255, 101, 0, .96); border-color: rgba(255, 255, 255, .38); }
.builds .nav__cta { background: #FFFFFF; border-color: #FFFFFF; color: #FF6500; }
.builds .nav__cta:hover { background: transparent; color: #FFFFFF; }
.nav__back { color: rgba(255, 255, 255, .86); }
.btn--accent { background: #FFFFFF; border-color: #FFFFFF; color: #FF6500; }
.btn--accent:hover { background: transparent; color: #FFFFFF; }

/* Loader: orange ground, BUILDS fills white, then a white burst with the orange logo */
.fill-word__outline { -webkit-text-stroke: 1px rgba(255, 255, 255, .6); }
.fill-word__solid { color: #FFFFFF; }
.loader__brand { background: #FFFFFF; }

/* Hero: second line in white outline for contrast within two colours */
.line--accent { color: transparent; -webkit-text-stroke: 2px #FFFFFF; }
.bhero__caption { background: linear-gradient(transparent, rgba(255, 101, 0, .9)); }
.bhero__kicker, .bhero__name { color: #FFFFFF; }

/* Work panels */
.panel__no { background: #FFFFFF; color: #FF6500; }

/* Blueprint: white linework on orange */
.blueprint {
  background-color: #FF6500;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
}
.checks { border-top-color: rgba(255, 255, 255, .38); }
.checks li { border-bottom-color: rgba(255, 255, 255, .38); }
.drawing img { filter: grayscale(1) invert(1) contrast(1.4); mix-blend-mode: screen; }
.drawing__scan { background: #FFFFFF; box-shadow: 0 0 18px 4px rgba(255, 255, 255, .55); }
.tag { background: #FFFFFF; color: #FF6500; }
.tag::after { background: #FFFFFF; }

/* Crosshair */
.xhair__x, .xhair__y { background: rgba(255, 255, 255, .6); }
.xhair__read { color: #FFFFFF; }

/* CTA: white block, orange ink */
.bcta { background: #FFFFFF; color: #FF6500; }
.bcta .label, .bcta__title { color: #FF6500; }
.bcta__logo { opacity: .12; }
.btn--ink { background: #FF6500; color: #FFFFFF; border-color: #FF6500; }
.btn--ink:hover { background: transparent; color: #FF6500; }
.btn--ink-outline { border-color: #FF6500; color: #FF6500; }
.btn--ink-outline:hover { background: #FF6500; color: #FFFFFF; }

/* Numbers: all white on orange */
.bstats__grid li:nth-child(even) .bstats__num { color: #FFFFFF; }

/* Keep the nav on one line at tablet widths */
.builds .nav__cta, .nav__back { white-space: nowrap; }
@media (max-width: 1100px) { .nav__back { display: none; } }

/* =========================================================
   Round 3: the 3-act story + 7 build effects
   ========================================================= */
.act { display: inline-block; padding: 6px 9px; border: 1px solid currentColor; }

/* 5 · Hazard-tape wipe replaces the black wipe between sections */
.builds .wipe {
  background: repeating-linear-gradient(-45deg, #FF6500 0 44px, #FFFFFF 44px 88px);
  animation: tapeRun 1s linear infinite;
}
.builds .wipe::before, .builds .wipe::after { height: 10px; background: #FFFFFF; }
.builds .wipe__label { background: #FFFFFF; color: #FF6500; padding: 12px 18px; font-size: 13px; }
@keyframes tapeRun { to { background-position: 124px 0; } }

/* Hazard tape bands between sections */
.tape { position: relative; height: 150px; overflow: hidden; background: var(--black); }
.tape__band { position: absolute; left: -10%; right: -10%; height: 54px; top: 48px; }
.tape__band--stripe { transform: rotate(3deg); background: repeating-linear-gradient(-45deg, #FFFFFF 0 26px, transparent 26px 52px); background-color: #FF6500; border-block: 3px solid #FFFFFF; }
.tape__band--text { transform: rotate(-2.5deg); background: #FFFFFF; display: flex; align-items: center; overflow: hidden; }
.tape__row { white-space: nowrap; font: 900 30px/1 var(--f-disp); text-transform: uppercase; color: #FF6500; letter-spacing: .02em; padding-left: 2vw; }
.tape--flip .tape__band--stripe { transform: rotate(-3deg); }
.tape--flip .tape__band--text { transform: rotate(2deg); }

/* 4 · Hero reel / video + REC timecode */
.bhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bhero__rec {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 101, 0, .9); color: #FFFFFF; padding: 6px 9px; font-variant-numeric: tabular-nums;
}
.bhero__rec i { width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; animation: blink 1s steps(1) infinite; }

/* 7 · Act 02 time-lapse */
.timelapse { position: relative; }
.timelapse__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #FF6500; }
.timelapse__frames { position: absolute; inset: 0; }
.timelapse__frames img, .timelapse__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.timelapse__frames img.is-on { opacity: 1; }
.timelapse__video { opacity: 1; }
.timelapse__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 101, 0, .92) 0%, rgba(255, 101, 0, .55) 38%, transparent 70%); pointer-events: none; }
.timelapse__hud {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-rows: auto 1fr auto; gap: 32px; padding-top: 120px; padding-bottom: 48px;
}
.tl-stages { display: grid; gap: 10px; align-content: center; max-width: 360px; }
.tl-stages li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .45); opacity: .55; transition: opacity .3s, background .3s, color .3s; }
.tl-stages li span { font-weight: 500; }
.tl-stages li.is-done { opacity: .85; }
.tl-stages li.is-on { opacity: 1; background: #FFFFFF; color: #FF6500; border-color: #FFFFFF; }
.timelapse__meter { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; max-width: 560px; }
.timelapse__meter .process__bar { background: rgba(255, 255, 255, .35); }
.timelapse__meter .process__bar i { transform: scaleX(0); background: #FFFFFF; }
.timelapse__note { position: absolute; right: var(--gutter); bottom: 48px; z-index: 2; background: #FFFFFF; color: #FF6500; padding: 6px 9px; }

/* 2 + 3 · Act 03 zoom-out with measurement lines */
.zoomout__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #FF6500; display: grid; }
.zoomout__media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.zoomout__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 45%; }
.zoomout__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(255, 101, 0, .85) 0%, transparent 45%); pointer-events: none; }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.dims line { stroke: #FFFFFF; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dim-label { position: absolute; z-index: 3; background: #FFFFFF; color: #FF6500; padding: 6px 9px; white-space: nowrap; }
.dim-label--w { left: 50%; bottom: 8%; transform: translate(-50%, 50%); }
.dim-label--h { right: 5%; top: 47%; transform: translate(50%, -50%) rotate(90deg); }
.zoomout__text { position: relative; z-index: 4; align-self: end; padding-bottom: clamp(72px, 14vh, 140px); display: grid; gap: 16px; }
.zoomout__title { font: 900 clamp(56px, 10vw, 170px)/.86 var(--f-disp); text-transform: uppercase; }

/* 1 · Before / after slider */
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 101, 0, .08); user-select: none; touch-action: pan-y; }
.ba__after, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: grayscale(1) contrast(1.1); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; z-index: 2; pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #FF6500; color: #FFFFFF; border: 3px solid #FFFFFF; font: 900 20px/1 var(--f-disp); letter-spacing: .1em;
}
.ba__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 9px; background: #FF6500; color: #FFFFFF; }
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; background: #FFFFFF; color: #FF6500; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba__range:focus-visible + * , .ba:focus-within .ba__knob { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.ba__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.builds .chip { border-color: var(--line); color: var(--white); font-weight: 500; }
.builds .chip:hover { border-color: var(--white); }
.builds .chip.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.ba__note { margin-top: 16px; }
@media (max-width: 767px) { .ba { aspect-ratio: 4 / 5; } }

/* 6 · BUILT stamp on each project */
.stamp {
  position: absolute; right: 14px; bottom: 18px; z-index: 3;
  display: grid; justify-items: center; gap: 2px;
  padding: 10px 16px 8px; border: 4px double #FFFFFF; color: #FFFFFF;
  font: 900 34px/0.9 var(--f-disp); text-transform: uppercase; letter-spacing: .04em;
  background: rgba(255, 101, 0, .82); transform: rotate(-12deg); opacity: 0;
}
.stamp b { font-weight: 900; }
.stamp small { font: 500 10px/1 var(--f-mono); letter-spacing: .2em; }

@media (max-width: 767px) {
  .timelapse__hud { padding-top: 110px; grid-template-rows: auto 1fr auto; }
  .timelapse__stage::after { background: linear-gradient(0deg, rgba(255, 101, 0, .95) 0%, rgba(255, 101, 0, .6) 55%, rgba(255, 101, 0, .3) 100%); }
  .timelapse__note { bottom: auto; top: 110px; }
  .tape { height: 120px; }
  .tape__row { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .builds .wipe { animation: none; }
  .stamp { opacity: 1; }
  .bhero__rec i { animation: none; }
}
.act { justify-self: start; width: max-content; }

/* =========================================================
   MORE WHITE: white is now the main ground with orange ink.
   Orange is kept for the big moments: nav, loader, wipe, blueprint,
   time-lapse, zoom-out, the CTA block and the footer.
   ========================================================= */
.builds {
  --black: #FFFFFF;
  --white: #FF6500;
  --graphite: rgba(255, 101, 0, .06);
  --steel: #FF6500;
  --line: rgba(255, 101, 0, .28);
  --accent: #FF6500;
  background-color: #FFFFFF;
  background-image:
    linear-gradient(rgba(255, 101, 0, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 101, 0, .07) 1px, transparent 1px);
  scrollbar-color: #FF6500 #FFFFFF;
}
.builds ::selection { background: #FF6500; color: #FFFFFF; }

/* Orange areas: same two colours, roles swapped */
.builds .inv, .builds .nav, .builds .loader, .builds .wipe, .builds .blueprint,
.builds .timelapse, .builds .zoomout, .builds .bfooter, .builds .xhair {
  --black: #FF6500;
  --white: #FFFFFF;
  --graphite: rgba(255, 255, 255, .12);
  --steel: rgba(255, 255, 255, .86);
  --line: rgba(255, 255, 255, .38);
  --accent: #FFFFFF;
  color: #FFFFFF;
}
.builds .inv, .builds .bfooter { background-color: #FF6500; background-image: none; }
.builds .nav, .builds .nav.is-solid { background: #FF6500; border-color: rgba(255, 255, 255, .38); }
.builds .inv ::selection, .builds .nav ::selection { background: #FFFFFF; color: #FF6500; }

/* Hero on white */
.line--accent { -webkit-text-stroke-color: #FF6500; }
.bhero__kicker { color: #FF6500; }
.bhero { padding-top: 140px; }

/* Numbers on white */
.bstats__grid li:nth-child(even) .bstats__num { color: #FF6500; }

/* Hazard tape on a white page */
.tape { background: #FFFFFF; }
.tape__band--stripe { border-color: #FF6500; }
.tape__band--text { background: #FF6500; }
.tape__row { color: #FFFFFF; }

/* CTA: back to a full orange block, white ink */
.bcta { background: #FF6500; color: #FFFFFF; }
.bcta .label, .bcta__title { color: #FFFFFF; }
.bcta__logo { opacity: .14; }
.btn--ink { background: #FFFFFF; color: #FF6500; border-color: #FFFFFF; }
.btn--ink:hover { background: transparent; color: #FFFFFF; }
.btn--ink-outline { border-color: #FFFFFF; color: #FFFFFF; }
.btn--ink-outline:hover { background: #FFFFFF; color: #FF6500; }

/* Grey-to-colour photos stay; the who photos sit on white now */
.who__photo { background: rgba(255, 101, 0, .06); }


/* Act 03 zoom-out: white around the photo instead of orange */
.builds .zoomout {
  --black: #FFFFFF;
  --white: #FF6500;
  --steel: #FF6500;
  --line: rgba(255, 101, 0, .28);
  --accent: #FF6500;
  color: #FF6500;
}
.zoomout__stage { background: #FFFFFF; }
.zoomout__media::after { background: linear-gradient(0deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .6) 30%, transparent 55%); }
.dims line { stroke: #FF6500; }
.dim-label { background: #FF6500; color: #FFFFFF; }

/* Act 01 can show a full-colour 3D render instead of line drawings */
.drawing--render { background: none; }
.drawing--render img { filter: none; mix-blend-mode: normal; border: 3px solid #FFFFFF; }
video.panel__img { display: block; }

/* Projects without photos: a slim text card, no empty image spots */
.panel--text { width: min(520px, 72vw); grid-template-columns: 1fr; align-self: center; }
.panel--text .panel__body { border-left: 3px solid var(--accent); padding-left: clamp(20px, 2.4vw, 36px); }
.panel__tag { display: flex; align-items: center; gap: 18px; }
.panel__tag .panel__no { position: static; }
.panel__tag .stamp { position: static; font-size: 22px; padding: 7px 12px 6px; border-width: 3px; }
.panel--text .panel__title { font-size: clamp(44px, 5vw, 84px); }
@media (max-width: 899px) { .panel--text { width: 100%; } }
.panel__tag .panel__no { background: #FF6500; color: #FFFFFF; }
