:root {
  --bg: #05010a;
  --surface: #0e0818;
  --violet: #8a4dff;
  --cyan: #3ec9ff;
  --pink: #ff3dbe;
  --gold: #c9a227;
  --text: #e8e4f4;
  --muted: #9b93b5;
  --line: rgba(232, 228, 244, 0.16);
  --display: Syne, Arial, sans-serif;
  --body: Manrope, Arial, sans-serif;
  --mono: "DM Mono", monospace;
  color-scheme: dark;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); }
a { color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--violet);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 3.8vw;
  border-bottom: 1px solid var(--line);
  font: 500 0.61rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legacy-brand, .next-link { text-decoration: none; }
.legacy-brand { display: flex; align-items: center; gap: 0.85rem; }
.legacy-brand img { width: clamp(6.8rem, 10vw, 9rem); height: auto; object-fit: contain; }
.legacy-brand span { color: var(--muted); font-size: 0.5rem; letter-spacing: 0.16em; }
.next-link { color: var(--cyan); transition: color 180ms ease, letter-spacing 180ms ease; }
.next-link:hover, .next-link:focus-visible { color: var(--pink); letter-spacing: 0.19em; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at center, rgba(5, 1, 10, 0.34) 0%, rgba(5, 1, 10, 0.78) 70%, rgba(5, 1, 10, 0.94) 100%);
}
.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 11rem;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
  margin: 0;
  padding: 8rem 1.4rem 6rem;
  text-align: center;
}
.hero-logo {
  position: relative;
  width: clamp(11rem, 24vw, 19rem);
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 0 2.6rem rgba(201, 162, 39, 0.5));
  animation: float 5s ease-in-out infinite;
}
.hero h1 {
  margin: 0;
  font: 800 clamp(3.6rem, 9.5vw, 9rem)/0.9 var(--display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--gold); }
.hero-sub {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font: 500 0.62rem/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero-sub i { width: 2.2rem; height: 1px; background: var(--violet); }
.hero-lede {
  max-width: 30rem;
  margin: 1.7rem 0 2.4rem;
  color: #cfc8dd;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  line-height: 1.8;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font: 700 0.66rem/1 var(--body);
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 250ms ease, background 250ms ease, border-color 250ms ease, transform 250ms ease;
}
.pill-solid {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 2.2rem rgba(138, 77, 255, 0.45);
  animation: pulse 3s ease-in-out infinite;
}
.pill-solid:hover, .pill-solid:focus-visible { box-shadow: 0 0 3.4rem rgba(138, 77, 255, 0.75); transform: translateY(-0.15rem); }
.pill-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.pill-ghost:hover, .pill-ghost:focus-visible { border-color: var(--cyan); background: rgba(62, 201, 255, 0.12); }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.4);
  font: 500 0.5rem/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll i { font-style: normal; animation: bounce 1.6s ease-in-out infinite; }

.section { position: relative; overflow: hidden; }
.kicker { margin: 0 0 1.4rem; color: var(--cyan); font: 500 0.6rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; }
.kicker b { color: var(--muted); font-weight: 500; }

