:root {
  color-scheme: dark;
  --bg: #050407;
  --surface: #0b090e;
  --text: #f4f0ef;
  --muted: #a6a0a7;
  --red: #e72c43;
  --red-bright: #ff5867;
  --line: rgba(218, 205, 212, 0.2);
  --display: "Bodoni MT", Didot, "Times New Roman", serif;
  --ui: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 45% at 50% 35%, rgba(74, 6, 16, 0.095), transparent 75%),
    radial-gradient(ellipse 65% 30% at 50% 100%, rgba(43, 3, 10, 0.15), transparent 78%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(224, 31, 52, 0.105), rgba(177, 12, 29, 0.032) 35%, transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 450ms ease;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

.page-frame {
  position: fixed;
  z-index: 9;
  inset: 20px;
  border: 1px solid rgba(195, 173, 183, 0.12);
  border-radius: 15px;
  pointer-events: none;
}
.frame-corner {
  position: absolute;
  width: 19px;
  height: 19px;
  border-color: rgba(239, 53, 70, 0.58);
  border-style: solid;
  opacity: 0.72;
}
.frame-corner--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-radius: 15px 0 0 0; }
.frame-corner--tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; border-radius: 0 15px 0 0; }
.frame-corner--bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; border-radius: 0 0 0 15px; }
.frame-corner--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 15px 0; }

.site-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-header {
  position: relative;
  z-index: 7;
  width: min(1280px, calc(100% - 118px));
  height: 95px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  animation: header-enter 1.1s 0.25s both;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  text-decoration: none;
}
.brand-sigil {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 0.8;
  filter: drop-shadow(0 0 9px rgba(240, 36, 57, 0.45));
  animation: sigil-breathe 4s ease-in-out infinite;
}
.brand-sigil circle { fill: var(--red-bright); stroke: none; }
.brand-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  font-weight: 600;
  white-space: nowrap;
}
.brand-separator { color: var(--red-bright); margin: 0 3px; }
.header-status {
  justify-self: end;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #8f858b;
  font-size: 10px;
  letter-spacing: 0.25em;
}
.status-led {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px 2px rgba(239, 45, 62, 0.65);
  animation: led-blink 2.8s ease-in-out infinite;
}

