@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lilita-one-latin-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lilita-one-latin-ext-400.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin-var.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin-ext-var.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0a2463;
  --blue-800: #0f3a9c;
  --blue: #1a56d6;
  --blue-500: #2f7bf0;
  --sky: #5fb2ff;
  --ice: #eef6ff;
  --ice-2: #dcecff;
  --white: #fff;
  --ink: #0d1b3d;
  --muted: #51608a;
  --line: #d3e3fb;
  --red: #e0353b;
  --gold: #f2b62f;
  --green: #1fae5b;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(15, 58, 156, .35);
  --head: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
a { color: var(--blue); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--ice-2); color: var(--blue-800); padding: .1em .4em; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; background: url(../img/icons/snow-top.svg) left top repeat-x; pointer-events: none; }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--head); font-size: 26px; }
.brand img { width: 54px; height: auto; }
.brand b { font-weight: 400; color: var(--blue-500); }
.nav__menu { z-index: 1; display: flex; align-items: center; gap: 4px; }
.nav__menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav__menu a:hover { background: var(--ice); color: var(--blue); }
.nav__menu .btn { margin-left: 8px; }
.nav__menu a.btn, .nav__menu a.btn:hover { color: #fff; background: linear-gradient(180deg, var(--blue-500), var(--blue)); font-weight: 400; font-size: 17px; padding: 9px 22px; border-radius: 14px; text-align: center; }
.online { display: flex; align-items: center; gap: 8px; margin-right: auto; padding: 5px 13px 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.online[hidden] { display: none; }
.online i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.online.is-on i { background: var(--green); animation: pulse 2s infinite; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav__toggle i { display: block; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { font: inherit; font-family: var(--head); font-size: 18px; letter-spacing: .02em; border: 0; cursor: pointer; color: #fff; background: linear-gradient(180deg, var(--blue-500), var(--blue)); padding: 12px 22px; border-radius: 14px; box-shadow: 0 4px 0 var(--blue-800), 0 10px 20px -8px rgba(26,86,214,.6); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-800); }
.btn--sm { font-size: 16px; padding: 9px 16px; }
.btn--light { background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--ice-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #081442; color: #fff; }
.hero__art::before, .hero__art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__art::before { background: linear-gradient(90deg, rgba(8,20,66,.94) 0%, rgba(8,20,66,.82) 28%, rgba(8,20,66,0) 58%); }
.hero__art::after { background: linear-gradient(180deg, rgba(8,20,66,.35) 0%, transparent 22%, transparent 70%, rgba(8,20,66,.55) 100%); }
.hero__art img { position: absolute; top: 0; left: 71%; height: 100%; width: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 90%, transparent 100%); }
.hero__in { position: relative; z-index: 2; min-height: min(700px, calc(100vh - 110px)); display: flex; align-items: center; padding: 64px 0 116px; }
.hero__text { width: min(520px, 40vw); }
.hero .lead { color: #d5e4ff; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.heroip { display: flex; align-items: stretch; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; font: inherit; color: var(--navy); background: #fff; box-shadow: 0 5px 0 #b9d3f7, 0 18px 30px -12px rgba(0,0,0,.6); transition: transform .12s, box-shadow .12s; }
.heroip:hover { transform: translateY(-2px); }
.heroip:active { transform: translateY(4px); box-shadow: 0 1px 0 #b9d3f7; }
.heroip b { padding: 14px 18px; font-family: var(--head); font-weight: 400; font-size: 21px; white-space: nowrap; }
.heroip em { display: flex; align-items: center; padding: 0 18px; background: var(--blue); color: #fff; font-style: normal; font-family: var(--head); font-size: 17px; white-space: nowrap; }
.hero__more { color: #fff; font-weight: 800; text-underline-offset: 5px; text-decoration-color: var(--sky); text-decoration-thickness: 2px; }
.hero__more:hover { color: var(--sky); }
.hero__snow { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 2; background: url(../img/icons/snow-bottom.svg) left bottom repeat-x; pointer-events: none; }
.herobar { position: relative; z-index: 3; margin-top: -46px; display: grid; grid-template-columns: repeat(3, auto); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.herobar__item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; padding: 14px 18px; font-weight: 800; color: var(--ink); text-decoration: none; }
.herobar__item + .herobar__item { border-left: 1px solid var(--line); }
.herobar__xmas { color: var(--blue-800); }
.herobar__xmas:hover { color: var(--blue-500); }
.eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--blue-500); margin-bottom: 10px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); color: #fff; text-wrap: balance; }
.hero h1 span { color: #6fc1ff; }
.lead { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 58ch; }
.status { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.status__dot { width: 12px; height: 12px; border-radius: 50%; background: #b8c3dd; flex: none; }
.status.is-on .status__dot { background: var(--green); box-shadow: 0 0 0 0 rgba(31,174,91,.5); animation: pulse 2s infinite; }
.status.is-off .status__dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,91,.5); } 70% { box-shadow: 0 0 0 10px rgba(31,174,91,0); } 100% { box-shadow: 0 0 0 0 rgba(31,174,91,0); } }

/* ---------- sections ---------- */
.section { padding: 88px 0; position: relative; }
.section--ice { background: var(--ice); }
.section--ice::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; background:
  radial-gradient(circle at 12px -2px, #fff 13px, transparent 14px) 0 0 / 34px 22px repeat-x; }
.head { max-width: 640px; margin-bottom: 40px; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); }
.head p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(180deg, var(--sky), var(--blue)); color: #fff; font-family: var(--head); font-size: 24px; margin-bottom: 16px; box-shadow: 0 4px 0 var(--blue-800); }
.step h3 { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50px; width: 12px; height: 12px; border-top: 3px solid var(--sky); border-right: 3px solid var(--sky); transform: rotate(45deg); }

/* modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: 0 2px 0 var(--ice-2); transition: transform .2s, box-shadow .2s; }
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mode__icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; border-radius: 16px; background: var(--ice); }
.mode__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mode h3 { font-size: 26px; color: var(--navy); }
.mode p { color: var(--muted); flex: 1; }
.mode--feature { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.mode--feature::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle 1.6px, rgba(255,255,255,.7) 99%, transparent), radial-gradient(circle 1px, rgba(255,255,255,.5) 99%, transparent); background-size: 46px 46px, 23px 23px; background-position: 0 0, 11px 17px; opacity: .5; pointer-events: none; }
.mode--feature > * { position: relative; }
.mode--feature h3 { color: #fff; }
.mode--feature p { color: #cfe2ff; }
.mode--feature .mode__icon { background: rgba(255,255,255,.14); }
.badge { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--ice-2); color: var(--blue-800); white-space: nowrap; }
.badge--on { background: #dff6e8; color: #127a3f; }
.badge--xmas { background: #fff; color: var(--red); }

/* event */
.event { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 52px 56px 96px; border-radius: calc(var(--radius) + 6px); overflow: hidden; color: #fff; box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(8,20,66,.45), rgba(8,20,66,.76) 55%), url(../img/staff-stage.svg) center bottom -70px / cover no-repeat, linear-gradient(180deg, #0a2463, #1546b8); }
.event__art { display: grid; place-items: center; }
.event__art img { width: min(400px, 100%); animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(0,0,0,.4)); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.event__body h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; margin-bottom: 14px; }
.event__body > p { color: #d5e4ff; }
.event__body .eyebrow, .event__body .countdown__label, .event .ticks li::before { color: #8fd0ff; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 440px; }
.countdown div { background: linear-gradient(180deg, var(--blue-500), var(--blue-800)); color: #fff; border-radius: 16px; text-align: center; padding: 12px 4px 10px; box-shadow: 0 4px 0 #061238; }
.countdown b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.countdown__label { margin-top: 10px; font-weight: 800; color: var(--blue); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 700; }
.ticks li::before { content: "❄"; position: absolute; left: 0; color: var(--blue-500); }

/* news */
.head__all { font-weight: 900; white-space: nowrap; }
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news--1 { grid-template-columns: 1fr; }
.news--2 { grid-template-columns: 1fr 1fr; }
.news__empty { color: var(--muted); }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky); }
.post__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post__link:focus-visible { outline-offset: -3px; }
.post img, .post__noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(160deg, var(--blue), var(--navy)); }
.post__noimg { display: block; }
.post__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px 26px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.chip { background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; padding: 2px 11px; border-radius: 999px; }
.post__title { font-family: var(--head); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--navy); overflow-wrap: anywhere; }
.post__text { color: var(--muted); overflow-wrap: anywhere; flex: 1; }
.post__more { font-weight: 900; color: var(--blue); }
@media (min-width: 821px) {
  .news--1 .post__link { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
  .news--1 .post img { height: 100%; }
  .news--1 .post__body { padding: 36px 44px; gap: 12px; }
  .news--1 .post__title { font-size: 36px; }
  .news--1 .post__text { flex: none; }
}
.newslist { padding-top: 36px; }
.articlepage { padding-top: 64px; }
.article { max-width: 800px; }
.article h1 { font-size: clamp(32px, 5vw, 52px); color: var(--navy); margin: 12px 0 26px; overflow-wrap: anywhere; text-wrap: balance; }
.article__back { margin-bottom: 22px; font-weight: 800; }
.article__img { width: 100%; border-radius: var(--radius); margin-bottom: 30px; }
.article__body { font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.article__body > * + * { margin-top: 1.1em; }
.legal { padding-top: 40px; }
.legal .article__body h2 { margin-top: 1.8em; font-size: clamp(26px, 3vw, 32px); color: var(--navy); }
.legal .article__body h3 { margin-top: 1.4em; font-size: 21px; color: var(--navy); }
.legal .article__body ul { padding-left: 1.3em; }
.legal .article__body li + li { margin-top: .4em; }
.footer__legal a { color: inherit; margin-left: 6px; }
.event .ticks a { color: #fff; }

/* community links */
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.link { position: relative; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky); }
.link__icon { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--ice); color: var(--blue); font-size: 26px; }
.link--discord { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); color: #fff; border-color: transparent; }
.link--discord .link__icon { background: rgba(255,255,255,.15); color: #fff; }
.link.link--discord small { color: #d8e8ff; }
.link b { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; }
.link small { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; }
.link em { position: absolute; top: 12px; right: 14px; font-style: normal; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; background: var(--gold); color: var(--navy); padding: 2px 8px; border-radius: 999px; }
.link.is-live em { display: none; }

.mode__icon img, .link__icon img, .herobar img { image-rendering: pixelated; }
.team { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ice); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.team:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky); }
.team__faces { display: flex; gap: 8px; }
.face { width: 48px; height: 48px; border-radius: 10px; background-size: 384px 384px; background-position: -240px -48px, -48px -48px; image-rendering: pixelated; }
.team__text { flex: 1; }
.team b { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--navy); }
.team small { font-size: 15px; color: var(--muted); }
.team__go { font-weight: 900; color: var(--blue); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .25s, box-shadow .25s; }
details:hover, details[open]:not(.is-closing) { border-color: #9cc3f7; box-shadow: 0 8px 22px rgba(16, 60, 140, .08); }
summary { cursor: pointer; list-style: none; font-weight: 900; font-size: 18px; padding: 18px 30px 18px 0; position: relative; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 26px; color: var(--blue-500); transition: transform .32s cubic-bezier(.22, .8, .3, 1); }
details[open]:not(.is-closing) summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 18px; color: var(--muted); }

/* footer */
.footer { position: relative; background: var(--navy); color: #cfe2ff; padding: 64px 0 36px; margin-top: 0; }
.snowcap { position: absolute; left: 0; right: 0; top: -1px; height: 26px; background:
  radial-gradient(circle at 20px 0, var(--ice) 18px, transparent 19px) 0 0 / 52px 26px repeat-x,
  radial-gradient(circle at 46px 0, var(--ice) 11px, transparent 12px) 0 0 / 52px 26px repeat-x; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 54px; }
.footer__brand b { font-family: var(--head); font-weight: 400; font-size: 26px; color: #fff; }
.footer__legal { font-size: 14px; color: #93aedb; }

.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.footer__sova { flex: none; display: flex; align-items: center; gap: 9px; text-decoration: none; color: #93aedb; font-size: 12px; font-weight: 700; opacity: .85; transition: opacity .15s; }
.footer__sova:hover { opacity: 1; color: #fff; }
.footer__sova img { width: 88px; height: auto; }
@media (min-width: 721px) { .footer__bottom { padding-right: 64px; } }
@media (max-width: 720px) { .footer__bottom { flex-direction: column; align-items: flex-start; } .footer { padding-bottom: 80px; } }

/* ---------- staff page ---------- */
.nav__menu a[aria-current="page"] { background: var(--ice); color: var(--blue); }
.staffhero { background: linear-gradient(180deg, var(--ice) 0%, #fff 100%); padding: 56px 0 24px; overflow: hidden; }
.staffhero__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.staffhero h1 { font-size: clamp(36px, 5vw, 60px); color: var(--navy); }
.staffhero h1 span { color: var(--blue-500); }
.staffhero__art { position: relative; display: grid; place-items: center; }
.staffhero__art::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--ice-2) 0%, transparent 68%); }
.staffhero__art img { position: relative; width: min(320px, 100%); animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(15,58,156,.25)); }
.staffhero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.staffhero__stats div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; min-width: 120px; }
.staffhero__stats b { display: block; font-family: var(--head); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--blue); }
.staffhero__stats span { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.staffsec { padding-top: 40px; }
.rolefilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.rolefilter__btn { font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.rolefilter__btn small { font-size: 12px; font-weight: 900; background: var(--ice-2); color: var(--blue-800); border-radius: 999px; padding: 1px 7px; margin-left: 2px; }
.rolefilter__btn:hover { border-color: var(--sky); }
.rolefilter__btn[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.rolefilter__btn[aria-selected="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.rolegroup { --rc: var(--blue-500); margin-bottom: 56px; }
.rolegroup[hidden] { display: none; }
.role--owner { --rc: var(--red); }
.role--admin { --rc: var(--navy); }
.role--moderator { --rc: var(--blue-500); }
.role--helper { --rc: var(--green); }
.role--builder { --rc: #d98a00; }
.rolegroup__head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; margin-bottom: 20px; padding-left: 16px; border-left: 5px solid var(--rc); }
.rolegroup__head h2 { font-size: clamp(28px, 3vw, 36px); color: var(--navy); }
.rolegroup__count { font-family: var(--head); font-size: 16px; color: #fff; background: var(--rc); border-radius: 999px; padding: 2px 10px; }
.rolegroup__head p { grid-column: 1 / -1; color: var(--muted); }
.staffgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.staffcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.staffcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rc); }
.staffcard__head { position: relative; display: grid; place-items: center; padding: 30px 0 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 16%, #fff), var(--ice)); }
.staffcard__head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: radial-gradient(circle at 12px 0, #fff 11px, transparent 12px) 0 0 / 30px 18px repeat-x; }
.staffcard__head img { width: 96px; height: 96px; image-rendering: pixelated; border-radius: 12px; box-shadow: 0 6px 0 rgba(10,36,99,.15), 0 14px 22px -10px rgba(10,36,99,.45); background: var(--ice-2); }
.staffcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rolebadge { align-self: flex-start; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--rc); padding: 3px 10px; border-radius: 999px; }
.staffcard h3 { font-size: 24px; color: var(--navy); word-break: break-word; }
.staffcard__about { color: var(--muted); font-size: 15px; flex: 1; }
.staffcard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 800; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.apply { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: stretch; }
.apply__card { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); color: #fff; border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; align-content: start; }
.apply__card .eyebrow { color: var(--sky); }
.apply__card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.apply__card p { color: #d8e8ff; }
.apply__card .ticks { margin: 0; }
.apply__card .ticks li::before { color: var(--sky); }
.apply__card .btn { justify-self: start; background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--ice-2); text-decoration: none; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.contact h3 { font-size: 26px; color: var(--navy); }
.contact p { color: var(--muted); }
.contact p b { color: var(--ink); }
.contact__note { font-size: 14px; background: var(--ice); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 1020px) {
  .staffhero__in { grid-template-columns: 1fr; }
  .staffhero__art { display: none; }
  .apply { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .staffhero { padding-top: 36px; }
  .staffhero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .staffhero__stats div { min-width: 0; padding: 10px 12px; }
  .staffhero__stats b { font-size: 22px; }
  .staffhero__stats span { font-size: 10px; }
  .staffgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .staffcard__head { padding: 22px 0 16px; }
  .staffcard__head img { width: 72px; height: 72px; }
  .staffcard__body { padding: 14px; }
  .staffcard h3 { font-size: 19px; }
  .staffcard__about { font-size: 14px; }
  .apply__card, .contact { padding: 24px; }
}
@media (max-width: 400px) { .staffgrid { grid-template-columns: 1fr; } }

/* snow + ui */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.snowtoggle { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 22px; cursor: pointer; box-shadow: var(--shadow); }
.snowtoggle[aria-pressed="false"] { color: #a5b3d1; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--navy); color: #fff; font-weight: 800; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow); transition: transform .25s, visibility .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { /* header stacks: artwork on top, text below */
  .hero__art { display: block; position: relative; height: clamp(250px, 40vw, 420px); }
  .hero__art img { left: 50%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__art::before { display: none; }
  .hero__in { min-height: 0; padding: 14px 0 120px; justify-content: center; }
  .hero__text { width: min(640px, 100%); text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
}
@media (max-width: 420px) { .heroip b { padding: 14px 13px; font-size: 18px; } .heroip em { padding: 0 13px; font-size: 16px; } }
@media (max-width: 1020px) {
  .nav__toggle { display: flex; }
  .nav__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); display: none; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px; font-size: 17px; }
  .nav__menu .btn { margin: 8px 0 0; }
  .modes, .links { grid-template-columns: 1fr 1fr; }
  .mode--feature { grid-column: 1 / -1; order: -1; }
  .event { grid-template-columns: 1fr; gap: 22px; padding: 36px 32px 90px; }
  .event__art img { width: min(260px, 70%); }
  .faq { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .herobar { grid-template-columns: 1fr; margin-top: -34px; }
  .herobar__item { min-height: 62px; justify-content: flex-start; padding-left: 24px; }
  .herobar__item + .herobar__item { border-left: 0; border-top: 1px solid var(--line); }
  .event { padding: 28px 20px 80px; }
  .team { flex-wrap: wrap; padding: 18px; }
  .face { width: 40px; height: 40px; background-size: 320px 320px; background-position: -200px -40px, -40px -40px; }
  .team__text { flex-basis: 100%; }
  .lead { font-size: 16px; }
  .steps, .modes, .links, .news { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .head--row { display: block; }
  .head__all { display: inline-block; margin-top: 12px; }
  .countdown { gap: 8px; }
  .footer__in { grid-template-columns: 1fr; }
  .brand { font-size: 22px; }
  .brand img { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
