:root {
  color-scheme: dark;
  --ink: #e6e6e6;
  --muted: #9a9a9a;
  --dim: #5f5f5f;
  --ground: #050505;
  --ground-2: #090909;
  --rule: rgba(230, 230, 230, 0.075);
  --rule-strong: rgba(230, 230, 230, 0.18);
  --cad-primary: rgba(230, 230, 230, 0.92);
  --cad-secondary: rgba(230, 230, 230, 0.42);
  --cad-tertiary: rgba(230, 230, 230, 0.22);
  --cad-faint: rgba(230, 230, 230, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ground);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::selection {
  background: rgba(230, 230, 230, 0.22);
}

p,
figure {
  margin: 0;
}

.site-shell {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.92)),
    linear-gradient(145deg, var(--ground), var(--ground-2) 58%, #030303);
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-shell::before {
  z-index: -1;
  opacity: 0.24;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(230, 230, 230, 0.05) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(230, 230, 230, 0.035) 5px 6px),
    repeating-linear-gradient(116deg, transparent 0 84px, rgba(230, 230, 230, 0.028) 84px 85px, transparent 85px 172px);
  mix-blend-mode: screen;
}

.site-shell::after {
  z-index: -1;
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 28%, rgba(230, 230, 230, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 38%, rgba(230, 230, 230, 0.07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 74%, rgba(230, 230, 230, 0.05) 0 1px, transparent 1.5px),
    repeating-linear-gradient(178deg, transparent 0 36px, rgba(230, 230, 230, 0.026) 36px 37px, transparent 37px 104px);
  background-size: 96px 96px, 132px 132px, 168px 168px, 100% 100%;
}

.drafting-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.58;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px),
    linear-gradient(var(--rule-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-strong) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 86%, transparent 100%);
}

.site-meta {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.45;
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  align-items: end;
}

.blueprint {
  position: absolute;
  inset: clamp(56px, 7vh, 88px) -8vw clamp(170px, 22vh, 230px);
  display: grid;
  place-items: center;
  opacity: 0.56;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 82%, transparent 100%);
}

.blueprint svg {
  width: min(106vw, 1320px);
  height: auto;
  max-height: 68vh;
  overflow: visible;
  shape-rendering: geometricPrecision;
  transform: translateY(-4vh);
}

.paper-lines path {
  fill: none;
  stroke: var(--cad-faint);
  stroke-width: 0.55;
}

.draw {
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: cad-line 5.4s linear forwards;
  animation-delay: var(--delay);
}

.far-skyline,
.city-grid,
.midtown-masses,
.foreground-masses,
.urban-fabric,
.facade-grid,
.window-matrix,
.rooftop-detail,
.dimensions,
.plot-point,
.drafting-cursor {
  display: none;
}

.isometric-city {
  filter: url("#city-glow");
  opacity: 0.74;
}

.iso-shape {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: cad-form 9.2s cubic-bezier(0.18, 0.72, 0.24, 1) forwards;
  animation-delay: var(--delay);
}

.iso-dot {
  opacity: 0;
  animation: cad-fade 2.2s linear forwards;
  animation-delay: var(--delay);
}

.iso-road {
  stroke: rgba(230, 230, 230, 0.38);
  stroke-width: 0.62;
}

.iso-lane {
  stroke: rgba(194, 219, 214, 0.22);
  stroke-width: 0.42;
}

.iso-block {
  stroke: rgba(230, 230, 230, 0.28);
  stroke-width: 0.5;
}

.motion-route {
  fill: none;
  stroke: none;
}

.depth-shadow {
  fill: rgba(0, 0, 0, 0.62);
  filter: url("#soft-depth");
  opacity: 0;
  animation: depth-rise 4.8s ease forwards;
  animation-delay: var(--delay);
}

.face-left {
  fill: url("#glass-left");
  stroke: rgba(232, 238, 232, 0.64);
  stroke-width: 0.72;
}

.face-right {
  fill: url("#glass-right");
  stroke: rgba(232, 240, 238, 0.7);
  stroke-width: 0.76;
}