.hero {
  --art-top: clamp(38px, 6vh, 86px);
  --art-size: min(580px, 55vw);
  --title-size: clamp(4rem, 9.1vw, 9.2rem);
  --overline-height: 29px;
  position: relative;
  flex: 1;
  min-height: 690px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  top: var(--art-top);
  left: 50%;
  width: var(--art-size);
  aspect-ratio: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: none;
  will-change: transform;
}
.halo-bloom {
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 8, 21, 0.11), rgba(53, 4, 13, 0.025) 55%, transparent 72%);
  filter: blur(17px);
  animation: bloom-breathe 6s ease-in-out infinite alternate;
}
.orbit-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.orbit-track {
  fill: none;
  stroke: rgba(194, 38, 52, 0.52);
  stroke-width: 0.85;
  filter: drop-shadow(0 0 4px rgba(224, 35, 51, 0.35));
}
.orbit-track--outer {
  stroke: rgba(169, 27, 41, 0.11);
  stroke-width: 0.65;
  stroke-dasharray: 2 21;
}
.orbit-spin { transform-origin: 300px 300px; }
.orbit-spin--one { animation: orbit-spin 16s linear infinite; }
.orbit-spin--two { animation: orbit-spin 29s linear infinite reverse; }
.orbit-arc {
  fill: none;
  stroke: url(#orbit-line);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 230 1433;
  filter: url(#red-glow);
}
.orbit-arc--secondary {
  stroke-width: 1.25;
  stroke-dasharray: 75 1621;
  opacity: 0.65;
}
.orbit-node-corona { fill: url(#eclipse-corona); filter: url(#corona-soft); opacity: .92; }
.orbit-node-corona--inner { opacity: .72; }
.orbit-shadow { fill: var(--bg); opacity: .9; }
.axis {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, rgba(239, 107, 118, 0.6), transparent);
}
.axis--top { top: -8px; }
.axis--bottom { bottom: -8px; }
.art-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e9bfc2;
  box-shadow: 0 0 12px 2px rgba(242, 43, 61, 0.54);
  animation: star-twinkle 3.7s ease-in-out infinite;
}
.art-spark--one { top: 24%; left: 4%; animation-delay: -1.1s; }
.art-spark--two { top: 49%; right: -7%; width: 2px; height: 2px; animation-delay: -2.6s; }
.art-spark--three { bottom: 10%; left: 14%; width: 2px; height: 2px; animation-delay: -0.5s; }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(940px, calc(100% - 150px));
  text-align: center;
  padding-top: calc(var(--art-top) + var(--art-size) / 2 - var(--title-size) * .49 - var(--overline-height));
  padding-bottom: 75px;
}
.overline {
  margin: 0 0 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  color: #ad8790;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.53em;
  animation: fade-up 850ms 500ms both;
}
.overline-rule { width: 25px; height: 1px; background: rgba(237, 68, 83, 0.5); }
.title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-title {
  position: relative;
  left: var(--anchor-shift, 0px);
  flex: none;
  margin: 0;
  font-family: var(--display);
  font-size: var(--title-size);
  line-height: 0.98;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(247, 177, 184, 0.11), 0 3px 1px #000;
}
.hero-title .glyph {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 31px, 0) rotateX(-19deg);
  animation: glyph-enter 900ms cubic-bezier(.19,1,.22,1) forwards;
  animation-delay: calc(0.55s + var(--i) * 45ms);
}
.hero-title .glyph-space { width: 0.22em; }
.hero-lower { margin-top: 52px; }
.hero-description {
  margin: 0;
  color: #bdb0b7;
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.09em;
  animation: fade-up 900ms 1.2s both;
}
.section-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px auto 36px;
  animation: fade-up 900ms 1.4s both;
}
.section-mark span { width: 58px; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 55, 69, 0.65)); }
.section-mark span:last-child { transform: rotate(180deg); }
.section-mark i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--red-bright);
  box-shadow: 0 0 12px rgba(244, 47, 65, 0.5);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  width: min(660px, 100%);
  margin: 0 auto;
  scroll-margin-top: 25vh;
}
.social-card {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 17px;
  overflow: hidden;
  padding: 7px 20px 7px 8px;
  border: 1px solid rgba(185, 111, 122, 0.45);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(110deg, rgba(24, 11, 18, 0.92), rgba(7, 6, 9, 0.86) 62%);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 0 0 rgba(229, 42, 61, 0);
  transform: translate3d(0, 20px, 0);
  opacity: 0;
  animation: link-enter 700ms cubic-bezier(.19,1,.22,1) forwards;
  animation-delay: calc(1.55s + var(--i) * 120ms);
  transition: border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
  will-change: transform;
}
.social-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(105deg, transparent 14%, rgba(249, 73, 90, 0.19) 48%, transparent 75%);
  transition: opacity 300ms ease;
}
.social-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -42%;
  width: 35%;
  height: 300%;
  transform: rotate(23deg);
  background: linear-gradient(90deg, transparent, rgba(255, 171, 179, 0.13), transparent);
  transition: left 650ms cubic-bezier(.19,1,.22,1);
}
.social-card:hover, .social-card:focus-visible {
  border-color: rgba(255, 78, 94, 0.93);
  box-shadow: 0 0 18px rgba(242, 35, 57, 0.2), inset 0 0 21px rgba(207, 29, 48, 0.08);
  outline: none;
}
.social-card:hover::before, .social-card:focus-visible::before { opacity: 1; }
.social-card:hover::after, .social-card:focus-visible::after { left: 120%; }
.social-icon {
  position: relative;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 98, 111, 0.44);
  border-radius: 50%;
  color: #f2d8dc;
  background: rgba(11, 8, 12, 0.8);
  box-shadow: inset 0 0 12px rgba(140, 19, 33, 0.08);
  transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon img { display: block; width: 20px; height: 20px; object-fit: contain; }
