﻿:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #a9b3b4;
  --dim: #6f7b7e;
  --bg: #050807;
  --bg-2: #08100f;
  --panel: rgba(10, 17, 16, .78);
  --line: rgba(244, 241, 232, .14);
  --line-hot: rgba(201, 140, 55, .5);
  --gold: #c88c37;
  --copper: #a9632e;
  --cyan: #5fc8d6;
  --green: #88a95d;
  --danger: #e36c4b;
  --shadow: 0 24px 90px rgba(0, 0, 0, .48);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(95, 200, 214, .12), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(201, 140, 55, .1), transparent 30rem),
    linear-gradient(180deg, #050807 0%, #07100f 44%, #050807 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.65), transparent 35%, rgba(0,0,0,.36));
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: rgba(201, 140, 55, .35); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(244, 241, 232, .11);
  background: rgba(5, 8, 7, .78);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.mark {
  width: 58px;
  height: 44px;
  position: relative;
  flex: 0 0 auto;
  background: url("summitpeak-assets/summitpeak-future-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(95, 200, 214, .18)) drop-shadow(0 8px 18px rgba(0,0,0,.34));
}

.mark::before,
.mark::after {
  content: none;
  position: absolute;
  left: 4px;
  bottom: 5px;
  width: 36px;
  height: 29px;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 77% 100%, 50% 43%, 22% 100%);
}

.mark::before { background: var(--ink); }
.mark::after {
  left: 17px;
  bottom: 1px;
  width: 31px;
  height: 23px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  opacity: .92;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .69rem;
  letter-spacing: .28em;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a,
.nav-cta,
.mobile-toggle {
  border: 1px solid transparent;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-color: rgba(201, 140, 55, .35);
  background: rgba(201, 140, 55, .08);
}

.nav-cta {
  color: var(--ink);
  border-color: rgba(201, 140, 55, .65);
  background: linear-gradient(135deg, rgba(201, 140, 55, .22), rgba(95, 200, 214, .06));
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
}

.page-shell { position: relative; }
.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero.compact { min-height: 62vh; }
.hero-media {
  position: absolute;
  inset: 0;
  opacity: .48;
  background-position: center;
  background-size: cover;
  filter: saturate(.85) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,7,.98) 0%, rgba(5,8,7,.76) 38%, rgba(5,8,7,.18) 78%),
    linear-gradient(0deg, rgba(5,8,7,.96), transparent 42%);
}

.hero-grid {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .88fr);
  gap: 38px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  color: var(--gold);
  font-weight: 900;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 14px 0 18px;
  max-width: 870px;
  font-size: clamp(3rem, 8vw, 7.7rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: .95;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.lead {
  color: #d6dddd;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  max-width: 730px;
}

.kinetic {
  display: inline-block;
  background: linear-gradient(90deg, var(--ink), var(--gold), var(--cyan), var(--ink));
  background-size: 280% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textFlow 6s linear infinite;
}

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid rgba(244, 241, 232, .18);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}

.btn.primary {
  border-color: rgba(201, 140, 55, .72);
  background: linear-gradient(135deg, #c88c37, #875423);
  color: #090b09;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transition: transform .55s ease;
}

.btn:hover::after { transform: translateX(120%); }

.scene-shell {
  min-height: 480px;
  border: 1px solid rgba(244, 241, 232, .13);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    rgba(3, 8, 8, .55);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.scene-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(95, 200, 214, .14);
  pointer-events: none;
}

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-fallback {
  background:
    linear-gradient(140deg, rgba(201, 140, 55, .16), transparent 32%),
    linear-gradient(315deg, rgba(95, 200, 214, .12), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 54px),
    #06100f;
}

.project-console {
  min-height: 560px;
  cursor: crosshair;
}

.project-console .scene-canvas {
  filter: saturate(1.18) contrast(1.1);
}

.project-console-copy {
  position: absolute;
  z-index: 8;
  left: 24px;
  top: 22px;
  width: min(370px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(244,241,232,.28);
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.018));
  backdrop-filter: blur(8px) saturate(1.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.project-console-copy span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-console-copy strong {
  display: block;
  margin: 10px 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.7vw, 2.8rem);
  line-height: .95;
}

.project-console-copy p {
  margin: 0;
  color: rgba(244,241,232,.78);
}

.project-console-controls {
  position: absolute;
  z-index: 9;
  right: 22px;
  top: 22px;
  display: grid;
  gap: 8px;
  width: min(220px, 28vw);
}

.project-console-controls button {
  appearance: none;
  min-height: 42px;
  border: 1px solid rgba(244,241,232,.24);
  background: rgba(255,255,255,.055);
  color: var(--ink);
  font: 900 .72rem/1 var(--sans);
  text-transform: uppercase;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.project-console-controls button:hover,
.project-console-controls button.active {
  border-color: rgba(201,140,55,.78);
  background: linear-gradient(135deg, rgba(201,140,55,.32), rgba(95,200,214,.1));
  transform: translateX(-4px);
}

.project-console-link {
  position: absolute;
  z-index: 9;
  right: 22px;
  bottom: 112px;
  border: 1px solid rgba(201,140,55,.72);
  background: rgba(201,140,55,.18);
  color: var(--ink);
  padding: 13px 16px;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
}

.project-mode-burst {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.92);
  border: 1px solid rgba(95,200,214,.64);
  background: rgba(5, 12, 14, .62);
  color: var(--ink);
  padding: 16px 22px;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.8vw, 2.7rem);
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px) saturate(1.28);
  box-shadow: 0 0 44px rgba(95,200,214,.26);
}

.project-console.is-switching .project-mode-burst {
  animation: modeBurst .8s ease both;
}

@keyframes modeBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
  18% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.08); }
}

.project-scan {
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: calc(8% + var(--project-scan, 0) * 74%);
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(95,200,214,.9), rgba(201,140,55,.64), transparent);
  box-shadow: 0 0 28px rgba(95,200,214,.54);
  opacity: .82;
  pointer-events: none;
}

.project-console[data-project-mode="data"] { --project-scan: .22; }
.project-console[data-project-mode="highrise"] { --project-scan: .43; }
.project-console[data-project-mode="warehouse"] { --project-scan: .64; }
.project-console[data-project-mode="residential"] { --project-scan: .82; }

.project-hud {
  z-index: 8;
  right: 22px;
}

.project-card.is-console-active {
  border-color: rgba(201, 140, 55, .82) !important;
  box-shadow: 0 24px 80px rgba(201,140,55,.18), inset 0 0 0 1px rgba(255,255,255,.12);
}

body.projects-world .hero.compact {
  min-height: calc(100vh - 92px);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(95,200,214,.28);
}

body.projects-world .hero-media {
  opacity: .72;
  filter: saturate(1.05) contrast(1.08) brightness(.78);
}

body.projects-world .hero-media::after {
  background:
    linear-gradient(90deg, rgba(2,6,9,.82) 0%, rgba(2,6,9,.34) 42%, rgba(2,6,9,.66) 100%),
    linear-gradient(0deg, rgba(2,6,9,.82) 0%, transparent 34%, rgba(2,6,9,.34) 100%) !important;
}

body.projects-world .hero-grid {
  position: relative;
  display: block;
  width: min(100%, 1640px);
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(86px, 9vw, 126px) clamp(22px, 4vw, 58px) 34px;
}

body.projects-world .hero-grid > .reveal:first-child {
  position: relative;
  z-index: 12;
  width: min(700px, 48vw);
  padding-top: clamp(36px, 6vw, 84px);
  pointer-events: none;
}

body.projects-world .hero-grid > .reveal:first-child h1 {
  max-width: 8.4ch;
  font-size: clamp(4.8rem, 9.2vw, 9.8rem);
  line-height: .74;
  letter-spacing: 0;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: drop-shadow(0 32px 42px rgba(0,0,0,.66));
}

