:root {
  --bg: #040405;
  --bg-2: #09080a;
  --paper: #f1efe7;
  --muted: #9d9695;
  --red: #b40018;
  --red-2: #ff002a;
  --wine: #390009;
  --line: rgba(255,255,255,.11);
  --glass: rgba(255,255,255,.06);
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, #1b0206 0, transparent 32%), var(--bg);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

#blood-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .55;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.8) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(115deg, rgba(255,255,255,.14) 0 1px, transparent 1px 7px);
  background-size: 190px 190px, 120px 120px;
  animation: grainMove 7s steps(4) infinite;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,0,42,.18), transparent 62%);
  pointer-events: none;
  z-index: -1;
  opacity: .9;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(4,4,5,.82), rgba(4,4,5,.12));
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(255,0,42,.35);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(241,239,231,.72);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.nav a:hover { color: var(--paper); text-shadow: 0 0 18px rgba(255,0,42,.65); }

.sound-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  cursor: pointer;
}

.section {
  position: relative;
  padding: clamp(86px, 10vw, 150px) clamp(18px, 4vw, 64px);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(24px, 5vw, 84px);
  padding-top: 120px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% -15%;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(180,0,24,.28), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,4,5,.94) 0%, rgba(4,4,5,.66) 43%, rgba(4,4,5,.9) 100%),
    linear-gradient(0deg, rgba(4,4,5,1), transparent 45%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.45) contrast(1.25) brightness(.7);
}

.hero-copy { max-width: 870px; z-index: 2; }
.overline, .section-kicker {
  color: var(--red-2);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1, .huge-line {
  font-size: clamp(56px, 11vw, 164px);
  line-height: .78;
  letter-spacing: -.08em;
  margin: 16px 0 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.glitch { position: relative; text-shadow: 0 0 34px rgba(255,0,42,.22); }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
}
.glitch::before { color: var(--red-2); transform: translate(2px, -2px); clip-path: inset(0 0 58% 0); animation: glitch 2.4s infinite; }
.glitch::after { color: #56f3ff; transform: translate(-2px, 2px); clip-path: inset(55% 0 0 0); animation: glitch 3.1s infinite reverse; }

.lead {
  max-width: 660px;
  color: rgba(241,239,231,.74);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions, .gate-actions, .join-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  border-color: rgba(255,0,42,.55);
  background: linear-gradient(135deg, #ff002a, #60000d 62%, #160005);
  box-shadow: 0 18px 50px rgba(180,0,24,.36), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn.glass, .btn.ghost {
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}
.btn.ghost:hover, .btn.glass:hover { border-color: rgba(255,255,255,.35); }

.hero-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  background: var(--glass);
}
.hero-card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; filter: contrast(1.08) saturate(.86); }
.card-caption, .photo-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}
.card-caption strong { font-size: 20px; color: var(--red-2); letter-spacing: .02em; }

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  gap: 34px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: rgba(241,239,231,.22);
  font-weight: 950;
  animation: ticker 16s linear infinite;
}
.ticker span { flex: 0 0 auto; }

.story { border-top: 1px solid var(--line); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .68fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
}
h2 {
  font-size: clamp(36px, 6vw, 92px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 12px 0 0;
  text-transform: uppercase;
}
.copy-block {
  color: rgba(241,239,231,.68);
  font-size: 18px;
  line-height: 1.65;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(260px, 480px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: center;
}
.proof-grid { display: grid; gap: 16px; }
.stat-card {
  padding: 24px;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(9,8,10,.65);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.stat-card span {
  color: var(--red-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 900;
}
.stat-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: .88;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.stat-card p { color: rgba(241,239,231,.62); line-height: 1.5; margin-bottom: 0; }
.stat-card.blood { background: linear-gradient(145deg, rgba(180,0,24,.34), rgba(255,255,255,.025)); }

.feature-shot {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-shot img { width: 100%; max-height: 760px; object-fit: cover; filter: contrast(1.1) saturate(.92); }
.photo-label { right: auto; width: max-content; max-width: calc(100% - 36px); color: var(--paper); }

.manifesto {
  min-height: 72svh;
  display: grid;
  align-content: center;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 25%, rgba(180,0,24,.26), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,0));
}
.huge-line { margin: 0; max-width: 1200px; }
.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}
.manifesto-cards div {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255,255,255,.04);
}
.manifesto-cards b {
  color: var(--red-2);
  margin-right: 10px;
}
.manifesto-cards span { color: rgba(241,239,231,.7); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }

.gallery-section h2 { max-width: 930px; }
.gallery {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 14px;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 45%);
  opacity: .85;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
  filter: saturate(.82) contrast(1.04) brightness(.86);
}
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.12) brightness(.96); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  font-weight: 900;
  color: rgba(241,239,231,.78);
}

