:root {
  --bg-a: #060b16;
  --bg-b: #12213f;
  --bg-c: #1f3561;
  --txt: #f6f8ff;
  --txt-soft: #c3d2ff;
  --line: rgba(179, 198, 255, 0.34);
  --card: rgba(8, 16, 34, 0.62);
  --glow: rgba(123, 221, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--txt);
  background: linear-gradient(150deg, var(--bg-a), var(--bg-b) 55%, var(--bg-c));
  line-height: 1.55;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(14px, 3vw, 40px);
  backdrop-filter: blur(12px);
  background: rgba(4, 10, 24, 0.42);
  border-bottom: 1px solid rgba(168, 190, 255, 0.23);
}

.brand {
  color: var(--txt);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.78rem;
}

.topnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  color: var(--txt);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  padding: 7px 12px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.topnav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

main,
.foot {
  width: min(1120px, 94vw);
  margin: 0 auto;
}

.cover {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 88px;
}

.cover-media {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(169, 194, 255, 0.26);
}

.cover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.02);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2, 8, 22, 0.76) 8%, rgba(4, 16, 36, 0.28) 52%, rgba(3, 13, 30, 0.64) 94%),
    radial-gradient(circle at 82% 18%, rgba(127, 199, 255, 0.22), transparent 34%);
}

.cover-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-left: clamp(16px, 5vw, 44px);
  display: grid;
  gap: 14px;
}

.kicker {
  margin: 0;
  color: #87f7d8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", "Iowan Old Style", serif;
}

h1 {
  font-size: clamp(2.1rem, 6.8vw, 5.2rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
}

.intro,
.section-copy,
.future p {
  margin: 0;
  color: var(--txt-soft);
}

.shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 218, 255, 0.4);
  text-decoration: none;
  color: var(--txt);
  background: rgba(6, 15, 33, 0.46);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(4, 12, 30, 0.35);
}

.chip-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.dot {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #c9dcff, #89e7ff);
  color: #081628;
  font-size: 0.82rem;
}

.chip-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(1, 6, 17, 0.24));
  animation: chipPulse 2.8s ease-in-out infinite;
}

.chip-logo-x {
  width: 13px;
  height: 13px;
}

.cta {
  margin-top: 6px;
  width: fit-content;
  text-decoration: none;
  color: #031622;
  background: linear-gradient(145deg, #7bf2ff, #b9ffde);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.links,
.future {
  margin-top: 28px;
}

.links {
  position: relative;
}

.focus-shell {
  position: relative;
  margin-top: 20px;
  border-radius: 22px;
  border: 1px solid rgba(174, 198, 255, 0.24);
  background: rgba(7, 15, 33, 0.62);
  padding: 18px;
  overflow: hidden;
}

.focus-visual {
  position: relative;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
  overflow: hidden;
}

.focus-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 11, 27, 0.4), rgba(5, 13, 30, 0.08) 52%, rgba(5, 11, 26, 0.44)),
    radial-gradient(circle at 12% 80%, rgba(128, 220, 255, 0.18), transparent 36%);
}

.focus-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.03) blur(1px);
  transition: opacity 480ms ease, transform 760ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.focus-visual-img.is-live {
  opacity: 1;
  transform: scale(1);
}

.focus-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 8px 0;
  position: relative;
  z-index: 2;
}

.focus-link {
  --active: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--txt);
  border-bottom: 1px solid rgba(210, 228, 255, 0.3);
  padding: 14px 2px;
  transform-origin: center center;
  transition: transform 160ms linear, opacity 160ms linear, filter 160ms linear;
  z-index: 2;
  will-change: transform, opacity, filter;
  opacity: calc(0.26 + var(--active) * 0.74);
  transform: translate3d(calc((1 - var(--active)) * -22px), 0, 0) scale(calc(0.94 + var(--active) * 0.09));
  filter: blur(calc((1 - var(--active)) * 1.4px));
}

.focus-link::after {
  content: "";
  grid-column: 1 / -1;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(calc(0.08 + var(--active) * 0.92));
  background: linear-gradient(90deg, rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0));
  transition: transform 140ms linear;
}

.links.focus-ready {
  --focus-shell-height: 76vh;
  --focus-top: 12vh;
  --focus-range: 980px;
  min-height: calc(var(--focus-shell-height) + var(--focus-range) + 22vh);
}

.links.focus-ready .focus-shell {
  position: sticky;
  top: var(--focus-top);
  height: var(--focus-shell-height);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 14, 32, 0.7), rgba(8, 18, 38, 0.5)),
    radial-gradient(circle at 70% 22%, rgba(131, 214, 255, 0.17), transparent 40%);
  padding: clamp(14px, 2.2vw, 24px);
}

.links.focus-ready .focus-list {
  position: relative;
  inset: auto;
  padding: 0;
  height: 100%;
}

.links.focus-ready .focus-visual {
  height: 100%;
}

.links.focus-ready .focus-link {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  transition: none;
}

.links.focus-ready .focus-visual-img {
  transition: none;
}

.text-wrap {
  display: grid;
  gap: 4px;
}

.text-wrap strong {
  font-size: clamp(1.58rem, 3.2vw, 2.56rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.text-wrap small {
  color: var(--txt-soft);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
}

.focus-num {
  font-family: "Fraunces", "Iowan Old Style", serif;
  color: rgba(184, 206, 255, 0.9);
  font-size: clamp(1.06rem, 1.7vw, 1.36rem);
  width: 2.2ch;
}

.go {
  color: rgba(224, 234, 255, 0.9);
  font-size: 1.22rem;
  transform: translateX(calc((1 - var(--active)) * -8px));
  transition: transform 160ms linear;
}

.focus-link.is-center {
  text-shadow: 0 0 14px rgba(111, 226, 255, 0.18);
}

.future-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.future-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 14, 30, 0.55);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(3, 10, 26, 0.26);
}

.future-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.foot {
  margin-top: 30px;
  margin-bottom: 38px;
  border-top: 1px solid rgba(169, 194, 255, 0.24);
  padding-top: 14px;
  color: var(--txt-soft);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes chipPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes logoTwist {
  0% {
    transform: rotate(0deg) scale(1);
  }
  40% {
    transform: rotate(-12deg) scale(1.09);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    gap: 10px;
    padding-inline: 12px;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .cover {
    min-height: 86vh;
  }

  .links.focus-ready {
    --focus-shell-height: 78vh;
    --focus-top: 10vh;
    --focus-range: 760px;
  }

  .focus-shell {
    border-radius: 20px;
  }

  .links.focus-ready .focus-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .links.focus-ready .focus-visual {
    min-height: 40%;
  }

  .text-wrap strong {
    font-size: clamp(1.22rem, 6vw, 1.72rem);
  }

  .cover-content {
    margin: 0 14px;
  }

  .cta {
    width: 100%;
    text-align: center;
  }
}

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