/* ================================================================
   9JAEDUGAMES — World-Class v4
   Fonts: Fraunces (serif display) + Plus Jakarta Sans (UI) + Instrument Sans (body)
   ================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,500;1,9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Sans:wght@400;500;600&display=swap");

/* ── TOKENS ── */
:root {
  --g1: #156535;
  --g2: #1d7a40;
  --g3: #22c55e;
  --g4: #4ade80;
  --g5: #bbf7d0;
  --g6: #f0fdf4;
  --g7: #e8faf0;
  --y1: #92400e;
  --y2: #b45309;
  --y3: #d97706;
  --y4: #f59e0b;
  --y5: #fbbf24;
  --y6: #fef3c7;
  --y7: #fffbeb;
  --ink: #0b1c11;
  --ink2: #1a3325;
  --ink3: #2d5c3e;
  --muted: #5a7a66;
  --dim: #8aab95;
  --border: rgba(21, 101, 53, 0.1);
  --border2: rgba(21, 101, 53, 0.18);
  --white: #fff;
  --off: #f6f9f7;
  --shadow-xs: 0 1px 4px rgba(11, 28, 17, 0.06);
  --shadow-s: 0 4px 14px rgba(11, 28, 17, 0.09);
  --shadow-m: 0 12px 40px rgba(11, 28, 17, 0.11);
  --shadow-l: 0 24px 70px rgba(11, 28, 17, 0.13);
  --shadow-xl: 0 40px 100px rgba(11, 28, 17, 0.16);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 32px;
  --nav: 76px;
  --fd: "Fraunces", Georgia, serif;
  --fu: "Plus Jakarta Sans", sans-serif;
  --fb: "Instrument Sans", "Helvetica Neue", sans-serif;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--fb);
  background: var(--off);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--off);
}
::-webkit-scrollbar-thumb {
  background: var(--g2);
  border-radius: 2px;
}

/* ── CURSOR ── */
#cur {
  width: 9px;
  height: 9px;
  background: var(--g1);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.18s,
    height 0.18s,
    background 0.15s;
}
#cur-r {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--g2);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.45;
}
body.cH #cur {
  width: 18px;
  height: 18px;
  background: var(--y4);
}
body.cH #cur-r {
  width: 52px;
  height: 52px;
  border-color: var(--y4);
  opacity: 0.6;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  background: rgba(246, 249, 247, 0.93);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.stuck {
  box-shadow: var(--shadow-s);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav-logo {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  object-fit: contain;
}
.nav-name {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 18.5px;
  color: var(--g1);
  letter-spacing: -0.3px;
}
.nav-name b {
  color: var(--y3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-family: var(--fu);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: -0.1px;
}
.nav-links a:hover {
  color: var(--g1);
}
.nav-cta {
  background: var(--g1) !important;
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 700 !important;
  box-shadow: 0 3px 14px rgba(21, 101, 53, 0.25);
  transition: all 0.22s !important;
}
.nav-cta:hover {
  background: var(--g2) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(21, 101, 53, 0.32) !important;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-burger span {
  width: 23px;
  height: 2px;
  background: var(--g1);
  border-radius: 2px;
  display: block;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fu);
  font-weight: 700;
  font-size: 15px;
  padding: 17px 40px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: all 0.24s;
  letter-spacing: -0.1px;
  line-height: 1;
}
.btn i {
  font-size: 14px;
}
.btn-green {
  background: var(--g1);
  color: #fff;
  box-shadow: 0 5px 20px rgba(21, 101, 53, 0.28);
}
.btn-green:hover {
  background: var(--g2);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(21, 101, 53, 0.36);
}
.btn-gold {
  background: var(--y4);
  color: #fff;
  box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
  background: var(--y3);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--g1);
  border: 2px solid var(--border2);
}
.btn-ghost:hover {
  background: var(--g6);
  border-color: var(--g2);
}
.btn-lg {
  padding: 20px 48px;
  font-size: 16.5px;
  border-radius: 13px;
}

/* ── SECTION BASE ── */
.sec {
  padding: 130px 80px;
}
.si {
  max-width: 1260px;
  margin: 0 auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--g6);
  color: var(--g2);
  font-family: var(--fu);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.7px;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(21, 101, 53, 0.13);
}
.chip i {
  font-size: 10px;
}
.chip-y {
  background: var(--y6);
  color: var(--y2);
  border-color: rgba(180, 83, 9, 0.13);
}
.h2 {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin-bottom: 22px;
}
.h2 em {
  font-style: italic;
  color: var(--g1);
}
.h2 b {
  color: var(--y3);
  font-style: normal;
}
.sub {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 570px;
  line-height: 1.8;
  font-weight: 400;
}

