:root {
  --sky: #9ec8dc;
  --sky-deep: #75adc8;
  --paper: #f5eee2;
  --ink: #081d31;
  --navy: #102d50;
  --red: #e52e2e;
  --gold: #f2c05e;
  --white: #fffdf6;
  --line: rgba(8, 29, 49, .22);
  --shadow: 0 30px 70px rgba(8, 29, 49, .24);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --mx: 50vw;
  --my: 45vh;
  --px: 0;
  --py: 0;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--sky);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background: var(--sky);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.site-shell {
  isolation: isolate;
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 49% 43%, rgba(255,255,255,.35) 0 16%, transparent 44%),
    linear-gradient(117deg, rgba(255,255,255,.14), transparent 38%),
    var(--sky);
}

.background-art,
.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background-art { z-index: -3; }

.bg-photo {
  background: url("assets/background-main.jpg") center/cover no-repeat;
  opacity: .43;
  filter: saturate(.72) contrast(.92);
  transform: scale(1.04) translate(calc(var(--px) * -7px), calc(var(--py) * -5px));
  transition: transform .25s ease-out;
}

.bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(158,200,220,.92) 0%, rgba(158,200,220,.5) 37%, rgba(158,200,220,.18) 63%, rgba(158,200,220,.75) 100%),
    linear-gradient(0deg, rgba(8,29,49,.17), transparent 35%);
}

.bg-grid {
  opacity: .21;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(54px, 4.15vw, 80px) clamp(54px, 4.15vw, 80px);
  mask-image: linear-gradient(90deg, #000, transparent 46%, #000);
}

.giant-star {
  position: absolute;
  right: 17vw;
  top: 11vh;
  color: rgba(245,238,226,.28);
  font: 900 clamp(18rem, 32vw, 40rem)/.7 Georgia, serif;
  transform: rotate(12deg) translate(calc(var(--px) * 12px), calc(var(--py) * 10px));
  text-shadow: 1px 1px 0 rgba(8,29,49,.08);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(8,29,49,.22);
  border-radius: 50%;
}

.orbit::before {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  left: 13%;
  top: 12%;
  box-shadow: 0 0 0 6px rgba(229,46,46,.12);
}

.orbit-one { width: 39vw; aspect-ratio: 1; left: 30.5vw; top: 8vh; transform: rotate(18deg); }
.orbit-two { width: 30vw; aspect-ratio: 1; left: 35vw; top: 15vh; transform: rotate(-28deg); }

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

.cursor-light {
  pointer-events: none;
  position: fixed;
  z-index: 30;
  width: 34vw;
  aspect-ratio: 1;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,253,246,.2), transparent 67%);
  mix-blend-mode: screen;
}

.topbar {
  position: relative;
  z-index: 20;
  height: clamp(72px, 8.5vh, 94px);
  padding: 0 clamp(28px, 3vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
}

.wordmark-box {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font: 900 16px/1 Arial Black, Impact, sans-serif;
  transform: rotate(-8deg);
}

.wordmark-copy { font: 800 12px/1.05 Arial, sans-serif; letter-spacing: .14em; }

.topbar-note {
  margin: 0;
  font: 800 clamp(10px, .72vw, 14px)/1 Arial, sans-serif;
  letter-spacing: .13em;
  text-align: center;
}

.live-dot {
  display: inline-block;
  width: 9px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229,46,46,.4);
  animation: ping 1.8s infinite;
}

.social-nav { display: flex; gap: 8px; }

.nav-link {
  min-width: 88px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(245,238,226,.66);
  box-shadow: 3px 3px 0 var(--ink);
  transition: background .2s, color .2s, box-shadow .2s;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--white); background: var(--ink); box-shadow: 1px 1px 0 var(--red); }
.nav-link span { font: 900 15px/1 Arial Black, Impact, sans-serif; }
.nav-link small { font: 800 12px/1 Arial, sans-serif; letter-spacing: .05em; }

.hero {
  position: absolute;
  inset: clamp(72px, 8.5vh, 94px) 0 clamp(45px, 5.2vh, 58px);
}

