:root {
  --bg: #0b1a33;
  --bg-2: #10244a;
  --bg-3: #163063;
  --hill-back: #132b55;
  --ice: #e6f4ff;
  --ice-2: #a9d6f5;
  --ice-3: #6fb6e8;
  --muted: #9fb6d3;
  --glow: rgba(255, 196, 120, .28);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ice);
  font: 17px/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--ice-2); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }

h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.01em; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ice); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 20;
}
.skip:focus { left: 8px; }

.sprite { position: absolute; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 26, 51, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(169, 214, 245, .12);
}
.nav {
  max-width: 1100px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ice); text-decoration: none; font-weight: 700; letter-spacing: .02em;
}
.brand svg { color: var(--ice-2); }
.nav-links { list-style: none; display: flex; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ice); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid; place-items: center;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(111, 182, 232, .35), transparent 60%),
    radial-gradient(800px 500px at 10% 20%, rgba(80, 120, 220, .25), transparent 60%),
    linear-gradient(180deg, #071226 0%, var(--bg-2) 70%, var(--bg-3) 100%);
  text-align: center;
  padding: 80px 16px 140px;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  color: var(--ice-2); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.6rem, 10vw, 5.6rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffffff 30%, var(--ice-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(169, 214, 245, .15);
}
.hero h1 span { font-weight: 300; font-style: italic; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #cfe3f7; margin: 0 auto 28px; max-width: 600px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s, background .15s;
  overflow-wrap: anywhere;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ice); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { color: var(--ice); border: 1px solid rgba(230, 244, 255, .4); }
.btn-ghost:hover { background: rgba(230, 244, 255, .08); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ice-3); outline-offset: 3px; }

/* sections */
.section { padding: 80px 0; }
.section-lead { color: var(--muted); margin: -6px 0 32px; }
.center { text-align: center; }

.two-col { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr; align-items: center; }
.about p { color: #cfe0f2; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li {
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(169, 214, 245, .1), rgba(169, 214, 245, .03));
  border: 1px solid rgba(169, 214, 245, .15);
}
.facts strong { display: block; font-size: 1.1rem; color: var(--ice); }
.facts span { color: var(--muted); }

.checklist { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.card {
  padding: 24px; border-radius: var(--radius);
  background: rgba(16, 36, 74, .7);
  border: 1px solid rgba(169, 214, 245, .14);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(169, 214, 245, .4); transform: translateY(-2px); }
.card svg {
  width: 44px; height: 44px; margin-bottom: 12px;
  fill: none; stroke: var(--ice-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

.gathering { background: var(--bg-2); }
.gathering-box {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
}
.gathering p { color: #cfe0f2; }
.plan { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.plan li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 16px; border-radius: 12px; background: rgba(11, 26, 51, .6);
}
.plan span {
  flex: 0 0 76px; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--ice-3);
}
.note { color: var(--muted) !important; font-size: .95rem; }
.lantern { display: grid; place-items: center; }
.lantern svg { width: min(220px, 60%); height: auto; }
.glow { animation: flicker 3.2s ease-in-out infinite; transform-origin: 60px 78px; }

@keyframes flicker {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.contact { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.contact p { color: var(--muted); }
.mail { margin-top: 8px; }

.site-footer {
  text-align: center; padding: 28px 16px; color: var(--muted); font-size: .9rem;
  border-top: 1px solid rgba(169, 214, 245, .1);
}
.site-footer p { margin: 0; }

/* 404 */
.notfound { min-height: 100vh; }
.notfound .hero-inner h1 { font-size: clamp(4rem, 18vw, 8rem); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .two-col, .gathering-box { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; }
  .hero { padding: 60px 16px 120px; }
  .lantern { order: -1; }
  .lantern svg { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .snow { display: none; }
}
