:root {
  --black: #080808;
  --navy: #0a2433;
  --navy-deep: #071a25;
  --cream: #f7edda;
  --paper: #fffaf0;
  --gold: #c39a4a;
  --gold-light: #e4c783;
  --maroon: #641824;
  --green: #183f36;
  --ink: #1a2620;
  --muted: #69726c;
  --line: rgba(56,34,24,.12);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.77,0,.175,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
body { font-family: "DM Sans", sans-serif; background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden }
a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }
button { font: inherit; cursor: pointer; border: none; background: none }
::selection { background: rgba(195,154,74,.25); color: var(--navy) }
::-webkit-scrollbar { width: 6px }
::-webkit-scrollbar-track { background: var(--navy-deep) }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px }
.container { width: min(1200px, 90%); margin: 0 auto }

.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none }
.preloader-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; opacity: .7 }
.preloader-track { width: 100px; height: 1px; background: rgba(255,255,255,.08); margin-top: 28px; overflow: hidden; border-radius: 1px }
.preloader-bar { width: 100%; height: 100%; background: var(--gold); transform-origin: left; animation: preload 1.6s cubic-bezier(.4,0,.2,1) forwards }
@keyframes preload { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .035;
}
.grain svg { width: 100%; height: 100% }

.cur-dot, .cur-ring {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 9500;
  transform: translate(-50%, -50%); will-change: transform;
  transition: width .35s var(--ease), height .35s var(--ease), opacity .35s, background .35s;
}
.cur-dot { width: 6px; height: 6px; background: var(--gold); opacity: 1 }
.cur-ring {
  width: 34px; height: 34px; border: 1px solid rgba(195,154,74,.4);
  background: transparent; opacity: 1;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s, background .35s;
}
.cur-dot.hovering { width: 0; height: 0; opacity: 0 }
.cur-ring.hovering { width: 54px; height: 54px; border-color: var(--gold); background: rgba(195,154,74,.06) }
@media (hover: none), (pointer: coarse) { .cur-dot, .cur-ring { display: none !important } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9100;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  transform-origin: left; transform: scaleX(0); will-change: transform;
}

.topline { height: 3px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--green), var(--gold), var(--maroon)) }

nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,250,240,.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .5s, border-color .5s, box-shadow .5s;
}
nav.scrolled { background: rgba(255,250,240,.97); border-bottom-color: var(--line); box-shadow: 0 1px 40px rgba(0,0,0,.04) }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { display: flex; align-items: center; gap: 12px; font-family: Cinzel, serif; font-weight: 800; color: var(--navy); font-size: 14px; letter-spacing: .08em }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; transition: transform .5s var(--ease) }
.brand:hover .brand-logo { transform: rotate(-6deg) }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink) }
.nav-links a { position: relative; padding: 6px 0; transition: color .3s }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--maroon); transition: width .4s var(--ease);
}
.nav-links a:hover { color: var(--maroon) }
.nav-links a:hover::after { width: 100% }
.nav-links a.active { color: var(--maroon) }
.nav-links a.active::after { width: 100% }
.nav-cta {
  padding: 10px 18px; border: 1px solid var(--gold); color: var(--maroon);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; border-radius: 2px;
  transition: all .4s var(--ease);
}
.nav-cta:hover { background: var(--maroon); color: #fff; border-color: var(--maroon) }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 600 }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: all .35s var(--ease) }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px) }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px) }

.mobile-menu {
  position: fixed; inset: 0; z-index: 550;
  background: rgba(8,8,8,.96); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto }
.mobile-menu a {
  font-family: Cinzel, serif; font-size: 20px; color: rgba(255,255,255,.7);
  font-weight: 600; letter-spacing: .1em;
  transform: translateY(15px); opacity: 0; transition: all .45s var(--ease), color .3s;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1 }
.mobile-menu.open a:nth-child(1) { transition-delay: .06s }
.mobile-menu.open a:nth-child(2) { transition-delay: .1s }
.mobile-menu.open a:nth-child(3) { transition-delay: .14s }
.mobile-menu.open a:nth-child(4) { transition-delay: .18s }
.mobile-menu.open a:nth-child(5) { transition-delay: .22s }
.mobile-menu.open a:nth-child(6) { transition-delay: .26s }
.mobile-menu.open a:nth-child(7) { transition-delay: .30s }
.mobile-menu a:hover { color: var(--gold-light) }

.anim {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.anim.in-view { opacity: 1; transform: translateY(0) }

.anim-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.anim-left.in-view { opacity: 1; transform: translateX(0) }

.anim-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.anim-right.in-view { opacity: 1; transform: translateX(0) }

.line-mask { overflow: hidden }
.line-mask > * {
  transform: translateY(105%);
  transition: transform 1s var(--ease-smooth);
  transition-delay: var(--d, 0s);
}
.line-mask.in-view > * { transform: translateY(0) }

section { padding: 140px 0; position: relative; overflow: hidden }

.hero {
  min-height: calc(100vh - 88px); display: flex; align-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(196,154,74,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(100,24,36,.07) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(24,63,54,.05) 0%, transparent 50%),
    linear-gradient(175deg, #fffaf0 0%, #f3e4c5 50%, #ede0c8 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: heroGradient 22s ease-in-out infinite;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0% }
  33% { background-position: 100% 60%, 0% 100%, 0% 0%, 0% 0% }
  66% { background-position: 40% 100%, 60% 0%, 100% 40%, 0% 0% }
}
.hero::before, .hero::after {
  content: ""; position: absolute;
  border: 1px solid rgba(195,154,74,.1); border-radius: 50%;
  animation: gentlePulse 12s ease-in-out infinite;
}
.hero::before { width: 500px; height: 500px; left: -280px; top: 60px }
.hero::after { width: 600px; height: 600px; right: -350px; bottom: -320px; animation-delay: -6s }
@keyframes gentlePulse { 0%,100% { transform: scale(1); opacity: .6 } 50% { transform: scale(1.04); opacity: 1 } }

.hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; position: relative; z-index: 1 }

.hero-kicker {
  font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--maroon); font-weight: 700; margin-bottom: 14px;
  opacity: 0; animation: fadeIn .8s var(--ease) .3s forwards;
}
.hero-dev {
  font-family: "Noto Serif Devanagari", serif; color: var(--gold); font-size: 18px; margin-bottom: 6px;
  opacity: 0; animation: fadeIn .8s var(--ease) .45s forwards;
}
@keyframes fadeIn { to { opacity: 1 } }

.hero-h1 {
  font-family: Cinzel, serif; font-size: clamp(46px, 6.5vw, 82px);
  line-height: 1; color: var(--navy); letter-spacing: -.025em; font-weight: 700;
}
.hero-h1 span { color: var(--maroon) }
.hero-h1-line { overflow: hidden; display: block }
.hero-h1-line > span {
  display: block; transform: translateY(110%);
  animation: lineUp 1s var(--ease-smooth) forwards;
}
.hero-h1-line:nth-child(1) > span { animation-delay: .4s }
.hero-h1-line:nth-child(2) > span { animation-delay: .55s }
@keyframes lineUp { to { transform: translateY(0) } }

.hero-lead {
  font-family: "Noto Serif Devanagari", serif; font-size: clamp(19px, 2.2vw, 27px);
  color: #4b564f; line-height: 1.5; margin: 28px 0 10px;
  opacity: 0; animation: fadeSlideUp .9s var(--ease) .7s forwards;
}
.hero-text {
  font-size: 16px; color: var(--muted); line-height: 1.9; max-width: 620px;
  opacity: 0; animation: fadeSlideUp .9s var(--ease) .8s forwards;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
  opacity: 0; animation: fadeSlideUp .9s var(--ease) .9s forwards;
}
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }

.hero-card {
  position: relative; padding: 10px; border: 1px solid rgba(195,154,74,.5); background: var(--cream);
  box-shadow: 0 30px 80px rgba(30,29,23,.12);
  opacity: 0; transform: translateX(50px) rotate(2.5deg);
  animation: cardIn 1.1s var(--ease) .5s forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateX(0) rotate(1deg) } }
