/* ==========================================================================
   SUMMIT CITY RP — MIDNIGHT SUMMIT
   --------------------------------------------------------------------------
   Colour tokens live in :root below. Change them there and the whole site
   follows. You shouldn't need to touch anything else in this file.
   ========================================================================== */

:root{
  /* Palette */
  --void:      #050A16;
  --midnight:  #0B1526;
  --surface:   #12203A;
  --surface-2: #16294a;
  --line:      #1d3157;

  --summit:    #1E6FD9;   /* primary — from the logo */
  --glow:      #3B8EFF;   /* hover / focus */
  --ice:       #7DD3FC;   /* highlights */
  --snow:      #EAF2FF;   /* primary text */
  --muted:     #93a7c9;   /* secondary text */
  --dim:       #63769a;   /* tertiary text */
  --live:      #22C55E;
  --warn:      #F59E0B;

  /* Type */
  --display: 'Barlow Condensed', 'Arial Narrow', 'Haettenschweiler', sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 11vw, 140px);
  --radius: 14px;
  --radius-lg: 20px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:96px; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--void);
  color:var(--snow);
  font-family:var(--body);
  font-size:16px;
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

/* The `hidden` attribute is only display:none in the UA stylesheet, so ANY
   class rule that sets display (.lightbox and .mobile both use flex) silently
   beats it and the element stays on screen covering the page. */
[hidden]{ display:none !important; }

:focus-visible{
  outline:2px solid var(--glow);
  outline-offset:3px;
  border-radius:4px;
}

.skip{
  position:fixed; top:-100px; left:16px; z-index:200;
  background:var(--summit); color:#fff; padding:12px 20px; border-radius:0 0 10px 10px;
  transition:top .2s var(--ease);
}
.skip:focus{ top:0; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }
.wrap--narrow{ max-width:860px; }

/* ── Film grain overlay ─────────────────────────────────────────────────── */
.grain{
  position:absolute; inset:0; pointer-events:none; z-index:3;
  opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══════════════════════════════ BUTTONS ══════════════════════════════ */
.btn{
  --btn-bg:transparent;
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:12px 22px;
  font-family:var(--display);
  font-weight:700; font-size:16px; letter-spacing:.06em; text-transform:uppercase;
  border-radius:10px;
  white-space:nowrap;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease),
             background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn--lg{ padding:16px 32px; font-size:19px; border-radius:12px; }
.btn--wide{ width:100%; }

.btn--primary{
  background:linear-gradient(180deg, var(--glow), var(--summit));
  color:#fff;
  box-shadow:0 0 0 1px rgba(123,180,255,.35) inset,
             0 8px 26px -8px rgba(30,111,217,.9),
             0 0 34px -12px rgba(59,142,255,.7);
}
.btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 0 0 1px rgba(160,205,255,.55) inset,
             0 14px 34px -10px rgba(30,111,217,1),
             0 0 54px -8px rgba(59,142,255,.85);
}
.btn--primary:active{ transform:translateY(0); }

.btn--ghost{
  color:var(--snow);
  background:rgba(18,32,58,.55);
  border:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.btn--ghost:hover{
  border-color:var(--glow);
  color:#fff;
  background:rgba(30,111,217,.16);
  box-shadow:0 0 28px -10px rgba(59,142,255,.85);
  transform:translateY(-2px);
}

.btn[aria-disabled="true"]{
  opacity:.5; pointer-events:none;
}

/* ══════════════════════════════ NAV ══════════════════════════════ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  transition:background-color .35s var(--ease), border-color .35s var(--ease),
             backdrop-filter .35s var(--ease), padding .35s var(--ease);
  border-bottom:1px solid transparent;
  padding-block:14px;
}
.nav.is-stuck{
  background:rgba(5,10,22,.82);
  backdrop-filter:blur(16px) saturate(140%);
  border-bottom-color:rgba(29,49,87,.9);
  padding-block:8px;
}
.nav__inner{
  width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad);
  display:flex; align-items:center; gap:24px;
}
.nav__brand{ display:flex; align-items:center; flex:none; }
.nav__logo{
  height:52px; width:auto;
  transition:height .35s var(--ease), filter .35s var(--ease);
  /* Your logo has a black outline — this lifts it off the navy background. */
  filter:drop-shadow(0 0 1px rgba(180,215,255,.75))
         drop-shadow(0 0 14px rgba(59,142,255,.35));
}
.nav.is-stuck .nav__logo{ height:40px; }

