/* ==========================================================================
   SkillReigns — Reigners Community Landing
   Neo-brutalist build on the SkillReigns brand system:
   navy ink borders + hard offset shadows, crown-facet blues only.
   ========================================================================== */

/* ---------- Fonts (Brand KIT) ---------- */
@font-face { font-family: "Electro Shackle"; src: url("../assets/fonts/Electro-Shakel.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0A1931;          /* SR navy — every border + shadow */
  --paper: #F3F7FD;
  --white: #FFFFFF;
  --pale: #DBEAFE;
  --surface: #EFF6FF;
  --sky: #2CB3F7;          /* crown tip */
  --blue: #2563EB;         /* brand / CTA */
  --deep: #014ABD;         /* crown base */
  --muted: #475569;
  --on-dark: #C7D7F2;

  --b: 3px;
  --sh: 6px;
  --r-sm: 8px;
  --r: 12px;

  --display: "Electro Shackle", "Electro Shakel", "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(10, 25, 49, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 25, 49, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 96px; }
main { overflow-x: clip; } /* tilted cards never cause sideways scroll */
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.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;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 2000;
  padding: 10px 16px; background: var(--white); border: var(--b) solid var(--ink);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* split-text pieces */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em; margin: -.06em -.02em; }
.ch { display: inline-block; will-change: transform; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; color: var(--white);
}
.loader__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.loader__col {
  background: var(--ink);
  border-bottom: 14px solid var(--sky);
  border-right: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: -14px;
}
.loader__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 12px; }
.loader__count { font-family: var(--display); font-size: clamp(4rem, 14vw, 9rem); line-height: 1; letter-spacing: .04em; }
.loader__line { font-weight: 600; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 20px; height: 20px; translate: -50% -50%;
  border: 2px solid var(--ink); box-shadow: 0 0 0 2px var(--white);
  pointer-events: none; opacity: 0; display: none;
}
@media (pointer: fine) { .js .cursor { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white); --shc: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; min-height: 48px;
  font: 600 1rem/1 var(--body); color: var(--fg); background: var(--bg);
  border: var(--b) solid var(--ink); border-radius: var(--r-sm);
  box-shadow: 4px 4px 0 var(--shc);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: translate .15s ease, box-shadow .15s ease;
}
.btn:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--shc); }
.btn:active { translate: 4px 4px; box-shadow: 0 0 0 var(--shc); }
.btn--primary { --bg: var(--blue); --fg: var(--white); }
.btn--ghost, .btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--ghost-light { --bg: var(--deep); --fg: var(--white); }
.btn--sm { padding: 10px 16px; min-height: 44px; font-size: .9rem; }
.btn--lg { padding: 18px 28px; font-size: 1.1rem; }
.btn__arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Ticker ---------- */
.ticker {
  height: 40px; display: flex; align-items: center; overflow: hidden;
  background: var(--ink); color: var(--white);
}
.ticker__track {
  display: flex; width: max-content; white-space: nowrap;
  font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.ticker__track > * { margin-right: 28px; }
.ticker__track i { font-style: normal; color: var(--sky); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  min-height: var(--nav-h);
  margin: 12px var(--gutter) 0; padding: 8px 8px 8px 16px;
  background: var(--white); border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand__text { display: inline-flex; align-items: baseline; gap: .45em; }
.brand__word, .brand__sub {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.1rem; line-height: 1; color: var(--ink);
}
.brand__sub { color: var(--blue); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border: 2px solid transparent; border-radius: var(--r-sm);
  font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.nav__links a:hover { background: var(--pale); border-color: var(--ink); }
.nav__burger {
  display: none; position: relative; margin-left: auto;
  width: 48px; height: 48px; padding: 0;
  background: var(--sky); border: var(--b) solid var(--ink); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav__burger span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 3px; background: var(--ink);
  transition: transform .3s ease, top .3s ease;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 48px;
  background: var(--sky);
  visibility: hidden; clip-path: inset(0 0 100% 0);
}
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  font-family: var(--display); text-transform: uppercase; text-decoration: none;
  font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1.15;
}
.menu__links .menu__cta {
  align-self: flex-start; margin-top: 20px; padding: 14px 20px;
  font-family: var(--body); font-weight: 700; font-size: 1.05rem; text-transform: none;
  background: var(--white); border: var(--b) solid var(--ink); border-radius: var(--r-sm);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- Shared section bits ---------- */
.sec-head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 64px); }
.sec-tag {
  display: inline-block; margin-bottom: 18px; padding: 6px 10px;
  font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--white); border: 2px solid var(--ink); border-radius: 6px;
}
.sec-tag--light { background: transparent; color: var(--white); border-color: var(--white); }
.sec-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: .98; letter-spacing: .01em;
}
.sec-lede { max-width: 36em; margin-top: 20px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }
.sec-head--light .sec-lede, .loop .sec-lede { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: clamp(28px, 4vw, 52px) var(--gutter) clamp(56px, 7vw, 96px); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: stretch;
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; container-type: inline-size; }
.kicker {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-sm);
}
.kicker__dot { width: 10px; height: 10px; background: var(--sky); border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { background: var(--white); } }

