:root {
  --ink: #111126;
  --ink-soft: #242340;
  --night: #17172f;
  --cream: #f3d8c8;
  --parchment: #c69578;
  --coral: #d98786;
  --violet: #c56ad6;
  --violet-bright: #ef8dff;
  --cyan: #8dd9dc;
  --line: rgba(241, 197, 184, .42);
  --shadow: 0 14px 40px rgba(4, 3, 16, .42);
  --serif: Georgia, "Times New Roman", serif;
  --display: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: #76517c #17172f;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background: #101126;
  font-family: var(--serif);
  line-height: 1.5;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  background:
    linear-gradient(180deg, transparent 0 70%, rgba(13, 15, 36, .18) 82%, rgba(11, 13, 31, .45) 100%),
    url("assets/images/harbor-bg-hq.webp") center top / 100% 100% no-repeat;
  filter: saturate(.93) contrast(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 9, 22, .06), transparent 18%, transparent 84%, rgba(9, 7, 26, .3)),
    radial-gradient(circle at 50% 20%, transparent 24%, rgba(9, 7, 26, .12) 100%);
}

button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
button, [href], [tabindex] { -webkit-tap-highlight-color: transparent; }

::selection { color: #17152c; background: #e99ad6; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 15px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
}
.skip-link:focus { transform: none; }

#atmosphere {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .5;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .12;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain .5s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate(0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(1.5%, 1%); }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  width: 100%;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 50px);
  transform: translateX(-50%);
  transition: background .35s, border-color .35s, min-height .35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  min-height: 62px;
  background: linear-gradient(180deg, rgba(15, 15, 35, .94), rgba(18, 18, 41, .84));
  border-color: rgba(216, 142, 170, .22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -.02em;
  font: 700 clamp(17px, 2vw, 25px)/1 var(--display);
  text-shadow: 0 0 22px rgba(238, 146, 196, .35);
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2.3vw, 30px);
}
.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(245, 218, 207, .78);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, transparent, var(--cream), transparent);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.ca-chip, .ca-panel {
  position: relative;
  border: 1px solid rgba(230, 173, 170, .46);
  color: var(--cream);
  background: rgba(23, 21, 44, .84);
  box-shadow: inset 0 0 0 3px rgba(8, 8, 23, .55), var(--shadow);
  cursor: pointer;
  overflow: hidden;
}
.ca-chip::before, .ca-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 20%, rgba(239, 141, 255, .26) 42%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .55s;
}
.ca-chip:hover::before, .ca-panel:hover::before { transform: translateX(120%); }
.ca-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 178px;
  padding: 9px 12px;
  border-radius: 9px;
  text-align: left;
}
.ca-chip span, .ca-label { color: #e1b4ae; font-weight: 700; }
.ca-chip code { margin-left: auto; }
.ca-chip svg, .ca-panel svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.ca-chip code, .ca-panel code { color: var(--cream); font: 700 12px/1.2 ui-monospace, Consolas, monospace; }

.menu-toggle { display: none; }

main {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(690px, 92vh, 900px);
  padding: clamp(120px, 17vh, 178px) clamp(28px, 8vw, 90px) 90px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 2%;
  left: 4%;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 41, .48));
  filter: blur(12px);
  pointer-events: none;
}

.hero-copy { width: min(630px, 66%); }
.eyebrow {
  width: max-content;
  margin: 0 0 13px;
  padding-left: 30px;
  color: #dda4b0;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  opacity: 0;
  animation: eyebrowIn .7s .3s forwards;
}
.eyebrow::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  margin: .65em 0 0 -30px;
  background: currentColor;
}
@keyframes eyebrowIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }

