/* =========================================================================
   AARUNYA — NATIONAL DRIVE LAYER (HOME PAGE)
   "ONE NATION. ONE RECORD."

   Loaded LAST on index.html. It repositions the page from a local community
   drive to a national world-record attempt: an animated tricolour over the
   hero film, the national fundraising message, the live campaign counter,
   the contribution picker/payment step and the share bar.

   Kept in its own sheet so the change can be reverted by removing one <link>.
   ========================================================================= */

:root{
  --n-saffron:#ff9933;
  --n-saffron-soft:#ffb56b;
  --n-green:#138808;
  --n-green-soft:#3faa2e;
}

.nowrap{white-space:nowrap;}


/* =========================================================================
   1 — HERO: ANIMATED TRICOLOUR OVER THE FILM
   Screen blending keeps the sunrise footage visible underneath; the three
   bands read as a tricolour wash rather than a flat overlay.
   ========================================================================= */

.flag-hero .tricolour-layer{
  position:absolute;
  inset:0;
  z-index:2;

  overflow:hidden;
  pointer-events:none;
}

/* Ashoka Chakra — deliberately faint. Texture, not a logo. */
.flag-hero .tri-chakra{
  position:absolute;
  top:44%;
  right:-60px;

  width:min(430px,42vw);
  height:min(430px,42vw);

  transform:translateY(-50%);
  opacity:.15;

  mix-blend-mode:screen;

  animation:tri-chakra-turn 150s linear infinite;
}

@keyframes tri-chakra-turn{
  to{transform:translateY(-50%) rotate(360deg);}
}

/* The tricolour band closing the hero. Kept as a normal block between the
   two sections: inside the hero it sat at bottom:0 of a fractional-height
   box with overflow:hidden, which clipped a thin stripe away entirely. */
.tricolour-ribbon{
  position:relative;
  z-index:1;

  height:6px;

  background:linear-gradient(
    90deg,
    var(--n-saffron) 0%,
    var(--n-saffron) 33.33%,
    #fff 33.33%,
    #fff 66.66%,
    var(--n-green) 66.66%,
    var(--n-green) 100%
  );
}


/* =========================================================================
   2 — HERO COPY
   ========================================================================= */

/* The billing is now the campaign line, so both halves take the display
   weight and the second half carries the tricolour. */
/* The silk loop is already dark, so the flagship sheet's heavy sunset scrim
   is dialled back — otherwise the tricolour reads as grey. */
.flag-hero .hero-tint{
  background:
    linear-gradient(90deg,
      rgba(10,14,10,.80) 0%,
      rgba(10,14,10,.62) 34%,
      rgba(10,14,10,.30) 62%,
      rgba(10,14,10,.10) 82%,
      rgba(10,14,10,0) 100%),
    linear-gradient(180deg,
      rgba(10,14,10,.42) 0%,
      rgba(10,14,10,.16) 32%,
      rgba(10,14,10,.30) 70%,
      rgba(10,14,10,.58) 100%) !important;
}

@media (max-width:900px){
  .flag-hero .hero-tint{
    background:linear-gradient(180deg,
      rgba(10,14,10,.66) 0%,
      rgba(10,14,10,.52) 34%,
      rgba(10,14,10,.60) 72%,
      rgba(10,14,10,.78) 100%) !important;
  }
}

/* The warm sunset glow belonged to the old footage. */
.flag-hero .hero-glow{
  background:radial-gradient(120% 80% at 50% 112%,rgba(255,153,51,.20) 0%,rgba(255,153,51,0) 60%) !important;
}

/* One display size shared by every line of the billing: ONE MIC, ONE NATION,
   ONE RECORD and the record claim beneath them. */
.flag-hero .hero-mic-line,
.flag-hero .hero-record-line,
.flag-hero .hero-event-line,
.flag-hero .hero-claim{
  font-family:var(--s-display);
  font-size:clamp(29px,4.7vw,66px);
  font-weight:800;
  line-height:.98;
  letter-spacing:-.035em;
}

.flag-hero .hero-mic-line,
.flag-hero .hero-record-line{
  color:#fff;
  text-shadow:0 3px 26px rgba(28,19,12,.9),0 1px 3px rgba(28,19,12,.7);
}