/* ── REVEAL ── */
[data-r] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
[data-r="left"] {
  transform: translateX(-32px);
}
[data-r="right"] {
  transform: translateX(32px);
}
[data-r="scale"] {
  transform: scale(0.95);
}
[data-r].in {
  opacity: 1;
  transform: translate(0) scale(1);
}
[data-d="1"] {
  transition-delay: 0.1s;
}
[data-d="2"] {
  transition-delay: 0.2s;
}
[data-d="3"] {
  transition-delay: 0.3s;
}
[data-d="4"] {
  transition-delay: 0.4s;
}
[data-d="5"] {
  transition-delay: 0.5s;
}
[data-d="6"] {
  transition-delay: 0.6s;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav) + 70px) 80px 80px;
  background: linear-gradient(142deg, #edfaf3 0%, #fefce8 48%, #edfaf3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(21, 101, 53, 0.065) 1.2px,
    transparent 0
  );
  background-size: 40px 40px;
  pointer-events: none;
}
.hblob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hb1 {
  width: 700px;
  height: 700px;
  background: rgba(34, 197, 94, 0.1);
  top: -160px;
  left: -160px;
  animation: hbb 11s ease-in-out infinite;
}
.hb2 {
  width: 520px;
  height: 520px;
  background: rgba(251, 191, 36, 0.09);
  bottom: -80px;
  right: 22%;
  animation: hbb 14s ease-in-out infinite reverse;
}
@keyframes hbb {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(26px, 16px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left */
.h-kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border2);
  border-radius: 100px;
  padding: 8px 17px;
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 700;
  color: var(--g1);
  margin-bottom: 30px;
  box-shadow: var(--shadow-xs);
}
.kd {
  width: 8px;
  height: 8px;
  background: var(--g3);
  border-radius: 50%;
  animation: kpls 1.4s ease-in-out infinite;
}
@keyframes kpls {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.65);
  }
}
.h1 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: 1;
  letter-spacing: -2.8px;
  margin-bottom: 26px;
}
.h1 .l1 {
  color: var(--ink);
  display: block;
}
.h1 .l2 {
  color: var(--g1);
  display: block;
  font-style: italic;
}
.h1 .l3 {
  color: var(--y3);
  display: block;
  font-size: 0.7em;
  letter-spacing: -0.5px;
  font-weight: 700;
}
.h-p {
  font-family: var(--fb);
  font-size: 18px;
  color: var(--muted);
  line-height: 1.82;
  max-width: 500px;
  margin-bottom: 42px;
}
.h-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.h-strip {
  display: flex;
  gap: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--border2);
  flex-wrap: wrap;
}
.hs-n {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 34px;
  color: var(--g1);
  line-height: 1;
}
.hs-l {
  font-family: var(--fb);
  font-size: 12px;
  color: var(--dim);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── PHONE (hero) ── */
.phone-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(
    ellipse 65% 65% at 50% 50%,
    rgba(34, 197, 94, 0.12),
    transparent
  );
  pointer-events: none;
}
.orb-wrap {
  position: absolute;
  inset: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.o1 {
  width: 310px;
  height: 310px;
  border-color: rgba(21, 101, 53, 0.12);
  animation: ospin 18s linear infinite;
}
.o2 {
  width: 440px;
  height: 440px;
  border-color: rgba(245, 158, 11, 0.09);
  animation: ospin 28s linear infinite reverse;
  border-style: dashed;
}
.o3 {
  width: 570px;
  height: 570px;
  border-color: rgba(21, 101, 53, 0.06);
  animation: ospin 36s linear infinite;
}
.ob {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.o1 .ob {
  background: var(--g3);
  box-shadow: 0 0 8px var(--g3);
}
.o2 .ob {
  background: var(--y5);
}
.o3 .ob {
  background: var(--g4);
}
@keyframes ospin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* iPhone */
.iph {
  width: 272px;
  height: 558px;
  background: #111;
  border-radius: 46px;
  position: relative;
  z-index: 4;
  box-shadow:
    0 0 0 2px #2a2a2a,
    0 0 0 4px #1c1c1c,
    0 48px 120px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.iph-sb1 {
  position: absolute;
  left: -3px;
  top: 100px;
  width: 3px;
  height: 34px;
  background: #333;
  border-radius: 2px 0 0 2px;
}
.iph-sb1::before,
.iph-sb1::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  background: #333;
  border-radius: 2px 0 0 2px;
}
.iph-sb1::before {
  top: 50px;
  height: 28px;
}
.iph-sb1::after {
  top: 84px;
  height: 28px;
}
.iph-pw {
  position: absolute;
  right: -3px;
  top: 140px;
  width: 3px;
  height: 54px;
  background: #333;
  border-radius: 0 2px 2px 0;
}
.iph-scr {
  position: absolute;
  inset: 10px;
  background: #0d1a10;
  border-radius: 38px;
  overflow: hidden;
}
.iph-ntch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 114px;
  height: 32px;
  background: #000;
  border-radius: 0 0 22px 22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  gap: 6px;
}
.ntc {
  width: 11px;
  height: 11px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1.5px solid #2a2a2a;
}
.ntd {
  width: 5px;
  height: 5px;
  background: #0d2a14;
  border-radius: 50%;
}
.iph-status {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-family: var(--fu);
}

/* Phone stages */
.phs {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  padding: 56px 14px 16px;
  display: flex;
  flex-direction: column;
}
.phs.on {
  opacity: 1;
}
.phs1 {
  background: linear-gradient(168deg, #091d0f, #132a19);
}
.ph-tb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ph-rtag {
  font-size: 10px;
  color: var(--g4);
  font-weight: 700;
  background: rgba(34, 197, 94, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--fu);
}
.ph-tmr {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 22px;
  color: var(--y5);
  min-width: 26px;
  text-align: center;
}
.ph-cat {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.33);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.ph-q {
  font-family: var(--fu);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 14px;
}
.ph-opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.pho {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.ol {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}
.pho.selecting {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--y5);
  color: #fff;
}
.pho.selecting .ol {
  background: var(--y5);
  color: #000;
}
.pho.correct {
  background: rgba(34, 197, 94, 0.25);
  border-color: var(--g3);
  color: #fff;
}
.pho.correct .ol {
  background: var(--g3);
  color: #000;
}
.pho.wrong {
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(239, 68, 68, 0.3);
  color: rgba(255, 255, 255, 0.3);
}
.ph-prg {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}
.ph-pf {
  height: 100%;
  background: linear-gradient(90deg, var(--g3), var(--y5));
  border-radius: 2px;
}

.phs2 {
  background: linear-gradient(168deg, #0c2114, #163524);
  justify-content: center;
  align-items: center;
  text-align: center;
}
.srw {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid rgba(34, 197, 94, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
}
.srw svg {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  transform: rotate(-90deg);
}
.rb {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 3;
}
.rv {
  fill: none;
  stroke: var(--g3);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 1.5s 0.2s ease;
}
.sp {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  line-height: 1;
}
.sl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.33);
}
.st {
  font-family: var(--fu);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}
.ss {
  font-size: 10px;
  color: var(--g4);
  margin-bottom: 14px;
}
.sbgs {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.sbg {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}
.sbg span {
  display: block;
  font-size: 13px;
  color: var(--y5);
}

.phs3 {
  background: linear-gradient(168deg, #121000, #1c1800);
}
.lbt {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lbrows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.lbr {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.065);
}
.lbr.you {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.3);
}
.lbp {
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}
.lbs {
  flex: 1;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}
.ylbl {
  font-size: 8px;
  background: var(--y5);
  color: #000;
  border-radius: 3px;
  padding: 1px 4px;
  font-weight: 800;
  margin-left: 3px;
}
.lbpt {
  font-size: 10px;
  font-weight: 800;
  color: var(--g3);
}
.lbb {
  padding: 0 10px 4px;
}
.lbb-t {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
}
.lbb-f {
  height: 100%;
  border-radius: 1px;
  width: 0;
}

.phs4 {
  background: radial-gradient(ellipse at 50% 25%, #1d3524, #080e09);
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.conf {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cbit {
  position: absolute;
  border-radius: 1px;
  animation: cfall linear infinite;
}
@keyframes cfall {
  from {
    transform: translateY(-10px) rotate(0);
    opacity: 1;
  }
  to {
    transform: translateY(580px) rotate(720deg);
    opacity: 0;
  }
}
.wtr {
  font-size: 54px;
  display: block;
  margin-bottom: 7px;
  animation: wtr 0.6s ease;
}
@keyframes wtr {
  0% {
    transform: scale(0) rotate(-30deg);
  }
  70% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
.wtag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--y5);
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--fu);
}
.wsch {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.wdiv {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
  margin: 0 auto 14px;
}
.wprz {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 40px;
  color: var(--y5);
  line-height: 1;
  animation: wprz 1s ease-in-out infinite alternate;
}
@keyframes wprz {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}
.wprzl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}
.wext {
  margin-top: 10px;
  font-size: 9px;
  color: var(--g4);
}

/* Floating pills */
.fp {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-m);
  z-index: 5;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.fp i {
  font-size: 22px;
}
.fp-v {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  line-height: 1;
}
.fp-s {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.fp1 {
  top: 70px;
  right: -16px;
  animation: fp 3.5s ease-in-out infinite;
}
.fp2 {
  bottom: 145px;
  left: -30px;
  animation: fp 4.5s ease-in-out infinite 1s;
}
.fp3 {
  top: 50%;
  right: -54px;
  transform: translateY(-50%);
  animation: fp3 4s ease-in-out infinite 0.5s;
}
@keyframes fp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes fp3 {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 9px));
  }
}

/* ================================================================
   ABOUT
================================================================ */
.about {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
}
.about-vis {
  position: relative;
}
.about-imgw {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 500px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.about-imgw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 28, 15, 0.78) 0%,
    rgba(9, 28, 15, 0.12) 55%,
    transparent 100%
  );
}
.about-cap {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  color: #fff;
}
.about-cap h3 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 5px;
  line-height: 1.2;
}
.about-cap p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.about-logo-pin {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  z-index: 2;
}
.about-logo-pin img {
  width: 100%;
  object-fit: contain;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.asc {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: all 0.3s;
}
.asc:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-s);
  border-color: var(--border2);
}
.asci {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.asci.g {
  background: var(--g6);
  color: var(--g1);
}
.asci.y {
  background: var(--y6);
  color: var(--y2);
}
.asc-n {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
}
.asc-l {
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 2px;
}
.about-text .fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.fc {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 22px;
  transition: all 0.3s;
}
.fc:hover {
  box-shadow: var(--shadow-s);
  border-color: var(--border2);
  transform: translateY(-2px);
}
.fc-i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--g6);
  color: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 12px;
}
.fc h4 {
  font-family: var(--fu);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.fc p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ================================================================
   METRICS
================================================================ */
.metrics {
  background: var(--g1);
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.04) 1px,
    transparent 0
  );
  background-size: 28px 28px;
}
.m-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 62px;
}
.mc {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-l);
  padding: 44px 30px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.mc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.mc:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}