body.projects-world .hero-grid > .reveal:first-child .hero-actions {
  pointer-events: auto;
}

body.projects-world .hero-grid > .reveal:first-child .lead {
  color: rgba(244,241,232,.78);
  max-width: 62ch;
}

body.projects-world .project-console {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

body.projects-world .project-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-color: rgba(95,200,214,.28);
  background:
    linear-gradient(rgba(95,200,214,.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,200,214,.075) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .55;
  pointer-events: none;
}

body.projects-world .project-console::after {
  content: "ACTIVE MODEL";
  position: absolute;
  z-index: 13;
  left: clamp(28px, 4vw, 58px);
  top: auto;
  bottom: 192px;
  width: min(300px, 28vw);
  padding: 13px 16px;
  border: 1px solid rgba(95,200,214,.38);
  background:
    linear-gradient(90deg, rgba(3,10,14,.76), rgba(3,10,14,.16)),
    linear-gradient(90deg, rgba(95,200,214,.18), transparent 42%, rgba(201,140,55,.12));
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 24px 64px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  pointer-events: none;
  animation: commandPanelFloat 4.8s ease-in-out infinite;
}

body.projects-world .project-console .scene-canvas {
  opacity: .95;
  transform: translateX(2vw) translateY(1vh) scale(1.13);
  filter: saturate(1.38) contrast(1.22) drop-shadow(0 0 34px rgba(95,200,214,.28));
}

body.projects-world .project-console-copy {
  left: auto;
  right: clamp(28px, 4vw, 58px);
  top: clamp(88px, 11vw, 136px);
  width: min(420px, 31vw);
  z-index: 14;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  background:
    linear-gradient(135deg, rgba(3, 12, 16, .52), rgba(3, 12, 16, .2)),
    linear-gradient(135deg, rgba(95,200,214,.16), rgba(201,140,55,.08));
  border-color: rgba(95,200,214,.46);
}

body.projects-world .project-console-controls {
  right: clamp(28px, 4vw, 58px);
  top: calc(clamp(88px, 11vw, 136px) + 190px);
  width: min(420px, 31vw);
  z-index: 15;
}

body.projects-world .project-console-controls button {
  min-height: 54px;
  font-size: .86rem;
  background: rgba(2, 8, 12, .46);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  border-color: rgba(95,200,214,.26);
}

body.projects-world .project-console-link {
  right: clamp(28px, 4vw, 58px);
  bottom: 122px;
  z-index: 15;
  min-width: 190px;
  text-align: center;
  background: linear-gradient(135deg, rgba(201,140,55,.74), rgba(201,92,14,.92));
  box-shadow: 0 18px 60px rgba(201,92,14,.24), inset 0 1px 0 rgba(255,255,255,.28);
}

body.projects-world .project-hud {
  left: clamp(22px, 4vw, 58px);
  right: clamp(22px, 4vw, 58px);
  bottom: 34px;
  z-index: 14;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.projects-world .project-hud span {
  min-height: 92px;
  border-color: rgba(95,200,214,.28);
  background:
    linear-gradient(135deg, rgba(3, 12, 16, .56), rgba(255,255,255,.055)),
    linear-gradient(90deg, rgba(95,200,214,.12), transparent 52%, rgba(201,140,55,.12));
  backdrop-filter: blur(8px) saturate(1.3);
}

body.projects-world .project-scan {
  z-index: 11;
  top: 70px;
  bottom: 74px;
  width: 3px;
  opacity: .95;
  animation: projectScanPulse 2.4s ease-in-out infinite;
}

body.projects-world .project-mode-burst {
  z-index: 16;
}

@keyframes projectScanPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(95,200,214,.54); transform: scaleY(.94); }
  50% { box-shadow: 0 0 54px rgba(95,200,214,.86), 0 0 24px rgba(201,140,55,.4); transform: scaleY(1); }
}

.hud {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hud span {
  border: 1px solid rgba(244, 241, 232, .12);
  padding: 12px;
  color: var(--muted);
  background: rgba(0,0,0,.38);
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 900;
}

.hud b { display: block; color: var(--gold); font-size: 1.1rem; }

.about-reality-panel {
  min-height: 520px;
  border: 1px solid rgba(244, 241, 232, .2);
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.018));
  box-shadow: 0 28px 100px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(6px) saturate(1.2);
}

.about-reality-panel::before,
.about-reality-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.about-reality-panel::before {
  background:
    linear-gradient(90deg, rgba(2,6,9,.22), transparent 36%, rgba(2,6,9,.16)),
    linear-gradient(0deg, rgba(2,6,9,.5), transparent 34%, rgba(2,6,9,.2));
}

.about-reality-panel::after {
  border: 1px solid rgba(95, 200, 214, .22);
  background:
    linear-gradient(rgba(95, 200, 214, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 200, 214, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .36;
  mix-blend-mode: screen;
}

.about-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: transform .2s ease-out, filter .2s ease-out;
  will-change: transform;
}

.about-photo.main {
  inset: -8%;
  transform:
    translate3d(calc(var(--about-x, 0px) * -1), calc(var(--about-progress, 0) * -42px), 0)
    scale(calc(1.06 + var(--about-progress, 0) * .12));
  filter: brightness(1.04) contrast(1.06) saturate(1.08);
  z-index: 1;
}

.about-photo.inset {
  border: 1px solid rgba(244, 241, 232, .28);
  box-shadow: 0 24px 70px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.14);
  z-index: 3;
  overflow: hidden;
}

.about-photo.inset::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.4));
}

.about-photo.highrise {
  width: 42%;
  height: 36%;
  right: 7%;
  top: 9%;
  transform:
    translate3d(calc(var(--about-x, 0px) * .75), calc(var(--about-y, 0px) * .5), 0)
    scale(calc(.98 + var(--about-progress, 0) * .08));
}

.about-photo.warehouse {
  width: 38%;
  height: 31%;
  left: 6%;
  bottom: 15%;
  transform:
    translate3d(calc(var(--about-x, 0px) * -.55), calc(var(--about-y, 0px) * -.35), 0)
    scale(calc(1 + var(--about-progress, 0) * .06));
}

.about-photo.controls {
  width: 32%;
  height: 24%;
  right: 12%;
  bottom: 13%;
  transform:
    translate3d(calc(var(--about-x, 0px) * .32), calc(var(--about-y, 0px) * -.6), 0)
    scale(calc(1.01 + var(--about-progress, 0) * .05));
}

.about-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(14% + var(--about-progress, 0) * 58%);
  height: 2px;
  z-index: 6;
  background: linear-gradient(90deg, transparent, rgba(95,200,214,.85), rgba(201,140,55,.6), transparent);
  box-shadow: 0 0 24px rgba(95,200,214,.42);
  opacity: .76;
}

.about-target {
  position: absolute;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(95,200,214,.56);
  z-index: 6;
  opacity: .78;
}

.about-target::before,
.about-target::after {
  content: "";
  position: absolute;
  background: rgba(95,200,214,.7);
}

.about-target::before {
  left: 50%;
  top: -18px;
  width: 1px;
  height: 116px;
}

.about-target::after {
  left: -18px;
  top: 50%;
  width: 116px;
  height: 1px;
}

.about-target.one {
  right: 20%;
  top: 28%;
  transform: rotate(calc(var(--about-progress, 0) * 28deg));
}

.about-target.two {
  left: 18%;
  bottom: 26%;
  transform: scale(.78) rotate(calc(var(--about-progress, 0) * -34deg));
}

