/* 101st Hunter Squadron — public website. Light "clear sky" theme: white, sky blue, sunset orange. */
:root {
  --bg: #f5f8fc;
  --bg-2: #eaf2fb;
  --surface: #ffffff;
  --surface-2: #f7fafd;
  --line: #e2e9f2;
  --line-strong: #cfdbe9;
  --text: #0f1f38;
  --muted: #5a6a82;
  --faint: #8b99ae;
  --sky: #1673e6;
  --sky-2: #0ea5e9;
  --sky-soft: #e8f2fe;
  --sun: #ff7a1a;
  --sun-2: #ff5a1f;
  --gold: #e0a21b;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --navy: #0b1f3a;
  --grad-sky: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%);
  --grad-sun: linear-gradient(135deg, #ff8a3d 0%, var(--sun-2) 100%);
  --font-brand: 'Orbitron', 'Segoe UI', sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 31, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 56, 0.14);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sun-2); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 3px; border-radius: 6px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 700 14px/1 var(--font-head); letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  color: #fff; background: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-fire, .btn-sun { background: var(--grad-sun); box-shadow: 0 10px 24px rgba(255, 90, 31, 0.3); }
.btn-fire:hover, .btn-sun:hover { box-shadow: 0 14px 30px rgba(255, 90, 31, 0.42); }
.btn-sky { background: var(--grad-sky); box-shadow: 0 10px 24px rgba(22, 115, 230, 0.28); }
.btn-gold, .btn-outline { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn-gold:hover, .btn-outline:hover { border-color: var(--sky); color: var(--sky); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn svg { width: 17px; height: 17px; }

/* ── header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 70px;
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
  color: #fff;
}
.site-header.solid { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 31, 56, 0.06); color: var(--text); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { color: inherit; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { font: 800 15px/1 var(--font-brand); letter-spacing: 0.12em; white-space: nowrap; }
.brand small { display: block; font: 600 9px/1.5 var(--font-body); letter-spacing: 0.32em; opacity: 0.75; text-transform: uppercase; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: inherit; opacity: 0.85; font: 600 14px/1 var(--font-body); }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.16); color: inherit; }
.site-header.solid .nav a:hover { background: var(--sky-soft); color: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; opacity: 0.85; }
.lang button { background: none; border: 0; color: inherit; padding: 6px 10px; font: 700 11px/1 var(--font-body); cursor: pointer; }
.lang button.on { background: var(--sky); color: #fff; }
.login-btn { border-color: currentColor; color: inherit; background: transparent; }
.login-btn:hover { color: inherit; background: rgba(255, 255, 255, 0.16); }
.site-header.solid .login-btn { border-color: var(--sky); color: var(--sky); }
.site-header.solid .login-btn:hover { background: var(--sky); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid currentColor; border-radius: 10px; color: inherit; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 70px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform 0.25s; margin: 0;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 8px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 1; }
  .menu-toggle { display: block; margin-left: auto; }
}
@media (max-width: 560px) {
  .brand small, .header-actions .login-btn span { display: none; }
  .header-actions .login-btn { padding: 9px 11px; }
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; color: #fff; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 30, 66, 0.55) 0%, rgba(6, 30, 66, 0.25) 45%, rgba(6, 30, 66, 0.45) 80%, var(--bg) 100%);
}
.hero-inner { padding: 120px 16px 110px; max-width: 880px; }
.hero-emblem { width: clamp(96px, 14vw, 132px); margin: 0 auto 18px; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.35)); }
.eyebrow { font: 700 12px/1 var(--font-body); letter-spacing: 0.24em; color: var(--sky); text-transform: uppercase; }
.hero .eyebrow { color: #cfe6ff; }
.hero h1 { font-size: clamp(36px, 6.4vw, 70px); margin: 14px 0 14px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35); }
.hero h1 span { color: #ffd08a; }
.motto { font-size: clamp(16px, 2.1vw, 21px); color: #eef5ff; font-style: italic; margin-bottom: 30px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--text); font-size: 13.5px; box-shadow: 0 8px 22px rgba(6, 30, 66, 0.2);
}
.chip b { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); animation: ping 2s infinite; }
.dot.warn { background: var(--warn); }
.dot.off { background: var(--danger); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* ── sections ────────────────────────────────────────────────────────────── */
section { padding: 96px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot.ok { animation: none; }
  html { scroll-behavior: auto; }
}

/* stats band */
.stats { padding: 0; margin-top: -64px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow-lg); }
.stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font: 800 clamp(26px, 3.4vw, 38px)/1 var(--font-head); color: var(--sky); }
.stat .label { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* about */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo .patch { position: absolute; right: 16px; bottom: 16px; width: 88px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.about-text h3 { font-size: 26px; margin-bottom: 16px; }
.about-text p { color: var(--muted); font-size: 16.5px; }
.aircraft { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 24px; }
.aircraft div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: 13px; }
.aircraft b { display: block; color: var(--text); font-size: 14px; }
.aircraft span { color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* servers */
.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
@media (max-width: 400px) { .servers { grid-template-columns: 1fr; } }
.server { padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s, box-shadow 0.2s; }
.server:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.server-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.server h3 { font: 700 17px/1.35 var(--font-head); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; flex: none;
  font: 700 11px/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; background: var(--surface-2); color: var(--muted);
}
.badge.online { color: var(--ok); background: #e9f8ef; }
.badge.starting, .badge.maintenance { color: var(--warn); background: #fff4e5; }
.badge.offline { color: var(--danger); background: #fdecec; }
.server-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14px; margin: 0; }
.server-meta dt { color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.server-meta dd { margin: 2px 0 0; color: var(--text); overflow-wrap: anywhere; }
.connect { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.copy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font: 500 13.5px/1.2 'JetBrains Mono', Consolas, monospace; cursor: pointer; text-align: left;
}
.copy:hover { border-color: var(--sky); background: var(--sky-soft); }
.copy small { font-family: var(--font-body); color: var(--sky); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.notice { text-align: center; color: var(--muted); padding: 30px; }

/* leaderboards */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); cursor: pointer; font: 600 14px/1 var(--font-body); box-shadow: 0 2px 8px rgba(15, 31, 56, 0.04);
}
.tab:hover { color: var(--sky); border-color: var(--sky); }
.tab.on { background: var(--grad-sky); border-color: transparent; color: #fff; }
.boards { padding: 28px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 24px; }
.podium > div { text-align: center; padding: 20px 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.podium .p1 { padding-top: 28px; background: linear-gradient(180deg, #fff6df, #ffffff); border-color: #f5d68a; }
.podium .p2 { background: linear-gradient(180deg, #f1f4f8, #ffffff); }
.podium .p3 { background: linear-gradient(180deg, #fbefe6, #ffffff); }
.podium .medal { font-size: 32px; line-height: 1; }
.podium .who { font-weight: 700; margin-top: 8px; overflow-wrap: anywhere; }
.podium .val { font: 800 16px/1.2 var(--font-head); color: var(--sky); margin-top: 6px; }
.rank-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.rank-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 4px; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 14.5px; }
.rank-list .n { width: 26px; color: var(--faint); font: 700 13px/1 var(--font-head); }
.rank-list .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .val { color: var(--sky); font-weight: 700; white-space: nowrap; }
.rank-list .sub, .podium .sub { display: block; color: var(--faint); font-size: 12px; }
.boards-foot { margin-top: 18px; text-align: center; color: var(--faint); font-size: 12.5px; }
@media (max-width: 760px) { .rank-list { columns: 1; } .podium { grid-template-columns: 1fr; } .podium .p1 { order: -1; } }

/* operations */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 28px; transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--sky-soft); font-size: 26px; }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* leadership */
.leaders { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.leader { width: 280px; padding: 32px 22px; text-align: center; }
.leader .avatar { width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-sky); color: #fff; font: 800 28px/1 var(--font-head); box-shadow: 0 10px 24px rgba(22, 115, 230, 0.3); }
.leader h3 { font-size: 20px; }
.leader .role { color: var(--sky); font-size: 13px; font-weight: 600; margin-top: 6px; }
.socials { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.socials a:hover { color: #fff; background: var(--sky); border-color: var(--sky); }
.socials svg { width: 17px; height: 17px; }

/* gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--bg-2); break-inside: avoid; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; transition: transform 0.5s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(6, 18, 36, 0.92); padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 20px; }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox .next { right: 18px; top: 50%; translate: 0 -50%; }

/* join */
.join { text-align: center; padding: 60px 30px; border-radius: 26px; color: #fff; border: 0; position: relative; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 40%), radial-gradient(circle at 85% 90%, rgba(255, 200, 120, 0.3), transparent 45%), var(--grad-sky);
  box-shadow: 0 30px 70px rgba(22, 115, 230, 0.3); }
.join .eyebrow { color: #dff0ff; }
.join h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 14px; }
.join > p { color: #eaf4ff; max-width: 680px; margin: 0 auto 30px; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; max-width: 980px; margin: 0 auto 32px; counter-reset: step; }
.steps div { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; color: #f0f7ff; }
.steps div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--sky); font: 800 14px/1 var(--font-head); margin-bottom: 10px; }
.steps b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 52px 0 30px; background: var(--navy); color: #c6d3e6; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { font: 700 13px/1 var(--font-head); letter-spacing: 0.08em; color: #fff; margin: 0 0 16px; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.site-footer ul a { color: #c6d3e6; }
.site-footer ul a:hover { color: #fff; }
/* "virtual flying club, no ties to any military or official body" notice */
.disclaimer { margin: 32px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05); color: #b7c6dc; font-size: 13px; line-height: 1.65; }
main .disclaimer { margin: 28px 0 56px; background: rgba(6, 24, 52, 0.55); color: #dbe6f5; border-color: rgba(255, 255, 255, 0.18); }
.copyright { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8fa3c0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 120; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); }
.toast[hidden] { display: none; }

/* ── application page ────────────────────────────────────────────────────── */
.page-hero { padding: 140px 0 70px; text-align: center; color: #fff;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.2), transparent 40%), var(--grad-sky); }
.page-hero .eyebrow { color: #dff0ff; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); margin-top: 12px; }
.page-hero p { color: #eaf4ff; max-width: 680px; margin: 14px auto 0; font-size: 17px; }
.form-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding-bottom: 90px; margin-top: -36px; position: relative; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.apply-form { padding: 34px; display: grid; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
legend { font: 800 17px/1 var(--font-head); color: var(--text); margin-bottom: 18px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } .apply-form { padding: 22px; } }
.field { display: grid; gap: 7px; }
.field > span, .field-label { font-size: 14px; font-weight: 600; color: var(--text); }
.field > span i, .field-label i { color: var(--sun-2); font-style: normal; }
input[type=text], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text); font: 15px var(--font-body);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(22, 115, 230, 0.12); }
textarea { min-height: 120px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; cursor: pointer; }
.choice input:checked + span { border-color: var(--sky); background: var(--sky-soft); color: var(--sky); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--sky-2); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); border: 1px solid #f6c9c9; background: #fdecec; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form-error[hidden] { display: none; }
.side { padding: 26px; position: sticky; top: 90px; display: grid; gap: 14px; font-size: 14.5px; color: var(--muted); }
.side h3 { font-size: 17px; color: var(--text); }
.side ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.success { text-align: center; padding: 56px 30px; }
.success .big { font-size: 56px; }
.success h2 { margin: 14px 0; font-size: 26px; }
.success p { color: var(--muted); }

/* music button */
.music { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; flex-direction: row-reverse; }
.music-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: #fff; color: var(--sky); display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform 0.15s;
}
.music-btn:hover { transform: scale(1.06); }
.music-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.music .eq { display: none; grid-area: 1 / 1; gap: 3px; align-items: end; height: 16px; }
.music.on .music-btn { background: var(--grad-sun); color: #fff; border-color: transparent; }
.music.on .music-btn svg { display: none; }
.music.on .eq { display: flex; }
.eq i { width: 3px; background: #fff; border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.music-info { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); font-size: 12.5px; color: var(--muted); max-width: min(320px, calc(100vw - 100px)); }
.music-info[hidden] { display: none; }
.music-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-next { background: none; border: 0; color: var(--sky); cursor: pointer; font-size: 14px; padding: 2px 6px; }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; height: 10px; } }

/* testimonials */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.voice { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.voice blockquote { margin: 0; font-size: 16.5px; color: var(--text); line-height: 1.65; position: relative; padding-top: 28px; }
.voice blockquote::before { content: '“'; position: absolute; top: -18px; left: -4px; font: 800 64px/1 var(--font-head); color: var(--sky); opacity: 0.25; }
.voice .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.voice .who span:first-child { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-sky); color: #fff; font: 800 15px/1 var(--font-head); flex: none; }
.voice .who b { display: block; font-size: 15px; }
.voice .who small { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 10px rgba(15, 31, 56, 0.04); transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { border-color: #bcd6f7; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font: 700 16.5px/1.4 var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky); font: 700 18px/1 var(--font-body); transition: transform 0.2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* Discord community card (inside the join banner) */
.community { display: flex; align-items: center; gap: 16px; max-width: 560px; margin: 26px auto 0; padding: 14px 16px 14px 14px;
  border-radius: 20px; background: #fff; color: var(--text); text-align: left; box-shadow: 0 14px 34px rgba(6, 30, 66, 0.25); transition: transform 0.15s; }
.community:hover { transform: translateY(-2px); color: var(--text); }
.community-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #5865f2; color: #fff; flex: none; }
.community-logo svg { width: 28px; height: 28px; }
.community-text { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); }
.community-text b { display: block; color: var(--text); font-size: 16px; font-family: var(--font-head); }
.community-text .dot { display: inline-block; vertical-align: middle; margin-left: 2px; }
.community-cta { padding: 10px 16px; border-radius: 999px; background: #5865f2; color: #fff; font: 700 13.5px/1 var(--font-head); white-space: nowrap; }
@media (max-width: 520px) { .community { flex-wrap: wrap; } .community-cta { width: 100%; text-align: center; } }

/* ── detail sections (about facts, weekly rhythm, infrastructure / values) ── */
.h2-left { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 18px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 26px 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.facts div { padding: 14px 18px; }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 4px 0 0; font: 700 15px/1.3 var(--font-head); color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 13px; border-radius: 999px; background: var(--sky-soft); color: #0f4fa8; font-size: 13px; font-weight: 600; }

.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .week { grid-template-columns: 1fr; } }
.week-card { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.week-day { flex: none; width: 86px; padding: 12px 0; border-radius: 14px; text-align: center; background: var(--grad-sky); color: #fff; }
.week-day.sun { background: var(--grad-sun); }
.week-day.free { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.week-day span { display: block; font-size: 12px; font-weight: 600; opacity: 0.9; }
.week-day b { display: block; font: 800 20px/1.2 var(--font-head); }
.week-card h3 { font-size: 18px; margin-bottom: 6px; }
.week-card p { margin: 0; color: var(--muted); font-size: 15px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.pillar h3 { font-size: 19px; margin-bottom: 14px; }
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.icon-list b { color: var(--text); }
.icon-list svg, .card .ico svg, .chip-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-list svg { margin-top: 1px; }
.card .ico svg { width: 26px; height: 26px; }
.chip-ico { width: 17px; height: 17px; }

/* pilots currently flying, on a server card */
.pilots { display: flex; flex-wrap: wrap; gap: 6px; }
.pilots span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #e9f8ef; color: #166534; font-size: 12.5px; font-weight: 600; }
.pilots small { color: #3f7a55; font-weight: 500; }
.eyebrow { letter-spacing: 0.18em; font-size: 11.5px; }

/* ── video background (scenes from the squadron's flight video, one per part of the page) ── */
body { background: #0a1a33; }
.bg-video { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #0a1a33; pointer-events: none; }
.bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.bg-video video.on { opacity: 1; }
.bg-video::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 52, 0.5) 0%, rgba(6, 24, 52, 0.62) 100%); }
section, .section-alt { background: transparent; }
.hero::after { background: linear-gradient(180deg, rgba(6, 24, 52, 0.25) 0%, rgba(6, 24, 52, 0) 45%, rgba(6, 24, 52, 0.3) 100%); }
.section-head h2 { color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.section-head p { color: #d8e7fb; }
.eyebrow { color: #9fd0ff; }
.about-text { background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.about-text .eyebrow, .pillar h3 + .eyebrow { color: var(--sky); }
.about-text h2 { color: var(--text); text-shadow: none; }
.pillar { background: #fff; box-shadow: var(--shadow); }
#serverList > .notice, .notice { color: #e5effb; }
.boards .notice, .panel .notice { color: var(--muted); }
.tab { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); }
.join { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.stats { margin-top: -64px; }
@media (max-width: 900px) { .about-text { padding: 24px; } }
