/* ============================================================
   72nd NEHRU TROPHY BOAT RACE — 2026 — DESIGN SYSTEM
   Palette: Victory Flame #F78800 / Royal Rhythm #4F006A
            Festival Pulse #9700C2 / Punnamada Cream #F7F1E2
   Type: Anton (display, brush-impact stand-in for Grasher)
         Jost (content, stand-in for Uni Neue)
   Signature element: the chundan vallam (snake boat) rowing
   across a wave-line divider, reused as the site's connective
   tissue between every section.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Jost:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  --cream: #F7F1E2;
  --cream-2: #EFE4C8;
  --ink: #2A0A38;
  --purple: #4F006A;      /* Royal Rhythm */
  --purple-bright: #9700C2; /* Festival Pulse */
  --orange: #F78800;      /* Victory Flame */
  --orange-dim: #C96B00;
  --white: #FFFFFF;
  --line: rgba(42,10,56,0.14);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-card: 0 12px 28px -14px rgba(42,10,56,0.35);
  --wrap: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:400; margin:0; letter-spacing: 0.3px; line-height: 1.02; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  font-family: var(--font-body); font-weight:600; letter-spacing: 3px; text-transform: uppercase;
  font-size: 12.5px; color: var(--orange-dim);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--orange); display:inline-block; }

:focus-visible{ outline: 3px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------------- NAV ---------------- */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(247,241,226,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:38px; height:38px; flex:none; }
.brand-word{ font-family: var(--font-display); font-size: 19px; line-height:1; color: var(--purple); }
.brand-word span{ color: var(--orange); }
.nav-links{ display:flex; gap: 30px; align-items:center; }
.nav-links a{
  font-weight:600; font-size: 14.5px; color: var(--ink); position:relative; padding: 6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--orange);
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--purple); }
.nav-cta{
  background: var(--orange); color: var(--white); padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing:.3px; border:none;
  box-shadow: 0 8px 18px -8px rgba(247,136,0,0.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover{ transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(247,136,0,0.8); }
.nav-toggle{ display:none; }

@media (max-width: 900px){
  .nav-links{ position:fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction:column;
    padding: 18px 28px 26px; gap: 16px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity:0; pointer-events:none; transition: all .25s ease; }
  .nav-links.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
  .nav-toggle{ display:flex; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
  .nav-toggle span{ width:24px; height:2.5px; background: var(--purple); border-radius:2px; }
  .nav-cta{ display:none; }
}

/* ---------------- WAVE / BOAT DIVIDER (signature element) --------------- */
.boat-divider{ display:block; width:100%; line-height:0; }
.boat-divider svg{ width:100%; height:auto; display:block; }
.boat-row{
  animation: rowAcross 26s linear infinite;
}
@keyframes rowAcross{
  0%{ transform: translateX(-6%); }
  50%{ transform: translateX(4%); }
  100%{ transform: translateX(-6%); }
}

/* ---------------- BUTTONS ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 15px 30px; border-radius: 999px; font-weight:700; font-size: 15px; letter-spacing:.3px;
  border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary{ background: var(--orange); color:var(--white); box-shadow: 0 10px 24px -10px rgba(247,136,0,.8); }
.btn-primary:hover{ transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-ghost:hover{ background: var(--purple); color:var(--white); }
.btn-light{ background: var(--white); color: var(--purple); }
.btn-light:hover{ transform: translateY(-2px); }

/* ---------------- HERO ---------------- */
.hero{
  position:relative; background: linear-gradient(180deg, var(--purple) 0%, #37004E 100%);
  color: var(--white); overflow:hidden; padding: 76px 0 0;
}
.hero-inner{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items:center; padding-bottom: 60px; }
.hero-eyebrow{ color:#E8C6FF; }
.hero h1{ font-size: clamp(40px, 5.6vw, 76px); margin-top:14px; color:var(--white); }
.hero h1 .accent{ color: var(--orange); }
.hero p.lede{ font-size: 17px; opacity:.88; max-width: 480px; margin-top:18px; line-height:1.6; }
.hero-ctas{ display:flex; gap:14px; margin-top: 30px; flex-wrap:wrap; }

.countdown{
  display:flex; gap:14px; margin-top: 36px; flex-wrap: wrap;
}
.countdown .cell{
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-m); padding: 14px 18px; min-width: 82px; text-align:center;
  backdrop-filter: blur(6px);
}
.countdown .cell strong{ font-family: var(--font-display); font-size: 32px; display:block; color: var(--orange); }
.countdown .cell span{ font-size: 11px; letter-spacing: 1.5px; text-transform:uppercase; opacity:.75; }

.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }

/* ---------------- SECTIONS ---------------- */
section{ padding: 86px 0; position:relative; }
.section-head{ max-width: 640px; margin-bottom: 46px; }
.section-head h2{ font-size: clamp(30px, 4vw, 46px); color: var(--purple); margin-top:12px; }
.section-head p{ margin-top: 14px; font-size: 16px; line-height:1.65; color: rgba(42,10,56,.75); }
.section-dark{ background: var(--purple); color: var(--white); }
.section-dark .section-head h2{ color: var(--white); }
.section-dark .section-head p{ color: rgba(255,255,255,.78); }
.section-cream2{ background: var(--cream-2); }

/* ---------------- CARDS ---------------- */
.card{
  background: var(--white); border-radius: var(--radius-l); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(42,10,56,0.06);
}
.grid{ display:grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr; } .hero-inner{ grid-template-columns:1fr; } }

/* ---------------- TABS ---------------- */
.tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 30px; }
.tab-btn{
  background: var(--white); border: 1px solid var(--line); padding: 11px 20px; border-radius: 999px;
  font-weight:600; font-size:14px; color: var(--purple);
}
.tab-btn.active{ background: var(--purple); color: var(--white); border-color: var(--purple); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation: fadeUp .35s ease; }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(10px);} to{opacity:1; transform:none;} }