.mc:hover::before {
  opacity: 1;
}
.mc-i {
  font-size: 28px;
  color: var(--y5);
  margin-bottom: 18px;
}
.mc-n {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 54px;
  color: #fff;
  line-height: 1;
}
.mc-n .suf {
  color: var(--y5);
}
.mc-l {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 8px;
  font-family: var(--fu);
}
.mc-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  margin-top: 22px;
  overflow: hidden;
}
.mc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g3), var(--y5));
  border-radius: 2px;
  width: 0;
  transition: width 1.9s 0.4s ease;
}
.metrics .h2 {
  color: #fff;
}
.metrics .h2 em {
  color: var(--y5);
  font-style: italic;
}
.metrics .chip {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ================================================================
   PRIZES
================================================================ */
.prizes {
  background: var(--off);
}
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 66px;
}
.fwrap {
  perspective: 1100px;
  height: 400px;
  cursor: pointer;
}
.finn {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.fwrap:hover .finn,
.fwrap.flipped .finn {
  transform: rotateY(180deg);
}
.ff,
.fba {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: var(--shadow-m);
}
.fba {
  transform: rotateY(180deg);
  background: #fff;
}
.ff-cash {
  background: linear-gradient(155deg, #0a2416 0%, #156535 100%);
}
.ff-land {
  background: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=700&q=80")
    center/cover;
}
.ff-land::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(8, 36, 16, 0.86),
    rgba(21, 101, 53, 0.68)
  );
}
.ff-cisco {
  background: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=700&q=80")
    center/cover;
}
.ff-cisco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(18, 12, 0, 0.9),
    rgba(115, 75, 0, 0.72)
  );
}
.ff-body {
  position: absolute;
  inset: 0;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}