.hero-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover }
.hero-seal {
  position: absolute; left: -26px; bottom: -26px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); border: 3px double var(--gold);
  display: grid; place-items: center; text-align: center;
  font-family: Cinzel, serif; font-size: 9.5px; line-height: 1.35; letter-spacing: .08em;
  box-shadow: 0 12px 35px rgba(0,0,0,.2);
  opacity: 0; transform: scale(0) rotate(-60deg);
  animation: sealPop .7s var(--ease-back) 1.1s forwards;
}
@keyframes sealPop { to { opacity: 1; transform: scale(1) rotate(0deg) } }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
  opacity: 0; animation: fadeIn .8s var(--ease) 1.5s forwards;
}
.scroll-hint span {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.scroll-line { width: 1px; height: 36px; overflow: hidden }
.scroll-line::after {
  content: ""; display: block; width: 100%; height: 100%;
  background: var(--gold); animation: scrollDraw 2.8s ease-in-out infinite;
}
@keyframes scrollDraw { 0% { transform: translateY(-100%) } 50% { transform: translateY(0) } 100% { transform: translateY(100%) } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 2px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .3s, background .3s, border-color .3s;
}
.btn-primary {
  background: var(--maroon); color: #fff; border: 1px solid var(--maroon);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform .55s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(100,24,36,.2) }
.btn-primary:hover::after { transform: translateX(100%) }
.btn-light {
  border: 1px solid var(--gold); color: var(--navy); background: rgba(255,250,240,.8);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(195,154,74,.12); background: #fff }

.marquee {
  background: var(--navy); padding: 18px 0; overflow: hidden;
  border-top: 1px solid rgba(195,154,74,.15); border-bottom: 1px solid rgba(195,154,74,.15);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 45s linear infinite;
}
.marquee-track:hover { animation-play-state: paused }
@keyframes marqueeScroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.marquee-content {
  display: flex; align-items: center; gap: 0; white-space: nowrap;
  font-family: Cinzel, serif; font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
}
.marquee-content span { padding: 0 28px }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .5; flex-shrink: 0 }

.about { background: var(--navy); color: #fff }
.about::after {
  content: "लोकतंत्र"; position: absolute; right: -60px; top: 0;
  font-family: "Noto Serif Devanagari", serif; font-size: 200px;
  color: rgba(255,255,255,.018); line-height: 1; pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1 }
.about-label { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 16px }
.about h2 { color: #fff; font-family: Cinzel, serif; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; font-weight: 600 }
.about h2::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-top: 24px }
.about p { color: rgba(255,255,255,.7); margin-top: 20px; line-height: 1.9; font-size: 15.5px }
.about-quote {
  margin-top: 30px; padding: 22px 24px; border-left: 2px solid var(--gold-light);
  background: rgba(255,255,255,.03); color: rgba(244,229,199,.9);
  font-family: "Noto Serif Devanagari", serif; font-size: 18.5px; line-height: 1.7;
  font-style: italic;
}
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.principle-card {
  padding: 26px; border: 1px solid rgba(228,199,131,.15); background: rgba(255,255,255,.025);
  transition: background .5s, border-color .5s;
}
.principle-card:hover { background: rgba(255,255,255,.055); border-color: rgba(228,199,131,.3) }
.principle-num { font-family: Cinzel, serif; font-size: 11px; color: rgba(228,199,131,.35); letter-spacing: .1em; margin-bottom: 10px }
.principle-card h3 { font-family: Cinzel, serif; color: var(--gold-light); font-size: 16px; font-weight: 600; margin-bottom: 6px }
.principle-card p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7 }

.founders { background: linear-gradient(180deg, #fffaf0 0%, #f4e7cd 100%); padding: 150px 0 }
.section-label { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--maroon); font-weight: 700; text-align: center; margin-bottom: 12px }
.section-title {
  font-family: Cinzel, serif; font-size: clamp(34px, 4.5vw, 52px); color: var(--navy);
  line-height: 1.1; font-weight: 600; text-align: center;
}
.section-title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 22px auto 0 }
.section-desc { color: var(--muted); margin-top: 18px; line-height: 1.85; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; font-size: 15.5px }
.section-head { margin-bottom: 60px }

.founder-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 22px; align-items: stretch }
.founder-card {
  background: #fffdf8; border: 1px solid var(--line); padding: 22px;
  box-shadow: 0 8px 30px rgba(45,34,22,.05);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.founder-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(45,34,22,.1) }
.founder-card img {
  width: 100%; aspect-ratio: 1/1.12; object-fit: cover;
  border: 1px solid rgba(195,154,74,.3); margin-bottom: 18px;
  filter: grayscale(.1); transition: filter .5s;
}
.founder-card:hover img { filter: grayscale(0) }
.founder-card h3 { font-family: Cinzel, serif; font-size: 20px; color: var(--maroon); font-weight: 600 }
.founder-role { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 5px }
.founder-msg {
  background: var(--navy); color: #fff; padding: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(195,154,74,.2);
}
.founder-msg-inner { max-width: 500px }
.founder-msg h3 { font-family: Cinzel, serif; font-size: 22px; color: var(--gold-light); margin-bottom: 20px; text-align: center; font-weight: 500 }
.founder-msg p { color: rgba(255,255,255,.72); line-height: 1.95; text-align: center; font-family: "Noto Serif Devanagari", serif; font-size: 15px }
.founder-msg .closing { font-family: Cinzel, serif; color: rgba(242,228,198,.85); font-size: 17px; margin-top: 22px; text-align: center; font-weight: 400; line-height: 1.6 }

.yuva { background: #f8efdd; padding: 140px 0 }
.yuva-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start }
.yuva h2 { font-family: Cinzel, serif; font-size: clamp(34px, 4.5vw, 52px); color: var(--navy); line-height: 1.1; font-weight: 600 }
.yuva h2::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-top: 22px }
.yuva-text { color: var(--muted); line-height: 1.9; margin-top: 20px; font-size: 15.5px }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px }
.stat-item { border-top: 1px solid rgba(195,154,74,.4); padding-top: 14px }
.stat-num { font-family: Cinzel, serif; color: var(--maroon); font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1 }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5 }
.yuva-right-label { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--maroon); font-weight: 700; margin-bottom: 12px }
.yuva-right h2 { font-family: Cinzel, serif; font-size: clamp(26px, 3vw, 34px); color: var(--navy); line-height: 1.15; font-weight: 600; margin-bottom: 20px }

