:root {
  --bg: #06131f;
  --bg-deep: #020811;
  --panel: rgba(10, 27, 44, 0.72);
  --panel-strong: rgba(9, 22, 34, 0.9);
  --line: rgba(116, 190, 255, 0.22);
  --text: #eff7ff;
  --muted: rgba(221, 238, 255, 0.72);
  --mint: #63f2d9;
  --cyan: #2da8ff;
  --amber: #ffb84d;
  --rose: #ff7f88;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 168, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 14%, rgba(255, 184, 77, 0.12), transparent 24%),
    linear-gradient(180deg, #0a1928 0%, #05111b 56%, #020811 100%);
  font-family: "Avenir Next", "Trebuchet MS", "PingFang SC", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.aurora,
.grid-mask {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.aurora {
  filter: blur(90px);
  opacity: 0.8;
}

.aurora-one {
  background: radial-gradient(circle at 20% 20%, rgba(99, 242, 217, 0.3), transparent 26%);
}

.aurora-two {
  background: radial-gradient(circle at 80% 25%, rgba(45, 168, 255, 0.22), transparent 28%);
}

.grid-mask {
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.topbar,
.section {
  width: min(var(--max-width), calc(100vw - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 8px;
  position: relative;
  z-index: 3;
}

.brand,
.brand-tag,
.eyebrow,
.section-kicker,
.card-index,
.floating-label,
.motion-item span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 0 18px rgba(99, 242, 217, 0.8);
}

.brand-tag {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.74rem;
}

.section {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 38px 0 80px;
}

.copy {
  max-width: 600px;
}

.eyebrow,
.section-kicker {
  color: var(--mint);
  font-size: 0.76rem;
  margin: 0 0 14px;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0.34em;
}

.hero-lead,
.story-card p,
.motion-item p,
.closing-panel p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 580px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cta-primary {
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  color: #04111a;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(45, 168, 255, 0.2);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-2px);
}

.cta-primary.ghost,
.cta-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat {
  min-width: 126px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(6, 17, 27, 0.52);
  backdrop-filter: blur(16px);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--mint);
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.island-shell {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
}

.route-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-ring {
  fill: none;
  stroke: rgba(120, 190, 255, 0.18);
  stroke-width: 1.5;
}

.route-ring-soft {
  stroke-dasharray: 10 12;
  opacity: 0.8;
}

#orbit-path {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 3;
  stroke-dasharray: 8 16;
  stroke-linecap: round;
  opacity: 0.88;
}

.island-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 65% 34%, rgba(45, 168, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(17, 43, 63, 0.98), rgba(5, 19, 31, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.island-core::before,
.island-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 9%;
  border: 1px solid rgba(99, 242, 217, 0.12);
}

.island-core::after {
  inset: 18%;
  border-color: rgba(45, 168, 255, 0.18);
}

.penguin-mark {
  position: relative;
  width: 180px;
  height: 220px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.32));
}

.penguin-body,
.penguin-belly,
.penguin-wing,
.penguin-eye,
.penguin-beak {
  position: absolute;
}

.penguin-body {
  inset: 18px 28px 8px;
  border-radius: 46% 46% 42% 42% / 52% 52% 36% 36%;
  background: linear-gradient(180deg, #11293f 0%, #0d2235 54%, #08131f 100%);
}

.penguin-belly {
  left: 50%;
  top: 62px;
  width: 84px;
  height: 112px;
  margin-left: -42px;
  border-radius: 48% 48% 44% 44%;
  background: linear-gradient(180deg, #fefefe 0%, #dfeaf4 100%);
}

.penguin-wing {
  top: 90px;
  width: 34px;
  height: 94px;
  border-radius: 50px;
  background: linear-gradient(180deg, #08131f 0%, #132b42 100%);
}

.wing-left {
  left: 18px;
  transform: rotate(24deg);
}

.wing-right {
  right: 18px;
  transform: rotate(-24deg);
}

.penguin-eye {
  top: 70px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #031019;
}

.eye-left {
  left: 72px;
}

.eye-right {
  right: 72px;
}

.penguin-beak {
  top: 94px;
  left: 50%;
  width: 28px;
  height: 18px;
  margin-left: -14px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(180deg, #ffcc6f, #ff9b4d);
}

.orbiter,
.pulse {
  position: absolute;
  border-radius: 999px;
}

.orbiter {
  width: 14px;
  height: 14px;
  left: 50%;
  top: 50%;
  margin-left: -7px;
  margin-top: -7px;
  box-shadow: 0 0 26px currentColor;
}

.orbiter-a {
  background: var(--mint);
  color: var(--mint);
}

.orbiter-b {
  background: var(--amber);
  color: var(--amber);
}

.pulse {
  border: 1px solid rgba(255, 255, 255, 0.18);
  inset: 13%;
}

.pulse-b {
  inset: 20%;
  border-color: rgba(99, 242, 217, 0.2);
}

.floating-label {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 16, 24, 0.64);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  backdrop-filter: blur(14px);
}

.label-top {
  top: 10%;
  left: 46%;
}

.label-left {
  left: 0;
  top: 48%;
}

.label-right {
  right: 0;
  bottom: 24%;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.closing-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.modules,
.motion-board,
.closing {
  padding: 40px 0 90px;
}

.card-grid,
.motion-list {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.motion-item,
.closing-panel {
  background: linear-gradient(180deg, rgba(9, 22, 34, 0.9), rgba(5, 15, 24, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-card {
  padding: 28px;
}

.card-index {
  color: var(--cyan);
  font-size: 0.76rem;
}

.story-card h3,
.motion-item h3 {
  font-size: 1.5rem;
  margin: 18px 0 10px;
}

.motion-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.motion-item {
  padding: 24px;
}

.motion-item span {
  color: var(--amber);
  font-size: 0.75rem;
}

.motion-item p {
  margin-bottom: 0;
}

.closing-panel {
  padding: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .copy {
    max-width: none;
  }

  .visual {
    min-height: 460px;
  }

  .card-grid,
  .motion-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  .section {
    width: min(var(--max-width), calc(100vw - 28px));
  }

  .topbar {
    padding-top: 18px;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 17vw, 4.2rem);
  }

  .hero-title span {
    letter-spacing: 0.2em;
  }

  .hero-lead,
  .story-card p,
  .motion-item p,
  .closing-panel p {
    font-size: 0.96rem;
  }

  .stats {
    gap: 12px;
  }

  .stat {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
  }

  .visual {
    min-height: 380px;
  }

  .island-shell {
    width: 100%;
  }

  .penguin-mark {
    width: 138px;
    height: 180px;
  }

  .wing-left,
  .wing-right {
    top: 72px;
    height: 70px;
  }

  .penguin-belly {
    top: 48px;
    width: 66px;
    height: 92px;
    margin-left: -33px;
  }

  .eye-left {
    left: 54px;
  }

  .eye-right {
    right: 54px;
  }

  .label-top {
    top: 2%;
    left: 40%;
  }

  .label-left,
  .label-right {
    font-size: 0.65rem;
  }

  .label-left {
    top: auto;
    bottom: 12%;
    left: 4%;
  }

  .label-right {
    right: 3%;
    bottom: 6%;
  }
}