.ff-pill {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--y4);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  font-family: var(--fu);
}
.ff-icon {
  font-size: 52px;
  margin-bottom: 16px;
}
.ff-amt {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(32px, 3vw, 46px);
  color: var(--y5);
  line-height: 1;
  margin-bottom: 7px;
}
.ff-nm {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.66);
}
.ff-hint {
  margin-top: 15px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--fu);
}
.fba-body {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fba-icon {
  font-size: 40px;
  margin-bottom: 18px;
}
.fba-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.fba-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.74;
  flex: 1;
}
.fba-cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g1);
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
  width: fit-content;
  font-family: var(--fu);
}
.fba-cta:hover {
  background: var(--g2);
}
.prizes-note {
  margin-top: 34px;
  background: var(--y7);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--r-m);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--ink2);
}

/* ================================================================
   PARTNERS
================================================================ */
.partners {
  background: #fff;
}
.ptrack-wrap {
  overflow: hidden;
  margin-top: 48px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 7%,
    black 93%,
    transparent
  );
}
.ptrack {
  display: flex;
  gap: 18px;
  animation: pscrl 22s linear infinite;
  width: max-content;
}
.ptrack:hover {
  animation-play-state: paused;
}
@keyframes pscrl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.pitm {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 18px 34px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--fu);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  min-width: 170px;
  transition: all 0.3s;
}
.pitm:hover {
  border-color: var(--border2);
  color: var(--g1);
}
.pitm i {
  font-size: 19px;
}

