:root {
  --night: #070d1f;
  --night-2: #0c1630;
  --night-3: #13214a;
  --line: rgba(255, 255, 255, 0.09);
  --snow: #f6f8ff;
  --muted: #a9b6d6;
  --red: #e3262f;
  --red-2: #ff4048;
  --red-deep: #a8121b;
  --gold: #ffcf5a;
  --pine: #1e8a55;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: 'Lilita One', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--snow);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(227, 38, 47, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(30, 138, 85, 0.14), transparent 60%),
    var(--night);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 13, 31, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 50px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); transition: transform .25s; }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 999px; color: #dfe6fb; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.1); }
.nav a.nav-cta { background: var(--red); color: #fff; margin-left: 6px; box-shadow: 0 6px 20px rgba(227,38,47,.4); }
.nav a.nav-cta:hover, .nav a.nav-cta.is-active { background: var(--red-2); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 3px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* String lights */
.lights {
  position: absolute; left: 0; right: 0; bottom: -14px; height: 22px; pointer-events: none;
}
.lights::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(#0d3b22, #0d3b22) 0 1px / 100% 2px no-repeat;
}
.lights::after {
  content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 18px;
  background-image:
    radial-gradient(ellipse 5px 7px at 20px 9px, var(--red-2) 98%, transparent),
    radial-gradient(ellipse 5px 7px at 60px 11px, var(--gold) 98%, transparent),
    radial-gradient(ellipse 5px 7px at 100px 9px, #3ddc84 98%, transparent),
    radial-gradient(ellipse 5px 7px at 140px 11px, #7cc4ff 98%, transparent);
  background-size: 160px 18px;
  background-repeat: repeat-x;
  filter: drop-shadow(0 0 6px rgba(255, 210, 120, .9));
  animation: twinkle 2.4s steps(2) infinite;
}
.lights--footer { top: -10px; bottom: auto; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.announce { background: linear-gradient(90deg, var(--pine), #126b40); text-align: center; padding: 10px 20px; font-weight: 800; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 900; font-size: 17px; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: linear-gradient(180deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 10px 30px rgba(227,38,47,.45), inset 0 -3px 0 rgba(0,0,0,.18); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--red-deep); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.mini-btn { font: inherit; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.mini-btn:hover { background: rgba(255,255,255,.2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 170px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% 10% auto; height: 520px; background: radial-gradient(closest-side, rgba(255, 207, 90, .16), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-logo { width: min(640px, 92%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; margin: 22px 0 14px; letter-spacing: .01em; text-shadow: 0 6px 0 rgba(0,0,0,.35); }
.hero-sub { max-width: 720px; margin: 0 auto; color: #d4dcf3; font-size: clamp(17px, 2vw, 20px); }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-actions.left { justify-content: flex-start; }
.hero-ca {
  margin: 34px auto 0; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.3); border-radius: 16px; padding: 12px 18px; max-width: 100%;
}
.hero-ca-label { font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.hero-ca code { font-size: 15px; word-break: break-all; }
.hero-scene { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 220px; z-index: 1; }
.hero-scene .bulb { animation: twinkle 1.8s steps(2) infinite; }
.bulb.b1 { fill: var(--red-2); } .bulb.b2 { fill: var(--gold); animation-delay: .4s; } .bulb.b3 { fill: #3ddc84; animation-delay: .8s; } .bulb.b4 { fill: #7cc4ff; animation-delay: 1.2s; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: -40px; position: relative; z-index: 3; box-shadow: var(--shadow);
}
.stat { background: #fff; color: var(--night); padding: 26px 18px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); line-height: 1; color: var(--red); }
.stat-label { font-weight: 800; font-size: 14px; color: #3b4766; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(19, 33, 74, .55) 15%, rgba(19, 33, 74, .55) 85%, transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: 8px; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 16px; letter-spacing: .01em; }
h3 { font-weight: 900; margin: 0 0 8px; font-size: 20px; }
.candy {
  background: repeating-linear-gradient(-45deg, #ff3b44 0 14px, #fff 14px 28px);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0; filter: drop-shadow(0 3px 0 rgba(0,0,0,.35));
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(255, 64, 72, .5); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 44px; color: rgba(255,255,255,.07); }
.step-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(227,38,47,.15); color: var(--red-2); margin-bottom: 18px; border: 1px solid rgba(227,38,47,.35); }
.step-icon svg { width: 28px; height: 28px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* Mission */
.mission { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.mission-copy p { color: #cfd8f0; }
.mission-quote { font-family: var(--font-display); font-size: 24px; color: var(--gold) !important; border-left: 4px solid var(--red); padding-left: 16px; }
.polaroid { margin: 0; background: #fff; padding: 14px 14px 18px; border-radius: 6px; transform: rotate(3deg); box-shadow: var(--shadow); position: relative; max-width: 380px; justify-self: center; transition: transform .3s; }
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid img { border-radius: 3px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.polaroid figcaption { color: #1a2340; text-align: center; font-family: var(--font-display); font-size: 20px; margin-top: 12px; }
.tape { position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-4deg); background: repeating-linear-gradient(-45deg, rgba(227,38,47,.85) 0 10px, rgba(255,255,255,.9) 10px 20px); box-shadow: 0 2px 6px rgba(0,0,0,.3); }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(227,38,47,.12), rgba(30,138,85,.1)); border: 1px solid var(--line); border-radius: 28px; padding: 44px; }
.founder p { color: #cfd8f0; margin: 0 0 12px; }
.ornament { width: 150px; height: 150px; border-radius: 50%; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ff7a80, var(--red) 45%, var(--red-deep)); box-shadow: inset -12px -16px 30px rgba(0,0,0,.35), 0 20px 40px rgba(227,38,47,.35); animation: swing 4s ease-in-out infinite; transform-origin: 50% -30px; }
.ornament::before { content: ""; position: absolute; top: -18px; width: 34px; height: 22px; border-radius: 6px; background: linear-gradient(90deg, #b8912e, var(--gold), #b8912e); }
.ornament span { font-family: var(--font-display); font-size: 48px; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Roadmap */
.roadmap { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 10px; border-radius: 10px; background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px); box-shadow: 0 0 20px rgba(227,38,47,.35); }
.phase { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 22px; margin-bottom: 28px; }
.phase-marker { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.phase-marker span { font-family: var(--font-display); font-size: 30px; }
.phase.is-now .phase-marker { background: var(--red); box-shadow: 0 0 0 8px rgba(227,38,47,.2), 0 0 30px rgba(227,38,47,.6); }
.phase-card { background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: transform .25s, border-color .25s; }
.phase-card:hover { transform: translateX(6px); border-color: rgba(255, 207, 90, .4); }
.phase.is-now .phase-card { border-color: rgba(227,38,47,.6); }
.phase-tag { display: inline-block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 4px; }
.phase-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.phase-card ul { margin: 0; padding: 0; list-style: none; }
.phase-card li { position: relative; padding-left: 26px; color: #cfd8f0; margin: 6px 0; }
.phase-card li::before { content: "❄"; position: absolute; left: 0; color: #9fd4ff; }

/* CTA */
.cta-card { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 70px 30px; background: radial-gradient(circle at 20% 0%, #ff5a62, transparent 50%), linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 30px 80px rgba(227,38,47,.35); }
.cta-card p { max-width: 620px; margin: 0 auto; font-size: 19px; color: #ffe8e9; }
.cta-card h2 { position: relative; }
.cta-snow { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(2px 2px at 80px 120px, #fff, transparent), radial-gradient(3px 3px at 160px 60px, rgba(255,255,255,.8), transparent), radial-gradient(2px 2px at 240px 150px, #fff, transparent); background-size: 280px 200px; opacity: .45; pointer-events: none; }

/* ---------- Page hero (clips / share) ---------- */
.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 66px); margin: 0 0 10px; line-height: 1.05; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 18px; }
.filters { display: inline-flex; gap: 8px; margin-top: 28px; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 6px; border-radius: 999px; flex-wrap: wrap; justify-content: center; }
.chip { font: inherit; font-weight: 800; font-size: 15px; border: 0; padding: 9px 18px; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { color: #fff; }
.chip.is-active { background: #fff; color: var(--red-deep); }

/* Clips grid */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; padding: 20px 0 100px; }
.clip {
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left;
  font: inherit; color: inherit; padding: 0; transition: transform .25s, border-color .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.clip:hover, .clip:focus-visible { transform: translateY(-6px); border-color: rgba(255,64,72,.55); box-shadow: 0 20px 40px rgba(0,0,0,.4); outline: none; }
.clip-media { position: relative; aspect-ratio: 9 / 12; background: #000; overflow: hidden; }
.clip-media video, .clip-media img { width: 100%; height: 100%; object-fit: cover; }
.clip-link { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--night-3), #1d0e1d); font-family: var(--font-display); font-size: 28px; color: rgba(255,255,255,.85); }
.clip-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.clip-play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(227,38,47,.92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.clip:hover .clip-play span { transform: scale(1.1); }
.clip-play svg { width: 24px; height: 24px; margin-left: 4px; fill: #fff; }
.badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.badge.team { background: var(--red); }
.badge.pin { left: auto; right: 12px; background: var(--gold); color: #3a2a00; }
.clip-body { padding: 16px 18px 18px; }
.clip-body h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.3; }
.clip-meta { color: var(--muted); font-size: 14px; margin: 0; }
.skeleton { background: linear-gradient(90deg, var(--night-2), var(--night-3), var(--night-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); aspect-ratio: 9 / 14; }
@keyframes shimmer { to { background-position: -200% 0; } }

.empty { text-align: center; max-width: 520px; margin: 10px auto 100px; padding: 50px 30px; border: 2px dashed rgba(255,255,255,.18); border-radius: 28px; }
.empty-icon { font-size: 56px; }
.empty p { color: var(--muted); }

/* Share form */
.share-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 30px; align-items: start; padding-bottom: 100px; }
.share-form { background: var(--night-2); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 800; margin-bottom: 7px; font-size: 15px; }
.field em { color: var(--red-2); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6f7ea3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-2); background: rgba(255,255,255,.08); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drop { border: 2px dashed rgba(255,255,255,.22); border-radius: 18px; padding: 28px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-visible, .drop.is-over { border-color: var(--red-2); background: rgba(227,38,47,.07); outline: none; }
.drop-icon { font-size: 36px; }
.drop small { display: block; color: var(--muted); margin-top: 4px; }
.drop-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; word-break: break-all; text-align: left; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 18px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #cfd8f0; margin: 6px 0 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.progress { position: relative; height: 34px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 14px; }
.progress-bar { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--red-2) 14px 28px); transition: width .2s; animation: stripes 1s linear infinite; background-size: 40px 40px; }
@keyframes stripes { to { background-position: 40px 0; } }
.progress span { position: relative; display: grid; place-items: center; height: 100%; font-weight: 900; font-size: 14px; }
.form-msg { min-height: 1.4em; margin: 0 0 12px; font-weight: 800; }
.form-msg.error { color: #ff8a8f; }
.form-msg.ok { color: #6dffaa; }
.guidelines { background: linear-gradient(180deg, rgba(30,138,85,.16), rgba(30,138,85,.05)); border: 1px solid rgba(61,220,132,.25); border-radius: 28px; padding: 28px; position: sticky; top: 110px; }
.guidelines ul { padding-left: 18px; margin: 0; color: #cfe8db; }
.guidelines li { margin-bottom: 10px; }
.success { text-align: center; padding: 30px 10px; }
.success .big { font-size: 64px; }

/* Footer */
.footer { position: relative; background: #050915; border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 380px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.footer-links a { color: #dfe6fb; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--red-2); }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: #6f7ea3; font-size: 13px; }
.disclaimer p { margin: 0 0 8px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 15, .85); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(860px, 100%); max-height: 92vh; overflow: auto; background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.95); opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; cursor: pointer; }
.modal-media { background: #000; display: grid; place-items: center; }
.modal-media video, .modal-media img { width: 100%; max-height: 70vh; object-fit: contain; }
.modal-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.modal-link { padding: 60px 20px; text-align: center; }
.modal-body { padding: 22px 26px 26px; }
.modal-meta { color: var(--muted); margin: 0 0 10px; font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: #fff; color: var(--night); font-weight: 900; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 120; transition: transform .3s, opacity .3s, visibility .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* View transitions */
.view { animation: fadeIn .35s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: 1fr; gap: 50px; }
  .share-wrap { grid-template-columns: 1fr; }
  .guidelines { position: static; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(7, 13, 31, .98); border-bottom: 1px solid var(--line); padding: 16px 20px 22px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; font-size: 17px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 34px 22px; }
  .ornament { margin: 10px auto 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .brand img { height: 40px; }
  .hero { padding: 46px 0 140px; }
  .hero-scene { height: 150px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .share-form { padding: 22px; }
  .roadmap::before { left: 23px; }
  .phase { grid-template-columns: 56px 1fr; gap: 14px; }
  .phase-marker { width: 56px; height: 56px; }
  .phase-marker span { font-size: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.clip-grid:empty { padding: 0; }
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; gap: 4px; padding: 4px; }
  .chip { font-size: 14px; padding: 8px 12px; white-space: nowrap; }
}


/* ---------- Unified header ---------- */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px); }
.header-inner { max-width: 1240px; padding-top: 4px; gap: 18px; }
.brand { flex: none; }
.nav { flex: 1; justify-content: center; }
.nav a { white-space: nowrap; }
.nav a.nav-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta { text-decoration: none; font-weight: 800; font-size: 15px; padding: 9px 16px; border-radius: 999px; color: #fff; white-space: nowrap; background: var(--red); box-shadow: 0 6px 20px rgba(227,38,47,.4); transition: background .2s; }
.header-cta:hover, .header-cta.is-active { background: var(--red-2); }
.ca-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,207,90,.35); font-size: 13px; white-space: nowrap; }
.ca-pill.is-live { cursor: pointer; border-color: rgba(61,255,142,.45); }
.ca-pill.is-live:hover { background: rgba(255,255,255,.1); }
.ca-label { font-weight: 900; letter-spacing: .06em; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.ca-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: blink 1.6s infinite; }
.ca-pill.is-live .ca-label .dot { background: #3dff8e; box-shadow: 0 0 8px #3dff8e; }
.ca-value { color: #e7ecfb; font-size: 13px; padding-right: 6px; }
.ca-copy { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.ca-copy svg { width: 15px; height: 15px; }
.ca-copy:hover { background: rgba(255,255,255,.25); }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #fff; transition: background .2s, transform .2s; flex: none; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: #fff; color: #000; transform: translateY(-1px); }
.mini-btn { text-decoration: none; }
.mini-btn--red { background: var(--red); border-color: var(--red); }
.mini-btn--red:hover { background: var(--red-2); }

@media (max-width: 1120px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .header-cta { font-size: 14px; padding: 9px 13px; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(7, 13, 31, .98); border-bottom: 1px solid var(--line); padding: 16px 20px 22px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; font-size: 17px; }
  .nav a.nav-mobile { display: block; margin: 8px 0 0; text-align: center; }
  .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; padding-left: 14px; padding-right: 10px; }
  .header-actions { gap: 6px; }
  .brand img { height: 34px; }
  .ca-pill { padding: 0 4px 0 10px; gap: 6px; height: 34px; }
  .ca-value { max-width: 92px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .icon-btn { width: 34px; height: 34px; }
  .burger { width: 40px; padding: 9px 8px; }
}