.hero__title {
  margin: 20px 0 24px;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  /* "REIGNERS." box is ~5.8em wide: size to the column so no word ever breaks */
  font-size: min(16.5cqi, 12.5svh, 8.5rem);
  line-height: 1; letter-spacing: .01em;
}
.ht-line { display: block; white-space: nowrap; }
.ht-line--box { margin-top: .12em; }
.ht-outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.ht-box {
  display: inline-block; padding: .06em .2em .02em;
  color: var(--white); background: var(--blue);
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink);
}
.hero__sub { max-width: 34em; font-size: clamp(1rem, 1.35vw, 1.15rem); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* playground */
.hero__play {
  position: relative; min-height: 460px; overflow: hidden;
  background-color: var(--pale);
  background-image: radial-gradient(rgba(10, 25, 49, .2) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.play__label {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 8px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--white); border: 2px solid var(--ink); border-radius: 6px;
}
.sticker {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  display: grid; place-items: center; line-height: 1;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: var(--b) solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
}
.sticker:active { cursor: grabbing; }
.sticker img { pointer-events: none; -webkit-user-drag: none; }
.sticker--circle { width: 112px; height: 112px; border-radius: 50%; background: var(--sky); font-size: 1.05rem; }
.sticker--tag { padding: 14px 20px; background: var(--white); border-radius: var(--r-sm); font-size: 1.1rem; }
.sticker--pale { padding: 14px 20px; background: var(--blue); color: var(--white); border-radius: var(--r-sm); font-size: 1.1rem; }
.sticker--navy { padding: 12px 18px; background: var(--ink); color: var(--white); border-color: var(--ink); border-radius: var(--r-sm); font-size: 1rem; box-shadow: 5px 5px 0 var(--sky); }
.sticker--crown { width: 100px; height: 100px; background: var(--white); border-radius: var(--r); }
.sticker--crown img { width: 66px; height: 66px; }
.sticker--star {
  width: 132px; height: 132px; border: 0; box-shadow: none; font-size: 1.05rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 104'%3E%3Cpolygon transform='translate(4 4)' fill='%230A1931' points='50.0,4.0 59.6,14.3 73.0,10.2 76.2,23.8 89.8,27.0 85.7,40.4 96.0,50.0 85.7,59.6 89.8,73.0 76.2,76.2 73.0,89.8 59.6,85.7 50.0,96.0 40.4,85.7 27.0,89.8 23.8,76.2 10.2,73.0 14.3,59.6 4.0,50.0 14.3,40.4 10.2,27.0 23.8,23.8 27.0,10.2 40.4,14.3'/%3E%3Cpolygon fill='%23FFFFFF' stroke='%230A1931' stroke-width='2.5' stroke-linejoin='round' points='50.0,4.0 59.6,14.3 73.0,10.2 76.2,23.8 89.8,27.0 85.7,40.4 96.0,50.0 85.7,59.6 89.8,73.0 76.2,76.2 73.0,89.8 59.6,85.7 50.0,96.0 40.4,85.7 27.0,89.8 23.8,76.2 10.2,73.0 14.3,59.6 4.0,50.0 14.3,40.4 10.2,27.0 23.8,23.8 27.0,10.2 40.4,14.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sticker--star span { translate: -2px -2px; }
.sticker--badge { width: 140px; height: 140px; border-radius: 50%; background: var(--ink); color: var(--white); }
.badge__ring { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.badge__ring text { fill: var(--white); font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: 1px; }
.badge__core { font-size: 2rem; color: var(--sky); }

/* stats */
.stats {
  list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.stat {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; }
.stat span { font-weight: 600; font-size: .9rem; line-height: 1.35; }
.stat--sky { background: var(--sky); }
.stat--white { background: var(--white); }
.stat--pale { background: var(--pale); }
.stat--navy { background: var(--ink); color: var(--white); box-shadow: var(--sh) var(--sh) 0 var(--sky); }

/* ---------- Manifesto ---------- */
.manifesto { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: clamp(72px, 11vw, 160px) var(--gutter); }
.manifesto__text {
  margin-top: 8px;
  font-weight: 600; font-size: clamp(1.6rem, 4.1vw, 3.5rem); line-height: 1.22; letter-spacing: -.01em;
}
.manifesto mark {
  color: inherit; padding: 0 .06em;
  background: linear-gradient(var(--sky), var(--sky)) no-repeat 0 88% / 100% 40%;
}
.js .manifesto mark { background-size: 0% 40%; }

/* ---------- Why ---------- */
.why {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  background: var(--white); border-block: var(--b) solid var(--ink);
}
.why__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 280px; padding: 28px;
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
  transition: translate .2s ease, box-shadow .2s ease;
}
.card:hover { translate: -4px -4px; box-shadow: 10px 10px 0 var(--ink); }
.card--wide { grid-column: span 2; }
.card__icon {
  width: 56px; height: 56px; padding: 8px;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;
  border: 2px solid currentColor; border-radius: var(--r-sm);
}
.card__num { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.card h3 { margin-top: auto; font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 700; line-height: 1.15; }
.card p { max-width: 30em; }
.card--sky { background: var(--sky); }
.card--white { background: var(--white); }
.card--pale { background: var(--pale); }
.card--navy { background: var(--ink); color: var(--white); box-shadow: var(--sh) var(--sh) 0 var(--sky); }
.card--navy:hover { box-shadow: 10px 10px 0 var(--sky); }
.card--blue { background: var(--blue); color: var(--white); }

/* ---------- Loop (pinned horizontal) ---------- */
.loop {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
}
.loop__track {
  display: flex; align-items: stretch; gap: 36px;
  width: max-content; padding: clamp(80px, 10vw, 120px) var(--gutter);
}
.loop__intro { flex: 0 0 clamp(320px, 36vw, 540px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.loop__hint {
  margin-top: 32px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
  animation: nudge 1.4s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateX(8px); } }
.step {
  flex: 0 0 clamp(290px, 30vw, 430px); min-height: min(62vh, 540px);
  display: flex; flex-direction: column; gap: 14px; padding: 32px;
  color: var(--ink);
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--white);
}
.step__num {
  font-family: var(--display); font-size: clamp(5rem, 10vw, 9rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 3px var(--ink);
}
.step h3 { margin-top: auto; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; }
.step p { font-weight: 500; font-size: 1.05rem; max-width: 22em; }
.step--sky { background: var(--sky); }
.step--white { background: var(--white); }
.step--pale { background: var(--pale); }
.step--blue { background: var(--blue); color: var(--white); }
.step--blue .step__num { -webkit-text-stroke-color: var(--white); }
.loop__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  height: 14px; border: 2px solid var(--white); border-radius: 4px; overflow: hidden;
}
.loop__bar span { display: block; height: 100%; background: var(--sky); transform-origin: left center; transform: scaleX(0); }

/* ---------- Tracks marquee ---------- */
.tracks {
  overflow: hidden; padding: clamp(56px, 8vw, 100px) 0;
  background: var(--sky); border-bottom: var(--b) solid var(--ink);
}
.tracks__head {
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto 36px; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.tracks__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1; }
.marquee {
  width: 110%; margin-left: -5%; padding: 14px 0; overflow: hidden;
  background: var(--white); border-block: var(--b) solid var(--ink);
  rotate: -2deg;
}
.marquee__inner {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 5rem); line-height: 1.1;
}
.marquee__inner > * { margin-right: .45em; }
.marquee__inner i { font-style: normal; color: var(--blue); }
.marquee--outline { position: relative; margin-top: -4px; background: var(--ink); color: transparent; -webkit-text-stroke: 2px var(--white); rotate: 1.5deg; }
.marquee--outline i { -webkit-text-stroke: 0; color: var(--sky); }

/* ---------- Events / tickets ---------- */
.events { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.tickets {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px;
}
.ticket {
  position: relative; display: flex; flex-direction: column;
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
  transition: translate .2s ease, box-shadow .2s ease;
}
.ticket:hover { translate: -4px -4px; box-shadow: 10px 10px 0 var(--ink); }
.ticket__main { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; }
.ticket__tag {
  align-self: flex-start; padding: 4px 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid currentColor; border-radius: 6px;
}
.ticket h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; }
.ticket__stub {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 26px; border-top: 3px dashed currentColor;
}
.ticket__stub::before, .ticket__stub::after {
  content: ""; position: absolute; top: -15px; width: 26px; height: 26px;
  background: var(--paper); border: var(--b) solid var(--ink); border-radius: 50%;
}
.ticket__stub::before { left: -14.5px; clip-path: inset(0 0 0 50%); }
.ticket__stub::after { right: -14.5px; clip-path: inset(0 50% 0 0); }
.ticket__stub span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.ticket__stub a { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.ticket--sky { background: var(--sky); }
.ticket--white { background: var(--white); }
.ticket--pale { background: var(--pale); }
.ticket--navy { background: var(--ink); color: var(--white); box-shadow: var(--sh) var(--sh) 0 var(--sky); }
.ticket--navy:hover { box-shadow: 10px 10px 0 var(--sky); }
.ticket--blue { background: var(--blue); color: var(--white); }

/* ---------- House rules (stacking) ---------- */
.rules { padding: clamp(72px, 10vw, 140px) var(--gutter); background: var(--ink); color: var(--white); }
.rules__stack { max-width: 980px; margin: 0 auto; }
.rule {
  position: sticky; top: calc(110px + var(--i) * 22px);
  display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 40px);
  min-height: clamp(220px, 30vh, 300px); margin-bottom: clamp(56px, 12vh, 120px);
  padding: clamp(24px, 4vw, 48px);
  color: var(--ink);
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--sky);
  transform-origin: 50% 0;
}
.rule:last-child { margin-bottom: 0; }
.rule__num { flex: none; font-family: var(--display); font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: .85; color: transparent; -webkit-text-stroke: 3px var(--ink); }
.rule h3 { margin-bottom: 12px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.02; }
.rule p { max-width: 30em; font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.rule--sky { background: var(--sky); }
.rule--white { background: var(--white); }
.rule--pale { background: var(--pale); }
.rule--blue { background: var(--blue); color: var(--white); }
.rule--blue .rule__num { -webkit-text-stroke-color: var(--white); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.faq__list { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq .sec-head { max-width: 980px; }
.faq__item {
  overflow: hidden; background: var(--white);
  border: var(--b) solid var(--ink); border-radius: var(--r);
  box-shadow: 5px 5px 0 var(--ink);
  transition: background-color .25s ease;
}
.faq__item.is-open { background: var(--surface); }
.faq__item h3 { margin: 0; }
.faq__item button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font: 700 clamp(1.05rem, 1.8vw, 1.3rem)/1.3 var(--body);
}
.faq__item button:focus-visible { outline: 3px solid var(--blue); outline-offset: -7px; border-radius: var(--r); }
.faq__icon {
  flex: 0 0 40px; height: 40px; display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 600; line-height: 1;
  background: var(--sky); border: var(--b) solid var(--ink); border-radius: var(--r-sm);
}
.faq__icon i { display: block; font-style: normal; }
.faq__panel { padding: 0 24px; }
.js .faq__panel { height: 0; overflow: hidden; }
.faq__panel p { max-width: 46em; padding-bottom: 22px; color: var(--muted); }

/* ---------- Join ---------- */
.join { padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(80px, 10vw, 128px); }
.join__card {
  position: relative; overflow: hidden;
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 7vw, 96px);
  color: var(--white); background: var(--blue);
  border: var(--b) solid var(--ink); border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink);
}
.join__title { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 9vw, 8rem); line-height: .98; }
.join__sub { position: relative; z-index: 1; max-width: 30em; margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #EAF2FF; }
.join__ctas { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.join__crown {
  position: absolute; right: clamp(-60px, -3vw, -10px); bottom: clamp(-60px, -4vw, -20px);
  width: clamp(180px, 28vw, 380px); height: auto; opacity: .1; pointer-events: none;
}

/* ---------- Footer ---------- */
.footer { overflow: hidden; padding: clamp(48px, 6vw, 72px) var(--gutter) 24px; background: var(--ink); color: var(--white); }
.footer__top { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.brand--light .brand__word { color: var(--white); }
.footer__tag { font-weight: 600; color: var(--sky); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer__links a { font-weight: 600; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__giant {
  margin: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
  font-family: var(--display); text-transform: uppercase; text-align: center; white-space: nowrap;
  font-size: clamp(3rem, 13.5vw, 15rem); line-height: .9; color: var(--sky);
}
.footer__bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .85rem; color: var(--on-dark); border-top: 2px solid rgba(255, 255, 255, .16);
}
.footer__top-link { text-decoration: none; font-weight: 600; }

/* ---------- Responsive ---------- */
/* full nav needs ~1100px once the brand reads "SkillReigns Community" */
@media (max-width: 1179.98px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 899.98px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__play { min-height: 420px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .loop__track { flex-direction: column; width: auto; gap: 28px; }
  .loop__intro { flex: none; }
  .step { flex: none; min-height: 0; }
  .step h3 { margin-top: 12px; }
  .loop__bar { display: none; }
}
@media (max-width: 560px) {
  .nav .brand__text { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav .brand__sub { font-size: .78rem; letter-spacing: .22em; }
  .why__grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card { min-height: 0; }
  .card h3 { margin-top: 24px; }
  .sticker--circle { width: 92px; height: 92px; font-size: .9rem; }
  .sticker--tag, .sticker--pale { padding: 10px 14px; font-size: .95rem; }
  .sticker--navy { padding: 10px 14px; font-size: .85rem; }
  .sticker--crown { width: 80px; height: 80px; }
  .sticker--crown img { width: 52px; height: 52px; }
  .sticker--star { width: 100px; height: 100px; font-size: .85rem; }
  .sticker--badge { width: 108px; height: 108px; }
  .rule { flex-direction: column; gap: 12px; }
  .ticket__main { padding: 22px 20px 18px; }
  .ticket__stub { padding: 14px 20px; }
}

/* ---------- Reduced motion / no GSAP ---------- */
.no-motion .loader { display: none; }
.no-motion .manifesto mark { background-size: 100% 40%; }
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .js .manifesto mark { background-size: 100% 40%; }
  .kicker__dot, .loop__hint { animation: none; }
  .cursor { display: none !important; }
  .btn, .card, .ticket { transition: none; }
}