.about-panel-copy {
  position: absolute;
  left: 26px;
  top: 24px;
  width: min(360px, calc(100% - 52px));
  z-index: 7;
  padding: 20px;
  border: 1px solid rgba(244, 241, 232, .3);
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.022));
  backdrop-filter: blur(8px) saturate(1.22);
}

.about-panel-copy span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
}

.about-panel-copy strong {
  display: block;
  margin: 10px 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.6rem);
  line-height: .98;
}

.about-panel-copy p {
  margin: 0;
  color: rgba(244,241,232,.78);
}

.about-hud {
  z-index: 7;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 8vw, 104px) 0;
  position: relative;
}

.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.section-copy p, .card p, .project-card p, .footer p, .mini p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .mini, .project-card, .stat, .history-panel, .form-panel {
  border: 1px solid rgba(244, 241, 232, .13);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.motion-card { transform-style: preserve-3d; transition: transform .22s ease, border-color .22s ease; }
.motion-card:hover { border-color: var(--line-hot); }
.card::before, .project-card::before, .mini::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}
.card:hover::before, .project-card:hover::before, .mini:hover::before { transform: scaleX(1); }

.icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 140, 55, .55);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 900;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
  font-size: .75rem;
}

.command-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(244, 241, 232, .11);
  border: 1px solid var(--line);
}

.command-strip div {
  min-height: 138px;
  padding: 20px;
  background: rgba(5, 8, 7, .88);
}

.command-strip b {
  color: var(--gold);
  font-size: 1.55rem;
}

.project-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0,0,0,.76) 72%, rgba(0,0,0,.95));
}

.project-card > * { position: relative; z-index: 1; }

.tag {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(201, 140, 55, .5);
  padding: 7px 10px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(0,0,0,.35);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 232, .13);
  background: #101412;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.05) brightness(.78);
  transition: transform .7s ease, filter .7s ease;
}

.gallery figure:hover img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.12) brightness(.92);
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 20px #000;
}

.process {
  counter-reset: step;
}

.process .card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 20px;
  top: 16px;
  color: rgba(244, 241, 232, .14);
  font-size: 3rem;
  font-weight: 900;
}

.history-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.history-number {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .8;
  color: var(--gold);
  font-weight: 900;
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  border: 1px solid rgba(244, 241, 232, .16);
  background: rgba(0,0,0,.24);
  color: var(--ink);
  padding: 14px 14px;
  margin-bottom: 12px;
}

.form-panel textarea { min-height: 140px; resize: vertical; }

.footer {
  background: rgba(2, 5, 5, .92);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}

.footer a {
  display: block;
  color: var(--muted);
  margin: 9px 0;
  font-size: .88rem;
}

.footer a:hover { color: var(--gold); }

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes textFlow {
  to { background-position: 280% 0; }
}

@media (max-width: 980px) {
  .mobile-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    margin: 0 0 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-cta { justify-content: flex-start; }
  .hero-grid, .split, .history-panel { grid-template-columns: 1fr; }
  .scene-shell { min-height: 380px; }
  .grid, .grid.two, .grid.four, .gallery, .stat-row, .command-strip, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; }
  .brand-text span { letter-spacing: .18em; }
  .hero-grid, .wrap { width: min(100% - 28px, var(--max)); }
  h1 { font-size: clamp(2.7rem, 17vw, 4.6rem); }
  .grid, .grid.two, .grid.four, .gallery, .stat-row, .command-strip, .footer-grid, .hud { grid-template-columns: 1fr; }
  .project-card { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* Scroll-flight relaunch layer */
.flight-hero {
  min-height: 560vh;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #050807;
}
.flight-stage {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 241, 232, .09);
}
.flight-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 32%, rgba(95, 200, 214, .18), transparent 28rem),
    radial-gradient(circle at 82% 60%, rgba(201, 140, 55, .14), transparent 24rem),
    linear-gradient(90deg, rgba(5,8,7,.95) 0%, rgba(5,8,7,.56) 40%, rgba(5,8,7,.1) 72%, rgba(5,8,7,.48) 100%);
  z-index: 1;
  pointer-events: none;
}
.flight-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 200, 214, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 140, 55, .1) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .32;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  z-index: 2;
  pointer-events: none;
}
.flight-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flight-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.flight-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  position: relative;
}
.flight-step:nth-child(even) { justify-content: flex-end; }
.flight-panel {
  width: min(640px, 100%);
  padding: clamp(24px, 4vw, 44px);
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(5,8,7,.88), rgba(5,8,7,.52), transparent);
  transform: translateY(18px) scale(.985);
  opacity: .48;
  transition: opacity .25s ease, transform .25s ease;
}
.flight-step.is-active .flight-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.flight-panel h1, .flight-panel h2 { margin: 12px 0 16px; }
.flight-panel p {
  max-width: 610px;
  color: #d6dddd;
  line-height: 1.75;
  font-size: 1.04rem;
}
.flight-panel .btn { pointer-events: auto; }
.flight-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 45;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.flight-rail span {
  width: 8px;
  height: 38px;
  border: 1px solid rgba(244, 241, 232, .22);
  background: rgba(5, 8, 7, .4);
}
.flight-rail span.active {
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  border-color: transparent;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 10px auto 0;
  background: linear-gradient(var(--gold), transparent);
}
.scroll-lock-badge {
  position: absolute;
  right: 32px;
  bottom: 30px;
  z-index: 4;
  display: grid;
  gap: 7px;
  min-width: 170px;
  padding: 14px;
  border: 1px solid rgba(244,241,232,.14);
  background: rgba(5,8,7,.58);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.scroll-lock-badge b { color: var(--gold); font-size: 1.25rem; }
body.home-flight .site-header { background: rgba(5, 8, 7, .6); }
body.home-flight .hero { display: none; }
body:not(.home-flight) .hero .scene-shell {
  min-height: 560px;
  transform: translateY(calc(var(--scroll-progress, 0) * -70px));
}
@media (max-width: 760px) {
  .flight-hero { min-height: 500vh; }
  .flight-stage { top: 72px; height: calc(100vh - 72px); }
  .flight-panel { background: linear-gradient(180deg, rgba(5,8,7,.92), rgba(5,8,7,.58)); }
  .flight-step, .hero-grid, .wrap { width: min(100% - 28px, var(--max)); }
  .flight-rail, .scroll-lock-badge { display: none; }
}


/* Real skyscraper layer */
.flight-stage { background: #050807; }
.real-skyscraper-layer {
  position: absolute;
  z-index: 0;
  left: 58%;
  bottom: -8vh;
  width: min(74vw, 980px);
  height: 112vh;
  transform-origin: 52% 72%;
  transform: translate3d(var(--tower-x, -50%), var(--tower-y, 4vh), 0) scale(var(--tower-scale, .86));
  opacity: var(--tower-opacity, .96);
  background-image: var(--tower-image);
  background-size: cover;
  background-position: center bottom;
  filter: saturate(.92) contrast(1.12) brightness(.78);
  box-shadow: 0 0 90px rgba(0,0,0,.62);
  transition: filter .25s ease;
  will-change: transform, opacity;
}
.real-skyscraper-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,7,.62) 0%, transparent 24%, transparent 70%, rgba(5,8,7,.52)),
    linear-gradient(0deg, rgba(5,8,7,.95), transparent 26%, transparent 78%, rgba(5,8,7,.38));
  pointer-events: none;
}
.real-skyscraper-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 47%, rgba(95, 200, 214, .28) 48% 49%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(201, 140, 55, .18) 0 1px, transparent 1px 54px);
  mix-blend-mode: screen;
  opacity: calc(.18 + (var(--scroll-progress, 0) * .34));
  pointer-events: none;
}
.flight-canvas {
  z-index: 2;
  opacity: .55;
  mix-blend-mode: screen;
}
.flight-stage::before { z-index: 3; }
.flight-stage::after { z-index: 4; }
.flight-overlay { z-index: 5; }
.scroll-hint, .scroll-lock-badge { z-index: 6; }
body.home-flight .flight-panel {
  border-left-color: rgba(201, 140, 55, .9);
  background: linear-gradient(90deg, rgba(5,8,7,.9), rgba(5,8,7,.62) 58%, rgba(5,8,7,.14));
}
@media (max-width: 760px) {
  .real-skyscraper-layer {
    left: 64%;
    width: 138vw;
    height: 104vh;
    bottom: -2vh;
  }
  .flight-canvas { opacity: .42; }
}


