/* =========================================================
   SIGNS GLOBAL — "Cosmic Neon" design system
   Palette taken from the brand: nebula magenta/violet (banner),
   DNA cyan (videos), sacred gold (Instagram quote posts).
   ========================================================= */
:root {
  --bg: #06030f;
  --bg-2: #0d0820;
  --ink: #f4f1ff;
  --muted: #a49cc4;
  --line: rgba(255,255,255,.09);
  --violet: #8b5cf6;
  --magenta: #e2338f;
  --cyan: #22d3ee;
  --gold: #f5b942;
  --grad: linear-gradient(100deg, #22d3ee 0%, #8b5cf6 45%, #e2338f 100%);
  --grad-gold: linear-gradient(100deg, #f5b942, #ffe1a0 50%, #f5b942);
  --radius: 22px;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--magenta); color: #fff; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
  transition: clip-path 1.1s var(--ease);
  clip-path: circle(150% at 50% 50%);
}
.preloader.done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.pre-word { font-family: var(--display); font-size: clamp(64px, 14vw, 160px); letter-spacing: .06em; display: flex; }
.pre-word span {
  opacity: 0; transform: translateY(60%) scale(.8); filter: blur(10px);
  animation: preIn .9s var(--ease) forwards;
  text-shadow: -4px 0 var(--cyan), 4px 0 var(--magenta);
}
.pre-word span:nth-child(2) { animation-delay: .08s; }
.pre-word span:nth-child(3) { animation-delay: .16s; }
.pre-word span:nth-child(4) { animation-delay: .24s; }
.pre-word span:nth-child(5) { animation-delay: .32s; }
@keyframes preIn { to { opacity: 1; transform: none; filter: none; text-shadow: -2px 0 var(--cyan), 2px 0 var(--magenta); } }
.pre-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.pre-bar i { display: block; height: 100%; width: 0; background: var(--grad); animation: bar 1.4s var(--ease) forwards; }
@keyframes bar { to { width: 100%; } }

/* ---------- Progress & cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px var(--magenta); }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; z-index: 1; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139,92,246,.16), transparent 60%);
  mix-blend-mode: screen; transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1240px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 14px 10px 22px; border-radius: 999px;
  background: rgba(10, 6, 25, .35); border: 1px solid transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .4s, border-color .4s, top .4s, transform .5s var(--ease);
}
.nav.scrolled { background: rgba(10, 6, 25, .78); border-color: var(--line); top: 10px; }
.nav.hide { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.logo-mark { font-family: var(--display); font-size: 30px; letter-spacing: .06em; text-shadow: -1.5px 0 var(--cyan), 1.5px 0 var(--magenta); }
.logo-sub { font-size: 10px; letter-spacing: .4em; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 14px; color: #d6d0ef; border-radius: 999px; transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 23px; }
.burger.open i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.open i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, border-color .35s;
  will-change: transform; white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 40px -10px rgba(226,51,143,.7); animation: gradShift 6s linear infinite; }
.btn-primary:hover { box-shadow: 0 14px 50px -8px rgba(139,92,246,.9); }
@keyframes gradShift { 50% { background-position: 100% 0; } }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.play-ic { width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
#space, #dna { position: absolute; inset: 0; width: 100%; height: 100%; }
#space { z-index: -3; }
#dna { z-index: -1; opacity: .85; }
.nebula { position: absolute; z-index: -2; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.n1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: radial-gradient(circle, #6d28d9, transparent 65%); }
.n2 { width: 55vw; height: 55vw; right: -18vw; top: 5vh; background: radial-gradient(circle, #be185d, transparent 65%); animation-duration: 28s; }
.n3 { width: 45vw; height: 45vw; left: 25vw; bottom: -25vw; background: radial-gradient(circle, #0e7490, transparent 65%); animation-duration: 18s; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.15); } }

.hero-inner { text-align: center; padding: 120px 20px 80px; position: relative; z-index: 2; }
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 18px; }
.glitch {
  position: relative; font-family: var(--display); font-weight: 400; line-height: .85;
  font-size: clamp(110px, 24vw, 340px); letter-spacing: .05em;
  background: linear-gradient(180deg, #fff 30%, #c9bff5); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(139,92,246,.45));
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; -webkit-background-clip: initial; background: none;
}
.glitch::before { color: var(--cyan); transform: translateX(-6px); mix-blend-mode: screen; opacity: .8; z-index: -1; animation: glitchA 4s infinite steps(1); }
.glitch::after  { color: var(--magenta); transform: translateX(6px); mix-blend-mode: screen; opacity: .8; z-index: -1; animation: glitchB 4s infinite steps(1); }
@keyframes glitchA {
  0%, 86%, 100% { clip-path: inset(0 0 0 0); transform: translateX(-6px); }
  88% { clip-path: inset(20% 0 55% 0); transform: translateX(-18px); }
  90% { clip-path: inset(62% 0 8% 0); transform: translateX(12px); }
  92% { clip-path: inset(40% 0 30% 0); transform: translateX(-8px); }
}
@keyframes glitchB {
  0%, 86%, 100% { clip-path: inset(0 0 0 0); transform: translateX(6px); }
  88% { clip-path: inset(70% 0 5% 0); transform: translateX(16px); }
  90% { clip-path: inset(10% 0 70% 0); transform: translateX(-14px); }
  92% { clip-path: inset(45% 0 35% 0); transform: translateX(10px); }
}
.hero-lead { font-size: clamp(18px, 2.2vw, 24px); color: #d9d3f3; max-width: 680px; margin: 22px auto 36px; font-weight: 300; }
.rotator { position: relative; display: inline-grid; justify-items: start; text-align: left; vertical-align: bottom; height: 1.35em; overflow: hidden; }
.rotator b { grid-area: 1/1; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%); transition: transform .7s var(--ease); }
.rotator b.on { transform: none; }
.rotator b.off { transform: translateY(-110%); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-orbit { position: absolute; bottom: 92px; left: 0; right: 0; display: flex; justify-content: center; gap: clamp(14px, 4vw, 48px); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.4); flex-wrap: wrap; padding: 0 16px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 20px 0; background: var(--grad); transform: rotate(-2deg) scale(1.04); margin: -30px 0 20px; box-shadow: 0 20px 60px -20px rgba(226,51,143,.6); }
.ticker-track { display: flex; gap: 36px; width: max-content; animation: tick 40s linear infinite; align-items: center; }
.ticker span { font-family: var(--display); font-size: 34px; letter-spacing: .06em; color: #fff; }
.ticker em { font-style: normal; color: rgba(255,255,255,.7); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1200px; margin: 80px auto 0; padding: 0 20px; }
.stat { text-align: center; padding: 28px 10px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 130px 20px 40px; position: relative; z-index: 2; }
.section-head { margin-bottom: 50px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: .01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); max-width: 520px; margin-top: 16px; font-size: 17px; }
.center { text-align: center; margin-top: 40px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  --c: var(--violet);
  position: relative; min-height: 260px; padding: 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); cursor: pointer;
  transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 35%, transparent), transparent 45%); opacity: 0; transition: opacity .4s; }
.cat:hover::before { opacity: 1; }
.cat:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.cat-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; transform: scale(1.1); transition: opacity .6s, transform 1.2s var(--ease); filter: saturate(1.3); }
.cat:hover .cat-bg { opacity: .42; transform: scale(1); }
.cat > * { position: relative; }
.cat-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--c) 25%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); color: #fff; box-shadow: 0 0 30px color-mix(in srgb, var(--c) 40%, transparent); }
.cat h3 { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: .02em; line-height: 1; margin-top: 50px; }
.cat p { color: #cfc8ea; font-size: 14.5px; margin-top: 8px; }
.cat-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.cat-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .4s var(--ease), background .4s; }
.cat:hover .cat-arrow { transform: rotate(-45deg); background: var(--c); border-color: var(--c); }

/* ---------- Films ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: #d0c9ea; transition: all .3s; }
.chip:hover { border-color: rgba(255,255,255,.35); }
.chip.active { background: #fff; color: #120a26; border-color: #fff; font-weight: 600; }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.film { cursor: pointer; animation: filmIn .7s var(--ease) both; }
@keyframes filmIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.film-thumb { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.film:hover .film-thumb img { transform: scale(1.08); filter: saturate(1.25) brightness(.75); }
.film-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.film-play { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.4); transition: all .45s var(--ease); }
.film-play::before { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.film:hover .film-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.film-dur { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.7); }
.film-tag { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px); background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.15); }
.film h4 { font-size: 16px; font-weight: 600; margin-top: 14px; line-height: 1.35; transition: color .3s; }
.film:hover h4 { color: var(--cyan); }



/* ---------- Verse ---------- */
.verse { position: relative; text-align: center; padding: 200px 20px; margin-top: 120px; overflow: hidden; }
.verse-bg { position: absolute; inset: -20%; background: radial-gradient(ellipse at center, rgba(245,185,66,.18), transparent 55%), radial-gradient(ellipse at 30% 70%, rgba(139,92,246,.25), transparent 50%); will-change: transform; }
.verse-ar { position: relative; font-family: "Amiri", serif; font-size: clamp(40px, 6vw, 80px); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.6; }
.verse-en { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.5vw, 62px); line-height: 1.2; max-width: 1000px; margin: 20px auto; }
.verse-en .w { display: inline-block; opacity: .12; transition: opacity .4s, filter .4s; filter: blur(2px); }
.verse-en .w.lit { opacity: 1; filter: none; }
.verse-ref { position: relative; color: var(--gold); letter-spacing: .25em; font-size: 12px; text-transform: uppercase; font-weight: 600; }