.roof {
  fill: url("#roof-glass");
  stroke: rgba(238, 242, 234, 0.8);
  stroke-width: 0.8;
}

.strong-face {
  stroke: rgba(242, 244, 238, 0.82);
}

.strong-roof {
  stroke: rgba(246, 247, 238, 0.92);
}

.tower {
  stroke: rgba(244, 246, 238, 0.88);
  stroke-width: 0.86;
}

.tower-roof {
  stroke: rgba(248, 248, 240, 0.96);
}

.city-faint {
  fill: url("#glass-left");
  stroke: rgba(230, 236, 228, 0.48);
  stroke-width: 0.54;
}

.city-faint-roof {
  fill: url("#roof-glass");
  stroke: rgba(230, 236, 228, 0.58);
  stroke-width: 0.58;
}

.park {
  fill: url("#park-canopy");
  stroke: rgba(186, 220, 170, 0.58);
  stroke-width: 0.58;
}

.water {
  fill: url("#water-glass");
  stroke: rgba(172, 214, 220, 0.54);
  stroke-width: 0.58;
}

.tree {
  fill: rgba(185, 224, 165, 0.82);
  filter: url("#light-bloom");
}

.nature-line {
  stroke: rgba(188, 226, 166, 0.6);
  stroke-width: 0.5;
}

.facade {
  stroke: rgba(228, 236, 232, 0.54);
  stroke-width: 0.48;
}

.shimmer {
  stroke: rgba(214, 234, 236, 0.32);
  stroke-width: 0.34;
}

.material-facet {
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  stroke: none;
  animation: material-rise 7.8s cubic-bezier(0.18, 0.72, 0.24, 1) forwards;
  animation-delay: var(--delay);
}

.glass-facet {
  fill: url("#facade-sheen");
}

.glass-facet.cool {
  fill: rgba(154, 211, 224, 0.12);
}

.glass-facet.warm {
  fill: rgba(255, 214, 132, 0.08);
}

.green-facet {
  fill: url("#green-roof");
}

.micro-texture {
  stroke: rgba(222, 238, 238, 0.22);
  stroke-width: 0.28;
}

.green-texture {
  stroke: rgba(185, 226, 162, 0.36);
  stroke-width: 0.34;
}

.roof-volume {
  fill: rgba(234, 240, 230, 0.12);
  stroke: rgba(238, 242, 234, 0.58);
  stroke-width: 0.5;
}

.roof-volume.side {
  fill: rgba(126, 153, 150, 0.08);
}

.parapet,
.cornice,
.terrace-line,
.ornament-line,
.crown-line,
.rooftop-hatch {
  stroke: rgba(232, 240, 234, 0.52);
  stroke-width: 0.44;
}

.cornice,
.ornament-line {
  stroke: rgba(236, 230, 206, 0.4);
}

.crown-line {
  stroke: rgba(244, 239, 218, 0.58);
  stroke-width: 0.5;
}

.rooftop-hatch {
  stroke: rgba(238, 244, 238, 0.38);
  stroke-width: 0.34;
}

.rooftop-unit,
.solar-strip,
.glass-roof-detail {
  stroke: rgba(222, 236, 232, 0.42);
  stroke-width: 0.36;
}

.solar-strip {
  stroke: rgba(152, 218, 230, 0.34);
}

.glass-roof-detail {
  stroke: rgba(238, 244, 238, 0.5);
}

.roof-tank,
.mechanical-dot {
  fill: rgba(234, 240, 230, 0.58);
  filter: url("#light-bloom");
}

.roof-garden {
  stroke: rgba(185, 226, 162, 0.44);
  stroke-width: 0.44;
}

.facade-surface {
  mix-blend-mode: screen;
  opacity: 0;
}

.facade-surface.glass {
  fill: url("#glass-window-grid");
}

.facade-surface.stone {
  fill: url("#stone-window-grid");
}

.facade-surface.dark {
  fill: url("#dark-window-grid");
}