.display-title {
  position: relative;
  margin: 0;
  color: var(--cream);
  font: 400 clamp(68px, 10.4vw, 145px)/.82 var(--display);
  letter-spacing: -.085em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 0 rgba(92, 45, 85, .6), 0 0 34px rgba(255, 174, 202, .18);
  filter: url("#none");
}
.display-title::after {
  content: "";
  display: block;
  width: 58%;
  height: 14px;
  margin: 20px auto 16px;
  background: linear-gradient(90deg, transparent, #111227 12% 45%, #cc7fac 45% 46%, #111227 47% 88%, transparent);
  clip-path: polygon(0 45%, 39% 40%, 43% 0, 48% 42%, 100% 50%, 48% 59%, 44% 100%, 39% 61%);
}
.split-title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(48px) rotate(calc(var(--i) * .7deg - 3deg)) skewY(7deg);
  filter: blur(11px);
  animation: letterRise .9s calc(.38s + var(--i) * 55ms) cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes letterRise { to { opacity: 1; transform: none; filter: none; } }

.tagline {
  max-width: 400px;
  margin: 0 0 28px 8px;
  color: #f0d8c8;
  font-size: clamp(24px, 3.4vw, 39px);
  line-height: 1.12;
  text-wrap: balance;
  opacity: 0;
  transform: translateX(-28px);
  animation: taglineIn .8s 1s forwards;
}
@keyframes taglineIn { to { opacity: 1; transform: none; } }

.action-row { display: flex; gap: 10px; margin: 0 0 18px 2px; }
.action-card {
  position: relative;
  display: block;
  width: 94px;
  min-height: 94px;
  padding: 0;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-radius: 6px 10px 5px 9px;
  box-shadow: none;
  opacity: 0;
  transform: translateY(28px) rotate(2deg);
  animation: actionIn .62s calc(1.12s + var(--action-index, 0) * 90ms) forwards;
  transition: border-radius .25s, color .25s, box-shadow .25s;
}
.action-card:nth-child(2) { --action-index: 1; transform: translateY(28px) rotate(-2deg); }
.action-card:nth-child(3) { --action-index: 2; }
.action-card:nth-child(4) { --action-index: 3; transform: translateY(28px) rotate(-1deg); }
@keyframes actionIn { to { opacity: 1; transform: none; } }
.dex-cta::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(226, 165, 199, .22);
  border-radius: inherit;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path .5s;
}
.action-card:hover {
  color: #fff0df;
  border-radius: 14px 5px 13px 6px;
  box-shadow: none;
}
.dex-cta:hover::after { clip-path: inset(0); }
.action-card:active, .dex-cta:active { transform: scale(.95) !important; }
.action-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: inherit; filter: drop-shadow(0 10px 11px rgba(4,4,17,.46)); transition: filter .25s, transform .25s; }
.action-card:hover img { filter: brightness(1.13) saturate(1.08) drop-shadow(0 14px 14px rgba(4,4,17,.58)); transform: scale(1.025); }

