:root {
  --ink: #02080f;
  --ink-2: #061626;
  --ink-3: #010509;
  --surface: rgba(9, 26, 41, 0.72);
  --text: #eef4f8;
  --muted: #8ea6b6;
  --gold: #d3ac4f;
  --gold-soft: #ecd08a;
  --gold-deep: #a37f2c;
  --teal: #2fc7dd;
  --teal-hot: #7fe6f2;
  --border: rgba(211, 172, 79, 0.2);
  --border-cool: rgba(47, 199, 221, 0.18);
  --notch: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(47, 199, 221, 0.18);
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Chakra Petch", sans-serif;
  margin: 0;
  letter-spacing: 0.01em;
}

::selection {
  background: var(--teal);
  color: #02080f;
}

/* ---------- Chrome: scroll progress + cursor glow ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 0 12px rgba(47, 199, 221, 0.7);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    circle,
    rgba(47, 199, 221, 0.16) 0%,
    rgba(47, 199, 221, 0.05) 40%,
    transparent 68%
  );
}

body.has-cursor .cursor-glow {
  opacity: 1;
}

/* no pointer to follow on touch devices */
@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  /* svh keeps the hero from hiding under mobile browser chrome */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(2, 8, 15, 0.97) 0%,
      rgba(2, 8, 15, 0.9) 28%,
      rgba(2, 8, 15, 0.55) 52%,
      rgba(2, 8, 15, 0.12) 78%,
      rgba(2, 8, 15, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 15, 0.92) 0%,
      rgba(2, 8, 15, 0.35) 30%,
      rgba(2, 8, 15, 0.1) 62%,
      rgba(2, 8, 15, 0.75) 92%,
      var(--ink) 100%
    ),
    url("assets/skyline.jpg") center bottom / cover no-repeat,
    var(--ink);
}

.hero-fx {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero-fx svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* light travelling along the ribbons */
.ribbon-lines path {
  stroke-dasharray: 260 1400;
  animation: travel 9s linear infinite;
}

.ribbon-lines path:nth-child(2) {
  animation-duration: 12s;
  animation-delay: -3s;
}
.ribbon-lines path:nth-child(3) {
  animation-duration: 15s;
  animation-delay: -6s;
}
.ribbon-lines path:nth-child(4) {
  animation-duration: 11s;
  animation-delay: -1.5s;
}
.ribbon-lines path:nth-child(5) {
  animation-duration: 14s;
  animation-delay: -8s;
}
.ribbon-lines path:nth-child(6) {
  animation-duration: 18s;
  animation-delay: -4s;
}

@keyframes travel {
  from {
    stroke-dashoffset: 1660;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* perspective grid floor */
.grid-floor {
  position: absolute;
  inset: auto 0 0;
  height: 42vh;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.22;
  transform: perspective(340px) rotateX(66deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
}

/* the lines live on a child that slides one cell: animating background-position
   on the masked + 3D-transformed parent repainted the whole floor every frame */
.grid-floor::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(47, 199, 221, 0.5) 0 1px,
      transparent 1px 60px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(47, 199, 221, 0.5) 0 1px,
      transparent 1px 60px
    );
  will-change: transform;
  animation: gridpull 5.5s linear infinite;
}

@keyframes gridpull {
  to {
    transform: translate3d(0, 60px, 0);
  }
}

.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 3px
  );
}

.scanlines::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(47, 199, 221, 0.06),
    transparent
  );
  /* transform, not top: animating top relayouts the whole hero every frame */
  will-change: transform;
  animation: sweep 7s ease-in-out infinite;
}

@keyframes sweep {
  0% {
    transform: translate3d(0, -20vh, 0);
  }
  100% {
    transform: translate3d(0, 110vh, 0);
  }
}

.hero > .container,
.hero > .nav,
.hero > .scroll-cue {
  position: relative;
  z-index: 2;
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.8rem 0 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1;
}

.brand-crest {
  width: 58px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(211, 172, 79, 0.4));
  transition: transform 0.35s ease;
}

.brand:hover .brand-crest {
  transform: scale(1.06) rotate(-2deg);
}