/* ---------------- TIMELINE ---------------- */
.timeline{ position:relative; padding-left: 34px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background: var(--line); }
.tl-item{ position:relative; padding-bottom: 34px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:""; position:absolute; left:-34px; top:2px; width:20px; height:20px; border-radius:50%;
  background: var(--orange); border: 4px solid var(--cream);
}
.tl-year{ font-family: var(--font-display); font-size: 22px; color: var(--purple); }
.tl-item p{ margin-top:6px; color: rgba(42,10,56,.75); line-height:1.6; font-size:15px; }

/* ---------------- FOOTER ---------------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.8); padding: 60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4{ font-family: var(--font-body); font-weight:700; font-size: 14px; letter-spacing:1px; text-transform:uppercase; color: var(--orange); margin-bottom: 16px; }
.footer-grid li{ margin-bottom: 10px; font-size: 14.5px; }
.footer-grid li a:hover{ color: var(--orange); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top: 22px; font-size: 13px; flex-wrap:wrap; gap:10px; }

/* ---------------- MISC ---------------- */
.pill{ display:inline-flex; align-items:center; gap:6px; background: var(--cream-2); color: var(--purple);
  padding: 6px 14px; border-radius:999px; font-size:12.5px; font-weight:700; letter-spacing:.4px; }
.badge-live{ background:#E12525; color:#fff; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:1px; display:inline-flex; align-items:center; gap:6px;}
.badge-live::before{ content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation: pulse 1.4s infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.3;} }

.social-embed{ background: var(--white); border-radius: var(--radius-m); overflow:hidden; box-shadow: var(--shadow-card); }
.social-head{ display:flex; align-items:center; gap:10px; padding: 14px 16px; border-bottom:1px solid var(--line); font-weight:600; font-size:14px; }
.social-dot{ width:30px; height:30px; border-radius:50%; background: linear-gradient(135deg,var(--orange),var(--purple-bright)); }
.social-body{ padding: 16px; font-size: 14px; line-height:1.6; }
.social-tags{ color: var(--purple-bright); font-weight:600; }
.social-stats{ display:flex; gap:16px; padding: 12px 16px; border-top:1px solid var(--line); font-size:13px; color: rgba(42,10,56,.6); }

.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-q{ width:100%; background:none; border:none; text-align:left; padding: 20px 0; display:flex; justify-content:space-between; align-items:center; font-weight:600; font-size: 16px; color: var(--purple); }
.accordion-q .plus{ font-size:22px; transition: transform .25s ease; color: var(--orange); }
.accordion-item.open .plus{ transform: rotate(45deg); }
.accordion-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; font-size:14.5px; color: rgba(42,10,56,.75); line-height:1.65; }
.accordion-item.open .accordion-a{ max-height: 240px; padding-bottom: 20px; }

.reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

.page-hero{
  background: linear-gradient(180deg, var(--purple), #3A0050);
  color: var(--white); padding: 150px 0 70px; text-align:left;
}
.page-hero h1{ font-size: clamp(36px,5vw,58px); }
.page-hero p{ margin-top: 14px; max-width: 560px; opacity:.85; line-height:1.6; }
.breadcrumb{ font-size:13px; letter-spacing:.5px; opacity:.7; margin-bottom: 14px; text-transform:uppercase; }