.title-stack {
  position: absolute;
  z-index: 1;
  inset: 1.8vh 2vw auto;
  color: rgba(245,238,226,.47);
  font: 900 clamp(6rem, 12.7vw, 15.2rem)/.73 Arial Black, Impact, sans-serif;
  letter-spacing: -.075em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(2px 2px 0 rgba(8,29,49,.1));
}

.title-row { white-space: nowrap; }
.title-row-top { text-align: left; }
.title-row-bottom { margin-top: 12vh; text-align: center; }

.intro-panel {
  position: absolute;
  z-index: 12;
  left: clamp(28px, 4.2vw, 82px);
  top: 15%;
  width: min(31vw, 560px);
}

.kicker {
  margin: 0 0 1.35rem;
  font: 900 clamp(.75rem, .72vw, .86rem)/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.kicker span {
  display: inline-grid;
  place-items: center;
  width: 33px;
  aspect-ratio: 1;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.intro-panel h1 {
  margin: 0;
  max-width: 9ch;
  font: 900 clamp(3.2rem, 5.25vw, 6.4rem)/.83 Arial Black, Impact, sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(245,238,226,.4);
}

.intro-copy {
  width: min(31rem, 95%);
  margin: 1.55rem 0 1.6rem;
  font: 700 clamp(.91rem, 1vw, 1.16rem)/1.38 Arial, sans-serif;
}

.action-row { display: flex; align-items: center; gap: 10px; }

.ca-button,
.round-action {
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s;
}

.ca-button {
  min-width: 206px;
  height: 58px;
  padding: 0 16px 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 3px;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
}

.ca-button:hover,
.ca-button:focus-visible,
.round-action:hover,
.round-action:focus-visible { transform: translate(3px, 3px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); }
.ca-button:active, .round-action:active { transform: translate(5px, 5px); box-shadow: none; }
.button-label { font: 800 .8rem/1 Arial, sans-serif; letter-spacing: .12em; }
.ca-button strong { overflow: hidden; max-width: 105px; text-overflow: ellipsis; font: 900 1rem/1 Arial Black, Impact, sans-serif; white-space: nowrap; }
.copy-icon { font-size: 1.25rem; }

.round-action {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font: 900 .86rem/1 Arial Black, Impact, sans-serif;
}

.round-action-alt { color: var(--ink); background: var(--gold); }
.copy-status { margin: 13px 0 0 3px; font: 900 .75rem/1 Arial, sans-serif; letter-spacing: .18em; opacity: .72; }

.portrait-stage {
  --rot-x: 0deg;
  --rot-y: 0deg;
  position: absolute;
  z-index: 10;
  left: 37.5%;
  bottom: -9.5%;
  width: clamp(540px, 45vw, 865px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: crosshair;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rot-x)) rotateY(var(--rot-y));
  transition: transform .18s ease-out;
}

.portrait-stage:focus-visible { outline: 4px dashed var(--red); outline-offset: -26px; }

.portrait-halo {
  position: absolute;
  z-index: -1;
  width: 76%;
  aspect-ratio: 1;
  left: 12%;
  top: 12%;
  border: 2px dashed rgba(8,29,49,.46);
  border-radius: 50%;
  animation: spin 38s linear infinite;
}

.portrait-halo::after {
  content: "VERY NORMAL · VERY TALL · VERY NORMAL · VERY TALL ·";
  position: absolute;
  inset: 7%;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  border: 1px solid rgba(245,238,226,.58);
  border-radius: 50%;
  font: 900 .75rem/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.portrait-wrap {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 49% 49% 20% 20% / 32% 32% 12% 12%;
  filter: drop-shadow(0 28px 32px rgba(8,29,49,.25));
  transform-origin: 50% 92%;
  animation: characterIdle 5.4s ease-in-out infinite;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 36% 70%, rgba(8,29,49,.08));
  pointer-events: none;
}

.portrait-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  user-select: none;
  transform: scale(1.005);
}

.portrait-stage:hover .portrait-wrap { animation-duration: 2.7s; }
.portrait-stage.is-reacting .portrait-wrap { animation: characterReact .72s var(--ease-out); }
.portrait-stage.is-reacting .portrait-halo { animation-duration: .8s; }

