:root {
  --ink: #10110f;
  --paper: #f2f0e8;
  --paper-2: #e8e5da;
  --acid: #d7ff4f;
  --orange: #ff5b22;
  --muted: #75776f;
  --line: rgba(16, 17, 15, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-150%);
  background: var(--acid);
  font: 500 0.75rem/1 var(--mono);
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  width: max-content;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font: 500 0.8rem/1 var(--mono);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.site-nav {
  display: flex;
  gap: 2.2rem;
  font: 400 0.68rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a,
.project-copy a,
.text-link {
  position: relative;
}

.site-nav a::after,
.project-copy a::after,
.text-link::after {
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 300ms ease;
}

.site-nav a:hover::after,
.project-copy a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-self: end;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font: 400 0.65rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}

.header-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem clamp(1.25rem, 4vw, 4.5rem) 3.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 37%, rgba(215, 255, 79, 0.1), transparent 23rem),
    linear-gradient(115deg, #11120f 0%, #161713 58%, #10110f 100%);
  color: var(--paper);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 18%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 32vw 0 rgba(255, 255, 255, 0.07), 64vw 0 rgba(255, 255, 255, 0.07);
  content: "";
}

.hero::after {
  position: absolute;
  top: 22%;
  right: -8rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.018), 0 0 0 12rem rgba(255, 255, 255, 0.012);
  content: "";
}

.hero-kicker,
.eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 2.4rem;
  font: 400 0.66rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0.3rem rgba(215, 255, 79, 0.12);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 85rem;
  margin: 0;
  font-size: clamp(4rem, 10.1vw, 10.5rem);
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -0.085em;
}

.hero-line {
  display: flex;
  gap: 0.12em;
  align-items: center;
}

.hero h1 em,
.studio-section h2 em,
.contact-section h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.orbit-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(4rem, 8vw, 8rem);
  height: clamp(4rem, 8vw, 8rem);
  margin: 0 0 0 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.orbit-mark::before,
.orbit-mark::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.orbit-mark::before {
  inset: 17%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.orbit-mark::after {
  top: -0.25rem;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--acid);
  animation: orbit 5s linear infinite;
  transform-origin: 0.25rem calc(clamp(4rem, 8vw, 8rem) / 2 + 0.25rem);
}

.orbit-mark span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--acid);
}

.hero-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-footer p {
  max-width: 35rem;
  margin: 0;
  color: #aaa9a2;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.text-link {
  display: flex;
  gap: 2.5rem;
  font: 400 0.66rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  z-index: 1;
  top: 8rem;
  right: clamp(1.25rem, 4vw, 4.5rem);
  color: #7f8179;
  font: 300 0.62rem/1 var(--mono);
  letter-spacing: 0.16em;
}