.roof-texture {
  fill: url("#roof-gravel");
  mix-blend-mode: screen;
}

.window-mullions {
  stroke: rgba(222, 236, 232, 0.52);
  stroke-width: 0.46;
}

.window-mullions.stone {
  stroke: rgba(236, 230, 206, 0.48);
}

.facade-patina {
  stroke: rgba(190, 210, 206, 0.34);
  stroke-width: 0.38;
}

.facade-patina.warm {
  stroke: rgba(236, 203, 148, 0.34);
}

.facade-shadow-line {
  stroke: rgba(0, 0, 0, 0.44);
  stroke-width: 0.9;
}

.construction-strata {
  pointer-events: none;
}

.build-layer,
.print-head {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.build-layer {
  filter: url("#light-bloom");
  opacity: 0;
  stroke: rgba(224, 238, 232, 0.38);
  stroke-width: 0.54;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation:
    layer-print 2.9s ease forwards,
    layer-breathe 5.6s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 1.4s);
}

.build-layer.bright {
  stroke: rgba(255, 218, 146, 0.42);
  stroke-width: 0.62;
}

.print-head {
  filter: url("#light-bloom");
  opacity: 0;
  stroke: rgba(246, 248, 236, 0.78);
  stroke-width: 1.05;
  stroke-dasharray: 9 92;
  stroke-dashoffset: 100;
  animation: print-sweep 11.4s cubic-bezier(0.2, 0.7, 0.24, 1) forwards;
  animation-delay: var(--delay);
}

.roof-grid {
  stroke: rgba(230, 237, 230, 0.34);
  stroke-width: 0.42;
}

.window-lit {
  filter: url("#light-bloom");
  stroke-linecap: round;
  stroke-width: 1.15;
}

.window-lit.dim {
  filter: none;
  stroke: rgba(210, 228, 226, 0.4);
  stroke-width: 0.62;
}

.window-lit.dim.warm {
  stroke: rgba(236, 202, 138, 0.42);
}

.window-lit.warm,
.light-node.warm {
  stroke: rgba(255, 214, 132, 0.62);
  fill: rgba(255, 214, 132, 0.72);
}

.window-lit.cool,
.light-node.cool {
  stroke: rgba(168, 224, 236, 0.5);
  fill: rgba(168, 224, 236, 0.68);
}

.roof-equipment {
  stroke: rgba(230, 238, 226, 0.46);
  stroke-width: 0.48;
}

.vertical-green {
  stroke: rgba(174, 224, 148, 0.48);
  stroke-width: 0.72;
}

.light-node {
  filter: url("#light-bloom");
  opacity: 0;
  animation: light-rise 2.4s ease forwards;
  animation-delay: var(--delay);
}

.traffic-dot {
  filter: url("#light-bloom");
  opacity: 0;
  animation:
    traffic-emerge 2.4s ease forwards,
    traffic-pulse 3.8s ease-in-out infinite;
  animation-delay: var(--delay, 5.2s), calc(var(--delay, 5.2s) + 2.4s);
}

.flow-line {
  fill: none;
  filter: url("#light-bloom");
  opacity: 0;
  stroke-linecap: round;
  stroke-width: 0.86;
  stroke-dasharray: 2 18;
  stroke-dashoffset: 80;
  vector-effect: non-scaling-stroke;
  animation:
    flow-rise 2.8s ease 5.6s forwards,
    flow-dash 10s linear 5.6s infinite;
}

.flow-line.slow {
  animation-duration: 2.8s, 14s;
}

.flow-line.thin {
  stroke-width: 0.58;
  stroke-dasharray: 1.4 22;
}

.flow-line.warm {
  stroke: rgba(255, 202, 116, 0.32);
}

.flow-line.cool {
  stroke: rgba(138, 226, 242, 0.26);
}

.flow-line.green {
  stroke: rgba(166, 240, 152, 0.26);
}

.traffic-dot.warm {
  fill: rgba(255, 202, 116, 0.9);
}

