:root {
  --red: #C41E3A;
  --red-dark: #8E1528;
  --ink: #16181D;
  --muted: #5C616C;
  --paper: #F6F1EA;
  --card: #FFFFFF;
  --line: #E6DFD4;
  --gold: #D4A017;
  --shadow: 0 18px 40px rgba(22, 24, 29, .08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Noto Sans Malayalam", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,234,.96);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.nav-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand strong { display: block; font-size: 16px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a, .nav-drop-btn { text-decoration: none; font-weight: 700; font-size: 14px; color: inherit; }
.nav a:hover, .nav a.active, .nav-drop-btn:hover, .nav-drop-btn.active { color: var(--red); }
.nav-drop {
  position: relative; z-index: 60;
  align-self: stretch; display: flex; align-items: center;
}
.nav-drop-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.nav-drop-btn:after { content: " ▾"; font-size: 11px; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  padding: 8px 0 0; z-index: 70;
  background: transparent; border: 0; box-shadow: none;
}
.nav-sub-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px;
}
.nav-sub a { display: block; padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.nav-sub a:hover { background: #f8e6ea; }
.nav-drop:hover .nav-sub, .nav-drop.open .nav-sub { display: block; }
.join-hero {
  color: #fff; padding: 64px 0 48px;
  background:
    linear-gradient(105deg, rgba(16,7,9,.88) 0%, rgba(142,21,40,.55) 70%),
    url("../img/banners/power.jpg") center/cover no-repeat;
}
.join-hero h1 {
  font-family: "Noto Sans Malayalam", "Manrope", sans-serif;
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.35; margin: 10px 0 16px;
}
.join-hero p { max-width: 640px; color: #f4ebe6; font-size: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 18px; text-decoration: none; font-weight: 800;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: #fff; border: 1px solid var(--line); }
.btn-gold {
  background: #f4d35e; color: #1a0d10;
  box-shadow: 0 10px 28px rgba(244, 211, 94, .28);
}
.btn-gold:hover { background: #ffdf70; box-shadow: 0 14px 32px rgba(244, 211, 94, .4); }
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(212,160,23,.28), transparent 28%),
    linear-gradient(135deg, #1a0d10 0%, #3b1018 42%, #C41E3A 100%);
  background-size: 120% 120%;
  animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { background-position: 0% 40%; }
  to { background-position: 80% 0%; }
}
.hero:after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px; pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 72px 0 64px; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; color: #f4d35e; }
.kicker-ml { text-transform: none; letter-spacing: .04em; font-family: "Noto Sans Malayalam", sans-serif; }
.hero h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 5.6vw, 64px); line-height: 1.06; margin: 10px 0 16px; }
.hero-title-ml {
  font-family: "Noto Sans Malayalam", "Manrope", sans-serif !important;
  font-size: clamp(26px, 4.2vw, 46px) !important;
  line-height: 1.35 !important;
  font-weight: 700;
}
.hero p { max-width: 640px; color: #f4ebe6; font-size: 18px; }
.hero-ml { color: #f4d35e !important; font-weight: 800; font-size: 20px !important; margin: 0 0 12px !important; }
.hero-slides { position: relative; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease, transform .65s ease;
  transform: translateY(12px);
}
.hero-slide.is-on {
  position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-slide:before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(16,7,9,.9) 0%, rgba(142,21,40,.58) 55%, rgba(16,7,9,.38) 100%);
}
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; }
.hero .kicker:before { content: ""; width: 28px; height: 2px; background: #f4d35e; }
.hero-dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; padding: 0; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
  transition: width .35s ease, background .35s ease, border-radius .35s ease;
}
.hero-dot.is-on { background: #f4d35e; width: 28px; border-radius: 999px; }
.hero-progress {
  position: relative; z-index: 2; height: 3px;
  background: rgba(255,255,255,.12);
}
.hero-progress span {
  display: block; height: 100%; width: 0; background: #f4d35e;
  animation: heroBar 7s linear infinite;
}
.home-hero:hover .hero-progress span { animation-play-state: paused; }
@keyframes heroBar { to { width: 100%; } }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.announce-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px; padding: 22px; backdrop-filter: blur(10px);
}
.announce-card h3 { margin: 8px 0; font-size: 22px; }
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 28px; }
.section-head h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 4vw, 42px); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.03);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(22,24,29,.12); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .6s ease; }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 18px 18px 20px; }
.chip { display: inline-block; background: #f8e6ea; color: var(--red-dark); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.25; }
.meta { color: var(--muted); font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.quick {
  background: #fff; border-radius: 20px; padding: 20px; text-decoration: none;
  border: 1px solid var(--line); min-height: 130px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.quick:hover { transform: translateY(-4px); border-color: #f0c8cf; box-shadow: var(--shadow); }
.quick:hover .quick-ico { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
.quick strong { display: block; font-size: 18px; margin-top: 12px; }
.donate-ad {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(90deg, #8E1528, #C41E3A 55%, #16181D);
  color: #fff; border-radius: 28px; padding: 32px 36px; text-decoration: none;
  box-shadow: var(--shadow);
}
.donate-ad h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(32px, 5vw, 48px); margin: 6px 0 8px; }
.donate-ad p { margin: 0; max-width: 520px; color: #f4ebe6; font-size: 17px; }
.donate-ad .btn { flex-shrink: 0; }
.donate-ad { transition: transform .35s ease, box-shadow .35s ease; animation: pulseGlow 3.8s ease-in-out infinite; }
.donate-ad:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(141,21,40,.28); animation: none; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 18px 40px rgba(141, 21, 40, .22); }
  50% { box-shadow: 0 22px 56px rgba(196, 30, 58, .42); }
}
.donate-wrap { max-width: 820px; }
.donate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.donate-form .full { grid-column: 1 / -1; }
.donate-form label { margin-bottom: 6px; }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; line-height: 1.45; }
.check-line input { width: auto; margin-top: 3px; }
label { font-size: 12px; font-weight: 800; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.site-footer { background: var(--ink); color: #ddd6cc; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.site-footer a { color: #f0e6dc; text-decoration: none; }
.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 5vw, 56px); margin: 8px 0; }
.prose { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.prose h2, .detail h1 { font-family: "Fraunces", Georgia, serif; }
.alert { padding: 12px 14px; border-radius: 14px; margin: 12px 0; }
.alert-ok { background: #e8f8ee; color: #14532d; }
.alert-err { background: #fde8ea; color: #9f1239; }
.masonry { columns: 3; column-gap: 14px; }
.masonry img { width: 100%; margin: 0 0 14px; border-radius: 18px; break-inside: avoid; }
.empty { text-align: center; padding: 48px 16px; background: #fff; border-radius: 22px; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .hero-grid, .cards, .footer-grid, .donate-form { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; padding-bottom: 14px; }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start; }
  .nav-drop { width: 100%; display: block; }
  .nav-sub { position: static; padding: 6px 0 6px 4px; min-width: 0; }
  .nav-sub-panel { border: 0; box-shadow: none; padding: 0 0 0 12px; background: transparent; }
  .nav-drop:hover .nav-sub { display: none; }
  .nav-drop.open .nav-sub { display: block; }
}
@media (max-width: 640px) { .masonry { columns: 1; } }

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(22,24,29,.08); }
.kicker-red { color: var(--red) !important; }
.home-hero {
  min-height: min(88vh, 760px); display: flex; flex-direction: column; justify-content: center;
  background: #1a0d10; animation: none;
}
.quote-ticker {
  background: #1a0d10; color: #f4d35e; overflow: hidden;
  border-bottom: 1px solid rgba(244,211,94,.18);
}
.quote-track {
  display: flex; gap: 40px; width: max-content;
  animation: quoteRun 55s linear infinite;
  padding: 11px 0; font-weight: 700; font-size: 14px;
  font-family: "Noto Sans Malayalam", sans-serif;
}
.quote-track span { white-space: nowrap; }
.quote-track span:before { content: "✦ "; color: var(--red); }
.quote-ticker:hover .quote-track { animation-play-state: paused; }
@keyframes quoteRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice-card {
  background: #fff; border-radius: 24px; padding: 24px 22px;
  border: 1px solid var(--line); min-height: 220px;
}
.voice-card p {
  font-family: "Noto Sans Malayalam", sans-serif;
  font-weight: 700; line-height: 1.55; margin: 10px 0 0;
}
.footer-quote { color: #f4d35e; font-weight: 700; font-family: "Noto Sans Malayalam", sans-serif; }
.hero-orbs, .hero-orbs:before, .hero-orbs:after {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero-orbs { inset: auto; width: 280px; height: 280px; right: -60px; top: -40px; background: rgba(244,211,94,.16); filter: blur(10px); animation: floaty 9s ease-in-out infinite; }
.hero-orbs:before { content: ""; width: 180px; height: 180px; left: 8%; bottom: 8%; background: rgba(255,255,255,.08); animation: floaty 11s ease-in-out infinite reverse; }
.hero-orbs:after { content: ""; width: 120px; height: 120px; left: 42%; top: 18%; background: rgba(196,30,58,.35); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 16px); }
}
.hero-mark {
  position: absolute; right: 4%; bottom: 8%; width: min(280px, 38vw); height: auto;
  opacity: .12; pointer-events: none; z-index: 0;
  animation: spinSlow 48s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero-copy { position: relative; z-index: 1; }
.hero-controls {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 0 0 32px;
}
.hero-nav {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08); cursor: pointer; position: relative;
}
.hero-nav:hover { background: rgba(255,255,255,.18); }
.hero-nav-prev:before, .hero-nav-next:before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.hero-nav-prev:before { transform: translate(-40%, -50%) rotate(-135deg); }
.hero-nav-next:before { transform: translate(-60%, -50%) rotate(45deg); }
.stats-strip {
  margin-top: -28px; position: relative; z-index: 3;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: #fff; border-radius: 24px; padding: 10px;
  box-shadow: 0 22px 50px rgba(22,24,29,.1); border: 1px solid var(--line);
}
.stats-row a {
  text-decoration: none; padding: 18px 16px; border-radius: 18px; text-align: center;
  transition: background .25s ease;
}
.stats-row a:hover { background: #f8e6ea; }
.stats-row strong { display: flex; align-items: center; justify-content: center; min-height: 38px; font-family: "Fraunces", Georgia, serif; font-size: 32px; color: var(--red); line-height: 1.1; }
.stats-row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.news-showcase { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; align-items: stretch; }
.card-media { overflow: hidden; position: relative; }
.card-feature .card-media:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 24, 29, .38), transparent 55%);
  pointer-events: none;
}
.card-feature .card-media img, .card-feature img { aspect-ratio: 16/9; }
.card-feature h3 { font-size: clamp(22px, 2.4vw, 30px); font-family: "Fraunces", Georgia, serif; }
.news-side { display: flex; flex-direction: column; gap: 14px; }
.card-row { display: grid; grid-template-columns: 118px 1fr; gap: 0; min-height: 0; }
.card-row img { aspect-ratio: 1; height: 100%; }
.card-row h3 { font-size: 16px; margin: 6px 0 4px; }
.card-row .card-body, .card-row > div { padding: 14px; }
.text-link { font-weight: 800; color: var(--red); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.org-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.org-step {
  background: #fff; border-radius: 24px; padding: 26px 22px; text-decoration: none;
  border: 1px solid var(--line); min-height: 190px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
.org-step:hover { transform: translateY(-5px); border-color: #e7b4bc; box-shadow: var(--shadow); }
.org-num { font-family: "Fraunces", Georgia, serif; font-size: 28px; color: var(--red); display: block; margin-bottom: 10px; }
.org-step h3 { margin: 0 0 8px; font-size: 22px; }
.org-step p { margin: 0; color: var(--muted); }
.join-band {
  color: #fff; padding: 72px 0;
  background: linear-gradient(120deg, #1a0d10, #8E1528 45%, #C41E3A);
  position: relative; overflow: hidden;
}
.join-band:before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 80% 20%, rgba(244,211,94,.25), transparent 36%);
  animation: floaty 10s ease-in-out infinite;
}
.join-band-grid { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.join-band h2 {
  font-family: "Noto Sans Malayalam", "Manrope", sans-serif;
  font-size: clamp(24px, 3.6vw, 40px); line-height: 1.4; margin: 8px 0 10px;
}
.join-band p { margin: 0; max-width: 560px; color: #f4ebe6; }
.quick-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #f8e6ea; color: var(--red);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
[data-reveal] { opacity: 0; transform: translateY(22px); animation: none; }
[data-reveal].is-in { animation: riseIn .7s ease forwards; animation-delay: var(--d, 0ms); }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .home-hero { min-height: auto; }
  .hero-grid { padding: 48px 0 36px; gap: 22px; }
  .hero-mark { width: 160px; opacity: .1; }
  .stats-row, .news-showcase, .org-path, .voice-grid { grid-template-columns: 1fr 1fr; }
  .news-showcase { grid-template-columns: 1fr; }
  .stats-strip { margin-top: 16px; }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .org-path, .voice-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 92px 1fr; }
  .hero-controls { padding-bottom: 20px; }
  .join-band { padding: 48px 0; }
  .quick-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