.reveal {
  animation: reveal-up 900ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-1 { animation-delay: 120ms; }
.reveal-2 { animation-delay: 220ms; }
.reveal-3 { animation-delay: 360ms; }

.ticker {
  padding: 1.05rem 0;
  overflow: hidden;
  background: var(--acid);
  border-bottom: 1px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker span {
  padding: 0 2rem;
  font: 500 clamp(0.75rem, 1.1vw, 0.95rem)/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker b {
  font-size: 0.8rem;
}

.work-section {
  padding: 8rem clamp(1.25rem, 4vw, 4.5rem) 10rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2.3fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 6rem;
}

.section-heading .eyebrow {
  align-self: start;
  margin: 0;
  color: var(--muted);
}

.section-heading h2,
.studio-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child {
  max-width: 21rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-top: 9rem;
}

.project:first-of-type {
  margin-top: 0;
}

.project:nth-of-type(odd) {
  grid-template-columns: minmax(18rem, 1fr) minmax(0, 2.1fr);
}

.project:nth-of-type(odd) .project-visual {
  grid-column: 2;
}

.project:nth-of-type(odd) .project-copy {
  grid-row: 1;
  grid-column: 1;
}

.project-visual {
  position: relative;
  display: block;
  min-height: clamp(29rem, 50vw, 46rem);
  overflow: hidden;
  isolation: isolate;
  border-radius: 0.15rem;
  box-shadow: 0 1.5rem 5rem rgba(16, 17, 15, 0.12);
}

.project-visual::after {
  position: absolute;
  z-index: 20;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  content: "";
  opacity: 0;
  transition: opacity 400ms ease;
}

.project-visual:hover::after {
  opacity: 1;
}

.view-project {
  position: absolute;
  z-index: 25;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 0.8rem 0.95rem;
  transform: translateY(0.5rem);
  border: 1px solid currentColor;
  background: var(--paper);
  color: var(--ink);
  font: 500 0.62rem/1 var(--mono);
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
  transition: transform 300ms ease, opacity 300ms ease;
}

.project-visual:hover .view-project {
  transform: translateY(0);
  opacity: 1;
}

.project-copy {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.2rem;
  padding-bottom: 0.4rem;
}

.project-number,
.project-type {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-number {
  padding-top: 0.55rem;
  color: var(--muted);
}

.project-type {
  margin: 0 0 1.3rem;
  color: var(--muted);
}

.project-copy h3 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-copy p:not(.project-type) {
  max-width: 32rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.project-copy a {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  padding-bottom: 0.2rem;
  font: 500 0.65rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Galerra visual */
.visual-galerra {
  background: #deddd8;
  color: #171816;
}

.browser-bar {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  width: 100%;
  height: 2.35rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.browser-bar span {
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
}

.browser-bar small {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 300 0.5rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.gallery-scene {
  position: absolute;
  inset: 2.35rem 0 0;
  overflow: hidden;
  perspective: 60rem;
  background: linear-gradient(#f2f1ed 0 74%, #d0cec8 74%);
}

.gallery-logo {
  position: absolute;
  z-index: 5;
  top: 1.25rem;
  left: 1.3rem;
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 1px solid #171816;
  font: 500 0.7rem/1 var(--mono);
}

.gallery-scene p {
  position: absolute;
  z-index: 7;
  top: 14%;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(2.3rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-align: center;
  white-space: nowrap;
}

.gallery-scene p i {
  font-family: Georgia, serif;
  font-weight: 400;
}

.gallery-wall {
  position: absolute;
  z-index: 3;
  top: 42%;
  width: 54%;
  height: 55%;
  background: #ecebe7;
  border: 1px solid #cfcec9;
}

.wall-left {
  left: -7%;
  transform: rotateY(22deg) skewY(1deg);
}

.wall-right {
  right: -7%;
  transform: rotateY(-22deg) skewY(-1deg);
}

.artwork {
  position: absolute;
  z-index: 5;
  top: 54%;
  width: 13%;
  height: 24%;
  padding: 0.35rem;
  border: 0.35rem solid #fafafa;
  box-shadow: 0 0.7rem 1rem rgba(0, 0, 0, 0.14);
}

.artwork::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #193339, #c65836 48%, #e1c081 49%, #5f2b2b);
  content: "";
}

.artwork-one { left: 10%; transform: perspective(20rem) rotateY(14deg); }
.artwork-two { left: 43.5%; }
.artwork-three { right: 10%; transform: perspective(20rem) rotateY(-14deg); }

.artwork-two::before { background: linear-gradient(35deg, #31466b, #d8aa80 48%, #f1ede0 49%, #c65536); }
.artwork-three::before { background: radial-gradient(circle at 70% 35%, #d4cbbe 0 18%, transparent 19%), linear-gradient(125deg, #1e1d22, #705343 48%, #b04d34); }

.gallery-floor {
  position: absolute;
  z-index: 2;
  right: -10%;
  bottom: -23%;
  left: -10%;
  height: 50%;
  transform: perspective(30rem) rotateX(54deg);
  background: repeating-linear-gradient(90deg, #bab8b1 0 1px, transparent 1px 4.5rem), repeating-linear-gradient(0deg, #bab8b1 0 1px, transparent 1px 4.5rem);
}

/* VXLVERSE visual */
.visual-vxl {
  background: #ffd84d;
  color: #1d1c17;
}

.vxl-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.vxl-grid::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent, #ffd84d 70%);
  content: "";
}

.vxl-wordmark {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 72%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.vxl-wordmark small,
.vxl-wordmark span {
  display: block;
  font: 500 0.6rem/1.4 var(--mono);
  letter-spacing: 0.13em;
}

.vxl-wordmark strong {
  display: block;
  margin: 1rem 0;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.68;
  letter-spacing: -0.11em;
  text-shadow: 4px 4px 0 #fff7d2;
}

.voxel-stack {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 2.6rem);
  gap: 0.25rem;
  transform: rotate(-8deg);
}

.voxel-stack i {
  width: 2.6rem;
  height: 2.6rem;
  background: #7560d9;
  border: 2px solid #1d1c17;
  box-shadow: inset -0.5rem -0.5rem 0 rgba(0, 0, 0, 0.15), 0.35rem 0.35rem 0 rgba(29, 28, 23, 0.25);
}

.voxel-a { top: 8%; right: 5%; }
.voxel-b { bottom: 8%; left: 5%; transform: rotate(11deg); }
.voxel-b i { background: #55b8a3; }

/* Appoploo visual */
.visual-appoploo {
  display: grid;
  place-items: center;
  background: #dfe7f0;
  color: #1c2635;
}

.visual-appoploo::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, #f5ede1 0, transparent 32%), linear-gradient(135deg, transparent 0 60%, rgba(62, 91, 128, 0.08) 60%);
  content: "";
}

.app-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 4rem 1fr;
  width: 84%;
  height: 72%;
  overflow: hidden;
  transform: rotate(-2deg);
  border: 1px solid rgba(29, 42, 59, 0.18);
  border-radius: 0.5rem;
  background: #f8fafb;
  box-shadow: 0 2.5rem 5rem rgba(42, 62, 88, 0.22);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.visual-appoploo:hover .app-shell {
  transform: rotate(0) scale(1.02);
}

.app-shell aside {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-direction: column;
  padding: 1rem 0;
  background: #253b5b;
}

.app-logo {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 0.8rem;
}

.app-shell aside i {
  width: 0.85rem;
  height: 0.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.35);
}

.app-shell aside i:nth-of-type(2) {
  background: #fff;
}

.app-content {
  padding: clamp(1rem, 3vw, 2.2rem);
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font: 500 clamp(0.65rem, 1vw, 0.9rem)/1 var(--mono);
}

.app-topline b {
  padding: 0.6rem;
  border-radius: 0.2rem;
  background: #253b5b;
  color: #fff;
  font-size: 0.45rem;
  font-weight: 400;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.app-stats div {
  display: flex;
  gap: 0.9rem;
  flex-direction: column;
  padding: clamp(0.7rem, 2vw, 1.3rem);
  border: 1px solid #dde3e9;
  background: #fff;
}

.app-stats small { color: #77818c; font-size: clamp(0.35rem, 0.6vw, 0.55rem); }
.app-stats strong { font: 500 clamp(1.2rem, 2.5vw, 2.3rem)/1 var(--mono); }

.app-lower {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.6rem;
  height: 50%;
  margin-top: 0.6rem;
}

.fleet-list,
.sea-map {
  position: relative;
  overflow: hidden;
  border: 1px solid #dde3e9;
  background: #fff;
}

.fleet-list { display: flex; gap: 0.7rem; flex-direction: column; padding: 1rem; }
.fleet-list span { height: 0.4rem; background: #dbe1e7; }
.fleet-list span:nth-child(even) { width: 70%; }

.sea-map {
  background: linear-gradient(35deg, transparent 49%, rgba(51, 93, 120, 0.18) 50%, transparent 51%), #dbeaf0;
}

.sea-map::before,
.sea-map::after {
  position: absolute;
  width: 70%;
  height: 55%;
  border: 1px solid rgba(61, 107, 131, 0.3);
  border-radius: 50%;
  content: "";
}

.sea-map::before { top: -20%; left: -10%; }
.sea-map::after { right: -30%; bottom: -20%; }
.sea-map i { position: absolute; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #ef8165; }
.sea-map i:nth-child(1) { top: 24%; left: 35%; }
.sea-map i:nth-child(2) { top: 60%; left: 62%; }
.sea-map i:nth-child(3) { top: 42%; left: 78%; }
.sea-map b { position: absolute; top: 38%; left: 50%; font-size: 1.6rem; }

/* Ranger visual */
.visual-ranger {
  background: #101412;
  color: #6ce1b7;
}

.scanlines {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.2;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(108, 225, 183, 0.15) 4px);
  pointer-events: none;
}

.visual-ranger::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(67, 218, 164, 0.12), transparent 65%);
  content: "";
}

.ranger-interface {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(72%, 40rem);
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  text-align: center;
}

.ranger-interface small {
  display: block;
  margin-bottom: 0.7rem;
  font-size: clamp(0.45rem, 0.8vw, 0.7rem);
  letter-spacing: 0.12em;
}

.ranger-interface strong {
  display: block;
  padding: 0.5rem 0;
  color: #d7f8eb;
  font-size: clamp(1.6rem, 4.2vw, 4.4rem);
  line-height: 1;
  text-shadow: 0 0 1.4rem rgba(108, 225, 183, 0.35);
}

.ranger-interface strong span { color: #6ce1b7; }
.terminal-line { height: 0.35rem; margin: 2rem 0 1rem; overflow: hidden; border: 1px solid #344b42; }
.terminal-line i { display: block; width: 68%; height: 100%; background: #6ce1b7; animation: loading 4s ease-in-out infinite; }
.ranger-interface p { font-size: clamp(0.43rem, 0.75vw, 0.65rem); letter-spacing: 0.08em; }

.radar {
  position: absolute;
  z-index: 3;
  right: -5%;
  bottom: -15%;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(108, 225, 183, 0.2);
  border-radius: 50%;
}

.radar i { position: absolute; border: 1px solid rgba(108, 225, 183, 0.14); border-radius: 50%; }
.radar i:nth-child(1) { inset: 18%; }
.radar i:nth-child(2) { inset: 36%; }
.radar i:nth-child(3) { top: 50%; left: 50%; width: 50%; height: 1px; border: 0; transform-origin: left; background: #6ce1b7; animation: radar 5s linear infinite; }

/* Fire Escape visual */
.visual-fire {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #151c28;
  background-size: 3rem 3rem;
  color: #f8f6ef;
}

.visual-fire::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 18% 23%, rgba(255, 190, 35, 0.1), transparent 18rem),
    linear-gradient(135deg, transparent 58%, rgba(255, 81, 36, 0.08));
  content: "";
}

.fire-glow {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 7%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 84, 29, 0.3), transparent 68%);
  filter: blur(1rem);
  animation: fire-pulse 3.5s ease-in-out infinite;
}

.fire-city {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 0;
  display: flex;
  gap: 0.35rem;
  align-items: flex-end;
  width: 58%;
  height: 48%;
}

.fire-city i {
  position: relative;
  display: block;
  flex: 1;
  height: 62%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    repeating-linear-gradient(90deg, transparent 0 0.8rem, rgba(255, 193, 61, 0.3) 0.85rem 1rem),
    repeating-linear-gradient(0deg, transparent 0 1rem, rgba(255, 193, 61, 0.14) 1.05rem 1.2rem),
    #202a39;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.25);
}

.fire-city i:nth-child(2) { height: 88%; }
.fire-city i:nth-child(3) { height: 53%; }
.fire-city i:nth-child(4) { height: 100%; }
.fire-city i:nth-child(5) { height: 72%; }
.fire-city i:nth-child(6) { height: 45%; }

.fire-city i:nth-child(4)::after {
  position: absolute;
  top: 29%;
  left: 42%;
  width: 1.2rem;
  height: 1.6rem;
  background: var(--orange);
  box-shadow: 0 0 1.8rem 0.5rem rgba(255, 91, 34, 0.65);
  content: "";
  clip-path: polygon(50% 0, 92% 56%, 76% 100%, 24% 100%, 8% 56%);
}

.fire-interface {
  position: absolute;
  z-index: 6;
  top: 48%;
  left: 8%;
  width: 58%;
  transform: translateY(-50%);
}

.fire-interface small,
.fire-interface p {
  font: 400 clamp(0.45rem, 0.75vw, 0.65rem)/1.5 var(--mono);
  letter-spacing: 0.16em;
}

.fire-interface small {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: #aab2bd;
}

.fire-interface small::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ffc431;
  box-shadow: 0 0 0 0.25rem rgba(255, 196, 49, 0.11);
  content: "";
}

.fire-interface strong {
  display: block;
  margin: 1.6rem 0 1rem;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.fire-interface strong span { color: var(--orange); }
.fire-interface p { max-width: 25rem; color: #99a2ae; }

.emergency-meter {
  display: flex;
  gap: 0.35rem;
  width: min(90%, 23rem);
  margin-top: 2rem;
}

.emergency-meter i {
  display: block;
  width: 20%;
  height: 0.35rem;
  background: #ffbe2e;
}

.emergency-meter i:nth-child(4),
.emergency-meter i:nth-child(5) {
  background: var(--orange);
}

.fire-compass {
  position: absolute;
  z-index: 5;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffbe2e;
  font: 500 0.6rem/1 var(--mono);
}

.fire-compass::after {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  border-right: 0.25rem solid transparent;
  border-bottom: 0.65rem solid var(--orange);
  border-left: 0.25rem solid transparent;
  content: "";
  transform: translateX(-50%) rotate(180deg);
}

.studio-section {
  padding: 8rem clamp(1.25rem, 4vw, 4.5rem);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.studio-section > .eyebrow {
  margin-bottom: 5rem;
  color: var(--muted);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 6rem;
  align-items: end;
}

.studio-copy {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.studio-copy p { margin: 0 0 1.2rem; }

.capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capabilities span {
  padding: 1.4rem 0.8rem;
  border-right: 1px solid var(--line);
  font: 400 0.6rem/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.capabilities span:last-child { border-right: 0; }

.contact-section {
  position: relative;
  min-height: 43rem;
  padding: 7rem clamp(1.25rem, 4vw, 4.5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.contact-section h2 {
  position: relative;
  z-index: 2;
  max-width: 57rem;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.78;
}

.contact-section > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  margin: 3rem 0 2rem;
  color: #92938c;
  font-size: 0.9rem;
}

.contact-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 5rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font: 400 0.68rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}

.contact-link:hover { background: var(--acid); color: var(--ink); }

.contact-orbit {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(35vw, 30rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: slow-spin 18s linear infinite;
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-orbit::before { inset: 17%; }
.contact-orbit::after { inset: 34%; }
.contact-orbit i { position: absolute; width: 1rem; height: 1rem; background: var(--acid); }
.contact-orbit i:first-child { top: -0.5rem; left: 50%; transform: rotate(45deg); }
.contact-orbit i:last-child { right: 9%; bottom: 14%; border-radius: 50%; background: var(--orange); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
  background: var(--ink);
  color: #72736e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font: 400 0.57rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; }
.footer-brand { color: var(--paper); text-transform: none; }

@keyframes reveal-up {
  from { transform: translateY(2rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 0.55rem rgba(215, 255, 79, 0); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes radar {
  to { transform: rotate(360deg); }
}

@keyframes loading {
  0%, 100% { width: 42%; }
  50% { width: 86%; }
}

@keyframes fire-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes slow-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

@media (max-width: 900px) {
  .section-heading {
    grid-template-columns: 1fr 2.5fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .project,
  .project:nth-of-type(odd) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project:nth-of-type(odd) .project-visual,
  .project:nth-of-type(odd) .project-copy {
    grid-row: auto;
    grid-column: auto;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities span:nth-child(2n) { border-right: 0; }
  .capabilities span { border-bottom: 1px solid var(--line); }
  .capabilities span:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .site-nav { display: none; }
  .header-cta { padding: 0.75rem; }
  .header-cta span { display: none; }

  .hero {
    min-height: 48rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
    line-height: 0.9;
  }

  .hero-line { align-items: flex-end; flex-wrap: wrap; }
  .orbit-mark { margin-left: auto; }

  .hero-footer {
    gap: 2.5rem;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 2.5rem;
  }

  .hero-footer p { max-width: 90%; }
  .hero-index { display: none; }

  .work-section { padding-top: 6rem; padding-bottom: 7rem; }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }

  .section-heading > p:last-child { grid-column: 1; }
  .project { margin-top: 6.5rem; }

  .project-visual {
    min-height: 26rem;
  }

  .project-copy {
    grid-template-columns: 1.7rem 1fr;
  }

  .view-project {
    transform: translateY(0);
    opacity: 1;
  }

  .voxel-stack { transform: scale(0.75) rotate(-8deg); }
  .voxel-b { transform: scale(0.75) rotate(11deg); }

  .app-shell {
    width: 94%;
    height: 67%;
    grid-template-columns: 2.7rem 1fr;
  }

  .app-shell aside { gap: 1rem; }
  .app-content { padding: 0.75rem; }
  .app-topline { margin-bottom: 0.7rem; }
  .app-stats { gap: 0.3rem; }
  .app-stats div { gap: 0.5rem; padding: 0.55rem; }
  .app-lower { gap: 0.3rem; margin-top: 0.3rem; }

  .studio-section { padding-top: 6rem; padding-bottom: 6rem; }
  .studio-section > .eyebrow { margin-bottom: 3rem; }
  .capabilities { margin-top: 4rem; }

  .contact-section { min-height: 39rem; padding-top: 6rem; }
  .contact-section h2 { font-size: clamp(4rem, 20vw, 6.5rem); }
  .contact-orbit { top: auto; right: -15%; bottom: -5%; width: 70vw; transform: none; }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .site-footer p:nth-of-type(1) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