.farewell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  gap: 6vw;
  align-items: center;
  padding: 7.5rem 10vw 7rem 12vw;
  background: radial-gradient(circle at 78% 40%, rgba(138, 77, 255, 0.14), transparent 26rem), var(--surface);
}
.farewell h2, .aura h2 { margin: 0; font: 800 clamp(3rem, 6.6vw, 6.6rem)/0.92 var(--display); letter-spacing: -0.04em; text-transform: uppercase; }
.farewell h2 em { color: var(--pink); font-style: italic; font-weight: 600; }
.farewell p.copy { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
.farewell-art { position: relative; min-height: 30rem; }
.photo {
  position: absolute;
  width: min(17rem, 62%);
  margin: 0;
  padding: 0.4rem;
  border: 1px solid rgba(232, 228, 244, 0.25);
  background: rgba(5, 1, 10, 0.6);
  box-shadow: 1rem 1rem 0 rgba(255, 61, 190, 0.09), 0 1.6rem 3.4rem rgba(0, 0, 0, 0.4);
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1), border-color 180ms ease;
}
.photo img { width: 100%; aspect-ratio: 0.72; object-fit: cover; filter: saturate(0.9) contrast(1.06); }
.photo figcaption { padding: 0.65rem 0.3rem 0.25rem; color: var(--muted); font: 500 0.5rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.photo-back { top: 0; right: 2%; transform: rotate(8deg); }
.photo-front { top: 26%; left: 4%; transform: rotate(-5deg); }
.photo:hover { z-index: 3; border-color: var(--violet); }
.photo-back:hover { transform: rotate(3deg) translateY(-0.4rem); }
.photo-front:hover { transform: rotate(-1deg) translateY(-0.4rem); }
.farewell-mark { position: absolute; right: 0; bottom: 0; width: 52%; opacity: 0.8; }

.transition-strip { overflow: hidden; padding: 1rem 0; background: var(--violet); color: #fff; }
.strip-track { display: flex; align-items: center; width: max-content; animation: strip 28s linear infinite; font: 800 0.7rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.strip-track span { margin: 0 1.55rem; }
.strip-track i { color: var(--cyan); font-style: normal; font-size: 1.2rem; }

.aura {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 1.4rem 8.5rem;
  text-align: center;
  background: var(--bg);
}
.aura-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.aura-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 1, 10, 0.5) 20%, rgba(5, 1, 10, 0.5) 80%, var(--bg) 100%), radial-gradient(ellipse 60% 45% at 50% 32%, rgba(138, 77, 255, 0.2), transparent 70%);
}
.aura > :not(.aura-video):not(.aura-overlay) { position: relative; z-index: 1; }
.aura-lockup { position: relative; display: grid; place-items: center; width: min(26rem, 70vw); aspect-ratio: 1; margin-bottom: -1.5rem; }
.aura-lockup img { position: relative; z-index: 2; width: 68%; filter: drop-shadow(0 0 3rem rgba(138, 77, 255, 0.6)); animation: float 5s ease-in-out infinite; }
.aura-ring { position: absolute; border: 1px solid rgba(138, 77, 255, 0.6); border-radius: 50%; }
.aura-ring-one { inset: 4%; transform: rotate(-25deg) scaleY(0.36); animation: orbit 18s linear infinite; }
.aura-ring-two { inset: 17%; border-color: rgba(255, 61, 190, 0.6); transform: rotate(54deg) scaleY(0.45); animation: orbit-reverse 12s linear infinite; }
.aura h2 { text-align: center; }
.aura-title-main { position: relative; display: block; font-size: clamp(3.2rem, 11vw, 8rem); letter-spacing: -0.02em; }
.aura-t-glow {
  position: absolute;
  top: -12%;
  right: -6%;
  bottom: -12%;
  left: -6%;
  z-index: 0;
  background: conic-gradient(from var(--ang), var(--cyan) 0%, #fff 12%, var(--violet) 28%, var(--pink) 42%, #fff 55%, var(--cyan) 70%, var(--violet) 85%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(34px) saturate(2);
  transform: scale(1.07);
  animation: au-ang 2.2s linear infinite;
}
.aura-t-main {
  position: relative;
  z-index: 1;
  background: linear-gradient(115deg, #fff, #dff3ff, #9fd2ff, #fff, #ffe3f5, #c3a6ff 45%, #fff 50%, #dff3ff, #9fd2ff, #fff, #ffe3f5, #c3a6ff 95%, #fff);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
  animation: au-sweep 2.2s linear infinite;
}
.aura-title-sub { display: block; margin-top: 0.5rem; font-size: clamp(0.9rem, 2.4vw, 1.4rem); font-weight: 600; letter-spacing: 0.52em; text-indent: 0.52em; color: var(--muted); }
.aura .copy { max-width: 34rem; margin: 2.1rem auto 2.3rem; color: #cfc8dd; font-size: 0.92rem; line-height: 1.85; }
.aura-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2.6rem;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font: 500 0.57rem/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aura-details small { display: block; color: var(--cyan); font-size: 0.5rem; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 3.8vw; background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); font: 500 0.55rem/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: var(--cyan); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--pink); }

[data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.6rem); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 2.2rem rgba(138, 77, 255, 0.45); } 50% { box-shadow: 0 0 3.4rem rgba(138, 77, 255, 0.8); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: none; } }
.hero-content.is-visible > * { animation: rise 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.hero-content.is-visible > :nth-child(2) { animation-delay: 0.12s; }
.hero-content.is-visible > :nth-child(3) { animation-delay: 0.24s; }
.hero-content.is-visible > :nth-child(4) { animation-delay: 0.36s; }
.hero-content.is-visible > :nth-child(5) { animation-delay: 0.48s; }
.hero-content.is-visible > .hero-logo { animation: rise 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both, float 5s 1s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(0.35rem); } }
@keyframes orbit { to { transform: rotate(360deg) scaleY(0.36); } }
@keyframes orbit-reverse { to { transform: rotate(-360deg) scaleY(0.45); } }
@keyframes strip { to { transform: translateX(-50%); } }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes au-ang { to { --ang: 360deg; } }
@keyframes au-sweep { to { background-position: 66.67% 0; } }

@media (max-width: 900px) {
  .farewell { grid-template-columns: 1fr; gap: 3.5rem; padding: 6rem 9vw 6rem 9vw; }
  .farewell-art { width: min(32rem, 88vw); min-height: 28rem; }
}

@media (max-width: 600px) {
  .site-header { padding: 1rem 1.2rem; }
  .legacy-brand { gap: 0.55rem; }
  .legacy-brand img { width: 6.2rem; }
  .legacy-brand span { display: none; }
  .next-link { font-size: 0.51rem; letter-spacing: 0.09em; }
  .hero-content { padding: 7rem 1.2rem 5rem; }
  .hero-logo { width: 10.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .hero-sub { font-size: 0.5rem; letter-spacing: 0.2em; }
  .hero-lede { font-size: 0.82rem; }
  .pill { padding: 0.9rem 1.6rem; font-size: 0.58rem; }
  .farewell { padding: 5rem 1.35rem; }
  .farewell h2, .aura h2 { font-size: clamp(2.1rem, 10.5vw, 3.4rem); }
  .farewell-art { min-height: 24rem; }
  .aura { padding: 6rem 1.2rem 6.5rem; }
  .aura-details { gap: 1rem 1.6rem; font-size: 0.49rem; }
  .site-footer { flex-direction: column; padding: 1.25rem 1.35rem; font-size: 0.48rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo, .aura-lockup img, .aura-ring-one, .aura-ring-two, .strip-track, .hero-scroll i, .pill-solid, .aura-t-glow, .aura-t-main { animation: none; }
  .hero-content.is-visible > * { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 2px solid var(--violet); outline-offset: 0.28rem; }