/* ================================================================
   SCHOOLS
================================================================ */
.schools {
  background: var(--off);
}
.sgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 11px;
  margin-top: 46px;
}
.stag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px 17px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.22s;
  font-family: var(--fb);
}
.stag:hover {
  border-color: var(--border2);
  color: var(--g1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}
.sdot {
  width: 7px;
  height: 7px;
  background: var(--g3);
  border-radius: 50%;
  flex-shrink: 0;
}
.sjoin {
  background: transparent;
  border: 1.5px dashed rgba(180, 83, 9, 0.3);
  color: var(--y2);
  font-weight: 700;
}
.sjoin:hover {
  background: var(--y7);
  border-color: rgba(180, 83, 9, 0.5);
}

/* ================================================================
   HOW IT WORKS — alternating, slanted phone IMAGE pinned top-right
================================================================ */
.hiw {
  background: #fff;
}
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 72px;
  position: relative;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}
.hiw-steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--g2) 8%,
    var(--g2) 92%,
    transparent
  );
  transform: translateX(-50%);
}
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: start;
  margin-bottom: 60px;
}
.hiw-step:last-child {
  margin-bottom: 0;
}
.hiw-nc {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
}
.hiw-node {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 9px rgba(34, 197, 94, 0.08),
    var(--shadow-s);
}
.hiw-node i {
  font-size: 22px;
  color: var(--g1);
}
.hiw-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 23px;
  height: 23px;
  background: var(--y4);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fu);
}
.hiw-card {
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--r-l);
  padding: 32px 30px 32px 30px;
  position: relative;
  transition: all 0.3s;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.hiw-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.hiw-phase {
  font-size: 10px;
  font-weight: 700;
  color: var(--g2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--fu);
}
.hiw-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hiw-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}

/* ── Phone image pinned top-right ── */
.hiw-phone-pin {
  position: absolute;
  top: -14px;
  right: 20px;
  z-index: 3;
  width: 58px;
  height: 100px;
}
.hiw-phone-img {
  width: 100%;
  height: 100%;
  position: relative;
  /* slant: rotate on X, Y, and Z axes */
  transform: perspective(320px) rotateX(10deg) rotateY(-16deg) rotateZ(3deg);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}
