:root {
  --bg: #070711;
  --paper: #f4f0ff;
  --muted: #b8b2c9;
  --violet: #9b6cff;
  --pink: #ff5bbd;
  --cyan: #62e6ff;
  --mx: 50vw;
  --my: 50vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(117, 76, 255, .12), transparent 24rem),
    linear-gradient(135deg, #05050c 0%, #090813 48%, #05060d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

#artCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: fixed;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: .16;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.aurora-a { left: -15vw; top: -18vw; background: var(--pink); }
.aurora-b { right: -17vw; bottom: -20vw; background: var(--cyan); }

.grain {
  position: fixed;
  inset: -30%;
  opacity: .05;
  pointer-events: none;
  z-index: 2;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: noise 7s steps(8) infinite;
}
@keyframes noise {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%,3%); }
  40% { transform: translate(4%,-3%); }
  60% { transform: translate(-3%,2%); }
  80% { transform: translate(2%,-4%); }
}

.stage {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(22px, 5vw, 72px) 24px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.signature {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  text-decoration: none;
  font: 700 18px/1 Georgia, serif;
  backdrop-filter: blur(12px);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.signature:hover { transform: rotate(-10deg) scale(1.05); border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }

.mail-small {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .05em;
  transition: color .25s ease;
}
.mail-small:hover { color: white; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 6vw;
}

.hero-copy { max-width: 840px; will-change: transform; }
.eyebrow {
  margin: 0 0 22px;
  color: #c9c0df;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .28em;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(62px, 8.6vw, 142px);
  line-height: .82;
  letter-spacing: -.065em;
}
h1 span { display: block; }
h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 240, 255, .72);
  text-stroke: 1px rgba(245, 240, 255, .72);
  transform: translateX(clamp(12px, 4vw, 72px));
}

.lead {
  max-width: 540px;
  margin: 34px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
  transition: transform .28s ease, background .28s ease, border-color .28s ease;
}
.cta:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.6); }
.cta-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #080910;
  background: linear-gradient(135deg, var(--cyan), #fff, var(--pink));
}

.orbital {
  position: relative;
  justify-self: center;
  width: min(35vw, 510px);
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}
.orbital::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: inherit;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.28), rgba(155,108,255,.12) 35%, rgba(255,91,189,.04) 60%, transparent 72%);
  box-shadow: 0 0 90px rgba(155,108,255,.18);
  animation: breathe 5.4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.07); filter: hue-rotate(20deg); } }

.orbital-ring {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transform-style: preserve-3d;
}
.ring-one { transform: rotateX(68deg) rotateZ(12deg); animation: spin1 13s linear infinite; }
.ring-two { inset: 18%; border-color: rgba(98,230,255,.34); transform: rotateY(68deg) rotateZ(24deg); animation: spin2 17s linear infinite reverse; }
.ring-three { inset: 29%; border-style: dashed; border-color: rgba(255,91,189,.42); animation: spin3 10s linear infinite; }
@keyframes spin1 { to { transform: rotateX(68deg) rotateZ(372deg); } }
@keyframes spin2 { to { transform: rotateY(68deg) rotateZ(384deg); } }
@keyframes spin3 { to { transform: rotate(360deg); } }

.orbital-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 18%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff, #bda6ff 28%, #7746ff 60%, #2b174c 100%);
  box-shadow: 0 0 28px rgba(255,255,255,.45), 0 0 90px rgba(123,70,255,.55);
}

.satellite {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px currentColor;
}
.sat-a { top: 10%; left: 54%; color: var(--cyan); background: var(--cyan); animation: floatA 4s ease-in-out infinite; }
.sat-b { bottom: 24%; left: 5%; color: var(--pink); background: var(--pink); animation: floatB 6s ease-in-out infinite; }
.sat-c { bottom: 8%; right: 22%; color: #d5bcff; background: #d5bcff; animation: floatA 5s ease-in-out infinite reverse; }
@keyframes floatA { 50% { transform: translate(12px,-18px) scale(1.4); } }
@keyframes floatB { 50% { transform: translate(-16px,13px) scale(.8); } }

.footer {
  color: #858096;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hint::before { content: "●"; color: var(--pink); margin-right: 8px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }

@media (max-width: 900px) {
  body { overflow: auto; }
  .hero { grid-template-columns: 1fr; align-content: center; padding: 7vh 0; }
  .orbital { position: absolute; width: min(64vw, 440px); right: -25vw; top: 8%; opacity: .5; z-index: -1; }
  h1 { font-size: clamp(58px, 15vw, 104px); }
  .mail-small { display: none; }
}

@media (max-width: 520px) {
  .stage { padding-inline: 20px; }
  h1 .outline { transform: translateX(8px); }
  .lead { max-width: 90%; }
  .footer .hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