/* Real skyscraper walkthrough upgrade */
.skyscraper-walk {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1100px;
  overflow: hidden;
  pointer-events: none;
  --walk-progress: var(--scroll-progress, 0);
}
.skyscraper-facade {
  position: absolute;
  left: 50%;
  bottom: -12vh;
  width: min(72vw, 960px);
  height: 122vh;
  transform-origin: 50% 68%;
  transform:
    translate3d(calc(-50% + var(--tower-drift, 0px)), calc(8vh - (var(--walk-progress) * 28vh)), 0)
    scale(calc(.86 + (var(--walk-progress) * .82)));
  background-image: var(--tower-image);
  background-size: cover;
  background-position: center bottom;
  filter: saturate(.9) contrast(1.16) brightness(.7);
  opacity: calc(.92 - (var(--walk-progress) * .34));
  box-shadow: 0 0 120px rgba(0,0,0,.78);
  will-change: transform, opacity;
}
.skyscraper-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,7,.75), transparent 28%, transparent 70%, rgba(5,8,7,.62)),
    linear-gradient(0deg, rgba(5,8,7,.98), transparent 24%, transparent 77%, rgba(5,8,7,.4));
}
.skyscraper-depth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--walk-progress) * 220px));
  opacity: calc(.12 + (var(--walk-progress) * .88));
}
.tower-slice {
  position: absolute;
  left: 50%;
  top: calc(6vh + (var(--i) * 6.55vh));
  width: min(68vw, 900px);
  height: 7.6vh;
  transform-style: preserve-3d;
  transform:
    translateX(-50%)
    translateZ(calc((var(--walk-progress) * 1200px) - (var(--i) * 90px)))
    translateY(calc(var(--walk-progress) * -11vh));
  opacity: clamp(0, calc((var(--walk-progress) * 2.2) - (var(--i) * .035)), .96);
  will-change: transform, opacity;
}
.tower-slice::before,
.tower-slice::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background-image: var(--tower-image);
  background-size: min(68vw, 900px) 122vh;
  background-position-x: center;
  background-position-y: calc(-6vh - (var(--i) * 6.55vh));
  filter: saturate(.96) contrast(1.18) brightness(.78);
  box-shadow: 0 0 28px rgba(0,0,0,.5), inset 0 0 0 1px rgba(244,241,232,.08);
}
.tower-slice::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  transform-origin: right center;
  transform: translateX(calc(var(--walk-progress) * -82px)) rotateY(calc(var(--walk-progress) * 34deg));
}
.tower-slice::after {
  right: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: left center;
  transform: translateX(calc(var(--walk-progress) * 82px)) rotateY(calc(var(--walk-progress) * -34deg));
}
.tower-slice span {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95,200,214,.7), rgba(201,140,55,.55), transparent);
  transform: translateY(-50%) scaleX(calc(.28 + var(--walk-progress)));
  box-shadow: 0 0 26px rgba(95,200,214,.5);
}
.tunnel-rib {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(28vw + (var(--i) * 5vw));
  height: calc(18vh + (var(--i) * 4.8vh));
  border: 1px solid rgba(95,200,214,.18);
  transform:
    translate(-50%, -50%)
    translateZ(calc((var(--walk-progress) * 1000px) - (var(--i) * 120px)))
    scale(calc(.55 + (var(--walk-progress) * .52)));
  opacity: clamp(0, calc(var(--walk-progress) * 1.8 - (var(--i) * .08)), .7);
  box-shadow: 0 0 38px rgba(95,200,214,.13), inset 0 0 26px rgba(201,140,55,.05);
}
.flight-canvas { z-index: 3; opacity: calc(.32 + (var(--scroll-progress, 0) * .34)); }
.flight-stage::before { z-index: 4; }
.flight-stage::after { z-index: 5; }
.flight-overlay { z-index: 6; }
.scroll-hint, .scroll-lock-badge { z-index: 7; }
@media (max-width: 760px) {
  .skyscraper-facade { width: 136vw; height: 112vh; left: 60%; }
  .tower-slice { width: 122vw; }
  .tower-slice::before,
  .tower-slice::after { background-size: 122vw 112vh; }
}


/* Navisworks BIM coordination layer */
body.navis-mode .skyscraper-walk { display: none; }
body.navis-mode .flight-stage {
  background:
    linear-gradient(180deg, rgba(103,137,203,.18), transparent 26%),
    #0a1012;
}
.navis-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, monospace;
}
.navis-hud::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(112, 174, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 174, 255, .1) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .38;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 88%, transparent 100%);
}
.navis-toolbar {
  position: absolute;
  left: 24px;
  top: 22px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(166, 196, 255, .22);
  background: rgba(4, 8, 12, .62);
  backdrop-filter: blur(8px);
}
.navis-tool {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,241,232,.16);
  color: rgba(244,241,232,.84);
  font-size: .68rem;
  font-weight: 900;
}
.navis-tool.active { background: rgba(201, 140, 55, .2); color: var(--gold); border-color: rgba(201, 140, 55, .65); }
.navis-panel {
  position: absolute;
  right: 22px;
  top: 24px;
  width: min(310px, calc(100vw - 44px));
  border: 1px solid rgba(166,196,255,.2);
  background: rgba(5, 10, 14, .72);
  backdrop-filter: blur(12px);
  padding: 14px;
  color: rgba(244,241,232,.82);
  text-transform: uppercase;
  font-size: .72rem;
  line-height: 1.45;
}
.navis-panel b { display: block; color: var(--cyan); font-size: 1rem; margin-bottom: 8px; }
.navis-panel span { color: var(--gold); }
.navis-compass {
  position: absolute;
  right: 32px;
  bottom: 92px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(166,196,255,.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,196,255,.16), rgba(5,8,7,.28) 58%, transparent 59%);
  display: grid;
  place-items: center;
  color: rgba(244,241,232,.75);
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 900;
  transform: rotate(calc(var(--scroll-progress, 0) * 210deg));
}
.navis-compass::before,
.navis-compass::after {
  content: "";
  position: absolute;
  background: rgba(166,196,255,.34);
}
.navis-compass::before { width: 1px; height: 92px; }
.navis-compass::after { width: 92px; height: 1px; }
.navis-status {
  position: absolute;
  left: 24px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 8px;
  width: min(650px, calc(100vw - 48px));
}
.navis-status div {
  border: 1px solid rgba(166,196,255,.18);
  background: rgba(5,8,7,.58);
  padding: 10px;
  color: rgba(244,241,232,.72);
  text-transform: uppercase;
  font-size: .66rem;
}
.navis-status b { display: block; color: var(--gold); font-size: .96rem; }
.navis-clash {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid #ff5d4d;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255,93,77,.7);
  opacity: calc(.35 + var(--scroll-progress, 0) * .65);
}
.navis-clash::after {
  content: attr(data-label);
  position: absolute;
  left: 15px;
  top: -9px;
  white-space: nowrap;
  color: #ffb3a9;
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
}
.navis-clash.one { left: 54%; top: 31%; }
.navis-clash.two { left: 64%; top: 52%; }
.navis-clash.three { left: 42%; top: 63%; }
body.navis-mode .flight-canvas {
  z-index: 2;
  opacity: .98;
  mix-blend-mode: normal;
}
body.navis-mode .flight-stage::before { z-index: 3; }
body.navis-mode .flight-stage::after { z-index: 4; opacity: .16; }
body.navis-mode .flight-overlay { z-index: 6; }
body.navis-mode .flight-panel {
  border-left-color: rgba(95,200,214,.9);
  background: linear-gradient(90deg, rgba(5,8,7,.88), rgba(5,8,7,.56), transparent);
}
body.navis-mode .scroll-lock-badge b { color: var(--cyan); }
@media (max-width: 760px) {
  .navis-panel { display: none; }
  .navis-toolbar { left: 14px; top: 14px; }
  .navis-status { grid-template-columns: repeat(2, 1fr); left: 14px; bottom: 14px; width: calc(100vw - 28px); }
  .navis-compass { display: none; }
}


