:root {
  --bg: #030508;
  --bg-elevated: #080b10;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.10);
  --cyan: #00e7ff;
  --cyan-2: #5dffc7;
  --lime: #d8ff3a;
  --lime-hover: #e7ff6e;
  --violet: #b56bff;
  --orange: #ff9a3c;
  --magenta: #ff4fd8;
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.9, 0.2, 1);
  --font-display: "Anton", Impact, Haettenschweiler, sans-serif;
  --font-ui: "Montserrat", system-ui, -apple-system, Segoe UI, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.94), rgba(3, 5, 8, 0.78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  align-self: start;
  margin-top: 0.15rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.brand-logo {
  width: clamp(200px, 28vw, 360px);
  height: auto;
  /* Hang below the nav into the hero */
  margin-bottom: calc(-1 * clamp(3.5rem, 8vw, 6.5rem));
  filter:
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(0, 231, 255, 0.25));
  pointer-events: auto;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  flex-wrap: wrap;
}

.navlink {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.navlink:hover,
.navlink.is-active {
  color: #fff;
  border-bottom-color: var(--cyan);
}

.nav-item.has-sub {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 13.75rem;
  padding: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 14px;
  background: rgba(8, 11, 16, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
  display: none;
  flex-direction: column;
  gap: 0.08rem;
  z-index: 70;
}

.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.55rem;
}

.nav-item.is-open > .nav-sub,
.nav-item.has-sub:hover > .nav-sub,
.nav-item.has-sub:focus-within > .nav-sub {
  display: flex;
}

.nav-sub a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
}

.nav-sub a:hover,
.nav-sub a.is-active {
  color: #fff;
  background: rgba(0, 231, 255, 0.12);
}

.mobile-sub {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-sub-toggle {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.75rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.mobile-sub-toggle::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  margin-right: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}

.mobile-sub.is-open .mobile-sub-toggle::after {
  transform: rotate(225deg);
}

.mobile-sub-panel {
  display: none;
  flex-direction: column;
  padding: 0 0 0.45rem 0.85rem;
}

.mobile-sub.is-open .mobile-sub-panel {
  display: flex;
}

.mobile-sub-panel a {
  border-bottom: 0;
  font-size: 0.76rem;
  padding: 0.55rem 0.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-sub-panel a:hover,
.mobile-sub-panel a.is-active {
  color: var(--cyan);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
  background: linear-gradient(180deg, var(--lime-hover), var(--lime));
  color: #10140a;
  box-shadow: 0 0 0 1px rgba(216, 255, 58, 0.25), 0 10px 30px rgba(216, 255, 58, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #f2ff8a, var(--lime-hover));
  box-shadow: 0 0 0 1px rgba(216, 255, 58, 0.35), 0 14px 36px rgba(216, 255, 58, 0.3);
}

.btn-xl {
  min-height: 54px;
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
}

.nav-burger {
  --burger-size: 46px;
  --burger-bar: 20px;
  --burger-thick: 2.5px;
  --burger-gap: 6px;
  display: none;
  position: relative;
  width: var(--burger-size);
  height: var(--burger-size);
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 231, 255, 0.4);
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 255, 58, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(18, 24, 34, 0.95), rgba(8, 10, 14, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 18px rgba(0, 231, 255, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease),
    transform 160ms var(--ease);
}

.nav-burger:hover {
  border-color: rgba(216, 255, 58, 0.65);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 22px rgba(216, 255, 58, 0.28),
    0 0 28px rgba(0, 231, 255, 0.2);
  transform: translateY(-1px);
}

.nav-burger:active {
  transform: translateY(0);
}

.nav-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--burger-bar);
  height: var(--burger-thick);
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff 0%, #e8fff8 100%);
  box-shadow: 0 0 8px rgba(0, 231, 255, 0.35);
  transform: translate(-50%, -50%);
  transition:
    transform 220ms var(--ease),
    opacity 160ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.nav-burger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - var(--burger-gap)));
}
.nav-burger span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.nav-burger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + var(--burger-gap)));
}

.nav-burger[aria-expanded="true"] {
  border-color: rgba(216, 255, 58, 0.7);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 24px rgba(216, 255, 58, 0.3),
    0 0 20px rgba(0, 231, 255, 0.22);
}