.brand-mark {
  display: block;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    var(--gold-soft) 0%,
    var(--gold) 45%,
    var(--gold-deep) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.nav-links {
  display: flex;
  gap: 2rem;
  padding-top: 0.5rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.35rem;
  transition: color 0.25s ease;
}

.nav-links a span {
  margin-right: 0.5rem;
  font-size: 0.62rem;
  color: var(--teal);
  opacity: 0.7;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgba(47, 199, 221, 0.6);
}

.nav-links a:hover::after {
  width: 100%;
}

/* hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: rgba(47, 199, 221, 0.06);
  border: 1px solid var(--border-cool);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Glitch ---------- */

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.glitch::before {
  color: var(--teal);
  -webkit-text-fill-color: var(--teal);
}

.glitch::after {
  color: #ff4d6d;
  -webkit-text-fill-color: #ff4d6d;
}

.glitch:hover::before,
.glitch.is-glitching::before {
  animation: glitch-a 0.4s steps(2, end) 2;
}

.glitch:hover::after,
.glitch.is-glitching::after {
  animation: glitch-b 0.4s steps(2, end) 2;
}

@keyframes glitch-a {
  0%,
  100% {
    opacity: 0;
    transform: none;
  }
  20% {
    opacity: 0.85;
    transform: translate(-3px, 1px);
    clip-path: inset(10% 0 55% 0);
  }
  60% {
    opacity: 0.85;
    transform: translate(2px, -2px);
    clip-path: inset(60% 0 12% 0);
  }
}

@keyframes glitch-b {
  0%,
  100% {
    opacity: 0;
    transform: none;
  }
  35% {
    opacity: 0.7;
    transform: translate(3px, -1px);
    clip-path: inset(45% 0 30% 0);
  }
  75% {
    opacity: 0.7;
    transform: translate(-2px, 2px);
    clip-path: inset(15% 0 60% 0);
  }
}

/* ---------- Hero content ---------- */

.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0 11rem;
}

.year {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin: 0 0 0.9rem;
  text-shadow: 0 0 22px rgba(211, 172, 79, 0.35);
}

.tagline {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 30px rgba(47, 199, 221, 0.25);
}

.lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0;
  border-left: 2px solid var(--border-cool);
  padding-left: 1.1rem;
}

.eyebrow {
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  color: var(--teal);
  margin: 0 0 0.9rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow-gold {
  color: var(--gold);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4rem;
}

.about-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.6rem;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  max-width: 34rem;
}

.idea {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem !important;
  padding: 0.9rem 1.3rem 0.9rem 0.9rem;
  width: fit-content;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text) !important;
  background: linear-gradient(
    90deg,
    rgba(211, 172, 79, 0.16),
    rgba(211, 172, 79, 0)
  );
  border-left: 2px solid var(--gold);
}

.idea-chev {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #fff;
  animation: chev-pulse 2.6s ease-in-out infinite;
}

.idea-chev::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 12px solid var(--gold);
  border-block: 8px solid transparent;
}

@keyframes chev-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(211, 172, 79, 0.55);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(211, 172, 79, 0);
  }
}

.about-logo {
  position: relative;
  display: grid;
  place-items: center;
}

/* glow bloom behind the crest */
.about-logo::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(211, 172, 79, 0.22) 0%,
    rgba(47, 199, 221, 0.08) 45%,
    transparent 70%
  );
  animation: bloom 5s ease-in-out infinite;
}

@keyframes bloom {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.about-logo img {
  position: relative;
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 34px rgba(211, 172, 79, 0.28));
  /* keeps the two drop-shadows from re-filtering on every float frame */
  will-change: transform;
  animation: float 8s ease-in-out infinite;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
  transition:
    transform 0.2s ease,
    filter 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
}

.btn:hover::after {
  animation: shine 0.7s ease;
}

@keyframes shine {
  to {
    left: 140%;
  }
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: linear-gradient(
    100deg,
    var(--gold-deep),
    var(--gold-soft) 55%,
    var(--gold)
  );
  color: #08131d;
}

.btn-secondary {
  border-color: var(--teal);
  color: var(--text);
  background: rgba(47, 199, 221, 0.07);
  box-shadow: inset 0 0 22px rgba(47, 199, 221, 0.12);
}

.btn-secondary:hover {
  background: rgba(47, 199, 221, 0.14);
}

/* ---------- Status chips ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: ping 2s ease-out infinite;
}

.status-live {
  color: #ff5470;
}
.status-online {
  color: #46e08a;
}
.status-idle {
  color: var(--gold);
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ---------- Hero card (HUD panel) ---------- */

.hero-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  padding: 1.7rem 1.7rem 1.9rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  /* own layer, so the blur + shadow rasterize once instead of per float frame */
  will-change: transform;
  animation: float 7s ease-in-out infinite;
}

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

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 46px;
  height: 46px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 46px;
  height: 46px;
  border-bottom: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.card-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(47, 199, 221, 0.1);
  border: 1px solid var(--border-cool);
  color: var(--teal);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.hero-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.4rem;
  padding-block: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease;
}