/* Photoreal data center cinematic rebuild */
body.photoreal-cm .flight-stage {
  background: #020609;
  isolation: isolate;
}
.cinematic-reality {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  --cinema-image: url('summitpeak-assets/photoreal-datacenter-hero.png');
}
.cinema-bg,
.cinema-cutaway,
.cinema-depth {
  position: absolute;
  inset: -5vh -4vw;
  background-image: var(--cinema-image);
  background-size: cover;
  background-position: center;
  will-change: transform, opacity, clip-path, filter;
}
.cinema-bg {
  transform: translate3d(calc(var(--scroll-progress, 0) * -4vw), calc(var(--scroll-progress, 0) * -7vh), 0) scale(calc(1.02 + var(--scroll-progress, 0) * .34));
  filter: saturate(1.04) contrast(1.1) brightness(.74);
  opacity: .98;
}
.cinema-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,6,9,.96) 0%, rgba(2,6,9,.58) 28%, rgba(2,6,9,.08) 62%, rgba(2,6,9,.5) 100%),
    linear-gradient(0deg, rgba(2,6,9,.92) 0%, transparent 34%, transparent 78%, rgba(2,6,9,.36) 100%);
}
.cinema-cutaway {
  z-index: 2;
  clip-path: polygon(calc(49% - var(--scroll-progress, 0) * 22%) 10%, 100% 0, 100% 100%, calc(60% - var(--scroll-progress, 0) * 16%) 100%);
  transform: translate3d(calc(var(--scroll-progress, 0) * -10vw), calc(var(--scroll-progress, 0) * -13vh), 0) scale(calc(1.16 + var(--scroll-progress, 0) * .72));
  filter: saturate(1.16) contrast(1.2) brightness(.92);
  opacity: calc(.22 + var(--scroll-progress, 0) * .72);
  mix-blend-mode: screen;
}
.cinema-depth {
  inset: 4vh 2vw;
  z-index: 3;
  background-size: 130% auto;
  background-position: 70% 58%;
  clip-path: polygon(47% 30%, 92% 24%, 96% 82%, 52% 88%);
  transform: translate3d(calc(var(--scroll-progress, 0) * -18vw), calc(var(--scroll-progress, 0) * -4vh), 0) scale(calc(.88 + var(--scroll-progress, 0) * 1.12));
  filter: saturate(1.2) contrast(1.2) brightness(1.05);
  opacity: calc(var(--scroll-progress, 0) * .8);
}
.cinema-depth.depth-two {
  z-index: 4;
  background-position: 82% 72%;
  clip-path: polygon(57% 47%, 98% 42%, 100% 100%, 42% 96%);
  transform: translate3d(calc(var(--scroll-progress, 0) * -24vw), calc(var(--scroll-progress, 0) * -12vh), 0) scale(calc(.72 + var(--scroll-progress, 0) * 1.34));
  opacity: calc(var(--scroll-progress, 0) * .46);
}
.reality-scan {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(90deg, transparent, rgba(95, 200, 214, .22), transparent),
    repeating-linear-gradient(0deg, rgba(95, 200, 214, .11) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(201, 140, 55, .08) 0 1px, transparent 1px 78px);
  transform: translateX(calc(-70% + var(--scroll-progress, 0) * 160%));
  opacity: .72;
  mix-blend-mode: screen;
}
.reality-callout {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(95,200,214,.34);
  color: rgba(244,241,232,.84);
  background: rgba(1, 5, 8, .62);
  padding: 10px 12px;
  font: 800 .68rem/1.2 Consolas, ui-monospace, monospace;
  text-transform: uppercase;
  opacity: calc(.18 + var(--scroll-progress, 0) * .75);
  transform: translateY(calc((.5 - var(--scroll-progress, 0)) * 28px));
}
.reality-callout b { display:block; color: var(--cyan); font-size: .86rem; margin-bottom: 4px; }
.reality-callout.one { right: 10%; top: 24%; }
.reality-callout.two { right: 23%; bottom: 28%; }
.reality-callout.three { left: 43%; bottom: 18%; }
body.photoreal-cm .flight-canvas {
  z-index: 7;
  opacity: .28;
  mix-blend-mode: screen;
}
body.photoreal-cm .navis-hud { z-index: 8; }
body.photoreal-cm .flight-stage::before { z-index: 9; background: linear-gradient(90deg, rgba(2,6,9,.9), rgba(2,6,9,.28) 48%, rgba(2,6,9,.2)); }
body.photoreal-cm .flight-stage::after { z-index: 10; opacity: .12; }
body.photoreal-cm .flight-overlay { z-index: 11; }
body.photoreal-cm .scroll-hint,
body.photoreal-cm .scroll-lock-badge { z-index: 12; }
body.photoreal-cm .flight-panel {
  background: linear-gradient(90deg, rgba(2,6,9,.94), rgba(2,6,9,.62), rgba(2,6,9,.12));
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
@media (max-width: 760px) {
  .cinematic-reality { --cinema-image: url('summitpeak-assets/photoreal-datacenter-hero.png'); }
  .cinema-bg { background-position: 62% center; transform: translate3d(calc(var(--scroll-progress, 0) * -18vw), calc(var(--scroll-progress, 0) * -3vh), 0) scale(calc(1.22 + var(--scroll-progress, 0) * .46)); }
  .cinema-cutaway, .cinema-depth { inset: 0 -22vw; }
  .reality-callout { display: none; }
}


/* Data center project walkthrough */
.dc-walk {
  min-height: 520vh;
  position: relative;
  background: #030709;
  border-bottom: 1px solid var(--line);
}
.dc-stage {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  overflow: hidden;
  background: #030709;
  isolation: isolate;
}
.dc-scene {
  position: absolute;
  inset: -5vh -5vw;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06) translate3d(0,0,0);
  filter: saturate(.9) contrast(1.08) brightness(.78);
  will-change: opacity, transform, filter;
}
.dc-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,9,.94) 0%, rgba(3,7,9,.58) 32%, rgba(3,7,9,.08) 66%, rgba(3,7,9,.5) 100%),
    linear-gradient(0deg, rgba(3,7,9,.92) 0%, transparent 36%, transparent 78%, rgba(3,7,9,.34) 100%);
}
.dc-model-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .72;
  background-image:
    linear-gradient(rgba(95, 200, 214, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 200, 214, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(62deg) translateY(calc(28vh - var(--dc-progress, 0) * 60vh)) scale(calc(1 + var(--dc-progress, 0) * .6));
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 90%, transparent 100%);
}
.dc-tunnel {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  perspective: 900px;
}
.dc-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(28vw + var(--i) * 7vw);
  height: calc(16vh + var(--i) * 5vh);
  border: 1px solid rgba(95, 200, 214, .22);
  transform: translate(-50%, -50%) translateZ(calc(var(--dc-progress, 0) * 1200px - var(--i) * 160px)) scale(calc(.82 + var(--dc-progress, 0) * .42));
  opacity: clamp(0, calc(.85 - var(--i) * .07), .7);
  box-shadow: 0 0 32px rgba(95,200,214,.13), inset 0 0 28px rgba(201,140,55,.07);
}
.dc-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  font: 800 .68rem/1.35 Consolas, ui-monospace, monospace;
  text-transform: uppercase;
  color: rgba(244,241,232,.78);
}
.dc-toolbox {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(95,200,214,.2);
  background: rgba(0,0,0,.38);
}
.dc-toolbox span { border: 1px solid rgba(244,241,232,.14); padding: 8px 10px; }
.dc-toolbox span:first-child { color: var(--gold); border-color: rgba(201,140,55,.52); }
.dc-status {
  position: absolute;
  right: 26px;
  top: 24px;
  width: min(330px, calc(100vw - 52px));
  padding: 16px;
  border: 1px solid rgba(95,200,214,.24);
  background: rgba(2,6,9,.62);
  backdrop-filter: blur(12px);
}
.dc-status b { display: block; color: var(--cyan); font-size: .95rem; margin-bottom: 8px; }
.dc-callout {
  position: absolute;
  border: 1px solid rgba(255,90,70,.6);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,90,70,.65);
}
.dc-callout::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: -8px;
  white-space: nowrap;
  color: #ffc2b9;
}
.dc-callout.one { left: 62%; top: 35%; }
.dc-callout.two { left: 45%; top: 57%; }
.dc-callout.three { left: 72%; top: 66%; }
.dc-copy-track {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.dc-copy-step {
  position: absolute;
  left: max(28px, calc((100vw - var(--max)) / 2 + 22px));
  top: 50%;
  width: min(620px, calc(100vw - 56px));
  transform: translateY(-42%) translateY(20px);
  opacity: 0;
  transition: opacity .24s ease, transform .24s ease;
  border-left: 2px solid var(--gold);
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(90deg, rgba(2,6,9,.92), rgba(2,6,9,.62), transparent);
}
.dc-copy-step.is-active {
  opacity: 1;
  transform: translateY(-42%) translateY(0);
}
.dc-copy-step h1, .dc-copy-step h2 {
  margin: 10px 0 18px;
  text-transform: uppercase;
}
.dc-copy-step h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); line-height: .88; }
.dc-copy-step h2 { font-size: clamp(2.2rem, 4.7vw, 5rem); line-height: .92; }
.dc-copy-step p { color: #dce6e7; line-height: 1.68; font-size: 1.04rem; }
.dc-progress-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.dc-progress-rail span {
  width: 8px;
  height: 42px;
  border: 1px solid rgba(244,241,232,.2);
  background: rgba(0,0,0,.3);
}
.dc-progress-rail span.active { background: linear-gradient(180deg, var(--gold), var(--cyan)); border-color: transparent; }
.dc-photo-strip .gallery figure { min-height: 280px; }
@media (max-width: 760px) {
  .dc-stage { top: 72px; height: calc(100vh - 72px); }
  .dc-copy-step { left: 14px; width: calc(100vw - 28px); padding: 22px; background: rgba(2,6,9,.82); }
  .dc-toolbox, .dc-status, .dc-progress-rail { display: none; }
  .dc-scene { background-position: 62% center; }
}


/* Sitewide transparent glass/background visibility pass */
body {
  background-color: #030708 !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5 !important;
  background:
    linear-gradient(90deg, rgba(3,7,8,.78) 0%, rgba(3,7,8,.34) 44%, rgba(3,7,8,.68) 100%),
    linear-gradient(0deg, rgba(3,7,8,.82) 0%, rgba(3,7,8,.24) 48%, rgba(3,7,8,.66) 100%),
    url("summitpeak-assets/photoreal-datacenter-hero.png") center / cover fixed no-repeat !important;
  mask-image: none !important;
  z-index: -3 !important;
}
body::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.5), transparent 38%, rgba(0,0,0,.38)),
    repeating-linear-gradient(90deg, rgba(95,200,214,.05) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(244,241,232,.035) 0 1px, transparent 1px 78px) !important;
  z-index: -2 !important;
}
.page-shell,
body:not(.home-flight) .page-shell {
  background: transparent !important;
}
.section {
  background:
    linear-gradient(180deg, rgba(3,7,8,.32), rgba(3,7,8,.18)) !important;
  border-bottom-color: rgba(244,241,232,.11) !important;
  backdrop-filter: blur(1.5px) saturate(1.08);
}
.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(3,7,8,.16), rgba(3,7,8,.28)) !important;
}
.card,
.mini,
.stat,
.history-panel,
.form-panel,
.command-strip div,
.gallery figure,
.navis-panel,
.dc-status,
.reality-callout,
.scroll-lock-badge,
.hud span {
  background:
    linear-gradient(145deg, rgba(5, 10, 12, .42), rgba(5, 10, 12, .18)) !important;
  border-color: rgba(244, 241, 232, .2) !important;
  backdrop-filter: blur(10px) saturate(1.18);
  box-shadow: 0 24px 90px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}