.events { background: linear-gradient(180deg, #f8efdd, #fffaf0); padding: 140px 0 }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; counter-reset: ev }
.event-card {
  background: #fffdf8; border: 1px solid var(--line);
  display: grid; grid-template-columns: 120px 1fr;
  box-shadow: 0 6px 25px rgba(45,34,22,.04); overflow: hidden;
  position: relative; counter-increment: ev;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.event-card::before {
  content: counter(ev, decimal-leading-zero);
  position: absolute; top: -8px; right: 14px;
  font-family: Cinzel, serif; font-size: 68px; font-weight: 800;
  color: rgba(195,154,74,.06); line-height: 1; z-index: 0; pointer-events: none;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(45,34,22,.08); border-color: rgba(195,154,74,.3) }
.event-date {
  background: var(--navy); color: #fff; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; padding: 20px 12px;
}
.event-date strong { font-family: Cinzel, serif; color: var(--gold-light); font-size: 22px }
.event-date small { margin-top: 4px; font-size: 10.5px; line-height: 1.4; color: rgba(255,255,255,.65) }
.event-body { padding: 22px; position: relative; z-index: 1 }
.event-tag {
  display: inline-block; padding: 4px 8px; border: 1px solid rgba(100,24,36,.2);
  color: var(--maroon); font-size: 9px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
}
.event-body h3 { font-family: Cinzel, serif; font-size: 19px; color: var(--navy); font-weight: 600 }
.event-body p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-top: 8px }
.event-loc { font-size: 11px; color: #46554e; font-weight: 700; margin-top: 12px }

.upcoming { background: var(--maroon); color: #fff }
.upcoming::after {
  content: "YUVA SANSAD"; position: absolute; right: -100px; bottom: -40px;
  font-family: Cinzel, serif; font-size: 110px; font-weight: 800;
  color: rgba(255,255,255,.025); line-height: 1; pointer-events: none;
}
.upcoming-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; position: relative; z-index: 1 }
.upcoming-label { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 14px }
.upcoming h2 { font-family: Cinzel, serif; font-size: clamp(36px, 4.5vw, 56px); color: #fff; line-height: 1.08; font-weight: 600 }
.upcoming-text { color: rgba(234,223,201,.85); line-height: 1.9; margin-top: 18px; font-size: 15.5px }
.upcoming-time { font-family: Cinzel, serif; color: var(--gold-light); font-size: 26px; margin-top: 24px; font-weight: 500 }
.upcoming-prize {
  display: inline-flex; margin-top: 18px; border: 1px solid rgba(228,199,131,.5);
  padding: 11px 16px; color: var(--gold-light); font-family: Cinzel, serif;
  font-weight: 700; font-size: 12.5px; letter-spacing: .06em;
}
.upcoming-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px }
.agenda-list { display: grid; gap: 14px }
.agenda-item {
  padding: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.08);
  transition: border-color .4s, background .4s;
}
.agenda-item:hover { border-color: rgba(228,199,131,.25); background: rgba(0,0,0,.14) }
.agenda-item b { display: block; font-family: Cinzel, serif; color: var(--gold-light); font-size: 10.5px; letter-spacing: .1em; margin-bottom: 8px }
.agenda-item span { font-size: 13.5px; color: rgba(244,235,219,.85); line-height: 1.75 }

.details { background: var(--paper); padding: 140px 0 }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.detail-card {
  border: 1px solid var(--line); background: #fffdf8; padding: 22px;
  transition: border-color .4s, box-shadow .4s;
}
.detail-card:hover { border-color: rgba(195,154,74,.3); box-shadow: 0 8px 30px rgba(45,34,22,.05) }
.detail-card b { display: block; font-family: Cinzel, serif; color: var(--maroon); font-size: 13px; font-weight: 600; margin-bottom: 8px }
.detail-card span { font-size: 13.5px; color: var(--muted); line-height: 1.7 }

.gallery { background: #f3ead8; padding: 140px 0 }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px }
.gallery-grid figure { position: relative; overflow: hidden; border: 1px solid rgba(195,154,74,.25); cursor: pointer }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.15) brightness(.97);
  transition: filter .7s var(--ease), transform .7s var(--ease);
  will-change: transform;
}
.gallery-grid figure:hover img { filter: grayscale(0) brightness(1); transform: scale(1.04) }
.gallery-main { grid-row: span 2 }
.gallery-main img { min-height: 520px }
.gallery-side img { min-height: 252px }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.gallery-cta { text-align: center; margin-top: 28px }

.contact { background: var(--navy); color: #fff; padding: 150px 0 }
.contact-head { text-align: center; max-width: 700px; margin: 0 auto 55px }
.contact-head h2 { color: #fff; font-family: Cinzel, serif; font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; line-height: 1.1 }
.contact-head h2::after { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 22px auto 0 }
.contact-head p { color: rgba(255,255,255,.6); margin-top: 16px; line-height: 1.85; font-size: 15.5px }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.contact-card {
  border: 1px solid rgba(228,199,131,.15); background: rgba(255,255,255,.025);
  padding: 28px; text-align: center;
  transition: background .4s, border-color .4s;
}
.contact-card:hover { background: rgba(255,255,255,.05); border-color: rgba(228,199,131,.3) }
.contact-card .founder-role { color: var(--gold-light) }
.contact-card h3 { font-family: Cinzel, serif; font-size: 17px; margin-top: 8px; color: #fff; font-weight: 500 }
.contact-phone { display: inline-block; color: var(--gold-light); font-weight: 700; margin-top: 10px; font-size: 14px; transition: color .3s }
.contact-phone:hover { color: #fff }
.contact-links { margin-top: 40px; text-align: center; color: rgba(233,223,202,.7); font-size: 14px; line-height: 2.4 }
.contact-links a { color: var(--gold-light); font-weight: 700; transition: color .3s }
.contact-links a:hover { color: #fff }
.contact-links .cl-row { display: flex; align-items: center; justify-content: center; gap: 8px }
.contact-links .cl-row svg { flex-shrink: 0 }

.icon { display: inline-block; vertical-align: middle; width: 16px; height: 16px; flex-shrink: 0 }
.icon-sm { width: 14px; height: 14px }
.icon-lg { width: 18px; height: 18px }
.icon svg { width: 100%; height: 100%; display: block }
.contact-card .card-icon { margin-bottom: 6px }
.contact-card .card-icon svg { width: 20px; height: 20px; margin: 0 auto; opacity: .5 }

.social-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px }
.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(228,199,131,.2); background: rgba(255,255,255,.03);
  display: grid; place-items: center;
  transition: all .4s var(--ease);
}
.social-link:hover { border-color: var(--gold-light); background: rgba(228,199,131,.1); transform: translateY(-2px) }
.social-link svg { width: 18px; height: 18px; fill: var(--gold-light); transition: fill .3s }
.social-link:hover svg { fill: #fff }

.foot-social { display: flex; gap: 10px; margin-top: 14px }
.foot-social-link {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); background: transparent;
  display: grid; place-items: center;
  transition: all .3s;
}
.foot-social-link:hover { border-color: var(--gold-light); background: rgba(228,199,131,.08) }
.foot-social-link svg { width: 14px; height: 14px; fill: rgba(155,170,165,.6); transition: fill .3s }
.foot-social-link:hover svg { fill: var(--gold-light) }

footer { background: var(--navy-deep); color: rgba(155,170,165,.8); padding: 70px 0 28px }
.foot-brand {
  font-family: Cinzel, serif; font-size: clamp(48px, 8vw, 88px);
  color: rgba(255,255,255,.04); font-weight: 800; letter-spacing: .06em;
  line-height: 1; margin-bottom: 50px; user-select: none;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 40px }
.foot-grid h4 { font-family: Cinzel, serif; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: 12px }
.foot-grid p, .foot-grid a { font-size: 12.5px; line-height: 2 }
.foot-grid a { transition: color .3s }
.foot-grid a:hover { color: var(--gold-light) }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(104,120,115,.6);
}

.back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); border: 1px solid rgba(195,154,74,.3);
  display: grid; place-items: center; font-size: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s, transform .4s, background .3s, border-color .3s;
  text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.back-top.visible { opacity: 1; transform: translateY(0) }
.back-top:hover { background: var(--maroon); border-color: var(--maroon) }

@media (max-width: 960px) {
  section { padding: 100px 0 }
  .nav-links { display: none }
  .hamburger { display: flex }
  .hero-grid, .about-grid, .founder-grid, .yuva-grid, .upcoming-grid { grid-template-columns: 1fr }
  .event-grid { grid-template-columns: 1fr }
  .contact-grid { grid-template-columns: 1fr 1fr }
  .detail-grid { grid-template-columns: 1fr 1fr }
  .hero-card { max-width: 600px; margin: 40px auto 0 }
  .about-grid { gap: 50px }
  .gallery-grid { grid-template-columns: 1fr }
  .gallery-main { grid-row: auto }
  .gallery-main img, .gallery-side img { min-height: 280px }
  .foot-brand { font-size: clamp(36px, 7vw, 60px) }
}
@media (max-width: 600px) {
  section { padding: 80px 0 }
  .nav-inner { min-height: 68px }
  .brand { font-size: 12px }
  .brand-logo { width: 46px; height: 46px }
  .hero { min-height: auto; padding: 60px 0 80px }
  .hero-h1 { font-size: clamp(34px, 9vw, 48px) }
  .scroll-hint { display: none }
  .principles-grid, .stat-row, .contact-grid, .detail-grid { grid-template-columns: 1fr }
  .event-card { grid-template-columns: 1fr }
  .event-date { padding: 16px; flex-direction: row; gap: 8px }
  .founder-grid { gap: 16px }
  .foot-grid { grid-template-columns: 1fr }
  .foot-bottom { flex-direction: column; gap: 6px }
  .stat-num { font-size: 36px }
  .marquee-content { font-size: 11px; letter-spacing: .15em }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim, .anim-left, .anim-right { opacity: 1; transform: none }
  .line-mask > * { transform: none }
  .hero-card { opacity: 1; transform: rotate(1deg) }
  .hero-seal { opacity: 1; transform: scale(1) }
  .hero-kicker, .hero-dev, .hero-lead, .hero-text, .hero-ctas { opacity: 1 }
  .hero-h1-line > span { transform: none }
  .marquee-track { animation: none }
}