/* ---------- Articles ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.025); min-height: 230px; display: flex; flex-direction: column; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.art:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.25); }
.art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--grad)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.art:hover::after { transform: scaleX(1); }
.art-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.art h4 { font-size: 21px; line-height: 1.3; margin: 16px 0 auto; font-weight: 600; }
.art-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin-top: 26px; }
.art-num { position: absolute; right: 18px; top: 8px; font-family: var(--display); font-size: 90px; line-height: 1; color: rgba(255,255,255,.04); }

/* ---------- Voices ---------- */
.voice-stage { position: relative; border-radius: 30px; padding: clamp(30px, 6vw, 80px); background: linear-gradient(135deg, rgba(139,92,246,.14), rgba(226,51,143,.08)); border: 1px solid var(--line); overflow: hidden; min-height: 400px; }
.voice-stage::before { content: "“"; position: absolute; left: 30px; top: -40px; font-family: var(--serif); font-size: 340px; line-height: 1; color: rgba(255,255,255,.05); }
.voice-track { position: relative; min-height: 240px; }
.voice { position: absolute; inset: 0; opacity: 0; transform: translateX(60px); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.voice.on { opacity: 1; transform: none; pointer-events: auto; }
.voice.out { transform: translateX(-60px); }
.voice blockquote { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 42px); line-height: 1.25; max-width: 980px; }
.voice-who { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.voice-av { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--display); font-size: 22px; }
.voice-who b { display: block; font-size: 17px; }
.voice-who span { color: var(--muted); font-size: 14px; }
.voice-nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.voice-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); font-size: 18px; transition: all .3s; }
.voice-nav button:hover { background: #fff; color: #120a26; }
.voice-count { color: var(--muted); font-size: 14px; }
.voice-count b { color: #fff; }

/* ---------- Gallery ---------- */

/* ---------- Academy ---------- */
.academy { position: relative; max-width: 1200px; margin: 140px auto 0; padding: 90px 30px; text-align: center; border-radius: 36px; overflow: hidden; border: 1px solid var(--line); background: #0a0618; }
.academy-glow { position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(34,211,238,.35), transparent 30%, rgba(226,51,143,.35), transparent 60%); animation: spin 14s linear infinite; }
.academy::after { content: ""; position: absolute; inset: 1px; border-radius: 35px; background: radial-gradient(ellipse at top, #160d33, #08051a 70%); z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.academy > *:not(.academy-glow) { position: relative; z-index: 1; }
.academy h2 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 10vw, 140px); line-height: .9; letter-spacing: .03em; }
.academy h2 span { color: var(--cyan); }
.academy p:not(.eyebrow) { color: var(--muted); max-width: 520px; margin: 18px auto 32px; font-size: 17px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text p:not(.eyebrow) { color: #cfc8ea; font-size: 18px; margin-top: 22px; max-width: 580px; }
.about-orb { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orb { width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #a78bfa 20%, #7c3aed 45%, #be185d 75%, #1e0a3c); box-shadow: 0 0 80px rgba(139,92,246,.7), 0 0 160px rgba(226,51,143,.35); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.ring::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: -5px; left: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.r1 { inset: 18%; animation: spin 9s linear infinite; }
.r2 { inset: 8%; animation: spin 16s linear infinite reverse; }
.r2::after { background: var(--magenta); box-shadow: 0 0 14px var(--magenta); }
.r3 { inset: 0; border-style: dashed; animation: spin 30s linear infinite; }
.r3::after { background: var(--gold); box-shadow: 0 0 14px var(--gold); }


/* ---------- Footer ---------- */
.footer { margin-top: 140px; padding: 0 20px 30px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-big { font-family: var(--display); font-size: min(28vw, 380px); line-height: 1.12; padding: .04em 0 0; text-align: center; letter-spacing: .04em; background: linear-gradient(180deg, rgba(255,255,255,.2) 18%, rgba(255,255,255,.05) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 30px; user-select: none; }
.foot-row { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 20px; flex-wrap: wrap; }
.socials a:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: none; padding: 16px; }
.modal-wipe { position: absolute; inset: 0; background: rgba(6,3,15,.94); backdrop-filter: blur(10px); clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .8s var(--ease); }
.modal.open { pointer-events: auto; }
.modal.open .modal-wipe { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.modal-box { position: relative; width: min(1100px, 100%); opacity: 0; transform: scale(.92) translateY(30px); transition: all .6s var(--ease) .15s; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-frame { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(139,92,246,.6); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-title { margin-top: 16px; font-size: 18px; font-weight: 600; }
.modal-close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.modal-close:hover { background: #fff; color: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .art-grid { grid-template-columns: repeat(2, 1fr); }
  .film-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-orb { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-right .btn { display: none; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 14px;
    border-radius: 24px; background: rgba(10,6,25,.96); border: 1px solid var(--line);
    clip-path: inset(0 0 100% 0 round 24px); transition: clip-path .6s var(--ease);
  }
  .nav-links.open { clip-path: inset(0 0 0 0 round 24px); }
  .nav-links a { font-family: var(--display); font-size: 34px; padding: 6px 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .br-d { display: none; }
}
@media (max-width: 600px) {
  .cat-grid, .art-grid, .film-grid { grid-template-columns: 1fr; }
  .feat-grid .film { grid-column: auto !important; grid-row: auto !important; }
  .hero-orbit { display: none; }
  .ticker span { font-size: 26px; }
  .section { padding-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   v2 — new sections & pages
   ========================================================= */

/* ---------- Featured films (home): 1 large + 4 + 2 wide ---------- */
.feat-grid { grid-template-columns: repeat(4, 1fr); }
.feat-grid .film:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.feat-grid .film:nth-child(1) h4 { font-size: 24px; }
.feat-grid .film:nth-child(6), .feat-grid .film:nth-child(7) { grid-column: span 2; }
.film-views { font-size: 13px; color: var(--cyan); margin-top: 4px; font-weight: 500; }

/* ---------- SIGNS — "manuscript" style, deliberately different from the neon site ---------- */
.sg-home {
  position: relative; overflow: hidden; text-align: center; color: #f3e6c4;
  margin-top: 130px; padding: 170px 20px 150px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #2b1e08 0%, #120c04 45%, #0a0704 75%, var(--bg) 100%);
}
.sg-home::before, .sg-home::after { content: ""; position: absolute; left: 0; right: 0; height: 160px; pointer-events: none; z-index: 1; }
.sg-home::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.sg-home::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.sg-pattern {
  position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f5b942' stroke-width='.8'%3E%3Crect x='35' y='35' width='50' height='50'/%3E%3Crect x='35' y='35' width='50' height='50' transform='rotate(45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Cpath d='M0 60h25M95 60h25M60 0v25M60 95v25'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%); mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: spin 240s linear infinite;
}
.sg-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.sg-eyebrow { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .5em; color: #c9a24a; text-transform: uppercase; }
.sg-word {
  font-family: "Cinzel", serif; font-weight: 400; line-height: 1; margin: 26px 0 18px;
  font-size: clamp(76px, 15vw, 230px); letter-spacing: .22em; padding-left: .22em;
  display: flex; justify-content: center;
}
.sg-word span {
  background: linear-gradient(180deg, #fff3cf 0%, #f5c96a 45%, #a8741f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(245,185,66,.25));
  display: inline-block; opacity: 0; transform: translateY(30px) scale(.94); filter: blur(10px);
  transition: opacity 1.6s var(--ease), transform 1.8s var(--ease), filter 1.6s var(--ease);
}
.sg-word.in span { opacity: 1; transform: none; filter: drop-shadow(0 0 30px rgba(245,185,66,.25)); }
.sg-word.in span:nth-child(2) { transition-delay: .12s; } .sg-word.in span:nth-child(3) { transition-delay: .24s; }
.sg-word.in span:nth-child(4) { transition-delay: .36s; } .sg-word.in span:nth-child(5) { transition-delay: .48s; }
.sg-word.reveal { transform: none; filter: none; }
.sg-verse { font-family: "Amiri", serif; font-size: clamp(26px, 3.4vw, 40px); color: #e9c46a; line-height: 1.7; }
.sg-trans { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); color: #d8c8a2; margin-top: 6px; }
.sg-trans span { display: block; font-style: normal; font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .35em; color: #a8873f; margin-top: 10px; text-transform: uppercase; }
.sg-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 80px auto 50px; }
.sg-door {
  position: relative; display: flex; flex-direction: column; align-items: center; padding: 56px 36px 44px;
  border: 1px solid rgba(245,185,66,.28); outline: 1px solid rgba(245,185,66,.12); outline-offset: -11px;
  background: linear-gradient(180deg, rgba(43,30,8,.55), rgba(10,7,4,.4));
  transition: border-color .6s, background .6s, transform .8s var(--ease), opacity 1.2s var(--ease), filter 1.2s var(--ease);
}
.sg-door::before, .sg-door::after { content: "◆"; position: absolute; left: 50%; transform: translateX(-50%); font-size: 10px; color: #c9a24a; background: #110b04; padding: 0 10px; }
.sg-door::before { top: -8px; } .sg-door::after { bottom: -8px; }
.sg-door:hover { border-color: rgba(245,185,66,.7); background: linear-gradient(180deg, rgba(60,42,10,.7), rgba(16,11,5,.5)); transform: translateY(-6px); }
.sg-num { font-family: "Cinzel", serif; font-size: 50px; color: #e0b155; line-height: 1; }
.sg-door h3, .sg-group-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin-top: 18px; color: #fbf1d8; }
.sg-rule { display: block; width: 46px; height: 1px; background: #c9a24a; margin: 22px auto; transition: width .8s var(--ease); }
.sg-door:hover .sg-rule { width: 140px; }
.sg-door p, .sg-group-head p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: #cdbd97; max-width: 380px; }
.sg-count { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .3em; color: #a8873f; margin-top: 26px; text-transform: uppercase; }
.sg-link { font-family: "Cinzel", serif; letter-spacing: .3em; font-size: 14px; color: #e9c46a; text-transform: uppercase; display: inline-flex; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(233,196,106,.4); transition: gap .5s var(--ease), border-color .4s; }
.sg-link:hover { gap: 22px; border-color: #e9c46a; }

/* SIGNS page */
body.signs-theme { --bg: #0a0704; }
body.signs-theme .progress { background: linear-gradient(90deg, #a8741f, #f5c96a); box-shadow: 0 0 12px #c9a24a; }
body.signs-theme .cursor-glow { background: radial-gradient(circle, rgba(245,185,66,.1), transparent 60%); }
.sg-page-hero { margin-top: 0; padding-top: 190px; }
.sg-groups { background: #0a0704; color: #f3e6c4; }
.sg-group { max-width: 980px; margin: 0 auto; padding: 110px 20px 40px; scroll-margin-top: 60px; }
.sg-group-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 50px; }
.sg-group-head h2 { font-size: clamp(36px, 5vw, 60px); }
.sg-list { list-style: none; border-bottom: 1px solid rgba(245,185,66,.18); }
.sg-list a { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; padding: 30px 10px; border-top: 1px solid rgba(245,185,66,.18); overflow: hidden; }
.sg-list a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,185,66,.1), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.sg-list a:hover::before { transform: scaleX(1); }
.sg-li-n { font-family: "Cinzel", serif; font-size: 22px; color: #c9a24a; }
.sg-li-t { position: relative; display: grid; gap: 4px; transition: transform .6s var(--ease); }
.sg-list a:hover .sg-li-t { transform: translateX(12px); }
.sg-li-t b { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); color: #fbf1d8; }
.sg-li-t em { font-family: var(--serif); font-size: 18px; color: #b9a67c; }
.sg-li-a { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .3em; color: #a8873f; text-transform: uppercase; }

/* ---------- Evidence (home) ---------- */
.ev-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; align-items: start; }
.ev-side { position: sticky; top: 130px; }
.ev-side .btn { margin-top: 30px; }
.ev-list { border-top: 1px solid var(--line); }
.ev-item { position: relative; display: grid; grid-template-columns: 60px 1fr 40px; gap: 16px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); overflow: hidden; }
.ev-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,211,238,.12), rgba(139,92,246,.06), transparent); transform: translateX(-101%); transition: transform .8s var(--ease); }
.ev-item:hover::before { transform: none; }
.ev-item > * { position: relative; }
.ev-n { font-family: var(--display); font-size: 34px; color: rgba(255,255,255,.25); transition: color .4s; }
.ev-item:hover .ev-n { color: var(--cyan); }
.ev-item h4 { font-size: 21px; font-weight: 600; }
.ev-item p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.ev-arrow { font-size: 20px; transition: transform .5s var(--ease); }
.ev-item:hover .ev-arrow { transform: translateX(8px); color: var(--cyan); }

/* ---------- Materialism (home) ---------- */
.mat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mat-panel {
  --c: #fb923c;
  position: relative; padding: 44px 40px 40px; border-radius: 28px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, transparent), rgba(255,255,255,.015) 60%);
  transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.mat-panel:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); }
.mat-crack {
  position: absolute; right: -10px; top: -10px; width: 260px; height: 320px; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 320'%3E%3Cg fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M250 0 L200 60 L215 95 L160 150 L175 190 L120 250 L130 320'/%3E%3Cpath d='M200 60 L240 110 M160 150 L120 140 L90 170 M175 190 L215 230 M120 250 L70 260'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  clip-path: inset(0 0 100% 0); transition: clip-path 2.2s var(--ease) .3s;
}
.mat-panel.in .mat-crack { clip-path: inset(0 0 0 0); }
.mat-panel h3 { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.5vw, 60px); line-height: .95; }
.mat-desc { position: relative; color: #cfc8ea; margin: 14px 0 22px; max-width: 420px; }
.mat-panel ul { position: relative; list-style: none; margin-bottom: 28px; }
.mat-panel li a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; transition: color .3s, padding .4s var(--ease); }
.mat-panel li a:hover { color: var(--c); padding-left: 8px; }
.mat-panel li i { font-style: normal; opacity: .5; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 64vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 150px 20px 70px; }
.page-hero #space { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.page-hero-inner { max-width: 960px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 11vw, 160px); line-height: .9; }
.page-hero .sub { margin: 20px auto 0; }

/* materialism page */
.mat-hero .page-title .grad { position: relative; display: inline-block; animation: crumble 7s var(--ease) infinite; }
@keyframes crumble {
  0%, 70%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: none; }
  74% { clip-path: polygon(0 0, 100% 0, 100% 45%, 60% 55%, 40% 48%, 0 60%); transform: translateY(2px); }
  78% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: none; }
}
.mat-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.mat-tab { display: grid; gap: 2px; padding: 14px 26px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); font-weight: 600; transition: all .4s var(--ease); }
.mat-tab span { font-size: 11px; letter-spacing: .25em; color: var(--c); text-transform: uppercase; }
.mat-tab:hover { background: color-mix(in srgb, var(--c) 22%, transparent); transform: translateY(-3px); }
.mat-groups { padding-top: 40px; }
.mat-group { padding: 60px 0; scroll-margin-top: 80px; }
.mat-group-head { margin-bottom: 40px; }
.mat-part { font-size: 12px; letter-spacing: .32em; font-weight: 700; color: var(--c); }
.mat-group-head .title { margin-top: 10px; }

/* ---------- Topic cards (evidence, materialism, related) ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic {
  --c: var(--cyan);
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.topic:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.topic-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.topic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.topic:hover .topic-media img { transform: scale(1.07); }
.topic-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,3,15,.8), transparent 60%); }
.topic-play { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .4s var(--ease); }
.topic-play::before { content: ""; border-left: 12px solid #06030f; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.topic-play:hover { transform: scale(1.12); }
.topic-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.topic-num { font-family: var(--display); font-size: 16px; letter-spacing: .1em; color: var(--c); }
.topic h4 { font-size: 21px; line-height: 1.25; margin: 6px 0 10px; font-weight: 600; }
.topic p { color: var(--muted); font-size: 15px; }
.topic-more { margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 600; color: var(--c); }
.topic-more i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.topic:hover .topic-more i { transform: translateX(6px); }

/* ---------- Film library ---------- */
.lib { padding-top: 30px; }
.lib-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; width: min(460px, 100%); padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); transition: border-color .3s; }
.search:focus-within { border-color: var(--cyan); }
.search span { color: var(--muted); font-size: 20px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; padding: 14px 4px; }
.lib-count { color: var(--muted); font-size: 14px; }
.chip small { font-size: 11px; opacity: .55; margin-left: 4px; }
.lib-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Article ---------- */
.a-head { position: relative; text-align: center; padding: 180px 20px 60px; overflow: hidden; isolation: isolate; }
.a-head .nebula { z-index: -1; opacity: .35; }
.a-section { display: inline-block; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; color: var(--cyan); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }
.a-title { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 8vw, 110px); line-height: .92; max-width: 1100px; margin: 24px auto 20px; }
.a-lead { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); color: #cfc8ea; max-width: 760px; margin: 0 auto; }
.a-meta { display: flex; gap: 10px; justify-content: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.a-wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.a-video { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; cursor: pointer; margin-bottom: 50px; box-shadow: 0 30px 80px -30px rgba(139,92,246,.6); }
.a-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.a-video:hover img { transform: scale(1.05); }
.a-video .film-play { opacity: 1; transform: translate(-50%, -50%); width: 84px; height: 84px; }
.a-body { font-size: 19px; line-height: 1.8; color: #e6e1f7; }
.a-body h2 { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; margin: 50px 0 18px; }
.a-body h3 { font-size: 22px; margin: 40px 0 14px; }
.a-body p { margin-bottom: 22px; }
.a-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.a-body blockquote { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; border-left: 3px solid var(--magenta); padding-left: 26px; margin: 40px 0; }
.a-body cite { display: block; font-family: var(--body); font-style: normal; font-size: 14px; color: var(--muted); margin-top: 12px; }
.a-soon { border: 1px dashed rgba(255,255,255,.25); border-radius: 18px; padding: 22px 26px; margin-bottom: 40px; background: rgba(255,255,255,.03); font-size: 16px; }
.a-soon .eyebrow { margin-bottom: 8px; }
.a-refs { color: var(--muted); font-size: 15px; padding-left: 20px; }
.a-back { margin: 30px 0 0; }

/* article in the SIGNS manuscript style */
.signs-theme .a-section { color: #e0b155; border-color: rgba(245,185,66,.3); font-family: "Cinzel", serif; }
.signs-theme .a-title { font-family: "Cinzel", serif; font-size: clamp(40px, 6vw, 84px); line-height: 1.1; background: linear-gradient(180deg, #fff3cf, #e0b155 60%, #a8741f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signs-theme .a-lead, .signs-theme .a-body { color: #e2d3ac; }
.signs-theme .a-body { font-family: var(--serif); font-size: 23px; }
.signs-theme .a-body h2 { font-family: "Cinzel", serif; font-size: 34px; color: #f5d27f; }
.signs-theme .a-body blockquote { border-color: #c9a24a; }
.signs-theme .a-head .nebula { background: radial-gradient(circle, #6b4a10, transparent 65%); }
.signs-theme .topic { --c: #e0b155 !important; }

/* ---------- Footer columns ---------- */
.foot-cols { max-width: 1240px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols b { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; }
.foot-cols a { color: var(--muted); font-size: 15px; transition: color .3s; }
.foot-cols a:hover { color: #fff; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid .film:nth-child(1) { grid-row: auto; }
  .feat-grid .film:nth-child(6), .feat-grid .film:nth-child(7) { grid-column: auto; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-layout { grid-template-columns: 1fr; gap: 40px; }
  .ev-side { position: static; }
  .mat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feat-grid, .topic-grid { grid-template-columns: 1fr; }
  .feat-grid .film:nth-child(1) { grid-column: auto; }
  .sg-doors { grid-template-columns: 1fr; }
  .sg-word { letter-spacing: .1em; padding-left: .1em; }
  .sg-list a { grid-template-columns: 44px 1fr; }
  .sg-li-a { display: none; }
  .mat-panel { padding: 34px 24px; }
  .foot-cols { grid-template-columns: 1fr; }
  .ev-item { grid-template-columns: 44px 1fr; }
  .ev-arrow { display: none; }
}
/* =========================================================
   v3 — Materialism structure, imported book, chapter page
   ========================================================= */

/* intro article card ("Start here") */
.mat-intro {
  position: relative; display: block; overflow: hidden; margin-bottom: 22px; padding: 40px 44px; border-radius: 28px;
  border: 1px solid rgba(251,146,60,.35);
  background: radial-gradient(ellipse at 100% 0%, rgba(251,146,60,.22), transparent 55%), linear-gradient(160deg, rgba(139,92,246,.14), rgba(255,255,255,.02));
  transition: border-color .4s, transform .6s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
}
.mat-intro:hover { border-color: rgba(251,146,60,.8); transform: translateY(-4px); }
.mat-intro-tag { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: #fb923c; }
.mat-intro h3 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: .95; margin: 12px 0 14px; }
.mat-intro p { color: #d6cfee; max-width: 720px; font-size: 17px; }
.mat-intro-go { display: inline-block; margin-top: 22px; font-weight: 600; color: #fb923c; transition: transform .5s var(--ease); }
.mat-intro:hover .mat-intro-go { transform: translateX(8px); }
.mat-intro-wrap { padding-top: 40px; padding-bottom: 0; }
.mat-panel li small { margin-left: auto; margin-right: 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }

/* sub-headings inside a part */
.sub-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sub-nav a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 14px; font-weight: 600; transition: background .3s; }
.sub-nav a b { color: var(--c); font-weight: 700; }
.sub-nav a:hover { background: color-mix(in srgb, var(--c) 16%, transparent); }
.mat-sub { padding: 40px 0 30px; scroll-margin-top: 90px; }
.mat-sub-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 0; margin-bottom: 26px; border-top: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.mat-sub-n { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--c); }
.mat-sub-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.mat-sub-head p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.mat-sub-count { font-size: 13px; color: var(--c); font-weight: 600; white-space: nowrap; }
.soon-box { display: flex; gap: 18px; align-items: center; padding: 26px 30px; border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 6%, transparent); }
.soon-box > span { font-size: 30px; color: var(--c); }
.soon-box p { color: var(--muted); font-size: 15px; }
.sub-films-t { margin: 46px 0 18px; }
.sub-films { grid-template-columns: repeat(3, 1fr); }

/* chapter cards (book) */
.chap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chap { --c: #fb923c; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.chap:hover { border-color: rgba(251,146,60,.6); transform: translateY(-5px); }
.chap-img { height: 150px; overflow: hidden; background: #f3efe6; display: grid; place-items: center; }
.chap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chap:hover .chap-img img { transform: scale(1.06); }
.chap-img span { font-family: var(--display); font-size: 70px; color: rgba(251,146,60,.6); }
.chap-img:has(span) { background: linear-gradient(135deg, rgba(251,146,60,.16), rgba(139,92,246,.12)); }
.chap-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.chap-n { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: #fb923c; }
.chap h4 { font-size: 19px; line-height: 1.25; margin: 8px 0; }
.chap p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chap-meta { margin-top: auto; padding-top: 14px; font-size: 12px; color: #cfc8ea; }

/* chapter page */
.crumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; opacity: .5; }
.c-start { margin-top: 30px; }
.c-wrap { max-width: 900px; }
.chap-list { list-style: none; border-top: 1px solid var(--line); }
.chap-list a { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); transition: background .4s; }
.chap-list a:hover { background: linear-gradient(90deg, rgba(251,146,60,.08), transparent); }
.cl-n { font-family: var(--display); font-size: 30px; color: rgba(255,255,255,.3); transition: color .3s; }
.chap-list a:hover .cl-n { color: #fb923c; }
.cl-t { display: grid; gap: 4px; }
.cl-t b { font-size: 19px; }
.cl-t em { font-style: normal; color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-t small { font-size: 12px; color: #fb923c; }
.chap-list img { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; background: #f3efe6; }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 50px 0 10px; }
.pn { display: grid; gap: 4px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.pn:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.pn small { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.pn b { font-size: 16px; line-height: 1.3; }
.pn.next { text-align: right; grid-column: 2; }

/* table of contents (book article) */
.toc ol { list-style: none; columns: 2 300px; column-gap: 30px; }
.toc li { break-inside: avoid; }
.toc a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: #d6cfee; font-size: 15px; }
.toc a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc li.here a { color: #fb923c; }
.toc li.here a { font-weight: 600; }

/* imported book article body */
.a-lead a { color: #fb923c; font-style: normal; font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.is-book .a-lead { font-size: 16px; }
.a-loading { color: var(--muted); }
.a-body figure { margin: 34px auto; text-align: center; }
.a-body figure img { display: inline-block; max-width: 100%; height: auto; border-radius: 14px; background: #fff; }
.a-body figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 10px; max-width: 620px; margin-inline: auto; }
.a-body blockquote p { margin: 0; }
.a-body blockquote p + p { margin-top: 12px; }
.a-body ul, .a-body ol { padding-left: 24px; margin-bottom: 22px; }
.a-body li { margin-bottom: 6px; }
.a-body sup.ref a { text-decoration: none; font-size: 12px; font-weight: 700; color: #fb923c; padding: 0 2px; }
.a-body [id] { scroll-margin-top: 100px; }
.a-body aside.elave { margin: 40px 0; padding: 26px 28px; border-radius: 20px; background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.3); font-size: 17px; }
.a-body aside.elave h3 { margin-top: 0; color: #c4b5fd; }
.a-body section.istinadlar { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.a-body section.istinadlar h2 { font-size: 30px; margin: 0 0 14px; color: var(--ink); }
.a-body section.istinadlar a { text-decoration: none; }
.lead-q { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.5; color: #fff; border-left: 3px solid #fb923c; padding-left: 22px; }
.claims { counter-reset: c; list-style: none; padding: 0 !important; }
.claims li { counter-increment: c; position: relative; padding: 16px 20px 16px 62px; margin-bottom: 12px; border-radius: 14px; background: rgba(251,146,60,.08); border: 1px solid rgba(251,146,60,.25); }
.claims li::before { content: counter(c); position: absolute; left: 20px; top: 12px; font-family: var(--display); font-size: 32px; color: #fb923c; }

@media (max-width: 1024px) {
  .chap-grid, .sub-films { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .chap-grid, .sub-films, .pager { grid-template-columns: 1fr; }
  .pn.next { grid-column: auto; }
  .mat-sub-head { grid-template-columns: auto 1fr; }
  .mat-sub-count { grid-column: 2; }
  .chap-list a { grid-template-columns: 40px 1fr; }
  .chap-list img { display: none; }
  .mat-intro { padding: 30px 24px; }
}
/* =========================================================
   v4 — imported books on matter (figures, verses, sources)
   ========================================================= */
.a-body .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 34px 0; align-items: start; }
.a-body .figs figure { margin: 0; }
.a-body blockquote.verse { font-family: var(--serif); font-style: italic; border-left-color: #f5b942; }
.a-body blockquote.hadith { font-family: var(--serif); font-style: italic; font-size: 24px; border-left-color: #34d399; }
.a-body .vref { font-style: normal; font-size: 14px; color: var(--muted); }
.a-body .book-source { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.a-body .book-source a { color: var(--cyan); }
.book-credit { color: var(--muted); font-size: 14px; margin: -6px 0 22px; }
.book-credit a { color: var(--cyan); }
/* ---------- Instagram gallery (home) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-post { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06); transition: transform .5s var(--ease), box-shadow .5s, opacity 1s var(--ease), filter 1s var(--ease); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-post:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(226,51,143,.6), 0 0 0 1px rgba(255,255,255,.18); }
.ig-post:hover img { transform: scale(1.06); }
.ig-over { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 18px;
  background: linear-gradient(0deg, rgba(6,3,15,.75), transparent 45%); opacity: 0; transition: opacity .4s; }
.ig-over span { font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.ig-post:hover .ig-over { opacity: 1; }
@media (max-width: 1024px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ig-post { border-radius: 12px; } }
/* ---------- Contact (About section) ---------- */
.contact { margin-top: 34px; display: grid; gap: 12px; justify-items: start; }
.contact-label { color: var(--muted); font-size: 15px; }
.contact-mail { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 17px;
  border: 1px solid rgba(34,211,238,.45); background: rgba(34,211,238,.08); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.contact-mail svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--cyan); }
.contact-mail:hover { background: rgba(34,211,238,.16); border-color: var(--cyan); }
@media (max-width: 1024px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }@media (max-width: 600px) { .foot-cols { grid-template-columns: 1fr; } }