.hiw-phone-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: block;
}
/* Radial gradient fade at bottom of phone */
.hiw-phone-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: 0 0 11px 11px;
  background: radial-gradient(
    ellipse 90% 80% at 50% 100%,
    rgba(246, 249, 247, 1) 30%,
    transparent 100%
  );
  pointer-events: none;
}
/* Gold step */
.hiw-card.gold {
  background: var(--y7);
  border-color: rgba(180, 83, 9, 0.15);
}
.hiw-card.gold .hiw-phase {
  color: var(--y2);
}
.hiw-card.gold .hiw-phone-fade {
  background: radial-gradient(
    ellipse 90% 80% at 50% 100%,
    rgba(255, 251, 235, 1) 30%,
    transparent 100%
  );
}
.hiw-card.gold .hiw-node {
  border-color: var(--y3);
  box-shadow:
    0 0 0 9px rgba(245, 158, 11, 0.08),
    var(--shadow-s);
}
.hiw-card.gold .hiw-node i {
  color: var(--y2);
}
/* Step columns */
.hiw-step:nth-child(odd) .hiw-content {
  grid-column: 1;
}
.hiw-step:nth-child(odd) .hiw-nc {
  grid-column: 2;
}
.hiw-step:nth-child(odd) .hiw-empty {
  grid-column: 3;
}
.hiw-step:nth-child(even) .hiw-empty {
  grid-column: 1;
}
.hiw-step:nth-child(even) .hiw-nc {
  grid-column: 2;
}
.hiw-step:nth-child(even) .hiw-content {
  grid-column: 3;
}

/* ================================================================
   GALLERY
================================================================ */
.gallery {
  background: var(--off);
}
.ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
  margin-top: 50px;
}
.gc {
  border-radius: var(--r-l);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gc.wide {
  grid-column: span 2;
}
.gc.tall {
  grid-row: span 2;
}
.gc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.gc:hover img {
  transform: scale(1.07);
}
.gc-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 28, 15, 0.84) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 18px 22px;
}
.gc:hover .gc-ov {
  opacity: 1;
}
.gc-cap {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fu);
}

/* ================================================================
   TEAM — Magazine Mosaic (unique)
   3 large top row + 3 smaller bottom row
   Full-bleed photos, dark overlay, text reveals on hover
================================================================ */
.team-sec {
  background: #fff;
  padding-bottom: 0;
}
.team-head {
  max-width: 1260px;
  margin: 0 auto 0;
  padding: 0 80px;
}
.team-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 70px;
}
.tm {
  position: relative;
  overflow: hidden;
  cursor: default;
  background: #0a1f14;
}

/* Alternate heights for visual interest */
.tm:nth-child(1),
.tm:nth-child(2),
.tm:nth-child(3) {
  height: 520px;
}
.tm:nth-child(4),
.tm:nth-child(5),
.tm:nth-child(6) {
  height: 400px;
}

.tm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    transform 0.65s ease,
    filter 0.65s ease;
  filter: grayscale(15%);
}
.tm:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

/* permanent dark gradient at bottom */
.tm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 18, 10, 0.94) 0%,
    rgba(7, 18, 10, 0.22) 55%,
    transparent 100%
  );
  z-index: 1;
  transition: background 0.45s;
}
.tm:hover::before {
  background: linear-gradient(
    to top,
    rgba(7, 18, 10, 0.97) 0%,
    rgba(7, 18, 10, 0.45) 65%,
    rgba(7, 18, 10, 0.05) 100%
  );
}

/* Step number watermark */
.tm-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--fd);
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.055);
  z-index: 1;
  line-height: 1;
  pointer-events: none;
}

/* Base info (always visible) */
.tm-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 26px 28px;
  z-index: 2;
}
.tm-name {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 5px;
  transition: transform 0.4s ease;
}
.tm-role {
  font-size: 11px;
  color: var(--g4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: var(--fu);
  display: flex;
  align-items: center;
  gap: 5px;
}
.tm:hover .tm-name {
  transform: translateY(-6px);
}

/* Reveal on hover */
.tm-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 26px 26px;
  z-index: 2;
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.42s ease,
    opacity 0.42s ease;
}
.tm:hover .tm-reveal {
  transform: translateY(0);
  opacity: 1;
}
.tm-bio {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.62;
  margin-bottom: 14px;
  margin-top: 8px;
}
.tm-socials {
  display: flex;
  gap: 8px;
}
.tm-soc {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: all 0.2s;
}
.tm-soc:hover {
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
  border-color: rgba(34, 197, 94, 0.45);
}