.nav-burger[aria-expanded="true"] span {
  background: linear-gradient(90deg, var(--lime), #fff);
  box-shadow: 0 0 10px rgba(216, 255, 58, 0.45);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.3);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 76px;
  z-index: 49;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(7, 9, 13, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav .btn {
  margin-top: 0.35rem;
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #07090d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.hero-slide.is-on {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-entering {
  opacity: 1;
  z-index: 2;
  animation: heroReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.is-leaving {
  z-index: 1;
  animation: heroExit 1.8s cubic-bezier(0.22, 0.82, 0.28, 1) both;
}

.hero.is-swap-alt .hero-slide.is-entering {
  animation-name: heroRevealAlt;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
  transform: scale(1.04);
  animation: heroKen 18s var(--ease) infinite alternate;
}

.hero-img--family {
  object-position: 58% 46%;
}

@keyframes heroKen {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes heroReveal {
  0% {
    clip-path: polygon(-30% -10%, -8% -10%, -22% 110%, -48% 110%);
    filter: brightness(2.2) saturate(1.4);
    transform: translate3d(-3%, 0, 0);
  }
  38% {
    filter: brightness(1.35) saturate(1.12);
  }
  100% {
    clip-path: polygon(-30% -10%, 140% -10%, 125% 110%, -48% 110%);
    filter: brightness(1) saturate(1);
    transform: none;
  }
}

@keyframes heroRevealAlt {
  0% {
    clip-path: polygon(108% -10%, 130% -10%, 148% 110%, 122% 110%);
    filter: brightness(2.2) saturate(1.4);
    transform: translate3d(3%, 0, 0);
  }
  38% {
    filter: brightness(1.35) saturate(1.12);
  }
  100% {
    clip-path: polygon(-25% -10%, 130% -10%, 148% 110%, -40% 110%);
    filter: brightness(1) saturate(1);
    transform: none;
  }
}

@keyframes heroExit {
  0% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(8px) brightness(1.25);
    transform: scale(1.08);
  }
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero-fx__bloom {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 48% 52%, rgba(0, 231, 255, 0.38) 0%, rgba(216, 255, 58, 0.16) 32%, transparent 62%);
  opacity: 0;
  mix-blend-mode: screen;
}

.hero-fx__ring {
  position: absolute;
  left: 54%;
  top: 48%;
  width: 16vmin;
  height: 16vmin;
  margin: -8vmin 0 0 -8vmin;
  border-radius: 50%;
  border: 2px solid rgba(0, 231, 255, 0.85);
  box-shadow: 0 0 28px rgba(0, 231, 255, 0.45), inset 0 0 18px rgba(216, 255, 58, 0.25);
  opacity: 0;
}

.hero-fx__ring--2 {
  border-color: rgba(216, 255, 58, 0.8);
  width: 22vmin;
  height: 22vmin;
  margin: -11vmin 0 0 -11vmin;
}

.hero-fx__slash {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 32%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 231, 255, 0) 16%,
    rgba(0, 231, 255, 0.55) 42%,
    rgba(216, 255, 58, 0.95) 50%,
    rgba(255, 79, 216, 0.5) 58%,
    transparent 84%
  );
  mix-blend-mode: screen;
  filter: blur(10px);
  opacity: 0;
  transform: translateX(-90%) skewX(-22deg);
}

.hero-fx__slash--2 {
  width: 18%;
  filter: blur(18px);
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 79, 216, 0.35),
    rgba(0, 231, 255, 0.55),
    transparent
  );
}

.hero.is-swapping .hero-fx__bloom {
  animation: heroBloom 1.8s ease-out both;
}