.portrait-index {
  position: absolute;
  z-index: 4;
  right: 8%;
  top: 24%;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font: 900 .88rem/1 Arial Black, Impact, sans-serif;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(10deg);
}

.speech-tag {
  position: absolute;
  z-index: 5;
  left: 3%;
  top: 44%;
  padding: 10px 12px 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  font: 900 .75rem/1 Arial, sans-serif;
  letter-spacing: .11em;
  transform: rotate(-7deg);
  transition: transform .25s var(--ease-out);
}

.portrait-stage:hover .speech-tag { transform: rotate(4deg) scale(1.06); }

.lore-card {
  position: absolute;
  z-index: 13;
  right: clamp(28px, 3.7vw, 72px);
  top: 13%;
  width: min(24vw, 420px);
  padding: clamp(18px, 1.55vw, 30px);
  border: 2px solid var(--ink);
  background: rgba(245,238,226,.9);
  box-shadow: 10px 10px 0 rgba(8,29,49,.88), var(--shadow);
  transform: rotate(1.2deg);
  backdrop-filter: blur(8px);
}

.lore-card::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 19px;
  left: 50%;
  top: -12px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(242,192,94,.78);
  border: 1px solid rgba(8,29,49,.18);
}

.lore-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font: 800 .75rem/1 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lore-label {
  width: max-content;
  margin: 19px 0 10px;
  padding: 5px 8px 4px;
  color: var(--white);
  background: var(--red);
  font: 900 .75rem/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.lore-card h2 {
  margin: 0 0 12px;
  font: 900 clamp(1.65rem, 2.05vw, 2.55rem)/.93 Arial Black, Impact, sans-serif;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.lore-card > p:not(.lore-label, .mission) {
  margin: 0;
  font: 600 clamp(.78rem, .79vw, .93rem)/1.42 Arial, sans-serif;
}

.lore-rule { height: 5px; margin: 18px 0; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 25px); }

.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stats div { min-width: 0; padding-right: 5px; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats dt { margin-bottom: 6px; font: 800 .75rem/1 Arial, sans-serif; letter-spacing: .04em; opacity: .68; }
.stats dd { margin: 0; overflow-wrap: anywhere; font: 900 clamp(.75rem, .67vw, .8rem)/1 Arial Black, Impact, sans-serif; }
.mission { margin: 17px 0 0; font: 700 .75rem/1.3 Arial, sans-serif; }
.mission b { color: var(--red); }

.micro-label {
  position: absolute;
  z-index: 6;
  padding: 8px 10px;
  border: 1px solid rgba(8,29,49,.6);
  font: 900 .75rem/1 Arial, sans-serif;
  letter-spacing: .13em;
}

.micro-left { left: 33.3%; bottom: 8%; transform: rotate(-90deg); transform-origin: left bottom; }
.micro-right { right: 1.2%; bottom: 14%; transform: rotate(90deg); transform-origin: right bottom; }

.ticker {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(45px, 5.2vh, 58px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-top: 2px solid var(--red);
  transform: translateZ(0);
}

.ticker-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(25px, 2.2vw, 44px);
  padding-left: 2vw;
  animation: ticker 22s linear infinite;
  font: 900 clamp(.8rem, 1.05vw, 1.24rem)/1 Arial Black, Impact, sans-serif;
  letter-spacing: .11em;
}

.ticker-track i { color: var(--red); font-style: normal; }

.parody-note {
  position: fixed;
  z-index: 60;
  right: 12px;
  bottom: 5px;
  color: rgba(255,255,255,.52);
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .09em;
  pointer-events: none;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  top: 11vh;
  padding: 14px 18px 12px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--gold);
  box-shadow: 6px 6px 0 var(--ink);
  font: 900 .76rem/1 Arial, sans-serif;
  letter-spacing: .13em;
  transform: translate(-50%, -30px) rotate(-2deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .4s var(--ease-out);
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0) rotate(-2deg); }

.burst-star {
  --tx: 0px;
  --ty: 0px;
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  color: var(--red);
  font: 900 26px/1 Georgia, serif;
  pointer-events: none;
  animation: burst .75s var(--ease-out) forwards;
}

.loading-screen {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--white);
  background: var(--ink);
  transition: transform .8s var(--ease-out), visibility .8s;
}

