:root {
  --ink: #0c0b0b;
  --paper: #eee9df;
  --paper-muted: rgba(238, 233, 223, 0.62);
  --line: rgba(238, 233, 223, 0.16);
  --signal: #d8ff45;
  --ember: #a33d2f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 71% 46%, rgba(107, 38, 31, 0.2), transparent 31rem),
    linear-gradient(135deg, #0b0a0a 0%, #100e0d 50%, #090909 100%);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: min(8vw, 110px) min(8vw, 110px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  opacity: 0.18;
  content: "";
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.055;
  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='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 69, 0.055), transparent 66%);
  pointer-events: none;
  translate: calc(var(--pointer-x, 72vw) - 50%) calc(var(--pointer-y, 42vh) - 50%);
  transition: translate 180ms ease-out;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px clamp(24px, 4.6vw, 76px) 24px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: relative;
  z-index: 5;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  animation: reveal-down 900ms 100ms both;
}

.brand {
  display: block;
  width: 116px;
  height: 38px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 18px rgba(216, 255, 69, 0.7);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(216, 255, 69, 0.35);
  border-radius: inherit;
  animation: status-pulse 2.4s ease-out infinite;
  content: "";
}

main {
  display: grid;
  align-items: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  min-height: clamp(570px, 72vh, 850px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 64px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--paper-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: reveal-up 900ms 280ms both;
}

.eyebrow span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--signal);
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 7.1vw, 126px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.82;
  animation: reveal-up 1s 380ms both;
}

h1 em {
  color: transparent;
  font-weight: 400;
  -webkit-text-stroke: 1px rgba(238, 233, 223, 0.78);
}

.intro {
  max-width: 480px;
  margin: 36px 0 0;
  color: var(--paper-muted);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  animation: reveal-up 900ms 520ms both;
}

.arrival {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 400px);
  margin-top: 44px;
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: reveal-up 900ms 640ms both;
}

.arrival-line {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.arrival-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(216, 255, 69, 0.5);
  animation: scan 3.4s ease-in-out infinite;
}

.evolution-mark {
  position: absolute;
  top: 50%;
  right: max(-9vw, -130px);
  width: clamp(440px, 48vw, 790px);
  aspect-ratio: 1;
  translate: 0 -50%;
  animation: appear 1.5s 250ms both;
}

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

.evolution-mark::before {
  inset: 18%;
  background: radial-gradient(circle at 42% 38%, rgba(216, 255, 69, 0.13), transparent 20%),
    radial-gradient(circle, rgba(126, 47, 38, 0.48), rgba(61, 24, 21, 0.17) 48%, transparent 70%);
  filter: blur(12px);
  animation: breathe 6s ease-in-out infinite;
}

.evolution-mark::after {
  inset: 33%;
  border: 1px solid rgba(216, 255, 69, 0.2);
  box-shadow: inset 0 0 70px rgba(216, 255, 69, 0.045), 0 0 70px rgba(126, 47, 38, 0.1);
}

.orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(238, 233, 223, 0.22);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(216, 255, 69, 0.8);
  content: "";
}

.orbit-one {
  animation: orbit 18s linear infinite;
}

.orbit-two {
  inset: 22%;
  border-color: rgba(238, 233, 223, 0.12);
  animation: orbit-reverse 13s linear infinite;
}

.orbit-two::after {
  top: 14%;
  left: auto;
  right: 8%;
  width: 5px;
  height: 5px;
  background: var(--paper);
  opacity: 0.65;
}

.orbit-three {
  inset: 3%;
  border-style: dashed;
  border-color: rgba(238, 233, 223, 0.08);
  animation: orbit 40s linear infinite;
}

.orbit-three::after {
  display: none;
}

.axis {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(238, 233, 223, 0.09);
}

.axis-x {
  width: 88%;
  height: 1px;
  translate: -50% 0;
}

.axis-y {
  width: 1px;
  height: 88%;
  translate: 0 -50%;
}

.energy-core {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: var(--signal);
  filter: blur(30px);
  opacity: 0.13;
}

.core-letter {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(238, 233, 223, 0.94);
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 150px);
  letter-spacing: -0.07em;
  line-height: 0.8;
  white-space: nowrap;
  translate: -50% -48%;
}

.coordinate {
  position: absolute;
  color: rgba(238, 233, 223, 0.4);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.coordinate-top {
  top: 8%;
  left: 49%;
}

.coordinate-right {
  top: 51%;
  right: 1%;
  rotate: 90deg;
}

.coordinate-bottom {
  bottom: 7%;
  left: 46%;
}

.site-footer {
  position: relative;
  z-index: 4;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(238, 233, 223, 0.42);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: reveal-up 900ms 800ms both;
}

.disciplines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
}

.disciplines i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.7;
}

.footer-note {
  text-align: right;
}

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

@keyframes reveal-down {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes status-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.4);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

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

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

@keyframes breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes scan {
  0%,
  100% {
    left: 0;
    transform: translateX(-100%);
  }
  50% {
    left: 100%;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 690px;
  }

  .hero-copy {
    align-self: start;
    padding-top: 80px;
  }

  .evolution-mark {
    top: auto;
    right: -32vw;
    bottom: -6%;
    width: min(96vw, 650px);
    translate: 0;
    opacity: 0.64;
  }

  .disciplines span:nth-of-type(even),
  .disciplines i:nth-of-type(even) {
    display: none;
  }
}

@media (max-width: 620px) {
  body::before {
    background-size: 72px 72px;
    opacity: 0.12;
  }

  .page-shell {
    display: block;
    min-height: 100svh;
    padding: 20px 20px 18px;
  }

  .brand {
    width: 92px;
    height: 32px;
  }

  .status {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: hidden;
  }

  .hero-copy {
    align-self: auto;
    width: 100%;
    padding: 56px 0 20px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -0.04em;
    line-height: 0.92;
  }

  .intro {
    max-width: 32rem;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.62;
  }

  .arrival {
    width: 100%;
    max-width: 340px;
    margin-top: 34px;
  }

  .evolution-mark {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: min(100%, 390px);
    margin: -8px auto -18px;
    translate: none;
    opacity: 0.82;
  }

  .coordinate-right {
    right: 0;
  }

  .site-footer {
    gap: 16px;
    margin-top: 0;
  }

  .disciplines {
    display: none;
  }
}

@media (max-width: 380px) {
  .page-shell {
    padding-inline: 16px;
  }

  .brand {
    width: 84px;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .eyebrow {
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .evolution-mark {
    width: 106%;
    margin-left: -3%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-note {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .cursor-light {
    display: none;
  }
}