.ca-panel {
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 13px;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 15px;
  border-radius: 5px;
}
.ca-panel .ca-full { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 330px; }
.copy-feedback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f6e8d7;
  background: linear-gradient(90deg, #433553, #5d3d68);
  opacity: 0;
  transform: translateY(100%);
  transition: .3s;
}
.ca-copy.copied .copy-feedback { opacity: 1; transform: none; }
.ca-copy.copied { animation: copiedPulse .6s; }
@keyframes copiedPulse { 50% { box-shadow: 0 0 0 9px rgba(225, 123, 218, 0), 0 0 28px rgba(235, 134, 229, .5); } }

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  color: rgba(244, 216, 207, .74);
  text-decoration: none;
  font-size: 13px;
  transform: translateX(-50%);
}
.scroll-cue svg { grid-column: 1 / -1; width: 28px; margin: -3px auto 0; fill: none; stroke: currentColor; animation: cue 1.8s infinite; }
.mouse-icon { display: grid; place-items: start center; width: 15px; height: 24px; border: 1px solid currentColor; border-radius: 12px; }
.mouse-icon i { width: 2px; height: 5px; margin-top: 4px; background: currentColor; border-radius: 2px; animation: mouse 1.4s infinite; }
@keyframes mouse { 0% { opacity: 0; transform: translateY(0); } 45% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes cue { 50% { transform: translateY(5px); } }

.section {
  position: relative;
  padding: clamp(78px, 9vw, 112px) clamp(25px, 6vw, 72px);
}
.section-heading { position: relative; margin: 0 auto 42px; text-align: center; }
.heading-kicker {
  display: block;
  margin-bottom: 7px;
  color: #d88fac;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 9px;
}
.section-heading h2 {
  margin: 0;
  color: #e7bcc0;
  font: 400 clamp(48px, 7vw, 78px)/.95 var(--display);
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(39, 22, 52, .8), 0 0 24px rgba(232, 124, 196, .18);
}
.section-heading > i {
  display: block;
  width: 126px;
  height: 15px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, #c469a0, transparent);
  clip-path: polygon(0 20%, 45% 20%, 50% 100%, 55% 20%, 100% 20%, 55% 40%, 50% 100%, 45% 40%);
}
.section-heading p { margin: 9px 0 0; color: rgba(238, 206, 206, .72); }

.lore-section { min-height: 650px; background: transparent; }
.lore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); align-items: start; width: 100%; max-width: 1600px; margin-inline: auto; }
.lore-card {
  --r: -2deg;
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1122 / 1402;
  padding: 0;
  color: #251e2d;
  background: none;
  border: 0;
  box-shadow: none;
  transform: rotate(var(--r));
  transform-origin: 50% -15px;
  opacity: 0;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), filter .3s;
}
.lore-card:nth-child(2) { --r: 2deg; margin-top: 26px; }
.lore-card:nth-child(3) { --r: -1deg; margin-top: 11px; }
.lore-card:nth-child(4) { --r: 3deg; margin-top: -5px; }
.lore-card.revealed { opacity: 1; animation: cardUnseal .75s var(--delay) cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cardUnseal {
  from { clip-path: inset(42% 44% round 20px); filter: blur(8px); transform: rotate(var(--r)) scale(.82); }
}
.lore-card:hover { transform: rotate(0) translateY(-10px) scale(1.035); filter: brightness(1.08); }
.lore-art {
  position: absolute;
  z-index: 0;
  inset: -3% -4% -8%;
  width: 108%;
  height: 111%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 11px rgba(4, 4, 17, .5));
  transition: filter .35s;
}
.lore-card:hover .lore-art { filter: drop-shadow(0 20px 14px rgba(4, 4, 17, .58)) saturate(1.08); }
.section-note { margin: 42px 0 0; color: rgba(241, 213, 210, .78); font-size: 13px; }
.section-note span { color: #e393c4; font-size: 21px; }

.roadmap-section { min-height: 610px; overflow: hidden; background: transparent; }
.roadmap-track { position: relative; min-height: 390px; }
.road-line { position: absolute; inset: 62px 0 0; width: 100%; height: 280px; overflow: visible; }
.road-line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.road-shadow { stroke: #0c0c1e; stroke-width: 14; filter: drop-shadow(0 8px 4px rgba(0,0,0,.55)); }
.road-glow { stroke: #8d5989; stroke-width: 3; stroke-dasharray: 9 7; stroke-dashoffset: 540; filter: drop-shadow(0 0 5px #dc6ed2); transition: stroke-dashoffset 2.2s cubic-bezier(.2,.8,.2,1); }
.roadmap-section.revealed .road-glow { stroke-dashoffset: 0; }
.roadmap-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; min-height: 375px; margin: 0; padding: 0; list-style: none; }
.road-stop { position: relative; align-self: start; display: flex; justify-content: center; opacity: 0; transform: scale(.3) rotate(-10deg); }
.road-stop:nth-child(even) { align-self: end; transform: scale(.3) rotate(10deg); }
.road-stop.revealed { opacity: 1; transform: none; transition: .7s var(--delay) cubic-bezier(.18, 1.5, .35, 1); }
.road-plaque {
  position: relative;
  isolation: isolate;
  width: min(100%, 174px);
  min-height: 260px;
  padding: 108px 26px 38px;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.road-art {
  position: absolute;
  z-index: -1;
  inset: -6% -12% -8%;
  width: 124%;
  height: 114%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 11px rgba(4, 4, 17, .58));
  transition: filter .35s, transform .4s cubic-bezier(.16,1,.3,1);
}
.road-plaque:hover .road-art { filter: drop-shadow(0 20px 16px rgba(5,4,18,.7)) saturate(1.12); transform: scale(1.025); }
.road-index {
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  color: #f4c6ca;
  background: transparent;
  transform: translateX(-50%);
  text-shadow: 0 1px 3px #101127, 0 0 10px #ed83e5;
  font-weight: 700;
}
.road-plaque h3 { margin: 2px 0 7px; color: #f0d5cf; font-size: 17px; line-height: 1.02; text-shadow: 0 2px 3px #0d0e20; }
.road-plaque p { margin: 0; color: rgba(241, 213, 207, .76); font-size: 11px; line-height: 1.2; }

.observation-section { min-height: 780px; padding-inline: clamp(18px, 4vw, 48px); background: rgba(16, 18, 41, .46); }
.observation-console {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr 44px;
  min-height: 430px;
  padding: 14px;
  background: linear-gradient(145deg, #72504f, #372c43 54%, #5c3d49);
  border: 2px solid #1b182d;
  border-radius: 8px 16px 10px 6px;
  box-shadow: inset 0 0 0 5px rgba(15, 13, 29, .5), 0 20px 34px rgba(6, 5, 18, .55);
  opacity: 0;
  clip-path: inset(48% 48% round 30px);
  transition: opacity .3s, clip-path 1s cubic-bezier(.22,1,.36,1);
}
.observation-console.revealed { opacity: 1; clip-path: inset(0 round 8px); }
.observation-tabs { display: flex; flex-direction: column; gap: 8px; padding: 8px 10px 8px 3px; }
.observation-tab {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  color: #38273c;
  background: linear-gradient(145deg, #ba8d75, #9e6c67);
  border: 1px solid #33223a;
  border-radius: 3px 7px 5px 4px;
  box-shadow: inset 0 0 0 3px rgba(74, 42, 54, .15);
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}
.observation-tab:hover { transform: translateX(5px) skewX(-2deg); }
.observation-tab[aria-selected="true"] { color: #301d3b; background: linear-gradient(145deg, #e29ac7, #b270a4); box-shadow: inset 0 0 0 3px rgba(90,45,91,.24), 0 0 20px rgba(228,119,218,.3); }
.observation-tab span:first-child { font-size: 24px; }
.observation-tab span:last-child { font-weight: 700; }

.map-viewport {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 2px solid #1c1931;
  border-radius: 7px 3px 8px 5px;
  background:
    radial-gradient(circle at 73% 29%, rgba(214, 115, 225, .34), transparent 22%),
    linear-gradient(165deg, rgba(117, 82, 150, .8), rgba(36, 40, 82, .91) 60%, rgba(18, 25, 53, .95));
  cursor: grab;
  touch-action: none;
  box-shadow: inset 0 0 44px rgba(11, 10, 35, .75);
}
.map-viewport:active { cursor: grabbing; }
.map-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(215, 177, 226, .05) 4px);
  pointer-events: none;
}
.map-scene { position: absolute; inset: 0; transition: transform .2s ease-out, filter .45s; }
.tower-silhouette {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 62px;
  height: 78%;
  background: linear-gradient(90deg, #171934, #31305a, #16172f);
  clip-path: polygon(21% 0, 78% 0, 82% 8%, 76% 8%, 84% 100%, 13% 100%, 22% 9%, 15% 9%);
  opacity: .8;
}
.tower-silhouette::after { content: ""; position: absolute; inset: 22% 20%; background: repeating-linear-gradient(0deg, transparent 0 27px, #e58b88 28px 32px, transparent 33px); filter: drop-shadow(0 0 5px #e98a91); }
.rooftop-silhouette {
  position: absolute;
  right: -5%;
  bottom: 0;
  left: 20%;
  height: 42%;
  background: #1b1c39;
  clip-path: polygon(0 48%, 8% 30%, 17% 46%, 27% 12%, 36% 41%, 44% 22%, 52% 48%, 63% 9%, 71% 39%, 80% 19%, 90% 41%, 100% 15%, 100% 100%, 0 100%);
  opacity: .82;
}
.ship-silhouette { position: absolute; right: 12%; bottom: 28%; font-size: 64px; color: #171932; filter: drop-shadow(0 8px 1px rgba(232,128,157,.2)); }
.moon { position: absolute; top: 8%; right: 8%; color: #efc49e; font-size: 55px; text-shadow: 0 0 18px rgba(244,175,153,.45); }
.signal-beam {
  position: absolute;
  z-index: 1;
  left: 2%;
  top: 48%;
  width: 72%;
  height: 52%;
  transform: translateY(-50%);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(232, 118, 246, .26), rgba(222, 117, 244, .08), transparent);
  clip-path: polygon(0 48%, 100% 0, 86% 100%, 0 55%);
  mix-blend-mode: screen;
  animation: beam 4s ease-in-out infinite;
}
@keyframes beam { 50% { opacity: .55; transform: translateY(-50%) rotate(1.2deg) scaleY(.9); } }
.signal-marker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  color: #f6a0ef;
  background: rgba(59, 36, 82, .8);
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 0 16px currentColor;
  cursor: help;
  animation: marker 2.4s ease-in-out infinite;
}
.signal-marker::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.signal-marker:hover, .signal-marker:focus-visible, .signal-marker.active { z-index: 5; color: #ffd2f9; transform: translate(-50%, -50%) scale(1.26) rotate(-8deg); }
@keyframes marker { 50% { box-shadow: 0 0 24px currentColor, 0 0 0 8px rgba(236,133,242,0); } }
.map-reticle { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 90px; height: 90px; transform: translate(-50%, -50%); border: 1px solid rgba(240, 162, 241, .3); border-radius: 50%; pointer-events: none; }
.map-reticle::after, .map-reticle::before { content: ""; position: absolute; inset: 13px; border: 1px dashed rgba(240,162,241,.3); border-radius: 50%; }
.map-reticle::after { inset: 39px; background: #ed91e9; box-shadow: 0 0 12px #ed91e9; }
.map-reticle span { position: absolute; top: 50%; left: -18px; width: 124px; height: 1px; background: rgba(240,162,241,.25); }
.map-reticle span:last-child { transform: rotate(90deg); }
.observation-readout {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 13px;
  width: min(280px, 68%);
  padding: 10px 13px;
  background: rgba(18, 20, 48, .78);
  border-left: 2px solid #d276c7;
  backdrop-filter: blur(5px);
}
.readout-index { color: #e98ee1; letter-spacing: .18em; font: 700 9px/1 ui-monospace, monospace; }
.observation-readout p { margin: 4px 0 0; font-size: 12px; }
.console-rail { display: flex; flex-direction: column; align-items: center; justify-content: space-around; margin-left: 5px; color: #1b172e; font-size: 21px; }

.signal-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.7fr;
  align-content: center;
  gap: clamp(25px, 5vw, 64px);
  padding-top: 120px;
  padding-bottom: 112px;
  background: transparent;
}
.align-left { margin: 0 0 24px; text-align: left; }
.align-left > i { margin-left: 0; }
.signal-copy > p { max-width: 250px; color: rgba(242, 211, 207, .78); font-size: 16px; }
.dex-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: min(100%, 285px);
  margin: 28px 0 18px;
  padding: 17px 20px;
  color: #f2c9d0;
  text-decoration: none;
  background: linear-gradient(145deg, #714d77, #463555);
  border: 1px solid #dc8bc2;
  border-radius: 6px;
  box-shadow: inset 0 0 0 4px rgba(25,20,45,.55), var(--shadow);
  transition: border-radius .3s, filter .3s;
}
.dex-cta:hover { border-radius: 15px 5px 15px 5px; filter: brightness(1.18); }
.dex-cta svg { width: 32px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.dex-cta:hover svg { transform: translateX(5px); }
.signal-copy .ca-panel { width: min(100%, 285px); }

.chart-console {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(38,42,81,.94), rgba(21,25,53,.98));
  border: 13px solid #2b2b48;
  border-radius: 22px 9px 24px 11px;
  box-shadow: 0 0 0 4px #765054, 0 0 0 8px #17172f, 0 24px 40px rgba(5,4,17,.58), inset 0 0 35px rgba(107, 76, 135, .4);
  opacity: 0;
  transform: perspective(900px) rotateY(-12deg) translateX(60px);
  filter: blur(8px);
  transition: 1s cubic-bezier(.16,1,.3,1);
}
.chart-console.revealed { opacity: 1; transform: none; filter: none; }
.chart-console::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(139, 114, 165, .45); border-radius: 10px; pointer-events: none; }
.chart-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(118,105,155,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(118,105,155,.11) 1px, transparent 1px); background-size: 31px 31px; }
#signal-chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-label { position: absolute; top: 45%; left: 50%; display: flex; align-items: center; gap: 8px; color: rgba(228,183,206,.58); transform: translate(-50%,-50%); font-style: italic; }
.chart-link {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: #efd0dc;
  background: rgba(27, 25, 58, .76);
  border: 1px solid rgba(218, 119, 209, .45);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .04em;
  transform: translateX(-50%);
  backdrop-filter: blur(7px);
  transition: color .25s, background .25s, box-shadow .25s;
}
.chart-link:hover { color: #fff1f4; background: rgba(92, 54, 104, .86); box-shadow: 0 0 22px rgba(219, 105, 210, .32); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #d877cf; box-shadow: 0 0 12px #d877cf; animation: live 1.2s infinite; }
@keyframes live { 50% { opacity: .25; } }
.chart-cat { position: absolute; right: 15px; bottom: -6px; width: 65px; height: 115px; background: #111225; border-radius: 50% 48% 12% 10%; transform: rotate(-8deg); }
.chart-cat::before, .chart-cat::after { content: ""; position: absolute; top: -18px; width: 28px; height: 36px; background: #111225; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.chart-cat::before { left: 2px; transform: rotate(-9deg); }
.chart-cat::after { right: 1px; transform: rotate(10deg); }
.cat-eye { position: absolute; z-index: 2; top: 19px; left: 10px; width: 17px; height: 10px; background: #f2e8d6; border-radius: 50%; transform: rotate(-10deg); }
.cat-eye::after { content: ""; position: absolute; top: 2px; left: 7px; width: 4px; height: 6px; background: #121326; border-radius: 50%; }
.cat-tail { position: absolute; right: -16px; bottom: 9px; width: 42px; height: 73px; border: 11px solid #111225; border-left-color: transparent; border-top-color: transparent; border-radius: 50%; transform: rotate(15deg); }

footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 18px;
  color: rgba(240, 210, 205, .58);
  border-top: 1px solid rgba(218, 143, 174, .22);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.back-top { padding: 4px; border: 0; color: inherit; background: none; cursor: pointer; }
.back-top:hover { color: var(--cream); }

.toast {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  padding: 12px 17px;
  color: #211a35;
  background: var(--cream);
  border-radius: 5px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px) scale(.94);
  pointer-events: none;
  transition: .35s cubic-bezier(.16,1,.3,1);
}
.toast.show { opacity: 1; transform: none; }

.cursor-dot, .cursor-ring { position: fixed; z-index: 9999; top: 0; left: 0; pointer-events: none; opacity: 0; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: #f2d4d2; border-radius: 50%; box-shadow: 0 0 8px #ee84db; }
.cursor-ring {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -16px;
  border: 1px solid rgba(242,194,215,.72);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: width .25s, height .25s, margin .25s, border-radius .25s, background .25s;
}
.cursor-ring span { color: #fff; font: 700 7px/1 ui-monospace, monospace; letter-spacing: .08em; }
.cursor-visible .cursor-dot, .cursor-visible .cursor-ring { opacity: 1; }
.cursor-link .cursor-ring { width: 48px; height: 48px; margin: -24px; background: rgba(207,112,203,.22); }
.cursor-drag .cursor-ring { width: 64px; height: 32px; margin: -16px -32px; border-radius: 20px; }
.cursor-ca .cursor-ring { width: 58px; height: 58px; margin: -29px; background: rgba(239,141,255,.22); }

:focus-visible { outline: 2px solid #f1a1e8; outline-offset: 4px; }
.action-card:focus-visible, .ca-copy:focus-visible, .observation-tab:focus-visible, .dex-cta:focus-visible { box-shadow: 0 0 0 3px #17172f, 0 0 0 5px #f1a1e8, 0 0 24px rgba(241,161,232,.45); }

@media (pointer: fine) { body, a, button { cursor: none; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    display: grid;
    width: 230px;
    padding: 15px 20px;
    background: rgba(20, 19, 43, .96);
    border: 1px solid var(--line);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.96);
    transform-origin: top right;
    transition: .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; height: 36px; padding: 10px 8px; border: 1px solid var(--line); background: rgba(24,23,49,.8); border-radius: 5px; }
  .menu-toggle span { display: block; height: 1px; background: var(--cream); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero-copy { width: 72%; }
  .lore-grid { grid-template-columns: repeat(2, 1fr); }
  .lore-card:nth-child(n) { margin-top: 0; }
  .roadmap-track { min-height: 850px; }
  .road-line { display: none; }
  .roadmap-list { grid-template-columns: repeat(2, 1fr); gap: 38px 20px; }
  .road-stop:nth-child(n) { align-self: start; }
  .road-stop:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body::before { width: 100%; background-size: 100% 100%; background-position: center top; }
  .site-header { min-height: 62px; padding-inline: 14px; gap: 8px; }
  .brand span { display: inline; font-size: 14px; }
  .ca-chip { min-width: 150px; padding: 8px 10px; }
  .ca-chip code { font-size: 10px; }
  .hero { min-height: 760px; padding: 118px 22px 85px; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: 9px; }
  .display-title { font-size: clamp(48px, 15vw, 88px); letter-spacing: -.1em; }
  .tagline { width: 72%; margin-top: 14px; font-size: 26px; }
  .action-row { gap: 7px; }
  .action-card { flex: 1; width: auto; min-width: 0; min-height: 75px; padding: 8px 4px; }
  .ca-panel { width: 100%; grid-template-columns: auto minmax(0,1fr) auto; }
  .ca-panel code { font-size: 10px; }
  .scroll-cue { bottom: 22px; white-space: nowrap; }
  .section { padding: 70px 18px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: clamp(45px, 15vw, 70px); }
  .lore-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lore-card { min-height: 0; padding: 0; }
  .lore-card:nth-child(even) { margin-top: 20px; }
  .roadmap-list { gap: 33px 10px; }
  .road-plaque { width: min(100%, 190px); min-height: 280px; padding: 112px 26px 40px; }
  .road-plaque h3 { font-size: 16px; }
  .observation-section { padding-inline: 10px; }
  .observation-console { grid-template-columns: 1fr; padding: 9px; }
  .observation-tabs { flex-direction: row; overflow-x: auto; padding: 3px 2px 10px; scrollbar-width: none; }
  .observation-tabs::-webkit-scrollbar { display: none; }
  .observation-tab { flex: 0 0 112px; grid-template-columns: 25px 1fr; min-height: 53px; padding: 6px; }
  .observation-tab span:first-child { font-size: 18px; }
  .observation-tab span:last-child { font-size: 12px; }
  .map-viewport { min-height: 360px; }
  .console-rail { display: none; }
  .signal-section { grid-template-columns: 1fr; padding-top: 90px; }
  .signal-copy > p { max-width: 80%; }
  .chart-console { min-height: 330px; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 410px) {
  .ca-chip { min-width: 126px; gap: 5px; }
  .ca-chip span:first-child { display: none; }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-card:nth-child(n) { min-height: 0; margin: 0; padding: 0; }
  .roadmap-list { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #atmosphere, .page-grain { display: none; }
  .split-title .letter, .eyebrow, .tagline, .action-card, .lore-card, .road-stop, .observation-console, .chart-console { opacity: 1; transform: none; filter: none; clip-path: none; }
}