/* ================================================================
   TESTIMONIALS — Twin-column infinite marquee
================================================================ */
.testimonials {
  background: var(--g7);
  overflow: hidden;
}
.tes-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 90px;
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}
.tes-left {
  position: sticky;
  top: 120px;
}
.tes-stars {
  color: var(--y4);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.tes-rating-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 22px;
  margin-top: 28px;
  box-shadow: var(--shadow-xs);
}
.tes-rating-n {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 42px;
  color: var(--g1);
  line-height: 1;
}
.tes-rating-l {
  font-size: 13px;
  color: var(--muted);
}
.tes-rating-l strong {
  color: var(--ink);
  font-weight: 700;
}
.tes-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tes-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fu);
}
.tes-chip i {
  color: var(--g2);
  font-size: 10px;
}

/* Marquee columns */
.tes-marq {
  height: 580px;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}
.tes-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tca {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tca.col-a {
  animation: tmrq 30s linear infinite;
}
.tca.col-b {
  animation: tmrq 24s linear infinite reverse;
}
@keyframes tmrq {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
.tes-marq:hover .tca {
  animation-play-state: paused;
}
.tc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.tc:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-s);
}
.tc-q {
  font-size: 30px;
  color: var(--g5);
  margin-bottom: 10px;
}
.tc-text {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.74;
  font-style: italic;
  margin-bottom: 16px;
}
.tc-stars {
  color: var(--y4);
  font-size: 12px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.tc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tc-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g6);
  border: 1.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fu);
  font-weight: 800;
  font-size: 15px;
  color: var(--g1);
  flex-shrink: 0;
  overflow: hidden;
}
.tc-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-name {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}
.tc-role {
  font-size: 11.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

/* ================================================================
   PAST EVENTS — Full-viewport cinematic carousel
================================================================ */
.events {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #000;
}
.ec-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.ec-slide.active {
  opacity: 1;
  z-index: 1;
}
/* Parallax-like scale-in on active */
.ec-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform 9s ease;
  will-change: transform;
  display: block;
}
.ec-slide.active img {
  transform: scale(1);
}
/* Cinematic overlay gradient */
.ec-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 14, 8, 0.94) 0%,
    rgba(5, 14, 8, 0.52) 45%,
    rgba(5, 14, 8, 0.18) 100%
  );
}
/* Left dark vignette */
.ec-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 14, 8, 0.7) 0%,
    transparent 60%
  );
  z-index: 1;
}

/* Content */
.ec-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 90px 100px;
}
.ec-yr {
  font-family: var(--fu);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--g4);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s 0.2s,
    transform 0.7s 0.2s;
}
.ec-slide.active .ec-yr {
  opacity: 1;
  transform: translateY(0);
}
.ec-title {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 80px);
  color: #fff;
  line-height: 1.03;
  letter-spacing: -2px;
  max-width: 720px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s 0.35s,
    transform 0.7s 0.35s;
}
.ec-slide.active .ec-title {
  opacity: 1;
  transform: translateY(0);
}
.ec-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.74;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s 0.5s,
    transform 0.7s 0.5s;
}
.ec-slide.active .ec-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Controls row */
.ec-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s 0.6s,
    transform 0.7s 0.6s;
}
.ec-slide.active .ec-controls {
  opacity: 1;
  transform: translateY(0);
}
.ec-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: justify-content;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}
.ec-btn:hover {
  background: var(--g1);
  border-color: var(--g1);
}
.ec-dots {
  display: flex;
  gap: 8px;
  margin-left: 4px;
}
.ec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.ec-dot.on {
  background: var(--g3);
  width: 24px;
  border-radius: 4px;
}

/* Top-right counter */
.ec-counter {
  position: absolute;
  top: 90px;
  right: 100px;
  z-index: 3;
  text-align: right;
}
.ec-counter-n {
  font-family: var(--fd);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -4px;
}
.ec-counter-label {
  font-family: var(--fu);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -10px;
}

/* Bottom progress bar */
.ec-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 4;
}
.ec-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g3), var(--y4));
  width: 0;
  transition: width linear;
}