.card:hover,
.mini:hover,
.stat:hover,
.gallery figure:hover {
  background: linear-gradient(145deg, rgba(7, 16, 18, .55), rgba(7, 16, 18, .22)) !important;
}
.project-card {
  background-color: rgba(0,0,0,.12) !important;
  border-color: rgba(244, 241, 232, .22) !important;
  backdrop-filter: blur(6px) saturate(1.15);
}
.project-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,.08) 10%, rgba(0,0,0,.42) 64%, rgba(0,0,0,.72)) !important;
}
.command-strip {
  background: rgba(244, 241, 232, .13) !important;
  border-color: rgba(244, 241, 232, .16) !important;
}
.site-header {
  background: rgba(3, 7, 8, .58) !important;
  backdrop-filter: blur(18px) saturate(1.25);
}
.footer {
  background: linear-gradient(180deg, rgba(2,5,5,.44), rgba(2,5,5,.7)) !important;
  backdrop-filter: blur(12px) saturate(1.12);
}
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(5,8,7,.82) 0%, rgba(5,8,7,.45) 38%, rgba(5,8,7,.12) 78%),
    linear-gradient(0deg, rgba(5,8,7,.68), transparent 46%) !important;
}
.scene-shell,
.flight-panel,
.dc-copy-step {
  background:
    linear-gradient(110deg, rgba(2, 6, 9, .68), rgba(2, 6, 9, .28), rgba(2, 6, 9, .08)) !important;
  backdrop-filter: blur(8px) saturate(1.16);
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}
body.photoreal-cm .flight-panel,
body.navis-mode .flight-panel,
body.photoreal-cm .flight-stage::before,
body.photoreal-cm .dc-copy-step {
  background:
    linear-gradient(90deg, rgba(2,6,9,.7), rgba(2,6,9,.3) 58%, rgba(2,6,9,.06)) !important;
}
.dc-scene::after,
.cinema-bg::after {
  background:
    linear-gradient(90deg, rgba(3,7,9,.72) 0%, rgba(3,7,9,.34) 32%, rgba(3,7,9,.04) 66%, rgba(3,7,9,.32) 100%),
    linear-gradient(0deg, rgba(3,7,9,.68) 0%, transparent 36%, transparent 78%, rgba(3,7,9,.2) 100%) !important;
}
.form-panel input,
.form-panel textarea,
.form-panel select {
  background: rgba(0,0,0,.18) !important;
  backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .flight-panel,
  .dc-copy-step,
  .card,
  .mini,
  .stat,
  .form-panel {
    background: rgba(2, 6, 9, .58) !important;
  }
}

