:root {
  --ink: #020711;
  --navy: #041126;
  --panel: #07162b;
  --blue: #276eea;
  --blue-bright: #67a8ff;
  --cream: #f2efe8;
  --muted: #8997ac;
  --warm: #ffd995;
  --line: rgba(255, 255, 255, 0.12);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 18%, rgba(27, 91, 190, 0.15), transparent 28rem),
    linear-gradient(180deg, #020916 0%, var(--ink) 65%, #030a16 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient-glow {
  position: fixed;
  width: min(28rem, 100vw);
  height: min(28rem, 100vw);
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 30%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(46, 111, 225, 0.07);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  width: min(1400px, calc(100% - 80px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
}

.site-header::before {
  content: "";
  width: 100vw;
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(103,168,255,.08);
  background: rgba(2,9,22,.78);
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.wordmark em { color: var(--blue-bright); font-style: normal; }

.lamp-mark {
  width: 54px;
  height: 38px;
  flex: 0 0 auto;
  overflow: visible;
}

.lamp-arm {
  fill: none;
  stroke: #dce4ee;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lamp-joint { fill: #dce4ee; }
.lamp-shade { fill: #eef1f4; stroke: #fff; stroke-width: 1.3; }
.lamp-bulb { fill: none; stroke: #fff4d5; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px #ffd995); }
.lamp-cup { fill: #f2efe8; stroke: #fff; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.lamp-cup-handle { fill: none; stroke: #f2efe8; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.lamp-steam { fill: none; stroke: #ffd995; stroke-width: 1.15; stroke-linecap: round; opacity: .82; }
.lamp-base { fill: #dce4ee; }
.lamp-light { fill: #ffd995; opacity: .2; filter: drop-shadow(0 0 5px rgba(255,217,149,.55)); }

.studio-readout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(103,168,255,.17);
  border-radius: 100px;
  background: rgba(3,12,27,.3);
}

.readout-orbit {
  width: 31px;
  height: 31px;
  position: relative;
  border: 1px solid rgba(103,168,255,.32);
  border-radius: 50%;
}

.readout-orbit::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(103,168,255,.12);
  border-radius: 50%;
}

.readout-orbit i {
  width: 5px;
  height: 5px;
  position: absolute;
  top: 2px;
  right: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 9px #4895ed;
  animation: pulse 2.2s ease-in-out infinite;
}

.readout-copy { display: grid; gap: 3px; font-family: var(--mono); text-transform: uppercase; }
.readout-copy small { color: #52647d; font-size: 8px; letter-spacing: .16em; }
.readout-copy strong { color: #cbd6e5; font-size: 9px; font-weight: 400; letter-spacing: .11em; }

.hero {
  width: min(1400px, calc(100% - 80px));
  margin: auto;
  display: flex;
  flex-direction: column;
  padding: 28px 0 130px;
  position: relative;
}

.hero-copy {
  order: 2;
  width: min(1220px, 100%);
  margin-inline: auto;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .52fr);
  grid-template-rows: auto auto;
  column-gap: clamp(60px, 9vw, 150px);
  align-items: end;
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow { grid-column: 1; grid-row: 1; }
.hero-copy h1 { grid-column: 1; grid-row: 2; }
.hero-copy .hero-intro { grid-column: 2; grid-row: 1 / span 2; align-self: end; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 14px 3px 0;
  background: currentColor;
}

.hero h1 {
  color: #f7f5ef;
}

.hero h1 span { color: #4b8cf2; }

.hero-intro {
  max-width: 530px;
  margin: 0 0 8px;
  color: #a4afc0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.hero-art {
  --edge-fade: 96px;
  order: 1;
  width: 100vw;
  height: clamp(600px, 66.667vw, 800px);
  margin: 0 0 var(--edge-fade) calc(50% - 50vw);
  position: relative;
  z-index: 0;
  inset: auto;
  pointer-events: none;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0 5%;
  z-index: -1;
  background: radial-gradient(ellipse at 55% 42%, rgba(37,113,238,.25), transparent 68%);
  filter: blur(24px);
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  height: calc(var(--edge-fade) + 1px);
  left: 0;
  right: 0;
  bottom: calc(var(--edge-fade) * -1);
  background: linear-gradient(180deg, #020711 0%, rgba(2,7,17,.76) 30%, rgba(2,7,17,.22) 72%, transparent 100%);
  pointer-events: none;
}

.image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  opacity: .9;
  filter: saturate(.88) contrast(1.04);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 100%);
}

.image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(2,7,17,.32) 0%, transparent 22%);
  pointer-events: none;
}

.image-wrap img,
.hero-intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.hero-intro-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  translate: -50% 0;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-intro-video.is-finished {
  opacity: 0;
  visibility: hidden;
}

.hero-art:hover img,
.hero-art:hover .hero-intro-video { transform: scale(1.018); }

.section-shell { width: min(1220px, calc(100% - 80px)); margin: auto; }

.story {
  padding: 130px 0 135px;
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12vw;
  padding-top: 0;
}

.hero h1,
.story h2,
.signal h2,
.closing h2 {
  margin: 0;
  font-size: clamp(46px, 5.8vw, 82px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.story h2 span { color: #62728a; }

.story-copy { max-width: 610px; }

.story-copy p {
  margin: 0 0 26px;
  color: #8290a4;
  font-size: 16px;
  line-height: 1.8;
}

.story-copy .lead { color: #d8dee7; font-size: clamp(20px, 2vw, 26px); line-height: 1.55; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  min-height: 360px;
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .35s ease;
}

.principle:first-child { border-left: 1px solid var(--line); }
.principle:hover { background: rgba(35, 88, 168, .08); }

.principle-icon {
  height: 96px;
  margin: 0 0 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--blue-bright);
  font-size: 64px;
  font-weight: 300;
  text-shadow: 0 0 30px rgba(80,155,255,.45);
}

.principle-icon.brackets { font-family: var(--mono); font-size: 38px; letter-spacing: .2em; }

.principle-icon.moon {
  width: 65px;
  height: 65px;
  margin-bottom: 56px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: -17px 7px 0 0 var(--ink), 0 0 32px rgba(75,140,242,.38);
}

.principle h3 { margin: 0 0 15px; font-size: 18px; font-weight: 600; }

.principle p { max-width: 290px; margin: 0; color: #75849a; font-size: 13px; line-height: 1.75; }

.quiet-link {
  color: #aab9cb;
  text-decoration-color: rgba(103,168,255,.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.quiet-link:hover { color: #e4ecf7; text-decoration-color: var(--blue-bright); }

.mini-shelf-strip {
  padding-bottom: 80px;
  scroll-margin-top: 100px;
}

.mini-shelf-link {
  min-height: 118px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: auto 1fr minmax(250px, .75fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
}

.mini-shelf-link:hover {
  border-color: rgba(103,168,255,.26);
  background: rgba(35,88,168,.055);
}

.mini-shelf-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103,168,255,.22);
  border-radius: 50%;
}

.mini-shelf-icon i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 14px rgba(103,168,255,.65);
}

.mini-shelf-copy { display: grid; gap: 6px; }

.mini-shelf-copy small {
  color: #607189;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mini-shelf-copy strong { font-size: 17px; font-weight: 500; }

.mini-shelf-summary {
  color: #75849a;
  font-size: 12px;
  line-height: 1.6;
}

.mini-shelf-summary em {
  margin-left: 9px;
  color: #82b5ff;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-shelf-arrow {
  color: #6b93cd;
  font-size: 18px;
  transition: transform .25s ease;
}

.mini-shelf-link:hover .mini-shelf-arrow { transform: translate(3px, -3px); }

.signal {
  min-height: 720px;
  padding: 170px 0;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 9vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.signal::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -360px;
  top: 50%;
  border: 1px solid rgba(68,126,217,.09);
  border-radius: 50%;
  transform: translateY(-50%);
}

.signal-copy { position: relative; z-index: 2; }
.signal-copy > p:last-child {
  max-width: 550px;
  margin: 30px 0 0;
  color: #8593a8;
  line-height: 1.8;
}

.signal-orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -100px;
  top: 45px;
  border: 1px solid rgba(83,143,234,.11);
  border-radius: 50%;
}

.signal-orbit div { position: absolute; inset: 55px; border: 1px solid rgba(83,143,234,.08); border-radius: 50%; }
.signal-orbit span { position: absolute; width: 6px; height: 6px; top: 90px; left: 34px; border-radius: 50%; background: #6aa8ff; box-shadow: 0 0 16px #6aa8ff; }

.build-status {
  padding: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13,32,60,.72), rgba(5,14,29,.5));
  box-shadow: 0 30px 60px rgba(0,0,0,.2);
}

.status-top, .status-bottom { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.status-top { color: #5f6f85; }
.status-top strong { color: #6aa8ff; font-weight: 500; }

.progress-track { height: 2px; margin: 28px 0 17px; background: #17243a; overflow: hidden; }
.progress-track i { display: block; width: 42%; height: 100%; background: linear-gradient(90deg, #2366d3, #72b3ff); box-shadow: 0 0 15px #4d9aff; }
.status-bottom { color: #425168; }
.status-bottom span:first-child { color: #9ba8ba; }

.closing {
  padding: 145px 0 155px;
  text-align: center;
}

.closing-rule { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 90px; }
.closing-rule span { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, #20559e); }
.closing-rule span:last-child { transform: rotate(180deg); }
.closing-rule i { width: 7px; height: 7px; transform: rotate(45deg); background: #64a5ff; box-shadow: 0 0 18px #418de9; }
.closing .eyebrow::before { display: none; }
.closing > p:not(.eyebrow) { color: #748299; margin: 27px auto 38px; }

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(103,168,255,.38);
  color: #dfeaff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s ease, border-color .25s ease;
}

.button:hover { background: rgba(65,132,232,.12); border-color: #579cff; }

.site-footer {
  min-height: 145px;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #7e8ca1;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .04em;
}

.site-footer p:last-child { justify-self: end; }
.footer-mark { font-size: 11px; opacity: .9; }

.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.visible { opacity: 1; transform: none; }
.principle:nth-child(2) { transition-delay: .1s; }
.principle:nth-child(3) { transition-delay: .2s; }

@keyframes pulse { 0%,100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 1050px) {
  .story-grid { gap: 7vw; }
  .principle { padding-left: 26px; padding-right: 26px; }
}

@media (max-width: 760px) {
  .site-header, .hero, .section-shell { width: min(100% - 38px, 620px); }
  .site-header { height: 70px; }
  .wordmark { font-size: 12px; }
  .studio-readout { display: none; }
  .hero { padding: 32px 0 85px; }
  .hero-copy { display: block; padding-bottom: 0; }
  .hero-intro { margin-top: 28px; font-size: 15px; }
  .hero-art {
    --edge-fade: 58px;
    width: 100vw;
    height: auto;
    margin: 0 0 var(--edge-fade) calc(50% - 50vw);
    aspect-ratio: 3 / 2;
  }
  .image-wrap {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
  }
  .story { padding: 100px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 55px; padding-top: 58px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { min-height: 330px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principle-icon { margin-top: 42px; }
  .signal { min-height: 0; padding: 120px 0; grid-template-columns: 1fr; gap: 60px; }
  .signal-orbit { right: -10px; opacity: .65; }
  .mini-shelf-strip { padding-bottom: 50px; }
  .mini-shelf-link { padding: 24px 0; grid-template-columns: auto 1fr auto; gap: 17px; }
  .mini-shelf-summary { grid-column: 2 / -1; }
  .closing { padding: 110px 0 120px; }
  .closing-rule { margin-bottom: 65px; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; text-align: center; }
  .site-footer .wordmark { justify-self: center; }
  .site-footer p { margin: 0; }
  .site-footer p:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