/* Slide index strip (right side vertical) */
.ec-strip {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ec-strip-dot {
  width: 3px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.ec-strip-dot.on {
  background: var(--g3);
  height: 40px;
}

/* ================================================================
   CTA
================================================================ */
.cta {
  background: linear-gradient(142deg, #edfaf3 0%, #fefce8 50%, #edfaf3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(21, 101, 53, 0.065) 1.2px,
    transparent 0
  );
  background-size: 40px 40px;
}
.cta-wm {
  position: absolute;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 220px;
  color: rgba(21, 101, 53, 0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -10px;
}
.cta-in {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-h {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(44px, 5.8vw, 76px);
  letter-spacing: -2.2px;
  color: var(--ink);
  line-height: 1.04;
  margin-bottom: 24px;
}
.cta-h em {
  font-style: italic;
  color: var(--g1);
}
.cta-h b {
  color: var(--y3);
}
.cta-p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 54px;
  line-height: 1.8;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-ti {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  font-family: var(--fu);
}
.cta-ti i {
  color: var(--g1);
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--ink);
  padding: 84px 80px 46px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 66px;
  margin-bottom: 58px;
}
.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.fbrand img {
  height: 40px;
  width: 40px;
  border-radius: 9px;
  object-fit: contain;
}
.fbrand-name {
  font-family: var(--fu);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.fbrand-name b {
  color: var(--y5);
}
.foot-p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.74;
  max-width: 260px;
  margin-bottom: 26px;
  font-family: var(--fb);
}
.fsocials {
  display: flex;
  gap: 9px;
}
.fsoc {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 15px;
  transition: all 0.2s;
}
.fsoc:hover {
  background: rgba(34, 197, 94, 0.22);
  color: var(--g3);
  border-color: rgba(34, 197, 94, 0.28);
}
.foot-col h5 {
  font-family: var(--fu);
  font-weight: 700;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}
.foot-col ul li {
  margin-bottom: 10px;
}
.foot-col ul a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fb);
}
.foot-col ul a i {
  font-size: 10px;
}
.foot-col ul a:hover {
  color: var(--y5);
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--fb);
}
.foot-lnks {
  display: flex;
  gap: 22px;
}
.foot-lnks a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s;
  font-family: var(--fb);
}
.foot-lnks a:hover {
  color: var(--y5);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .sec {
    padding: 96px 48px;
  }
  .nav {
    padding: 0 48px;
  }
  .hero {
    padding: calc(var(--nav)+54px) 48px 68px;
  }
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .fp,
  .orb-wrap,
  .phone-glow {
    display: none;
  }
  .iph {
    margin: 0 auto;
  }
  .m-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prizes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .tes-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .tes-left {
    position: static;
  }
  .ec-content {
    padding: 60px 52px;
  }
  .ec-counter {
    right: 52px;
    top: 60px;
  }
  .ec-strip {
    display: none;
  }
  footer {
    padding: 68px 48px 42px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
  .team-head {
    padding: 0 48px;
  }
  .hiw-steps::before {
    left: 50%;
  }
}
@media (max-width: 768px) {
  .sec {
    padding: 72px 24px;
  }
  .nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .hero {
    padding: calc(var(--nav)+44px) 24px 58px;
  }
  .h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .m-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prizes-grid {
    grid-template-columns: 1fr;
  }
  .fwrap {
    height: 340px;
  }
  .team-mosaic {
    grid-template-columns: 1fr;
  }
  .tm:nth-child(1),
  .tm:nth-child(2),
  .tm:nth-child(3) {
    height: 380px;
  }
  .tm:nth-child(4),
  .tm:nth-child(5),
  .tm:nth-child(6) {
    height: 340px;
  }
  .ggrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gc.wide,
  .gc.tall {
    grid-column: span 1;
    grid-row: span 1;
    height: 200px;
  }
  .hiw-steps::before {
    left: 22px;
  }
  .hiw-step {
    grid-template-columns: 52px 1fr;
  }
  .hiw-nc {
    grid-column: 1 !important;
    padding-top: 0;
  }
  .hiw-content {
    grid-column: 2 !important;
  }
  .hiw-empty {
    display: none !important;
  }
  .ec-content {
    padding: 40px 24px;
  }
  .ec-counter {
    display: none;
  }
  footer {
    padding: 54px 24px 36px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .tes-layout {
    grid-template-columns: 1fr;
  }
  .team-head {
    padding: 0 24px;
  }
}