.hero.is-swapping .hero-fx__ring {
  animation: heroRing 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-swapping .hero-fx__ring--2 {
  animation-delay: 0.12s;
}

.hero.is-swapping .hero-fx__slash {
  animation: heroSlash 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-swapping .hero-fx__slash--2 {
  animation: heroSlash 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero.is-swap-alt .hero-fx__slash,
.hero.is-swap-alt .hero-fx__slash--2 {
  animation-name: heroSlashAlt;
}

@keyframes heroBloom {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }
  22% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes heroRing {
  0% {
    transform: scale(0.12);
    opacity: 0;
  }
  14% {
    opacity: 0.9;
  }
  100% {
    transform: scale(14);
    opacity: 0;
  }
}

@keyframes heroSlash {
  0% {
    opacity: 0;
    transform: translateX(-90%) skewX(-22deg);
  }
  10% {
    opacity: 1;
  }
  72% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(420%) skewX(-22deg);
  }
}

@keyframes heroSlashAlt {
  0% {
    opacity: 0;
    transform: translateX(420%) skewX(-22deg);
  }
  10% {
    opacity: 1;
  }
  72% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(-90%) skewX(-22deg);
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.88) 0%, rgba(7, 9, 13, 0.55) 42%, rgba(7, 9, 13, 0.18) 72%, rgba(7, 9, 13, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.35) 0%, rgba(7, 9, 13, 0.05) 35%, rgba(7, 9, 13, 0.55) 72%, rgba(7, 9, 13, 0.96) 100%);
  pointer-events: none;
}

.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 6;
  padding: clamp(4.5rem, 10vh, 7rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(720px, calc(100% - 2.5rem));
}

.hero-promise {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.45rem, 6.5vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero-promise .grad {
  display: block;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 231, 255, 0.35));
}

.hero-kicker {
  margin: 1.75rem 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 231, 255, 0.35));
}

.hero-title,
.hero-title-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  padding-right: 0.22em;
}

.hero-title-swap {
  display: grid;
  margin: 0;
}

.hero-title-line {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
}

.hero-title-line.is-on {
  opacity: 1;
  pointer-events: auto;
}

.hero-title-line.is-leaving {
  animation: heroTitleOut 1.8s cubic-bezier(0.22, 0.82, 0.28, 1) both;
}

.hero-title-line.is-entering {
  animation: heroTitleIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroTitleOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    clip-path: inset(-20% -8% -20% -8%);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -46px, 0) scale(0.92);
    filter: blur(14px);
    clip-path: inset(0 -8% 100% -8%);
    letter-spacing: 0.08em;
  }
}

@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 52px, 0) scale(1.08);
    filter: blur(16px);
    clip-path: inset(100% -8% 0 -8%);
    letter-spacing: 0.1em;
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(-20% -8% -20% -8%);
    letter-spacing: 0.01em;
  }
}

.hero-title .grad,
.hero-title-line .grad {
  display: block;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 231, 255, 0.35));
}

.hero-sub {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.hero-cta {
  margin-top: 1.6rem;
}

/* ---------- Features ---------- */
.features {
  position: relative;
  z-index: 2;
  padding: 1.25rem 0 0.5rem;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.2), var(--bg));
}

.features-promise {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.features-promise .grad {
  display: block;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 231, 255, 0.35));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 18, 24, 0.65);
}

.feature {
  padding: 1.5rem 1.25rem 1.65rem;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-icon--cyan {
  color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 231, 255, 0.22);
}
.feature-icon--violet {
  color: var(--violet);
  box-shadow: 0 0 28px rgba(181, 107, 255, 0.22);
}
.feature-icon--orange {
  color: var(--orange);
  box-shadow: 0 0 28px rgba(255, 154, 60, 0.22);
}
.feature-icon--lime {
  color: var(--lime);
  box-shadow: 0 0 28px rgba(216, 255, 58, 0.18);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Worlds ---------- */
.worlds {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--lime);
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.worlds-rail {
  --worlds-gutter: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  width: 100%;
  margin-top: 0.25rem;
  padding: 10px 0 14px max(var(--worlds-gutter), calc((100vw - min(var(--max), 100vw - 2.5rem)) / 2));
  cursor: grab;
  user-select: none;
}

.worlds-rail img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.worlds-rail::-webkit-scrollbar {
  display: none;
}

.worlds-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.worlds-rail.is-dragging .world-card:hover {
  transform: none;
}

.worlds-rail-track {
  display: flex;
  width: max-content;
}

.worlds-rail-group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.world-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.worlds-rail .world-card {
  flex: 0 0 auto;
  width: calc((min(var(--max), 100vw - 2.5rem) - 3rem) / 4);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.world-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 60px rgba(0, 231, 255, 0.18);
}

.world-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.world-card:hover img {
  transform: scale(1.06);
}

.world-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.world-card-copy {
  position: absolute;
  left: 1rem;
  right: 3rem;
  bottom: 1rem;
  z-index: 1;
}

.world-card-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  padding-right: 0.18em;
}