.traffic-dot.cool {
  fill: rgba(138, 226, 242, 0.78);
}

.traffic-dot.green {
  fill: rgba(166, 240, 152, 0.8);
}

.traffic-dot.tiny {
  opacity: 0;
}

.data-node {
  filter: url("#light-bloom");
  opacity: 0;
  animation:
    light-rise 2.8s ease forwards,
    node-pulse 4.6s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 2.4s);
}

.data-node.warm {
  fill: rgba(255, 202, 116, 0.72);
}

.data-node.cool {
  fill: rgba(138, 226, 242, 0.72);
}

.data-node.green {
  fill: rgba(166, 240, 152, 0.72);
}

.patina-line {
  stroke: rgba(230, 236, 226, 0.18);
  stroke-width: 0.36;
}

.patina-line.faint {
  stroke: rgba(230, 230, 230, 0.09);
}

.topo-line {
  stroke: rgba(166, 218, 154, 0.26);
  stroke-width: 0.42;
}

.structure {
  stroke: rgba(230, 230, 230, 0.76);
  stroke-width: 0.95;
}

.strong {
  stroke: rgba(230, 230, 230, 0.86);
  stroke-width: 1.1;
}

.urban {
  fill: rgba(230, 230, 230, 0.018);
  stroke: rgba(230, 230, 230, 0.56);
  stroke-width: 0.82;
}

.distant {
  stroke: rgba(230, 230, 230, 0.36);
  stroke-width: 0.55;
}

.slab {
  stroke: rgba(230, 230, 230, 0.62);
  stroke-width: 0.82;
}

.window {
  stroke: rgba(230, 230, 230, 0.58);
  stroke-width: 0.56;
}

.plan {
  stroke: rgba(230, 230, 230, 0.5);
  stroke-width: 0.8;
}

.detail {
  stroke: rgba(230, 230, 230, 0.46);
  stroke-width: 0.58;
}

.dim,
.annotation {
  stroke: rgba(230, 230, 230, 0.36);
  stroke-width: 0.5;
}

.plot-point {
  opacity: 0;
  fill: var(--cad-primary);
  animation: mark-point 0.4s ease-out forwards;
}

.plot-point.one {
  animation-delay: 1.18s;
}

.plot-point.two {
  animation-delay: 4.08s;
}

.plot-point.three {
  animation-delay: 6.12s;
}

.drafting-cursor {
  fill: var(--cad-primary);
  offset-path: path("M24 462H900M34 462V272H100V462M184 462V238H260V462M344 462V164H444V462M382 122V84H406V122M532 462V226H618V462M634 462V184H736V462M688 96L695 56L702 96M778 462V286H856V462M20 488H900");
  animation: drafting-cursor 7.4s linear 0.15s forwards;
}

.hero-copy {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(100%, 720px);
  padding-bottom: 64px;
  text-align: center;
}

.blurb {
  max-width: 720px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: 0.025em;
}

.blurb span {
  display: block;
}

.blurb span + span {
  margin-top: 10px;
}