.hero-card li:first-child {
  border-top: 0;
}

.hero-card li:hover {
  color: var(--text);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  transition: box-shadow 0.25s ease;
}

.hero-card li:hover::before {
  box-shadow: 0 0 12px 2px rgba(211, 172, 79, 0.8);
}

.meter {
  margin-top: 1.3rem;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.meter-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meter-track i {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 0 14px rgba(47, 199, 221, 0.6);
  transform-origin: 0 50%;
  animation: fill 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- Scroll cue ---------- */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--border-cool);
  border-radius: 14px;
  z-index: 3;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(14px);
    opacity: 0.1;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(
    90deg,
    rgba(211, 172, 79, 0.08),
    rgba(47, 199, 221, 0.08)
  );
  padding: 0.7rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  animation: marquee 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "◆";
  color: var(--teal);
  font-size: 0.6rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stats article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(9, 26, 41, 0.96),
    rgba(3, 12, 20, 0.96)
  );
  padding: 2.2rem 1.4rem;
  text-align: center;
  transition: background 0.3s ease;
}

.stats article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transform: scaleX(0);
  transition: transform 0.45s ease;
}

.stats article:hover::after {
  transform: scaleX(1);
}

.stats strong {
  display: block;
  font-family: "Chakra Petch", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 0 26px rgba(211, 172, 79, 0.3);
  font-variant-numeric: tabular-nums;
}

.stats span {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  padding: 7rem 0;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(11, 46, 70, 0.55), transparent 70%),
    var(--ink-3);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  margin-bottom: 3rem;
  max-width: 42rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

/* ---------- Roster ---------- */

.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  perspective: 900px;
}

.player-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem 1.7rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform-style: preserve-3d;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.15s ease;
}

/* big ghosted roster number */
.player-card::after {
  content: attr(data-num);
  position: absolute;
  right: -0.4rem;
  bottom: -1.6rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform-origin: 0 50%;
  transform: scaleX(0.25);
  transition: transform 0.4s ease;
}

.player-card:hover {
  border-color: var(--border);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(47, 199, 221, 0.12) inset;
}

.player-card:hover::before {
  transform: scaleX(1);
}

.player-card:hover::after {
  color: rgba(47, 199, 221, 0.13);
  transform: translateY(-6px);
}

.player-card .status {
  margin-bottom: 0.9rem;
}