.flag-hero .hero-event-line{
  background:linear-gradient(96deg,var(--n-saffron) 0%,#fff 50%,#7fd36c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;

  /* A text-shadow cannot sit under transparent text, so the lift comes from
     a drop-shadow filter on the element instead. */
  text-shadow:none;
  filter:drop-shadow(0 3px 22px rgba(28,19,12,.75));
}

.flag-hero .hero-lead{
  margin-top:clamp(18px,2.6vh,26px);

  font-size:clamp(18px,2vw,25px);
  color:rgba(255,250,242,.92);
}

.flag-hero .hero-lead strong{
  color:#fff;
  font-weight:800;
}

/* The record claim: same size as the billing above it, so the two read as one
   block of type rather than a headline with a caption. */
.flag-hero .hero-claim{
  margin:clamp(6px,1vh,10px) 0 0;

  color:var(--n-saffron-soft);

  text-shadow:0 3px 26px rgba(28,19,12,.9),0 1px 3px rgba(28,19,12,.7);
}

.flag-hero .hero-invite{
  margin:clamp(16px,2.4vh,24px) 0 0;
  padding-top:clamp(16px,2.4vh,24px);

  border-top:1px solid rgba(255,250,242,.22);

  color:#fff;

  font-family:var(--s-display);
  font-weight:700;
  font-size:clamp(18px,2.3vw,28px);
  line-height:1.35;

  text-shadow:0 2px 16px rgba(28,19,12,.85);
}


/* =========================================================================
   3 — THE NATIONAL CTA BUTTON
   ========================================================================= */

.btn-national{
  background:linear-gradient(120deg,var(--n-saffron) 0%,#ffc46b 46%,var(--n-green-soft) 100%) !important;
  color:#14200f !important;
  border:0 !important;

  font-weight:800;
  letter-spacing:.03em;
}

.btn-national .flag{
  font-size:1.15em;
  line-height:1;
}

.btn-national .arrow-dot{
  background:rgba(20,32,15,.16) !important;
  color:#14200f !important;
}


/* =========================================================================
   4 — NATIONAL MESSAGE BAND
   ========================================================================= */

.national-message{
  position:relative;

  padding:clamp(64px,9vw,104px) var(--s-gutter);

  background:
    radial-gradient(90% 120% at 10% 0%,rgba(255,153,51,.11) 0%,rgba(255,153,51,0) 60%),
    radial-gradient(90% 120% at 92% 100%,rgba(19,136,8,.11) 0%,rgba(19,136,8,0) 60%),
    var(--s-paper);

  border-bottom:1px solid var(--s-line-soft);

  text-align:center;
}

.national-message .container{max-width:900px;}

.nm-flagline{
  display:inline-flex;
  align-items:center;
  gap:10px;

  margin-bottom:24px;
  padding:9px 20px;

  border-radius:999px;

  background:linear-gradient(
    90deg,
    rgba(255,153,51,.18) 0%,
    rgba(255,255,255,.9) 50%,
    rgba(19,136,8,.18) 100%
  );

  color:var(--s-ink-soft);

  font-size:13px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.nm-title{
  margin:0 0 26px;

  color:var(--s-ink);

  font-family:var(--s-display);
  font-size:clamp(28px,4.6vw,60px);
  font-weight:800;
  line-height:1.04;
  letter-spacing:-.035em;
}

.national-message p{
  max-width:720px;
  margin:0 auto 18px;

  color:var(--s-ink-soft);

  font-size:clamp(17px,2vw,22px);
  line-height:1.68;
}

.national-message p strong{color:var(--s-ink);}


/* =========================================================================
   4b — THE JOURNEY STRIP
   A clickable table of contents for the five steps, so the whole campaign
   is reachable from one place instead of by scrolling and hoping.
   ========================================================================= */

.journey{
  position:relative;

  padding:clamp(28px,4vw,40px) var(--s-gutter);

  border-bottom:1px solid var(--s-line-soft);

  background:var(--s-cream);
}

.journey-title{
  margin:0 0 20px;

  color:var(--s-gold-deep);

  font-size:13px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;

  text-align:center;
}

.journey-title span{
  color:var(--s-muted);
  font-weight:700;
}

.journey-steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;

  margin:0;
  padding:0;

  list-style:none;

  counter-reset:none;
}

.journey-steps a{
  position:relative;

  display:flex;
  flex-direction:column;
  gap:5px;

  height:100%;
  padding:18px 18px 18px 20px;

  border:1px solid var(--s-line);
  border-radius:16px;

  background:var(--s-paper);

  transition:transform var(--s-fast) var(--s-ease),
             border-color var(--s-fast) var(--s-ease),
             box-shadow var(--s-fast) var(--s-ease);
}

/* The tricolour thread that runs through the five steps. */
.journey-steps li:nth-child(1) a{border-left:3px solid var(--n-saffron);}
.journey-steps li:nth-child(2) a{border-left:3px solid #f0b877;}
.journey-steps li:nth-child(3) a{border-left:3px solid #d8d2c4;}
.journey-steps li:nth-child(4) a{border-left:3px solid #7bbf68;}
.journey-steps li:nth-child(5) a{border-left:3px solid var(--n-green);}

.journey-steps a:hover{
  transform:translateY(-3px);
  border-color:var(--s-gold);
  box-shadow:0 16px 32px -20px rgba(36,26,18,.45);
}

.js-num{
  color:var(--s-gold-deep);

  font-family:var(--s-display);
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.16em;
}

.js-label{
  color:var(--s-ink);

  font-family:var(--s-display);
  font-size:clamp(15.5px,1.5vw,19px);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.01em;
}

.js-sub{
  color:var(--s-muted);

  font-size:14px;
  line-height:1.45;
}

@media (max-width:1050px){
  /* Below three-up the steps scroll sideways rather than stacking into a
     five-item wall the reader has to scroll past. */
  .journey-steps{
    display:flex;
    gap:12px;

    overflow-x:auto;

    padding-bottom:6px;

    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .journey-steps li{
    flex:0 0 min(230px,72vw);
    scroll-snap-align:start;
  }
}


/* =========================================================================
   4c — ANCHOR OFFSETS
   Every in-page target clears the sticky header instead of hiding
   its own heading underneath it.
   ========================================================================= */

#one-nation,
#national-drive,
#festival,
#festival-visit,
#drive,
#give,
#contribute-now,
#share,
#why,
#work,
#friends,
#living,
#music,
#join,
#impact{
  scroll-margin-top:104px;
}


/* =========================================================================
   4d — FULL MENU: the journey is numbered, Aarunya's own pages sit below
   ========================================================================= */

.ref-menu-links em{
  display:inline-block;

  min-width:2.2em;

  color:var(--n-saffron);

  font-style:normal;
  font-weight:800;
  font-size:.62em;
  letter-spacing:.14em;
  vertical-align:middle;
}

.ref-menu-links .menu-rule{
  margin-top:14px;
  padding-top:14px;

  border-top:1px solid rgba(253,246,238,.16);
}


/* =========================================================================
   5 — NATIONAL CAMPAIGN COUNTER
   ========================================================================= */

.national-counter{
  position:relative;

  padding:clamp(56px,8vw,88px) var(--s-gutter);

  background:linear-gradient(160deg,#1b2414 0%,#141b12 55%,#0e130d 100%);

  color:#fffaf2;

  overflow:hidden;
}

.national-counter::before{
  content:"";

  position:absolute;
  inset:0;

  background:
    radial-gradient(70% 90% at 8% 0%,rgba(255,153,51,.22) 0%,rgba(255,153,51,0) 60%),
    radial-gradient(70% 90% at 95% 100%,rgba(19,136,8,.24) 0%,rgba(19,136,8,0) 60%);

  pointer-events:none;
}

.national-counter .container{position:relative;z-index:1;}

/* The counter also runs as a panel inside the festival section, where it
   replaced the old "Indians represented" bar. Same content, card shape. */
.national-counter.is-panel{
  padding:clamp(26px,3.4vw,40px);

  border:1px solid rgba(255,250,242,.14);
  border-radius:24px;

  background:
    radial-gradient(80% 120% at 4% 0%,rgba(255,153,51,.14) 0%,rgba(255,153,51,0) 58%),
    radial-gradient(80% 120% at 96% 100%,rgba(19,136,8,.16) 0%,rgba(19,136,8,0) 58%),
    rgba(255,250,242,.04);
}

.national-counter.is-panel::before{content:none;}

.national-counter.is-panel .nc-label{margin-bottom:26px;}

.nc-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  margin-bottom:34px;

  color:var(--n-saffron);

  font-family:var(--s-display);
  font-size:12px;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;

  text-align:center;
}

.nc-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;

  text-align:center;
}

.nc-item{
  padding:28px 18px;

  border:1px solid rgba(255,250,242,.14);
  border-radius:22px;

  background:rgba(255,250,242,.05);
}

.nc-item strong{
  display:block;

  background:linear-gradient(100deg,#ffd9a8 0%,var(--n-saffron) 55%,#ffb56b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;

  font-family:var(--s-display);
  font-size:clamp(30px,4.6vw,54px);
  font-weight:800;
  line-height:1;
  letter-spacing:-.035em;
}

.nc-item.is-goal strong{
  background:linear-gradient(100deg,#c9f0bd 0%,var(--n-green-soft) 58%,#8fd97f 100%);
  -webkit-background-clip:text;
  background-clip:text;
}

.nc-item span{
  display:block;

  margin-top:12px;

  color:rgba(255,250,242,.6);

  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.nc-progress{margin-top:32px;}

.nc-track{
  height:10px;

  border-radius:999px;

  background:rgba(255,250,242,.14);

  overflow:hidden;
}

.nc-track span{
  display:block;

  width:0;
  height:100%;

  border-radius:999px;

  background:linear-gradient(90deg,var(--n-saffron) 0%,#fff 50%,var(--n-green-soft) 100%);

  transition:width 1.1s var(--s-ease);
}

.nc-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;

  margin-top:14px;

  color:rgba(255,250,242,.6);

  font-size:12.5px;
  font-weight:600;
}

.nc-note{
  margin:26px 0 0;

  color:rgba(255,250,242,.42);

  font-size:12.5px;
  text-align:center;
}


/* =========================================================================
   6 — CONTRIBUTION LADDER
   Six amounts now (₹100 → other), so the grid runs three-up.
   ========================================================================= */

/* The payment step owns the "Other amount" field now, so the summary bar's
   duplicate input goes away. Its display rule also beat the [hidden]
   attribute, so it was showing even when nothing had been chosen. */
.tier-summary .ts-custom{
  display:none !important;
}

.tier[aria-pressed="true"]{
  background:linear-gradient(125deg,var(--n-saffron) 0%,#ffc46b 50%,var(--n-green-soft) 100%);
  border-color:transparent;
}

.tier[aria-pressed="true"] .t-amount{color:#14200f;}
.tier[aria-pressed="true"] .t-name{color:rgba(20,32,15,.72);}
.tier[aria-pressed="true"] .t-desc{color:rgba(20,32,15,.8);}

.tier[aria-pressed="true"]::after{
  background:rgba(20,32,15,.86);
  color:#fff;
}

/* Four columns are narrower than the three this card was built for, so the
   amount steps down enough to keep "₹12,00,000 (12L)" on one line. */
.alloc-card .ac-amount{
  font-size:clamp(21px,2vw,27px);
  white-space:nowrap;
}

.alloc-card .ac-amount small{
  margin-left:5px;

  color:var(--n-green);

  font-size:.6em;
  font-weight:800;
  letter-spacing:.05em;
}

.alloc-card h3{
  font-size:clamp(17px,1.5vw,20px);
  line-height:1.28;
}

/* Four costed requirements now, not three. */
.drive-alloc{grid-template-columns:repeat(4,1fr);}

@media (max-width:1150px){.drive-alloc{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.drive-alloc{grid-template-columns:1fr;}}


/* =========================================================================
   7 — PAYMENT STEP
   ========================================================================= */

.pay-panel{
  max-width:760px;
  margin:0 auto 40px;
  padding:clamp(26px,4vw,40px);

  border:1px solid rgba(255,153,51,.34);
  border-radius:26px;

  background:
    radial-gradient(80% 120% at 4% 0%,rgba(255,153,51,.18) 0%,rgba(255,153,51,0) 58%),
    radial-gradient(80% 120% at 96% 100%,rgba(19,136,8,.2) 0%,rgba(19,136,8,0) 58%),
    linear-gradient(162deg,#1b2414 0%,#141b12 55%,#0e130d 100%);

  color:#fffaf2;
}

.pay-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 20px;
}

.pay-field{
  display:flex;
  flex-direction:column;
  gap:9px;
}

/* .pay-field sets display:flex, which beats the browser's [hidden] rule. */
.pay-field[hidden]{display:none !important;}

.pay-field label{
  color:rgba(255,250,242,.62);

  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.pay-field select,
.pay-field input{
  width:100%;
  padding:15px 16px;

  border:1.5px solid rgba(36,26,18,.14);
  border-radius:14px;

  background:var(--s-paper);

  color:var(--s-ink);

  font-family:var(--s-body);
  font-size:16px;
  font-weight:600;

  outline:none;

  transition:border-color .2s ease,box-shadow .2s ease;
}

.pay-field select:focus,
.pay-field input:focus{
  border-color:var(--n-saffron);
  box-shadow:0 0 0 4px rgba(255,153,51,.2);
}

.pay-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:12px;

  margin-top:24px;
  padding:18px 22px;

  border:1px solid rgba(255,250,242,.14);
  border-left:4px solid var(--n-saffron);
  border-radius:16px;

  background:rgba(255,250,242,.06);
}

.pay-summary span{
  color:rgba(255,250,242,.62);

  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.pay-summary strong{
  color:#fff;

  font-family:var(--s-display);
  font-size:clamp(24px,3.4vw,34px);
  font-weight:800;
  letter-spacing:-.03em;
}

.pay-actions{margin-top:24px;}

.pay-status{
  margin:18px 0 0;

  color:rgba(255,250,242,.62);

  font-size:13.5px;
  line-height:1.6;
}


/* =========================================================================
   8 — SHARE BAND
   ========================================================================= */

.share-band{
  position:relative;

  padding:clamp(60px,8vw,96px) var(--s-gutter);

  background:linear-gradient(160deg,#1b2414 0%,#141b12 55%,#0e130d 100%);

  color:#fffaf2;

  overflow:hidden;
}

.share-band::before{
  content:"";

  position:absolute;
  inset:0;

  background:
    radial-gradient(60% 80% at 92% 8%,rgba(255,153,51,.2) 0%,rgba(255,153,51,0) 60%),
    radial-gradient(60% 80% at 6% 96%,rgba(19,136,8,.22) 0%,rgba(19,136,8,0) 60%);

  pointer-events:none;
}

.share-band .container{
  position:relative;
  z-index:1;

  max-width:900px;
}

.share-band .kicker{color:var(--n-saffron) !important;}
.share-band h2{color:#fffaf2 !important;}
.share-band .sec-head p{color:rgba(255,250,242,.76) !important;}

.share-buttons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;

  margin-top:36px;
}

.share-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:15px 26px;

  border:1px solid rgba(255,250,242,.22);
  border-radius:999px;

  background:rgba(255,250,242,.06);

  color:#fffaf2;

  font-family:var(--s-display);
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;

  cursor:pointer;

  transition:transform var(--s-fast) var(--s-ease),
             background var(--s-fast) var(--s-ease),
             border-color var(--s-fast) var(--s-ease);
}

.share-btn svg{
  width:18px;
  height:18px;

  fill:currentColor;
  stroke:none;
}

.share-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(255,250,242,.5);
  background:rgba(255,250,242,.14);
}

.share-btn.is-whatsapp:hover{background:#25d366;border-color:#25d366;color:#06280f;}
.share-btn.is-facebook:hover{background:#1877f2;border-color:#1877f2;color:#fff;}
.share-btn.is-instagram:hover{background:linear-gradient(120deg,#f9ce34,#ee2a7b 52%,#6228d7);border-color:transparent;color:#fff;}
.share-btn.is-linkedin:hover{background:#0a66c2;border-color:#0a66c2;color:#fff;}

.share-preview{
  margin-top:36px;
  padding:24px 26px;

  border:1px solid rgba(255,250,242,.14);
  border-radius:20px;

  background:rgba(255,250,242,.05);

  text-align:left;
}

.share-preview .sp-label{
  margin-bottom:10px;

  color:var(--n-saffron);

  font-size:11px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.share-preview p{
  margin:0;

  color:rgba(255,250,242,.84);

  font-size:15.5px;
  line-height:1.72;
}

.share-feedback{
  margin-top:18px;
  min-height:20px;

  color:var(--n-saffron-soft);

  font-size:13.5px;
  font-weight:600;
  text-align:center;
}


/* =========================================================================
   9 — RESPONSIVE
   ========================================================================= */

@media (max-width:900px){
  .nc-grid{grid-template-columns:1fr;}
  .pay-form{grid-template-columns:1fr;}
  .flag-hero .tri-chakra{right:-38%;opacity:.11;}
  .share-buttons .share-btn{flex:1 1 42%;justify-content:center;}
}


/* =========================================================================
   10 — REDUCED MOTION
   The tricolour stays; only the movement stops.
   ========================================================================= */

@media (prefers-reduced-motion:reduce){
  .flag-hero .tri-band,
  .flag-hero .tri-chakra{animation:none !important;}
  .nc-track span{transition:none !important;}
}