.states {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.states span {
  min-width: 2.2ch;
  text-align: center;
}

.states span + span::before {
  content: "•";
  margin-right: 18px;
  color: rgba(230, 230, 230, 0.34);
}

@keyframes cad-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cad-form {
  0% {
    clip-path: inset(100% 0 0 0);
    fill-opacity: 0;
    opacity: 0;
    stroke-dashoffset: 100;
  }

  18% {
    clip-path: inset(78% 0 0 0);
    fill-opacity: 0;
    opacity: 0.34;
  }

  44% {
    clip-path: inset(42% 0 0 0);
    fill-opacity: 0.04;
  }

  76% {
    clip-path: inset(8% 0 0 0);
    fill-opacity: 0.11;
  }

  100% {
    clip-path: inset(0 0 0 0);
    fill-opacity: 1;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes cad-fade {
  to {
    opacity: 1;
  }
}

@keyframes depth-rise {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.46;
  }
}

@keyframes material-rise {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }

  68% {
    opacity: 0.48;
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 0.8;
  }
}

@keyframes layer-print {
  0% {
    opacity: 0;
    stroke-dashoffset: 100;
  }

  35% {
    opacity: 0.95;
  }

  100% {
    opacity: 0.62;
    stroke-dashoffset: 0;
  }
}

@keyframes layer-breathe {
  0%,
  100% {
    opacity: 0.34;
  }

  50% {
    opacity: 0.66;
  }
}

@keyframes print-sweep {
  0% {
    opacity: 0;
    stroke-dashoffset: 100;
  }

  8%,
  88% {
    opacity: 0.86;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes light-rise {
  from {
    opacity: 0;
    transform: scale(0.4);
    transform-origin: center;
  }

  to {
    opacity: 0.9;
    transform: scale(1);
    transform-origin: center;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.32;
  }

  50% {
    opacity: 0.84;
  }
}

@keyframes traffic-emerge {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.92;
  }
}

@keyframes traffic-pulse {
  0%,
  100% {
    opacity: 0.48;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes flow-rise {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.72;
  }
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mark-point {
  from {
    opacity: 0;
    transform: scale(0.1);
    transform-origin: center;
  }

  to {
    opacity: 0.9;
    transform: scale(1);
    transform-origin: center;
  }
}

@keyframes drafting-cursor {
  0% {
    opacity: 0;
    offset-distance: 0%;
  }

  5% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    offset-distance: 100%;
  }
}

@media (max-width: 760px) {
  .site-shell {
    min-height: 100dvh;
    padding: 18px;
  }

  .site-meta {
    font-size: 11px;
  }

  .blueprint {
    inset: 8vh -58vw 30vh;
    align-items: center;
    opacity: 0.62;
  }

  .blueprint svg {
    width: 188vw;
    max-height: 55vh;
    transform: translate(-5vw, -4vh);
  }

  .isometric-city {
    opacity: 0.8;
  }

  .face-left,
  .face-right {
    fill: rgba(230, 230, 230, 0.07);
    stroke: rgba(230, 230, 230, 0.76);
    stroke-width: 0.9;
  }

  .roof,
  .tower-roof,
  .strong-roof {
    fill: rgba(230, 230, 230, 0.12);
    stroke: rgba(230, 230, 230, 0.9);
    stroke-width: 0.98;
  }

  .facade,
  .detail,
  .window {
    stroke: rgba(230, 230, 230, 0.62);
  }

  .window-lit {
    stroke-width: 1.3;
  }

  .traffic-dot {
    transform: scale(0.88);
    transform-origin: center;
  }

  .hero-copy {
    padding-bottom: 76px;
  }

  .blurb {
    max-width: 340px;
    font-size: 12px;
  }

  .states {
    gap: 10px;
    font-size: 11px;
  }

  .states span + span::before {
    margin-right: 10px;
  }
}

@media (max-height: 620px) {
  .hero-copy {
    padding-bottom: 40px;
  }

  .blurb {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .draw,
  .iso-shape,
  .iso-dot,
  .depth-shadow,
  .material-facet,
  .build-layer,
  .print-head,
  .light-node,
  .data-node,
  .traffic-dot,
  .flow-line,
  .plot-point,
  .drafting-cursor {
    animation: none;
  }

  .draw,
  .iso-shape {
    stroke-dashoffset: 0;
  }

  .iso-shape,
  .material-facet {
    clip-path: inset(0 0 0 0);
  }

  .iso-shape,
  .iso-dot,
  .light-node,
  .data-node,
  .traffic-dot {
    opacity: 1;
  }

  .depth-shadow {
    opacity: 0.46;
  }

  .material-facet {
    opacity: 0.8;
  }

  .build-layer {
    opacity: 0.38;
    stroke-dashoffset: 0;
  }

  .print-head {
    display: none;
  }

  .data-node {
    opacity: 0.72;
  }

  .street-motion {
    display: none;
  }

  .plot-point {
    opacity: 0.9;
  }

  .drafting-cursor {
    display: none;
  }
}