.social-card:hover .social-icon, .social-card:focus-visible .social-icon {
  color: #fff;
  background: rgba(205, 35, 53, 0.36);
  box-shadow: 0 0 15px rgba(239, 39, 57, 0.39);
  transform: rotate(-8deg) scale(1.05);
}
.social-label { flex: 1; min-width: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.social-arrow { flex-shrink: 0; color: #c8a4ab; font-size: 21px; font-weight: 300; transition: transform 300ms ease, color 300ms ease; }
.social-card:hover .social-arrow, .social-card:focus-visible .social-arrow { transform: translateX(5px); color: var(--red-bright); }
.social-card--reveal .social-label { display: grid; line-height: 1.5; }
.social-label-default, .social-label-value {
  grid-area: 1 / 1;
  align-self: center;
  overflow-wrap: anywhere;
  transition: opacity 420ms ease, transform 550ms cubic-bezier(.19,1,.22,1), filter 420ms ease;
}
.social-label-default { opacity: 1; transform: translateY(0); filter: blur(0); }
.social-label-value {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(7px);
  color: #ffb5be;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
  text-shadow: 0 0 16px rgba(255, 64, 88, .5);
}
.social-card--reveal.is-revealed {
  border-color: rgba(255, 78, 94, .8);
  box-shadow: 0 0 22px rgba(242, 35, 57, .18), inset 0 0 26px rgba(207, 29, 48, .12);
}
.social-card--reveal.is-revealed::before { opacity: 1; }
.social-card--reveal.is-revealed .social-label-default { opacity: 0; transform: translateY(-14px); filter: blur(7px); }
.social-card--reveal.is-revealed .social-label-value { opacity: 1; transform: translateY(0); filter: blur(0); }
.social-card--reveal .social-arrow { display: grid; place-items: center; width: 20px; height: 24px; }
.social-card--reveal:hover .social-arrow, .social-card--reveal:focus-visible .social-arrow { transform: none; }
.social-card--reveal.is-revealed .social-arrow { transform: rotate(45deg); color: var(--red-bright); }
.social-card--copy.is-revealed .social-arrow { transform: none; }
.social-card--copy .social-label-value { user-select: text; }
.social-card--copy.is-copied .social-arrow { color: #ffd4d9; text-shadow: 0 0 12px rgba(255, 64, 88, .7); }

.side-note {
  position: absolute;
  top: 51%;
  z-index: 4;
  color: rgba(196, 167, 174, 0.55);
  font-size: 9px;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
  white-space: nowrap;
  animation: fade-up 1s 1.8s both;
}
.side-note--left { left: 51px; transform: rotate(180deg); }
.side-note--right { right: 51px; }
.side-note span { color: var(--red); margin: 8px 0; }

.site-footer {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 118px));
  min-height: 65px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #716a71;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fade-up 1s 2s both;
}
.footer-eclipse {
  width: 76px;
  height: 20px;
  fill: none;
  stroke: rgba(213, 75, 91, .45);
  stroke-width: .7;
}
.footer-eclipse-crescent {
  fill: var(--red);
  stroke: none;
  filter: drop-shadow(0 0 5px rgba(239, 45, 62, .6));
}
.footer-spark { color: var(--red-bright); font-size: 13px; margin-right: 6px; text-shadow: 0 0 9px var(--red); }

.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 34px;
  min-width: 210px;
  padding: 13px 19px;
  border: 1px solid rgba(239, 75, 91, 0.55);
  border-radius: 12px;
  background: rgba(15, 8, 12, 0.94);
  box-shadow: 0 12px 30px #0008, 0 0 20px rgba(239, 35, 56, 0.14);
  color: #f6e9ec;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes bloom-breathe { from { opacity: .42; transform: scale(.92); } to { opacity: 1; transform: scale(1.11); } }
@keyframes star-twinkle { 0%, 100% { opacity: .15; transform: scale(.55); } 50% { opacity: 1; transform: scale(1.45); } }
@keyframes sigil-breathe { 0%, 100% { filter: drop-shadow(0 0 6px rgba(240, 36, 57, .35)); } 50% { filter: drop-shadow(0 0 16px rgba(240, 36, 57, .85)); } }
@keyframes led-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes header-enter { from { opacity: 0; transform: translateY(-13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glyph-enter { to { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0); } }
@keyframes link-enter { to { opacity: 1; transform: translate3d(0, 0, 0); } }

@media (max-width: 900px) {
  .site-header, .site-footer { width: calc(100% - 85px); }
  .hero-content { width: calc(100% - 100px); }
  .hero { --art-size: min(600px, 75vw); }
  .side-note--left { left: 42px; }
  .side-note--right { right: 42px; }
}

@media (max-width: 650px) {
  .page-frame { inset: 9px; border-radius: 11px; }
  .site-header { width: calc(100% - 49px); height: 70px; grid-template-columns: 1fr auto; }
  .brand { gap: 7px; }
  .brand-sigil { width: 25px; height: 25px; }
  .brand-label { font-size: 9px; letter-spacing: .18em; }
  .header-status { display: none; }
  .hero {
    min-height: 675px;
    --art-top: 76px;
    --art-size: min(420px, 111vw);
    --title-size: clamp(2.85rem, 11vw, 5.2rem);
    --overline-height: 22px;
  }
  .axis { height: 25px; }
  .hero-content { width: calc(100% - 44px); padding-bottom: 35px; }
  .overline { margin-bottom: 13px; font-size: 8px; letter-spacing: .32em; }
  .overline-rule { width: 14px; }
  .hero-title { letter-spacing: -.055em; }
  .hero-description { font-size: 14px; }
  .section-mark { margin: 17px auto 23px; }
  .social-grid { grid-template-columns: 1fr; width: min(335px, 100%); gap: 10px; }
  .social-card { min-height: 56px; padding: 5px 17px 5px 6px; }
  .social-icon { flex-basis: 43px; width: 43px; height: 43px; }
  .social-label { font-size: 10px; }
  .side-note { display: none; }
  .site-footer { width: calc(100% - 50px); min-height: 57px; font-size: 8px; }
  .footer-center { display: none; }
  .cursor-glow { display: none; }
}

@media (max-width: 380px) {
  .hero { --art-top: 78px; --title-size: 11vw; }
  .hero-lower { margin-top: 37px; }
  .brand-label { display: none; }
}

@media (max-height: 730px) and (min-width: 651px) {
  .hero { min-height: 600px; --art-top: 15px; --art-size: min(480px, 50vw); }
}

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