.join { padding-bottom: clamp(90px, 12vw, 170px); }
.join-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 86px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(180,0,24,.24), rgba(255,255,255,.04)),
    radial-gradient(circle at 80% 10%, rgba(255,0,42,.22), transparent 35%);
  box-shadow: var(--shadow);
  text-align: center;
}
.join-inner h2 { margin-top: 8px; }
.join-inner p:not(.overline) { max-width: 650px; margin: 20px auto 0; color: rgba(241,239,231,.68); font-size: 18px; line-height: 1.6; }
.join-actions { justify-content: center; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: rgba(241,239,231,.42);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

.sound-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 65% 20%, rgba(180,0,24,.32), transparent 35%),
    rgba(0,0,0,.82);
  backdrop-filter: blur(22px);
}
.sound-gate.hide { opacity: 0; visibility: hidden; pointer-events: none; transition: .35s ease; }
.gate-card {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}
.gate-card h1 {
  font-size: clamp(44px, 8vw, 86px);
  line-height: .86;
  letter-spacing: -.07em;
  margin: 10px 0 18px;
  text-transform: uppercase;
}
.gate-card p { color: rgba(241,239,231,.7); line-height: 1.55; }
.gate-card small { display: block; margin-top: 22px; color: rgba(241,239,231,.4); }

@keyframes glitch {
  0%, 100% { transform: translate(0,0); opacity: .25; }
  18% { transform: translate(4px,-2px); opacity: .55; }
  20% { transform: translate(-2px,2px); opacity: .32; }
  52% { transform: translate(2px,3px); opacity: .48; }
  54% { transform: translate(0,0); opacity: .22; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes grainMove { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-2%, 1%); } 50% { transform: translate(1%, -2%); } 75% { transform: translate(2%, 2%); } }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { max-width: 360px; transform: none; }
  .split, .proof { grid-template-columns: 1fr; }
  .manifesto-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .gallery .wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 16px; }
  .brand span:last-child { display: none; }
  .section { padding-inline: 16px; }
  .hero { padding-top: 96px; }
  .hero h1, .huge-line { font-size: clamp(52px, 18vw, 86px); }
  .lead { font-size: 16px; }
  .btn { width: 100%; }
  .hero-actions, .join-actions, .gate-actions { width: 100%; }
  .copy-block { border-left: 0; padding-left: 0; }
  .manifesto-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
  .footer { flex-direction: column; }
}

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

/* v2: Cloudflare-ready fixes: language switcher, full-photo gallery, webinar warm-up */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
}
.lang-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(241,239,231,.55);
  padding: 7px 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.lang-btn.active {
  color: var(--bg);
  background: var(--paper);
  box-shadow: 0 0 22px rgba(255,0,42,.22);
}

/* Full-view masonry gallery: no brutal crops, the whole photo stays visible. */
.gallery {
  margin-top: 38px;
  display: block;
  columns: 3 320px;
  column-gap: 16px;
}
.gallery figure,
.gallery .wide,
.gallery .tall {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.9) contrast(1.05) brightness(.9);
}
.gallery figure:hover img {
  transform: scale(1.015);
  filter: saturate(1.02) contrast(1.1) brightness(.98);
}
.gallery figure::after {
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent 33%);
}

.webinars {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,0,42,.18), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,0));
}
.webinar-panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(180,0,24,.22), rgba(255,255,255,.04)),
    rgba(9,8,10,.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.webinar-panel::before {
  content: "OPEN SOON";
  position: absolute;
  right: -32px;
  top: 26px;
  transform: rotate(12deg);
  color: rgba(255,255,255,.035);
  font-size: clamp(54px, 9vw, 146px);
  font-weight: 950;
  letter-spacing: -.08em;
  pointer-events: none;
}
.webinar-copy { position: relative; z-index: 1; }
.webinar-copy h2 { margin-top: 10px; }
.webinar-copy p:not(.overline) {
  max-width: 760px;
  color: rgba(241,239,231,.7);
  font-size: 18px;
  line-height: 1.65;
}
.webinar-note {
  padding: 16px 18px;
  border: 1px solid rgba(255,0,42,.28);
  border-radius: 20px;
  background: rgba(0,0,0,.24);
}
.webinar-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.webinar-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.webinar-list span {
  color: var(--red-2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .2em;
}
.webinar-list b {
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: .95;
}
.webinar-list p {
  color: rgba(241,239,231,.62);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .header-actions { gap: 8px; }
  .webinar-panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .header-actions { margin-left: auto; }
  .sound-toggle { padding: 9px 11px; }
  .lang-btn { padding: 7px 8px; }
  .gallery { columns: 1; }
}