.nav__wordmark{ display:flex; align-items:center; gap:10px; color:var(--snow); }
.nav__mark{ width:34px; height:22px; color:var(--summit); }
.nav__wordtext{
  font-family:var(--display); font-weight:800; font-size:22px;
  letter-spacing:.04em; text-transform:uppercase; line-height:1;
}
.nav__wordtext em{ color:var(--summit); font-style:normal; margin-left:6px; }

.nav__links{
  display:flex; align-items:center; gap:4px;
  margin-inline:auto;
}
.nav__links a{
  position:relative;
  padding:8px 14px;
  font-family:var(--display); font-weight:600; font-size:16px;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted);
  transition:color .22s var(--ease);
}
.nav__links a::after{
  content:''; position:absolute; left:14px; right:14px; bottom:2px; height:1.5px;
  background:var(--glow); transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
  box-shadow:0 0 10px var(--glow);
}
.nav__links a:hover{ color:var(--snow); }
.nav__links a:hover::after,
.nav__links a.is-active::after{ transform:scaleX(1); }
.nav__links a.is-active{ color:var(--snow); }

.nav__cta{ display:flex; align-items:center; gap:10px; flex:none; }

.nav__burger{
  display:none; flex:none;
  width:44px; height:44px; border-radius:10px;
  border:1px solid var(--line);
  padding:11px 10px;
  flex-direction:column; justify-content:space-between;
}
.nav__burger span{
  display:block; height:2px; width:100%; background:var(--snow); border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* Mobile menu */
.mobile{
  position:fixed; inset:0; z-index:99;
  background:rgba(5,10,22,.97);
  backdrop-filter:blur(20px);
  padding:110px var(--pad) 40px;
  display:flex; flex-direction:column; gap:28px;
  animation:menuIn .3s var(--ease-out);
}
@keyframes menuIn{ from{ opacity:0; transform:translateY(-10px);} to{ opacity:1; transform:none;} }
.mobile__links{ display:flex; flex-direction:column; }
.mobile__links a{
  font-family:var(--display); font-weight:700; font-size:30px;
  text-transform:uppercase; letter-spacing:.04em;
  padding:13px 0; border-bottom:1px solid rgba(29,49,87,.6);
  color:var(--snow);
}
.mobile__links a:hover{ color:var(--glow); }
.mobile__cta{ display:flex; flex-direction:column; gap:12px; margin-top:auto; }

/* ══════════════════════════════ HERO ══════════════════════════════ */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:130px var(--pad) 110px;
  overflow:hidden;
  isolation:isolate;
}