.world-card-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.world-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  background:
    radial-gradient(ellipse 90% 80% at 50% 35%, rgba(0, 231, 255, 0.2) 0%, rgba(8, 11, 16, 0.96) 55%, #030508 100%);
  border-color: rgba(0, 231, 255, 0.28);
}

.world-card--more::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.04) 14px,
    rgba(255, 255, 255, 0.04) 15px
  );
  pointer-events: none;
}

.world-card--more .world-card-copy {
  left: 1.1rem;
  right: 1.1rem;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.world-card--more .world-card-copy h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.world-card--more:hover {
  box-shadow: 0 22px 60px rgba(0, 231, 255, 0.18);
}

.world-card-go {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

/* ---------- CTA / audiences / footer ---------- */
.cta-band {
  padding: 1rem 0 3rem;
}

.cta-band-inner {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 231, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(216, 255, 58, 0.14), transparent 40%),
    linear-gradient(160deg, #121821, #0a0d12 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cta-sub {
  margin: 0.75rem auto 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-weight: 500;
}

.audiences {
  padding: 0 0 3.5rem;
}

.audiences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.audience-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.audience-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #05070a;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-logo {
  width: 150px;
  height: auto;
  opacity: 0.95;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topbar-actions .btn-ghost,
  .topbar-actions .icon-btn {
    display: none;
  }

  .nav-burger {
    display: inline-block;
    justify-self: end;
  }

  .topbar-actions {
    justify-self: end;
  }
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(1),
  .feature:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .worlds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .worlds-rail .world-card {
    width: calc((min(var(--max), 100vw - 2.5rem) - 1rem) / 2);
  }

  .world-card {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .worlds-rail {
    --worlds-gutter: 0.75rem;
    padding-left: max(var(--worlds-gutter), calc((100vw - min(var(--max), 100vw - 1.5rem)) / 2));
  }

  .worlds-rail .world-card {
    width: min(var(--max), 100vw - 1.5rem);
  }

  .topbar {
    min-height: 68px;
    padding: 0.5rem 0.85rem;
  }

  .brand-logo {
    width: clamp(150px, 42vw, 220px);
    margin-bottom: calc(-1 * clamp(2.25rem, 10vw, 3.75rem));
  }

  .topbar-actions .btn-primary {
    display: none;
  }

  .hero {
    min-height: min(92vh, 720px);
    align-items: end;
  }

  .hero-img {
    object-position: 48% 38%;
  }

  .hero-content {
    width: calc(100% - 1.5rem);
    margin-left: 0.75rem;
    padding-bottom: 2.75rem;
  }

  .hero-promise {
    font-size: clamp(2rem, 9.6vw, 2.7rem);
  }

  .features-promise {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .hero-title,
  .hero-title-line {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .features-grid,
  .worlds-grid,
  .audiences-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .world-card {
    aspect-ratio: 16 / 11;
  }

  .cta-band-inner {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img,
  .hero-slide,
  .hero-title-line,
  .hero-fx__bloom,
  .hero-fx__ring,
  .hero-fx__slash,
  [data-reveal],
  .world-card,
  .world-card img,
  .btn,
  .color-wash__blob {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Darker page wash + new homepage sections ---------- */
.page-shell {
  position: relative;
  background: #030508;
}

.color-wash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.color-wash__blob {
  position: absolute;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: washDrift 18s ease-in-out infinite alternate;
}

.color-wash__blob--a {
  left: -10%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.75), transparent 70%);
}
.color-wash__blob--b {
  right: -8%;
  top: 42%;
  background: radial-gradient(circle, rgba(0, 231, 255, 0.7), transparent 70%);
  animation-delay: -4s;
}
.color-wash__blob--c {
  left: 25%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(255, 154, 60, 0.55), transparent 70%);
  animation-delay: -8s;
}
.color-wash__blob--d {
  right: 20%;
  top: 8%;
  width: min(40vw, 420px);
  height: min(40vw, 420px);
  background: radial-gradient(circle, rgba(181, 107, 255, 0.55), transparent 70%);
  animation-delay: -2s;
}

@keyframes washDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.12); }
}

.page-shell > .topbar {
  position: sticky;
  z-index: 50;
}

.page-shell > .mobile-nav,
.page-shell > main,
.page-shell > .footer {
  position: relative;
  z-index: 1;
}

.hero-micro {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.section-block {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-block[id] {
  scroll-margin-top: 5.75rem;
}

.section-block--tight {
  padding-top: 1.5rem;
}

.section-block--lead {
  padding-top: clamp(4.5rem, 9vw, 6.5rem);
}

.section-lede {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.section-title-xl {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-right: 0.22em;
}

.section-title-xl .grad {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title-xl .grad-orange {
  background: linear-gradient(90deg, #ffd36a 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Anton italic hangs past the em-box; background-clip:text otherwise shears the last letter. */
.grad,
.grad-orange,
.hero-kicker,
.hero-promise .grad,
.hero-title .grad,
.hero-title-line .grad,
.features-promise .grad {
  padding-right: 0.22em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.pillar {
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.pillar h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
  font-size: 0.92rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 231, 255, 0.28);
  background: rgba(0, 231, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.1rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.step-k {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}

.step-v {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

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

.split-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.bullet-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 231, 255, 0.6);
  flex: 0 0 auto;
}

.move-list {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #fff;
}

.audience-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 24px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.features {
  background: transparent;
}

.features-grid {
  background: rgba(5, 7, 10, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.worlds {
  position: relative;
}

.world-card--cyan { box-shadow: 0 18px 50px rgba(0, 231, 255, 0.12); }
.world-card--orange { box-shadow: 0 18px 50px rgba(255, 154, 60, 0.14); }
.world-card--lime { box-shadow: 0 18px 50px rgba(216, 255, 58, 0.12); }
.world-card--violet { box-shadow: 0 18px 50px rgba(181, 107, 255, 0.14); }

@media (max-width: 960px) {
  .pillars,
  .steps,
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pillars,
  .steps,
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Audience pages (Schools & Aftercare / Parents) ---------- */
.page-hero {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 12vh, 7.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero .hero-kicker {
  margin-bottom: 0.75rem;
}

.page-hero .hero-title {
  max-width: 16ch;
}

.page-hero--wide .hero-title {
  max-width: 20ch;
}

.page-hero .hero-sub {
  max-width: 38rem;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel-card {
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 22px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.panel-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.panel-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
  font-size: 0.92rem;
}

.rich-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.rich-list li {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 231, 255, 0.35);
}

.rich-list strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.callout-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.1), rgba(216, 255, 58, 0.08));
  border: 1px solid rgba(0, 231, 255, 0.22);
}

.callout-band__k {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.4rem;
}

.callout-band__v {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

/* Match original BounceFitKids aftercare media-split: video sets row height; copy scrolls */
.media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 1.5rem;
  align-items: stretch;
}

.media-split-video {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 18px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--line);
}

.media-split-copy {
  position: relative;
  min-height: 0;
  border-radius: 18px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
}

.media-split-copy-scroll {
  display: block;
  padding: 18px;
}

.video-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  background: #000 center / cover no-repeat;
}

.media-split-video[hidden] {
  display: none !important;
}

.media-split:has(.media-split-video[hidden]) {
  grid-template-columns: 1fr;
}

.media-split:has(.media-split-video[hidden]) .media-split-copy {
  overflow: visible;
}

.media-split:has(.media-split-video[hidden]) .media-split-copy-scroll {
  position: static;
  overflow: visible;
}

@media (min-width: 860px) {
  .media-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .media-split:has(.media-split-video[hidden]) {
    grid-template-columns: 1fr;
  }
  .media-split-copy {
    padding: 0;
    overflow: hidden;
  }
  .media-split-copy-scroll {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}

.navlink-long {
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .content-grid-2,
  .content-grid-3 {
    grid-template-columns: 1fr;
  }
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.person-card {
  padding: clamp(1.15rem, 2vw, 1.45rem);
  border-radius: 22px;
  background: rgba(8, 11, 16, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.person-name {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  padding-right: 0.18em;
}

.person-title {
  margin: 0.35rem 0 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.22em;
}

.person-body {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.person-photo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.person-card .rich-list {
  gap: 0.55rem;
}

.person-card .rich-list li {
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .person-body {
    grid-template-columns: 1fr;
  }

  .person-photo {
    width: 132px;
    height: 132px;
  }
}

/* ---------- Signup / onboarding ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup-card {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 231, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(216, 255, 58, 0.14), transparent 40%),
    linear-gradient(160deg, #121821, #0a0d12 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-card .cta-sub {
  margin-left: auto;
  margin-right: auto;
}

.signup-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.seg {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.seg.is-on {
  background: rgba(0, 231, 255, 0.12);
  border-color: rgba(0, 231, 255, 0.35);
  color: #fff;
}

.signup-mail,
.signup-org {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  text-align: left;
}

.signup-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-mail {
  grid-template-columns: 1fr auto;
}

.signup-mail .fineprint,
.signup-mail .form-msg,
.signup-org .fineprint,
.signup-org .form-msg {
  grid-column: 1 / -1;
}

.signup-mail[hidden],
.signup-org[hidden] {
  display: none !important;
}

.signup-mail input[type="email"],
.signup-org input[type="text"],
.signup-org input[type="email"],
.signup-org select,
.signup-org textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 5, 8, 0.55);
  color: #fff;
  outline: none;
  font: inherit;
  font-size: 0.95rem;
}

.signup-mail input::placeholder,
.signup-org input::placeholder,
.signup-org textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.signup-mail input:focus,
.signup-org input:focus,
.signup-org select:focus,
.signup-org textarea:focus {
  border-color: rgba(0, 231, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 231, 255, 0.12);
}

.signup-org select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.65) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.65) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.signup-org select option {
  color: #111;
  background: #fff;
}

.signup-org textarea {
  resize: vertical;
  min-height: 110px;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--address {
  position: relative;
}

.field-label {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.field-label .req {
  color: var(--cyan);
}

.field-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  line-height: 1.4;
}

.fineprint {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 500;
}

.form-msg {
  margin: 0;
  min-height: 1.2em;
  color: var(--cyan-2);
  font-weight: 700;
  font-size: 0.88rem;
}

.signup-org-submit {
  width: 100%;
}

.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1.7rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 16, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  max-height: 220px;
  overflow: auto;
  z-index: 30;
}

.address-suggestions [role="option"] {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.35;
}

.address-suggestions [role="option"]:hover,
.address-suggestions [role="option"]:focus {
  background: rgba(0, 231, 255, 0.12);
}

@media (max-width: 640px) {
  .signup-mail {
    grid-template-columns: 1fr;
  }

  .signup-mail .btn {
    white-space: normal;
  }
}

/* ---------- Login ---------- */
.login-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 8vh, 5.5rem) 1.25rem 4rem;
  min-height: calc(100svh - 76px);
}

.login-card {
  width: min(26.5rem, 100%);
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.2rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 231, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(216, 255, 58, 0.14), transparent 40%),
    linear-gradient(160deg, #121821, #0a0d12 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-card .cta-sub {
  margin: 0 auto 1.5rem;
}

.login-social {
  display: grid;
  gap: 0.65rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 5, 8, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 160ms var(--ease);
}

.social-btn:hover {
  border-color: rgba(0, 231, 255, 0.5);
  background: rgba(0, 231, 255, 0.08);
  transform: translateY(-1px);
}

.social-btn svg {
  flex-shrink: 0;
}

.login-or {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 1.1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-or::before,
.login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.login-form {
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.login-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 5, 8, 0.55);
  color: #fff;
  outline: none;
  font: inherit;
  font-size: 0.95rem;
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.login-form input:focus {
  border-color: rgba(0, 231, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 231, 255, 0.12);
}

.login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 0.2rem;
}

.login-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.login-links a {
  color: var(--cyan);
}

.login-links a:hover {
  color: var(--cyan-2);
}

.login-text-btn {
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  font-size: inherit;
  text-align: left;
}

.login-text-btn:hover {
  color: #fff;
}

.login-form .form-msg {
  min-height: 2.4em;
}

/* ---------- Animation demo (/animation) ---------- */
body.page-animation {
  overflow: hidden;
}

.hero--anim {
  min-height: 100svh;
  height: 100svh;
  align-items: stretch;
}

body.page-animation .hero-vignette {
  background:
    radial-gradient(ellipse 78% 62% at 50% 48%, rgba(3, 5, 8, 0.18) 0%, rgba(3, 5, 8, 0.52) 70%, rgba(3, 5, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.3) 0%, rgba(7, 9, 13, 0.08) 38%, rgba(7, 9, 13, 0.42) 100%);
}

body.page-animation .hero-content {
  display: grid;
  place-items: center;
  margin: 0;
  max-width: none;
  width: 100%;
  min-height: 100svh;
  padding: 0 1.5rem;
  text-align: center;
}

.hero--anim .hero-slide.is-entering {
  animation: heroRevealSoft 2.7s cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

.hero--anim.is-swap-alt .hero-slide.is-entering {
  animation-name: heroRevealSoftAlt;
}

.hero--anim .hero-slide.is-leaving {
  animation: heroExitSoft 2.7s cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

.hero--anim.is-clear .hero-slide.is-leaving {
  animation: heroExitSoft 1.8s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

.hero--anim.is-clear .hero-vignette {
  opacity: 0.28;
  transition: opacity 1.8s ease;
}

.hero--anim .hero-slide.is-entering-fade {
  opacity: 1;
  z-index: 2;
  animation: heroFadeIn 1.8s cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    filter: blur(8px) brightness(1.08);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
}

.hero--anim.is-swapping .hero-fx__bloom,
.hero--anim.is-swapping .hero-fx__ring,
.hero--anim.is-swapping .hero-fx__slash,
.hero--anim.is-swapping .hero-fx__slash--2 {
  animation-duration: 2.7s;
}

@keyframes heroRevealSoft {
  0% {
    clip-path: polygon(-30% -10%, -8% -10%, -22% 110%, -48% 110%);
    filter: brightness(1.45) saturate(1.12);
    transform: translate3d(-1.6%, 0, 0);
  }
  100% {
    clip-path: polygon(-30% -10%, 140% -10%, 125% 110%, -48% 110%);
    filter: brightness(1) saturate(1);
    transform: none;
  }
}

@keyframes heroRevealSoftAlt {
  0% {
    clip-path: polygon(108% -10%, 130% -10%, 148% 110%, 122% 110%);
    filter: brightness(1.45) saturate(1.12);
    transform: translate3d(1.6%, 0, 0);
  }
  100% {
    clip-path: polygon(-25% -10%, 130% -10%, 148% 110%, -40% 110%);
    filter: brightness(1) saturate(1);
    transform: none;
  }
}

@keyframes heroExitSoft {
  0% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(5px) brightness(1.12);
    transform: scale(1.045);
  }
}

.anim-title {
  display: grid;
  margin: 0 auto;
  width: 80vw;
  max-width: 80vw;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  padding-right: 0.22em;
  text-align: center;
}

.anim-line {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  opacity: 0;
  pointer-events: none;
}

.anim-line.is-on,
.anim-line.is-building {
  opacity: 1;
  pointer-events: auto;
}

.anim-prefix {
  display: block;
  padding-right: 0.22em;
}

.anim-title .grad {
  display: block;
  padding-right: 0.22em;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-2) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 231, 255, 0.35));
}

.anim-line.is-building .anim-prefix,
.anim-line.is-building .grad {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  animation: animWrite 2.55s cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

.anim-line.is-building .grad {
  animation-name: animWriteGrad;
  animation-delay: 0.72s;
  animation-duration: 2.6s;
}

.anim-line.is-leaving {
  animation: animLineOut 1.35s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes animWrite {
  0% {
    opacity: 0.2;
    filter: blur(12px);
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }
  38% {
    opacity: 1;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    -webkit-mask-size: 175% 100%;
    mask-size: 175% 100%;
  }
}

@keyframes animWriteGrad {
  0% {
    opacity: 0.2;
    filter: blur(12px) drop-shadow(0 0 8px rgba(0, 231, 255, 0.12));
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }
  38% {
    opacity: 1;
    filter: blur(3px) drop-shadow(0 0 16px rgba(0, 231, 255, 0.28));
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 24px rgba(0, 231, 255, 0.35));
    -webkit-mask-size: 175% 100%;
    mask-size: 175% 100%;
  }
}

@keyframes animLineOut {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, -22px, 0);
  }
}

@media (max-width: 720px) {
  .anim-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    width: 80vw;
    max-width: 80vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-line.is-building .anim-prefix,
  .anim-line.is-building .grad {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
    opacity: 1;
  }
}