/* Brighter transparent glass pass */
body::before {
  opacity: .82 !important;
  background:
    linear-gradient(90deg, rgba(3,7,8,.34) 0%, rgba(3,7,8,.08) 45%, rgba(3,7,8,.28) 100%),
    linear-gradient(0deg, rgba(3,7,8,.42) 0%, rgba(3,7,8,.08) 48%, rgba(3,7,8,.3) 100%),
    url("summitpeak-assets/photoreal-datacenter-hero.png") center / cover fixed no-repeat !important;
}

body::after {
  opacity: .72;
  background:
    linear-gradient(90deg, rgba(0,0,0,.2), transparent 38%, rgba(0,0,0,.14)),
    repeating-linear-gradient(90deg, rgba(95,200,214,.065) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(244,241,232,.045) 0 1px, transparent 1px 78px) !important;
}

.section,
.section:nth-of-type(even) {
  background: rgba(3, 7, 8, .08) !important;
  backdrop-filter: blur(.5px) saturate(1.08);
}

.card,
.mini,
.stat,
.history-panel,
.form-panel,
.command-strip div,
.gallery figure,
.navis-panel,
.dc-status,
.reality-callout,
.scroll-lock-badge,
.hud span {
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.018)) !important;
  border-color: rgba(244, 241, 232, .34) !important;
  backdrop-filter: blur(6px) saturate(1.22);
  box-shadow: 0 18px 58px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.14);
}

.card:hover,
.mini:hover,
.stat:hover,
.gallery figure:hover {
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.032)) !important;
}

.project-card {
  background-color: rgba(255,255,255,.035) !important;
  border-color: rgba(244, 241, 232, .32) !important;
  backdrop-filter: blur(4px) saturate(1.18);
}

.project-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,.02) 8%, rgba(0,0,0,.26) 62%, rgba(0,0,0,.58)) !important;
}

.site-header {
  background: rgba(3, 7, 8, .42) !important;
}

.footer,
.command-strip {
  background: rgba(3, 7, 8, .22) !important;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(5,8,7,.58) 0%, rgba(5,8,7,.24) 38%, rgba(5,8,7,.04) 78%),
    linear-gradient(0deg, rgba(5,8,7,.42), transparent 48%) !important;
}

.scene-shell,
.flight-panel,
.dc-copy-step,
body.photoreal-cm .flight-panel,
body.navis-mode .flight-panel,
body.photoreal-cm .dc-copy-step {
  background:
    linear-gradient(110deg, rgba(255,255,255,.09), rgba(255,255,255,.026), rgba(255,255,255,.01)) !important;
  border-color: rgba(244, 241, 232, .3) !important;
  backdrop-filter: blur(6px) saturate(1.22);
}

body.photoreal-cm .flight-stage::before {
  background: linear-gradient(90deg, rgba(2,6,9,.5), rgba(2,6,9,.14) 48%, rgba(2,6,9,.1)) !important;
}

.dc-scene::after,
.cinema-bg::after {
  background:
    linear-gradient(90deg, rgba(3,7,9,.36) 0%, rgba(3,7,9,.14) 32%, rgba(3,7,9,.01) 66%, rgba(3,7,9,.16) 100%),
    linear-gradient(0deg, rgba(3,7,9,.38) 0%, transparent 36%, transparent 78%, rgba(3,7,9,.08) 100%) !important;
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  background: rgba(255,255,255,.055) !important;
}

@media (max-width: 760px) {
  .flight-panel,
  .dc-copy-step,
  .card,
  .mini,
  .stat,
  .form-panel {
    background: rgba(255,255,255,.075) !important;
  }

  .about-reality-panel {
    min-height: 520px;
  }

  .about-panel-copy {
    left: 16px;
    top: 16px;
    width: calc(100% - 32px);
    padding: 16px;
  }

  .about-photo.highrise {
    width: 62%;
    height: 27%;
    right: 5%;
    top: 38%;
  }

  .about-photo.warehouse {
    width: 55%;
    height: 24%;
    left: 5%;
    bottom: 16%;
  }

  .about-photo.controls {
    width: 48%;
    height: 21%;
    right: 7%;
    bottom: 8%;
  }

  .about-target {
    width: 54px;
    height: 54px;
  }

  .project-console {
    min-height: 640px;
  }

  .project-console-copy {
    left: 16px;
    right: 16px;
    top: 16px;
    width: auto;
    padding: 16px;
  }

  .project-console-controls {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 118px;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .project-console-controls button {
    min-height: 40px;
    text-align: center;
    padding: 0 8px;
  }

  .project-console-controls button:hover,
  .project-console-controls button.active {
    transform: translateY(-2px);
  }

  .project-console-link {
    right: 16px;
    bottom: 72px;
  }

  .project-hud {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  body.projects-world .hero.compact,
  body.projects-world .hero-grid {
    min-height: 920px;
  }

  body.projects-world .hero-grid {
    padding: 86px 16px 24px;
  }

  body.projects-world .hero-grid > .reveal:first-child {
    width: 100%;
    padding-top: 0;
  }

  body.projects-world .hero-grid > .reveal:first-child h1 {
    font-size: clamp(2.4rem, 13vw, 4.8rem);
  }

  body.projects-world .project-console {
    top: 245px;
  }

  body.projects-world .project-console .scene-canvas {
    transform: translateY(38px) scale(1.18);
  }

  body.projects-world .project-console-copy {
    left: 16px;
    right: 16px;
    top: 16px;
    width: auto;
  }

  body.projects-world .project-console-controls {
    left: 16px;
    right: 16px;
    top: 178px;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  body.projects-world .project-console-link {
    right: 16px;
    bottom: 94px;
  }

  body.projects-world .project-hud {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }
}

/* Sitewide live command typography pass */
body,
body * {
  user-select: none;
}

input,
textarea,
select,
option {
  user-select: text;
}

.brand,
.nav-links a,
.btn,
.eyebrow,
h1,
h2,
h3,
.lead,
.card,
.mini,
.stat,
.project-card,
.gallery figure,
.command-strip div,
.history-panel,
.form-panel,
.hud span,
.about-panel-copy,
.dc-copy-step,
.project-console-copy,
.project-hud div {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1,
h2,
h3,
.btn,
.nav-links a,
.eyebrow,
.hud span b,
.card h3,
.mini h3,
.stat b,
.project-card h3,
.gallery figcaption,
.command-strip h3 {
  text-shadow:
    0 1px 0 rgba(255,255,255,.1),
    0 10px 22px rgba(0,0,0,.46),
    0 0 18px rgba(95,200,214,.1);
}

.page-shell .hero.compact {
  min-height: min(740px, calc(100vh - 78px));
}

.page-shell .hero.compact .hero-grid {
  grid-template-columns: minmax(0, .7fr) minmax(420px, 1fr);
  min-height: min(720px, calc(100vh - 78px));
  padding: 96px 0 54px;
}

.page-shell .hero.compact h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7.2vw, 7rem);
  line-height: .78;
  transform: perspective(900px) rotateX(8deg) rotateY(-6deg);
  transform-origin: left center;
  background:
    linear-gradient(110deg, #fff 0%, #f4f1e8 32%, #c88c37 49%, #5fc8d6 62%, #fff 82%);
  background-size: 220% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.58));
  animation: commandTextSweep 7.2s linear infinite;
}

.page-shell .hero.compact .lead {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 780px);
  padding: 12px 14px;
  border: 1px solid rgba(244,241,232,.24);
  background:
    linear-gradient(90deg, rgba(255,255,255,.09), rgba(95,200,214,.045), rgba(0,0,0,.14));
  color: rgba(244,241,232,.86);
  font-size: clamp(.72rem, 1vw, .92rem);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .13em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 70px rgba(0,0,0,.24);
}