.hero__sky{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(120% 80% at 50% 105%, rgba(30,111,217,.42), transparent 60%),
    radial-gradient(90% 60% at 15% 15%, rgba(21,42,82,.55), transparent 70%),
    linear-gradient(180deg, #030711 0%, #061021 45%, #0a1730 100%);
}
.hero__stars{
  position:absolute; inset:0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(234,242,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 28% 9%,  rgba(234,242,255,.6), transparent),
    radial-gradient(1.6px 1.6px at 47% 22%, rgba(234,242,255,.7), transparent),
    radial-gradient(1.1px 1.1px at 63% 12%, rgba(234,242,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 25%, rgba(234,242,255,.8), transparent),
    radial-gradient(1.2px 1.2px at 89% 8%,  rgba(234,242,255,.6), transparent),
    radial-gradient(1.3px 1.3px at 36% 33%, rgba(125,211,252,.6), transparent),
    radial-gradient(1.1px 1.1px at 70% 38%, rgba(125,211,252,.45), transparent);
  animation:twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle{ from{opacity:.55} to{opacity:1} }

.hero__aurora{
  position:absolute; left:50%; top:-10%; width:130%; height:70%;
  transform:translateX(-50%);
  background:radial-gradient(closest-side, rgba(59,142,255,.16), transparent 70%);
  filter:blur(40px);
  animation:drift 18s ease-in-out infinite alternate;
}
@keyframes drift{ from{ transform:translate(-52%,0) } to{ transform:translate(-48%,26px) } }

/* Photographic hero background (optional — see brand.heroImage in content.js).
   The scrims are doing real work: a cinematic screenshot is busy, and the logo
   and CTAs have to stay legible over whatever image gets dropped in. */
.hero__photo{
  position:absolute; inset:0; z-index:1;
  background-size:cover; background-position:center;
  filter:saturate(.92) brightness(.78);
}
.hero__photo::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(68% 52% at 50% 46%, rgba(5,10,22,.78), transparent 76%),
    linear-gradient(180deg, rgba(5,10,22,.88), rgba(5,10,22,.45) 38%, rgba(5,10,22,.97));
}
/* When a photo is in use the drawn range would fight it, so it steps aside. */
.hero.has-photo .hero__range{ display:none; }

.hero__range{ position:absolute; inset:0; z-index:1; }
.hero__range svg{ width:100%; height:100%; }
.ridge{ will-change:transform; }

.hero__fog{
  position:absolute; left:0; right:0; bottom:0; height:55%; z-index:2;
  background:linear-gradient(180deg, transparent, rgba(10,20,40,.55) 45%, var(--void) 96%);
  pointer-events:none;
}
.hero__lights{
  position:absolute; left:0; right:0; bottom:6%; height:26%; z-index:2;
  background-image:
    radial-gradient(2.5px 2.5px at 18% 70%, rgba(125,211,252,.9), transparent),
    radial-gradient(2px 2px   at 24% 82%, rgba(255,214,150,.7), transparent),
    radial-gradient(2.5px 2.5px at 39% 64%, rgba(59,142,255,.85), transparent),
    radial-gradient(2px 2px   at 52% 78%, rgba(255,214,150,.6), transparent),
    radial-gradient(2.5px 2.5px at 61% 68%, rgba(125,211,252,.8), transparent),
    radial-gradient(2px 2px   at 74% 84%, rgba(255,214,150,.65), transparent),
    radial-gradient(2.5px 2.5px at 84% 72%, rgba(59,142,255,.8), transparent);
  filter:blur(.4px);
  animation:cityPulse 5s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes cityPulse{ from{opacity:.5} to{opacity:1} }

.hero__content{
  position:relative; z-index:4;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  max-width:820px;
}

/* Status pill */
.hero__status{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 18px; margin-bottom:34px;
  border:1px solid var(--line); border-radius:999px;
  background:rgba(11,21,38,.7);
  backdrop-filter:blur(10px);
  font-size:13px; font-weight:500; letter-spacing:.05em; text-transform:uppercase;
  color:var(--muted);
  animation:fadeUp .8s var(--ease-out) both;
}
.hero__status .dot{
  width:8px; height:8px; border-radius:50%; flex:none;
  background:var(--dim);
  box-shadow:0 0 0 0 rgba(0,0,0,0);
}
.hero__status[data-state="online"] .dot{
  background:var(--live);
  box-shadow:0 0 12px var(--live);
  animation:pulse 2s ease-out infinite;
}
.hero__status[data-state="online"]{ color:var(--snow); border-color:rgba(34,197,94,.4); }
.hero__status[data-state="offline"] .dot{ background:var(--dim); }
.hero__status[data-state="prelaunch"] .dot{ background:var(--ice); box-shadow:0 0 12px var(--ice); }
.hero__status[data-state="prelaunch"]{ color:var(--ice); border-color:rgba(125,211,252,.35); }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(34,197,94,.55); }
  70%{ box-shadow:0 0 0 9px rgba(34,197,94,0); }
  100%{ box-shadow:0 0 0 0 rgba(34,197,94,0); }
}
.hero__status b{ color:var(--snow); font-weight:600; }
.hero__status .sep{ color:var(--dim); }

/* Logo */
.hero__logo{ animation:fadeUp .9s .1s var(--ease-out) both; }
.hero__logo img{
  width:clamp(260px, 42vw, 460px); height:auto;
  filter:drop-shadow(0 0 2px rgba(190,220,255,.8))
         drop-shadow(0 10px 50px rgba(30,111,217,.55));
}
.hero__fallback{
  display:flex; flex-direction:column; align-items:center; color:var(--snow);
}
.hero__fallback svg{ width:120px; color:var(--summit); filter:drop-shadow(0 0 18px rgba(30,111,217,.7)); }
.hero__fallbackName{
  font-family:var(--display); font-weight:800;
  font-size:clamp(46px, 9vw, 92px); line-height:.95;
  letter-spacing:.02em; text-transform:uppercase;
  margin-top:8px;
  text-shadow:0 0 36px rgba(59,142,255,.5);
}
.hero__fallbackRp{
  font-family:var(--display); font-weight:800;
  font-size:clamp(30px, 6vw, 58px); line-height:1;
  color:var(--summit); letter-spacing:.22em; text-transform:uppercase;
  text-shadow:0 0 28px rgba(30,111,217,.9);
}

.hero__tagline{
  font-family:var(--display); font-weight:700;
  font-size:clamp(22px, 3.6vw, 38px);
  letter-spacing:.02em; line-height:1.15;
  margin-top:22px;
  color:var(--snow);
  animation:fadeUp .9s .22s var(--ease-out) both;
}
.hero__blurb{
  max-width:560px; margin-top:16px;
  color:var(--muted); font-size:clamp(15px,1.7vw,18px);
  animation:fadeUp .9s .32s var(--ease-out) both;
}
.hero__actions{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
  margin-top:36px;
  animation:fadeUp .9s .42s var(--ease-out) both;
}
.hero__note{
  margin-top:20px; font-size:13.5px; color:var(--dim);
  animation:fadeUp .9s .52s var(--ease-out) both;
}

@keyframes fadeUp{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }

.hero__scroll{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:4;
  width:26px; height:42px; border:1.5px solid var(--line); border-radius:14px;
  display:flex; justify-content:center; padding-top:8px;
  animation:fadeUp 1s .8s var(--ease-out) both;
}
.hero__scroll span{
  width:3px; height:8px; border-radius:2px; background:var(--ice);
  animation:scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot{ 0%{opacity:0;transform:translateY(0)} 35%{opacity:1} 100%{opacity:0;transform:translateY(16px)} }

/* ══════════════════════════════ SECTIONS ══════════════════════════════ */
.section{
  position:relative;
  padding-block:var(--section-y);
}
.section--steps{ background:linear-gradient(180deg, var(--void), var(--midnight)); }
.section--standards{ background:var(--midnight); }
.section--features{ background:linear-gradient(180deg, var(--midnight), #081120); }
.section--factions{ background:#081120; }
.section--gallery{ background:linear-gradient(180deg, #081120, var(--midnight)); }
.section--rules{ background:var(--midnight); }
.section--staff{ background:linear-gradient(180deg, var(--midnight), #081120); }
.section--vip{ background:#081120; }
.section--faq{ background:linear-gradient(180deg, #081120, var(--void)); }

/* Hairline divider glow at the top of alternating sections */
.section::before{
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:min(720px, 80%); height:1px;
  background:linear-gradient(90deg, transparent, rgba(59,142,255,.4), transparent);
}

.shead{ max-width:660px; margin-bottom:clamp(40px,5vw,64px); }
.shead__eyebrow{
  font-family:var(--display); font-weight:700; font-size:14px;
  letter-spacing:.24em; text-transform:uppercase; color:var(--summit);
  margin-bottom:12px;
}
.shead__eyebrow::before{
  content:''; display:inline-block; width:26px; height:1.5px;
  background:var(--summit); vertical-align:middle; margin-right:12px;
  box-shadow:0 0 8px var(--summit);
}
.shead__title{
  font-family:var(--display); font-weight:800;
  font-size:clamp(34px, 5.4vw, 58px); line-height:1.05;
  letter-spacing:.005em; text-transform:uppercase;
}
.shead__sub{ margin-top:16px; color:var(--muted); font-size:clamp(15px,1.7vw,17.5px); }

/* ── Reveal on scroll ───────────────────────────────────────────────────────
   Scoped to .js-anim, which main.js adds to <html> only once it has confirmed
   it can run. Without JS the content is simply visible — never a blank page. */
.js-anim .reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in{ opacity:1; transform:none; }

/* ══════════════════════════════ STEPS ══════════════════════════════ */
.steps{
  display:grid; gap:20px;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  counter-reset:step;
}
.step{
  position:relative;
  padding:32px 28px 28px;
  background:linear-gradient(160deg, var(--surface), rgba(11,21,38,.85));
  border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden;
  transition:transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(90% 60% at 50% 0%, rgba(59,142,255,.14), transparent 70%);
  opacity:0; transition:opacity .4s var(--ease);
}
.step:hover{
  transform:translateY(-6px);
  border-color:rgba(59,142,255,.55);
  box-shadow:0 22px 50px -24px rgba(0,0,0,.9), 0 0 40px -18px rgba(59,142,255,.7);
}
.step:hover::after{ opacity:1; }
.step__n{
  font-family:var(--display); font-weight:800; font-size:52px; line-height:1;
  color:transparent; -webkit-text-stroke:1.5px rgba(59,142,255,.55);
  margin-bottom:14px;
}
.step__title{
  font-family:var(--display); font-weight:700; font-size:26px;
  text-transform:uppercase; letter-spacing:.03em; margin-bottom:10px;
}
.step__body{ color:var(--muted); font-size:15.5px; }
.step__cta{ margin-top:22px; }
.step .btn{ font-size:14px; padding:10px 18px; }

/* ══════════════════════════════ PILLARS ══════════════════════════════ */
.pillars{
  display:grid; gap:1px;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  background:var(--line);
  border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden;
}
.pillar{
  background:var(--midnight);
  padding:34px 28px;
  transition:background-color .4s var(--ease);
}
.pillar:hover{ background:var(--surface); }
.pillar__title{
  font-family:var(--display); font-weight:700; font-size:22px;
  line-height:1.15;
  text-transform:uppercase; letter-spacing:.04em;
  margin-bottom:12px; color:var(--snow);
  display:flex; align-items:flex-start; gap:10px;
  /* Reserve two lines. Without this, a title that wraps ("Quality over
     headcount") pushes its body text below the neighbouring columns and the
     row stops reading as a row. */
  min-height:2.3em;
}
.pillar__title::before{
  content:''; width:7px; height:7px; border-radius:50%; flex:none;
  /* Pin the dot to the first line rather than centring it across both. */
  margin-top:.42em;
  background:var(--summit); box-shadow:0 0 10px var(--summit);
}
.pillar__body{ color:var(--muted); font-size:15.5px; }

/* ══════════════════════════════ FEATURES ══════════════════════════════ */
.features{
  display:grid; gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(275px,1fr));
}
.feature{
  position:relative;
  padding:30px 26px;
  background:linear-gradient(165deg, rgba(22,41,74,.7), rgba(8,17,32,.7));
  border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden;
  transition:transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.feature::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--glow), transparent);
  transform:scaleX(0); transition:transform .5s var(--ease);
}
.feature:hover{
  transform:translateY(-6px);
  border-color:rgba(59,142,255,.5);
  box-shadow:0 24px 46px -26px rgba(0,0,0,.95), 0 0 44px -20px rgba(59,142,255,.6);
}
.feature:hover::before{ transform:scaleX(1); }
.feature__icon{
  width:46px; height:46px; margin-bottom:18px;
  display:grid; place-items:center;
  border-radius:11px;
  background:rgba(30,111,217,.14);
  border:1px solid rgba(59,142,255,.3);
  color:var(--ice);
  transition:background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.feature__icon svg{ width:23px; height:23px; }
.feature:hover .feature__icon{
  background:rgba(30,111,217,.3);
  color:#fff;
  box-shadow:0 0 22px -4px rgba(59,142,255,.8);
}
.feature__title{
  font-family:var(--display); font-weight:700; font-size:23px;
  text-transform:uppercase; letter-spacing:.03em; margin-bottom:9px;
}
.feature__body{ color:var(--muted); font-size:15px; }

/* ══════════════════════════════ FACTIONS ══════════════════════════════ */
.factions{
  display:grid; gap:20px;
  grid-template-columns:repeat(auto-fit, minmax(320px,1fr));
}
.faction{
  position:relative; overflow:hidden;
  min-height:300px;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:32px 30px;
  border:1px solid var(--line); border-radius:var(--radius-lg);
  background:linear-gradient(160deg, #0f1e38, #060d1a);
  transition:transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.faction__art{
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center;
  opacity:.34; transition:opacity .6s var(--ease), transform .8s var(--ease);
}
.faction:hover .faction__art{ opacity:.5; transform:scale(1.06); }
.faction__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(0deg, rgba(4,8,16,.96) 12%, rgba(4,8,16,.55) 55%, rgba(4,8,16,.2));
}
.faction__badge{
  position:absolute; top:28px; left:30px; z-index:2;
  width:64px; height:64px; color:var(--ice);
  filter:drop-shadow(0 0 16px rgba(59,142,255,.5));
  transition:transform .5s var(--ease), color .4s var(--ease);
}
.faction:hover .faction__badge{ transform:translateY(-4px) scale(1.05); color:#fff; }
.faction__body{ position:relative; z-index:2; }
.faction__tag{
  display:inline-block; margin-bottom:10px;
  font-family:var(--display); font-weight:700; font-size:12.5px;
  letter-spacing:.2em; text-transform:uppercase; color:var(--summit);
}
.faction__name{
  font-family:var(--display); font-weight:800; font-size:clamp(24px,2.6vw,30px);
  line-height:1.1; text-transform:uppercase; letter-spacing:.02em;
  margin-bottom:10px;
}
.faction__text{ color:var(--muted); font-size:15px; }
.faction__recruit{
  position:absolute; top:30px; right:30px; z-index:2;
  display:inline-flex; align-items:center; gap:7px;
  padding:5px 12px; border-radius:999px;
  background:rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.35);
  font-size:11.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:#7ff0ac;
}
.faction__recruit::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--live); box-shadow:0 0 8px var(--live);
}
.faction:hover{
  transform:translateY(-6px);
  border-color:rgba(59,142,255,.55);
  box-shadow:0 30px 60px -30px rgba(0,0,0,1), 0 0 50px -22px rgba(59,142,255,.6);
}

/* ══════════════════════════════ GALLERY ══════════════════════════════ */
.gallery{
  display:grid; gap:14px;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  grid-auto-rows:200px;
}
.gallery__item{
  position:relative; overflow:hidden;
  border:1px solid var(--line); border-radius:var(--radius);
  cursor:pointer;
  transition:border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.gallery__item:nth-child(6n+1){ grid-row:span 2; }
.gallery__item:nth-child(6n+4){ grid-column:span 2; }
.gallery__item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .7s var(--ease), filter .5s var(--ease);
  filter:saturate(.85) brightness(.85);
}
.gallery__item:hover img{ transform:scale(1.07); filter:saturate(1.05) brightness(1); }
.gallery__item:hover{
  border-color:rgba(59,142,255,.6);
  box-shadow:0 0 44px -16px rgba(59,142,255,.75);
}
.gallery__item::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(4,8,16,.7), transparent 55%);
  opacity:.85; transition:opacity .4s var(--ease); pointer-events:none;
}
.gallery__item:hover::after{ opacity:.45; }

.gallery__empty{
  position:relative; overflow:hidden;
  border:1px dashed var(--line); border-radius:var(--radius-lg);
  padding:clamp(48px,7vw,84px) var(--pad);
  text-align:center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(30,111,217,.16), transparent 70%),
    rgba(11,21,38,.5);
}
.gallery__emptyIcon{
  width:56px; height:56px; margin:0 auto 20px;
  color:var(--summit); opacity:.9;
  filter:drop-shadow(0 0 18px rgba(30,111,217,.6));
}
.gallery__emptyTitle{
  font-family:var(--display); font-weight:700; font-size:clamp(24px,3vw,32px);
  text-transform:uppercase; letter-spacing:.03em; margin-bottom:12px;
}
.gallery__emptyBody{ color:var(--muted); max-width:520px; margin-inline:auto; font-size:15.5px; }

/* ══════════════════════════════ RULES ══════════════════════════════ */
.rules{
  display:grid; gap:14px;
  grid-template-columns:repeat(auto-fit, minmax(290px,1fr));
}
.rule{
  display:flex; gap:16px; align-items:flex-start;
  padding:22px 22px;
  background:rgba(18,32,58,.45);
  border:1px solid var(--line); border-left:2px solid var(--summit);
  border-radius:0 var(--radius) var(--radius) 0;
  transition:background-color .35s var(--ease), border-left-color .35s var(--ease), transform .35s var(--ease);
}
.rule:hover{
  background:rgba(22,41,74,.7);
  border-left-color:var(--ice);
  transform:translateX(4px);
}
.rule__check{
  flex:none; width:22px; height:22px; margin-top:2px; color:var(--summit);
}
.rule__title{
  font-family:var(--display); font-weight:700; font-size:19px;
  text-transform:uppercase; letter-spacing:.04em; margin-bottom:5px;
}
.rule__body{ color:var(--muted); font-size:14.5px; line-height:1.55; }
.rules__more{ margin-top:34px; }

/* ══════════════════════════════ STAFF ══════════════════════════════ */
.staff{
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(270px,1fr));
}
.staffcard{
  position:relative; padding:28px 26px;
  background:linear-gradient(165deg, rgba(22,41,74,.55), rgba(8,17,32,.6));
  border:1px solid var(--line); border-radius:var(--radius);
  transition:border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.staffcard:hover{
  border-color:rgba(59,142,255,.5); transform:translateY(-4px);
  box-shadow:0 20px 44px -26px rgba(0,0,0,.95);
}
.staffcard__title{
  font-family:var(--display); font-weight:700; font-size:21px;
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px;
  color:var(--snow);
}
.staffcard__title::after{
  content:''; display:block; width:32px; height:2px; margin-top:9px;
  background:var(--summit); box-shadow:0 0 10px var(--summit);
}
.staffcard__body{ color:var(--muted); font-size:14.8px; }

/* ══════════════════════════════ VIP ══════════════════════════════ */
.tiers{
  display:grid; gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  align-items:start;
}
.tier{
  position:relative; padding:32px 28px;
  background:linear-gradient(165deg, rgba(22,41,74,.55), rgba(8,17,32,.7));
  border:1px solid var(--line); border-radius:var(--radius-lg);
  transition:border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tier--featured{
  border-color:rgba(59,142,255,.55);
  box-shadow:0 0 50px -22px rgba(59,142,255,.7);
}
.tier--featured::before{
  content:'Most popular';
  position:absolute; top:-11px; left:28px;
  padding:3px 12px; border-radius:999px;
  background:linear-gradient(180deg,var(--glow),var(--summit)); color:#fff;
  font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
}
.tier:hover{ transform:translateY(-5px); border-color:rgba(59,142,255,.6); }
.tier__name{
  font-family:var(--display); font-weight:800; font-size:26px;
  text-transform:uppercase; letter-spacing:.05em;
}
.tier__price{
  font-family:var(--display); font-weight:700; font-size:38px; color:var(--summit);
  line-height:1; margin:10px 0 6px;
}
.tier__blurb{ color:var(--dim); font-size:14px; margin-bottom:20px; }
.tier__perks{ display:flex; flex-direction:column; gap:11px; margin-bottom:26px; }
.tier__perks li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted); font-size:14.5px;
}
.tier__perks svg{ width:16px; height:16px; flex:none; margin-top:4px; color:var(--summit); }
.vip__note{
  margin-top:30px; text-align:center;
  color:var(--dim); font-size:14px; max-width:600px; margin-inline:auto;
}

/* ══════════════════════════════ FAQ ══════════════════════════════ */
.faq{ border-top:1px solid var(--line); }
.faqitem{ border-bottom:1px solid var(--line); }
.faqitem__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:24px 4px; text-align:left;
  font-family:var(--display); font-weight:700; font-size:clamp(19px,2.2vw,23px);
  text-transform:uppercase; letter-spacing:.03em; color:var(--snow);
  transition:color .3s var(--ease);
}
.faqitem__q:hover{ color:var(--glow); }
.faqitem__icon{
  flex:none; width:26px; height:26px; position:relative;
  border:1px solid var(--line); border-radius:50%;
  transition:border-color .3s var(--ease), transform .35s var(--ease);
}
.faqitem__icon::before,.faqitem__icon::after{
  content:''; position:absolute; top:50%; left:50%; background:var(--ice);
  transform:translate(-50%,-50%); transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.faqitem__icon::before{ width:11px; height:1.6px; }
.faqitem__icon::after{ width:1.6px; height:11px; }
.faqitem.is-open .faqitem__icon{ border-color:var(--glow); transform:rotate(180deg); }
.faqitem.is-open .faqitem__icon::after{ opacity:0; }
.faqitem__a{
  overflow:hidden; height:0;
  transition:height .4s var(--ease);
}
.faqitem__aInner{ padding:0 4px 26px; color:var(--muted); font-size:15.5px; max-width:62ch; }

/* ══════════════════════════════ FINAL CTA ══════════════════════════════ */
.finalcta{
  position:relative; overflow:hidden; isolation:isolate;
  padding-block:clamp(80px,12vw,150px);
  text-align:center;
  background:var(--void);
}
.finalcta__glow{
  position:absolute; left:50%; top:50%; width:min(1100px,140%); height:180%;
  transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(30,111,217,.3), transparent 70%);
  filter:blur(30px);
}
.finalcta .wrap{ position:relative; z-index:4; }
.finalcta__title{
  font-family:var(--display); font-weight:800;
  font-size:clamp(38px,6.5vw,76px); line-height:1.02;
  text-transform:uppercase; letter-spacing:.01em;
  text-shadow:0 0 60px rgba(59,142,255,.4);
}
.finalcta__body{
  margin:20px auto 0; max-width:560px;
  color:var(--muted); font-size:clamp(15px,1.8vw,18px);
}
.finalcta .hero__actions{ animation:none; }

/* ══════════════════════════════ FOOTER ══════════════════════════════ */
.foot{
  background:#03070f;
  border-top:1px solid var(--line);
  padding-block:52px 40px;
}
.foot__inner{ display:flex; flex-direction:column; gap:26px; }
.foot__brand{ display:flex; flex-direction:column; gap:4px; }
.foot__name{
  font-family:var(--display); font-weight:800; font-size:24px;
  text-transform:uppercase; letter-spacing:.05em;
}
.foot__tag{ color:var(--muted); font-size:14.5px; }
.foot__meta{ color:var(--dim); font-size:13px; }
.foot__links{ display:flex; flex-wrap:wrap; gap:8px 24px; }
.foot__links a{
  color:var(--muted); font-size:14px;
  transition:color .25s var(--ease);
}
.foot__links a:hover{ color:var(--glow); }
.foot__legal{
  color:var(--dim); font-size:12.5px; line-height:1.6;
  padding-top:22px; border-top:1px solid rgba(29,49,87,.5);
  max-width:640px;
}

/* ══════════════════════════════ LIGHTBOX ══════════════════════════════ */
.lightbox{
  position:fixed; inset:0; z-index:150;
  display:flex; align-items:center; justify-content:center;
  background:rgba(3,6,14,.95); backdrop-filter:blur(14px);
  padding:60px 20px;
  animation:lbIn .25s var(--ease-out);
}
@keyframes lbIn{ from{opacity:0} to{opacity:1} }
.lightbox__figure{ margin:0; max-width:min(1200px,92vw); max-height:86vh; }
.lightbox__figure img{
  max-width:100%; max-height:78vh; width:auto; margin-inline:auto;
  border-radius:10px; border:1px solid var(--line);
  box-shadow:0 40px 90px -30px rgba(0,0,0,1);
}
.lightbox__figure figcaption{
  margin-top:14px; text-align:center; color:var(--muted); font-size:14px;
}
.lightbox__close{
  position:absolute; top:20px; right:24px;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); color:var(--snow); font-size:26px; line-height:1;
  display:grid; place-items:center;
  transition:border-color .25s var(--ease), background-color .25s var(--ease);
}
.lightbox__close:hover{ border-color:var(--glow); background:rgba(30,111,217,.2); }
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px; border-radius:50%;
  border:1px solid var(--line); color:var(--snow); font-size:30px; line-height:1;
  display:grid; place-items:center;
  transition:border-color .25s var(--ease), background-color .25s var(--ease);
}
.lightbox__nav:hover{ border-color:var(--glow); background:rgba(30,111,217,.2); }
.lightbox__nav--prev{ left:18px; }
.lightbox__nav--next{ right:18px; }

/* ══════════════════════════════ TOAST ══════════════════════════════ */
.toast{
  position:fixed; left:50%; bottom:34px; transform:translate(-50%, 90px);
  z-index:180;
  padding:13px 24px; border-radius:10px;
  background:rgba(18,32,58,.96); border:1px solid rgba(59,142,255,.5);
  backdrop-filter:blur(12px);
  color:var(--snow); font-size:14.5px; font-weight:500;
  box-shadow:0 18px 40px -18px rgba(0,0,0,1), 0 0 34px -14px rgba(59,142,255,.7);
  opacity:0; pointer-events:none;
  transition:transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.toast.is-shown{ transform:translate(-50%,0); opacity:1; }

/* ══════════════════════════════ RESPONSIVE ══════════════════════════════ */
@media (max-width: 1080px){
  .nav__links{ display:none; }
  .nav__cta{ margin-left:auto; }
}
@media (max-width: 760px){
  .nav__cta .btn--ghost{ display:none; }
  .nav__cta{ margin-left:auto; }
  .nav__burger{ display:flex; }
  .nav__logo{ height:42px; }
  .nav.is-stuck .nav__logo{ height:36px; }
  .hero{ padding-top:110px; }
  .gallery{ grid-auto-rows:170px; }
  .gallery__item:nth-child(6n+4){ grid-column:span 1; }
  .lightbox__nav{ width:44px; height:44px; }
  .lightbox__nav--prev{ left:8px; }
  .lightbox__nav--next{ right:8px; }
}
@media (max-width: 420px){
  .hero__actions{ width:100%; }
  .hero__actions .btn{ width:100%; }
}

/* ══════════════════════════════ MOTION PREFERENCES ══════════════════════════════ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  /* Must match .js-anim .reveal specificity, or the hidden state wins and the
     page stays blank for anyone with reduced motion enabled. */
  .js-anim .reveal{ opacity:1; transform:none; }
}

/* ══════════════════════════════ PRINT ══════════════════════════════ */
@media print{
  .nav,.mobile,.hero__scroll,.toast,.lightbox{ display:none !important; }
  body{ background:#fff; color:#000; }
}