.player-card h3 {
  position: relative;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.player-card p {
  position: relative;
  margin: 0.3rem 0 0.8rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.player-note {
  position: relative;
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Schedule ---------- */

.schedule-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  max-width: none;
}

.countdown {
  text-align: right;
  flex-shrink: 0;
}

.countdown-label {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-clock {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.35rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: 0 0 18px rgba(47, 199, 221, 0.45);
  font-variant-numeric: tabular-nums;
}

.countdown-clock b {
  min-width: 2.1ch;
  text-align: center;
}

.countdown-clock i {
  font-style: normal;
  opacity: 0.4;
  animation: blink 1s steps(2, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.08;
  }
}

.schedule-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  background: rgba(4, 15, 25, 0.9);
  overflow: hidden;
  transition: background 0.25s ease;
}

.schedule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.schedule-item:hover {
  background: rgba(11, 38, 58, 0.9);
}

.schedule-item:hover::before {
  transform: scaleY(1);
}

.schedule-item .date {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.schedule-item strong {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease;
}

.schedule-item:hover strong {
  transform: translateX(6px);
}

.schedule-item em {
  font-style: normal;
  color: var(--teal);
  opacity: 0.75;
  margin: 0 0.15rem;
}

.schedule-item .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.schedule-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5470;
  animation: ping 2s ease-out infinite;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.contact-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-card:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.contact-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.contact-card:hover::after {
  width: 64px;
  height: 64px;
}

.contact-card h3 {
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-card p {
  margin: 0.2rem 0;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(211, 172, 79, 0.5);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 13rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-logo img {
    width: min(100%, 320px);
  }

  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 2rem);
  }

  .hero {
    /* lighter background file + tower kept in frame */
    background-image: linear-gradient(
        100deg,
        rgba(2, 8, 15, 0.97) 0%,
        rgba(2, 8, 15, 0.92) 30%,
        rgba(2, 8, 15, 0.7) 60%,
        rgba(2, 8, 15, 0.4) 100%
      ),
      linear-gradient(
        180deg,
        rgba(2, 8, 15, 0.92) 0%,
        rgba(2, 8, 15, 0.4) 30%,
        rgba(2, 8, 15, 0.2) 60%,
        rgba(2, 8, 15, 0.8) 92%,
        var(--ink) 100%
      ),
      url("assets/skyline-sm.jpg");
    background-position:
      center,
      center,
      64% bottom;
  }

  /* sticky header bar so the menu is always reachable */
  .hero > .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    width: 100%;
    margin: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    /* no backdrop-filter here: it would become the containing block for the
       fixed menu overlay and trap it inside the bar */
    background: rgba(2, 8, 15, 0.94);
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .brand-crest {
    width: 40px;
  }

  .brand-mark {
    font-size: 1.15rem;
  }

  .brand-sub {
    margin-top: 0.25rem;
    font-size: 0.55rem;
    letter-spacing: 0.42em;
  }

  /* full-screen slide-in menu, sitting under the bar so the X stays tappable */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 79;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.75rem 3rem;
    font-size: 1.05rem;
    background:
      radial-gradient(
        90% 60% at 80% 10%,
        rgba(11, 46, 70, 0.6),
        transparent 70%
      ),
      rgba(2, 8, 15, 0.97);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0.35s;
  }

  body.nav-open .nav-links {
    transform: none;
    visibility: visible;
  }

  .nav-links a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.24em;
    color: var(--text);
  }

  .nav-links a span {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gold);
    opacity: 0.9;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-content {
    padding: 5.5rem 0 8rem;
    gap: 2.25rem;
  }

  .year {
    letter-spacing: 0.24em;
    margin-bottom: 0.6rem;
  }

  .tagline {
    letter-spacing: 0.1em;
    line-height: 1.3;
  }

  .lead {
    padding-left: 0.9rem;
    font-size: 0.97rem;
  }

  .hero-actions {
    margin-top: 1.8rem;
  }

  .btn {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero-card {
    padding: 1.35rem 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
  }

  .hero-card h2 {
    font-size: 1.25rem;
  }

  .ticker-track {
    gap: 2rem;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
  }

  .ticker-track span {
    gap: 2rem;
  }

  .about {
    gap: 2rem;
  }

  .idea {
    width: 100%;
    gap: 0.8rem;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
  }

  .idea-chev {
    width: 30px;
    height: 30px;
  }

  .stats,
  .roster-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats article {
    padding: 1.5rem 1rem;
  }

  .stats strong {
    font-size: 2.1rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .player-card {
    padding: 1.35rem 1.2rem 1.45rem;
  }

  .player-card::after {
    font-size: 4rem;
    bottom: -1rem;
  }

  .contact-card {
    padding: 1.6rem 1.35rem;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .countdown-clock {
    font-size: 1.4rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1.1rem;
  }

  .scroll-cue {
    display: none;
  }
}

/* touch devices: no sticky hover states left behind after a tap
   (:active feedback on buttons is kept) */
@media (hover: none) {
  .btn:hover {
    transform: none;
    filter: none;
  }

  .btn:hover::after {
    animation: none;
  }

  .player-card:hover,
  .schedule-item:hover strong,
  .brand:hover .brand-crest {
    transform: none;
  }

  .glitch:hover::before,
  .glitch:hover::after {
    animation: none;
  }
}

/* touch devices (iPad especially): drop the per-frame blur work. Both of these
   re-run a Gaussian blur on every animation frame, which is what a tablet GPU
   chokes on — the static #glow ribbons underneath keep the soft look. */
/* width clause too: an iPad with a trackpad can report pointer: fine */
@media (pointer: coarse), (max-width: 1200px) {
  .ribbon-lines {
    filter: none;
    opacity: 0.85;
  }

  .hero-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* opaque-ish stand-in for the blur, so the card still reads as a panel */
    background: rgba(9, 26, 41, 0.92);
  }
}

/* short landscape phones: don't force a full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 2rem 0 5rem;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ribbon-lines path,
  .grid-floor::before,
  .scanlines::after,
  .hero-card,
  .status::before,
  .schedule-item .dot,
  .scroll-cue span,
  .ticker-track,
  .countdown-clock i,
  .meter-track i,
  .about-logo img,
  .about-logo::before,
  .idea-chev {
    animation: none !important;
  }

  .meter-track i {
    transform: none;
  }

  .btn:hover,
  .player-card:hover,
  .schedule-item:hover strong {
    transform: none;
  }

  .glitch::before,
  .glitch::after {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}