.page-shell .section-copy p,
.page-shell .card p,
.page-shell .mini p,
.page-shell .command-strip p,
.footer p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}

.page-shell .section-copy h2 {
  max-width: 11ch;
}

.page-shell .section-copy,
.page-shell .card,
.page-shell .mini,
.page-shell .history-panel {
  isolation: isolate;
}

.page-shell .card:hover p,
.page-shell .section-copy:hover p,
.page-shell .mini:hover p {
  max-height: 120px;
  margin-top: 10px;
  opacity: .74;
}

.card,
.mini,
.stat,
.project-card,
.gallery figure,
.command-strip div,
.history-panel,
.form-panel,
.about-reality-panel,
.scene-shell:not(.project-console) {
  position: relative;
  overflow: hidden;
}

.card::after,
.mini::after,
.stat::after,
.gallery figure::after,
.command-strip div::after,
.history-panel::after,
.form-panel::after,
.scene-shell:not(.project-console)::after {
  content: "";
  position: absolute;
  inset: -80% -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(95,200,214,.22) 50%, transparent 58%);
  transform: translateX(-42%) rotate(10deg);
  opacity: .58;
  pointer-events: none;
  animation: commandGlassSweep 5.8s ease-in-out infinite;
}

.card h3,
.mini h3,
.project-card h3,
.command-strip h3,
.gallery figcaption {
  display: inline-block;
  color: #f4f1e8;
  transform: perspective(760px) translateZ(18px) rotateX(5deg);
}

.card h3::before,
.mini h3::before,
.project-card h3::before,
.command-strip h3::before,
.gallery figcaption::before {
  content: "LIVE / ";
  color: var(--gold);
  letter-spacing: .12em;
  opacity: .95;
}

.scene-shell:not(.project-console) {
  min-height: clamp(360px, 47vw, 650px);
  border-color: rgba(244,241,232,.42) !important;
  background:
    radial-gradient(circle at 28% 34%, rgba(95,200,214,.24), transparent 25%),
    radial-gradient(circle at 78% 62%, rgba(200,140,55,.18), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(3,7,8,.16) 44%, rgba(255,255,255,.06)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 0 80px rgba(95,200,214,.12),
    0 30px 90px rgba(0,0,0,.3) !important;
  backdrop-filter: blur(4px) saturate(1.35);
  transform-style: preserve-3d;
}

.scene-shell:not(.project-console)::before {
  content: "3D CM CONTROL";
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  top: clamp(18px, 4vw, 54px);
  z-index: 2;
  max-width: 7ch;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .76;
  font-weight: 1000;
  text-transform: uppercase;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(120deg, #fff, #c88c37 42%, #5fc8d6 62%, #fff);
  background-size: 210% 100%;
  opacity: .9;
  transform: perspective(840px) rotateX(12deg) rotateY(-14deg);
  filter: drop-shadow(0 26px 28px rgba(0,0,0,.62));
  animation: commandTextSweep 6.4s linear infinite;
  pointer-events: none;
}

.scene-shell:not(.project-console) .scene-canvas {
  opacity: .16;
  mix-blend-mode: screen;
  filter: blur(.2px) saturate(1.45);
}

.page-shell .scene-shell:not(.project-console) .scene-canvas {
  opacity: .08;
}

.scene-shell:not(.project-console) .hud {
  position: absolute;
  z-index: 3;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.scene-shell:not(.project-console) .hud span {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(244,241,232,.36);
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.035) 52%, rgba(0,0,0,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 44px rgba(0,0,0,.22);
  transform: translateZ(20px);
  animation: commandPanelFloat 4.6s ease-in-out infinite;
}

.scene-shell:not(.project-console) .hud span:nth-child(2) {
  animation-delay: -.8s;
}

.scene-shell:not(.project-console) .hud span:nth-child(3) {
  animation-delay: -1.5s;
}

.scene-shell:not(.project-console) .hud b {
  display: block;
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: .9;
  text-transform: uppercase;
}

.site-header {
  box-shadow: 0 20px 80px rgba(0,0,0,.28), inset 0 -1px 0 rgba(255,255,255,.1);
}

.nav-links a,
.btn {
  position: relative;
  overflow: hidden;
}

.nav-links a::after,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(95,200,214,.18), transparent);
  transform: translateX(-125%);
  transition: transform .42s ease;
  pointer-events: none;
}

.nav-links a:hover::after,
.btn:hover::after {
  transform: translateX(125%);
}

@keyframes commandTextSweep {
  0% { background-position: 0% 50%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 28px 38px rgba(95,200,214,.18)); }
  100% { background-position: 0% 50%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }
}

@keyframes commandGlassSweep {
  0%, 18% { transform: translateX(-62%) rotate(10deg); opacity: 0; }
  45% { opacity: .58; }
  78%, 100% { transform: translateX(62%) rotate(10deg); opacity: 0; }
}

@keyframes commandPanelFloat {
  0%, 100% { transform: translate3d(0,0,20px); }
  50% { transform: translate3d(0,-8px,34px); }
}

@media (max-width: 860px) {
  .page-shell .hero.compact,
  .page-shell .hero.compact .hero-grid {
    min-height: auto;
  }

  .page-shell .hero.compact .hero-grid {
    grid-template-columns: 1fr;
    padding: 96px 0 28px;
  }

  .page-shell .hero.compact h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 18vw, 5.6rem);
  }

  .scene-shell:not(.project-console) {
    min-height: 420px;
  }

  .scene-shell:not(.project-console)::before {
    font-size: clamp(2.6rem, 14vw, 4.8rem);
  }

  .scene-shell:not(.project-console) .hud {
    grid-template-columns: 1fr;
  }

  .scene-shell:not(.project-console) .hud span {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell .hero.compact h1,
  .scene-shell:not(.project-console)::before,
  .scene-shell:not(.project-console) .hud span,
  .card::after,
  .mini::after,
  .stat::after,
  .gallery figure::after,
  .command-strip div::after,
  .history-panel::after,
  .form-panel::after,
  .scene-shell:not(.project-console)::after {
    animation: none !important;
  }
}

/* 21st/SiteReadout-inspired project hologram override */
body.projects-world .page-shell .hero.compact h1 {
  max-width: 8.4ch;
  font-size: clamp(4.8rem, 9.2vw, 9.8rem);
  line-height: .74;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: var(--ink);
  -webkit-background-clip: initial;
  background-clip: initial;
  transform: perspective(900px) rotateX(4deg) rotateY(-7deg);
  animation: none;
}

body.projects-world .project-console-copy p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}

body.projects-world .project-console-copy strong {
  color: var(--ink);
  text-shadow: 0 18px 34px rgba(0,0,0,.6), 0 0 18px rgba(95,200,214,.12);
}

body.live-command-site .page-shell .hero.compact h1 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: .82;
  max-width: 7.8ch;
}

body.projects-world .hero-grid > .reveal:first-child {
  padding-left: clamp(22px, 2vw, 36px);
  width: min(600px, 43vw);
}

body.projects-world .page-shell .hero.compact h1 {
  font-size: clamp(3.9rem, 7.5vw, 7rem);
  max-width: 7.4ch;
}

body.photoreal-cm .flight-panel {
  width: min(560px, calc(100vw - 36px));
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(95,200,214,.32);
  border-left: 1px solid rgba(201,140,55,.66);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

body.photoreal-cm .flight-panel h1 {
  max-width: 7.4ch;
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  line-height: .78;
}

body.photoreal-cm .flight-panel p {
  max-width: 44ch;
  font-size: .9rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(244,241,232,.74);
}