.loading-screen.is-done { transform: translateY(-105%); visibility: hidden; }
.loading-mark { display: grid; place-items: center; width: 86px; aspect-ratio: 1; border-radius: 50%; background: var(--red); font: 900 2rem/1 Arial Black, Impact, sans-serif; animation: loadBob .7s ease-in-out infinite alternate; }
.loading-screen p { margin: 19px 0 0; font: 800 .75rem/1 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); }
.is-ready .reveal { opacity: 1; transform: translateY(0); transition: opacity .75s .25s, transform .85s .25s var(--ease-out); }
.is-ready .portrait-stage {
  transform: perspective(1100px) rotateX(var(--rot-x)) rotateY(var(--rot-y));
  transition-delay: .08s;
}
.is-ready .lore-card { transform: rotate(1.2deg); transition-delay: .46s; }

.magnetic { will-change: transform; }

@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(229,46,46,0); } 100% { box-shadow: 0 0 0 0 rgba(229,46,46,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes characterIdle { 0%,100% { transform: translateY(0) scaleY(1) rotate(.2deg); } 50% { transform: translateY(-9px) scaleY(1.012) rotate(-.3deg); } }
@keyframes characterReact { 0% { transform: scale(1); } 28% { transform: scaleX(.98) scaleY(1.08) rotate(-2deg); } 52% { transform: scaleX(1.03) scaleY(.97) rotate(1.5deg); } 100% { transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes burst { 0% { transform: translate(-50%, -50%) scale(.2) rotate(0); opacity: 1; } 100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.25) rotate(230deg); opacity: 0; } }
@keyframes loadBob { to { transform: translateY(-8px) rotate(5deg); } }

@media (max-width: 1200px) {
  .topbar-note { display: none; }
  .intro-panel { left: 4vw; width: 33vw; }
  .portrait-stage { left: 32%; width: 53vw; }
  .lore-card { right: 3vw; width: 27vw; }
  .intro-copy { font-size: .9rem; }
  .title-stack { font-size: 13.5vw; }
}

@media (max-width: 820px), (max-height: 620px) and (orientation: portrait) {
  body { overflow-x: hidden; overflow-y: auto; }
  .site-shell { min-height: 1360px; height: auto; overflow: hidden; }
  .topbar { height: 74px; padding: 0 18px; }
  .wordmark-copy { display: none; }
  .nav-link { min-width: auto; width: 44px; justify-content: center; }
  .nav-link small { display: none; }
  .hero { position: relative; inset: auto; min-height: 1286px; padding-top: 1px; }
  .title-stack { top: 24px; left: 14px; right: 14px; font-size: 25vw; line-height: .78; }
  .title-row-bottom { margin-top: 29vh; text-align: right; }
  .intro-panel { top: 32px; left: 22px; width: calc(100% - 44px); }
  .intro-panel h1 { max-width: 8ch; font-size: clamp(3.2rem, 15vw, 5.8rem); }
  .intro-copy { width: min(89%, 430px); }
  .portrait-stage { left: 50%; top: 378px; bottom: auto; width: min(116vw, 710px); transform: translateX(-50%); }
  .is-ready .portrait-stage { transform: translateX(-50%); }
  .portrait-stage:hover { transform: translateX(-50%); }
  .lore-card { top: 910px; right: 22px; left: 22px; width: auto; transform: rotate(.5deg); }
  .lore-card h2 { font-size: 2rem; }
  .ticker { position: absolute; }
  .micro-label, .cursor-light { display: none; }
  .parody-note { bottom: 6px; font-size: 7px; }
}

@media (max-width: 460px) {
  .site-shell { min-height: 1430px; }
  .hero { min-height: 1356px; }
  .kicker { font-size: .75rem; }
  .intro-panel h1 { font-size: 3.3rem; }
  .intro-copy { margin-top: 1rem; font-size: .88rem; }
  .ca-button { min-width: 184px; }
  .round-action { width: 48px; }
  .portrait-stage { top: 500px; width: 128vw; }
  .lore-card { top: 960px; padding: 20px; }
  .stats dd { font-size: .75rem; }
}

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