:root {
  --yellow: #FFE135;
  --yellow-soft: #FFF3A8;
  --yellow-deep: #F5C800;
  --ink: #111111;
  --ink-2: #2B2B2B;
  --paper: #FFFDF4;
  --muted: #5A574C;
  --line: rgba(17, 17, 17, 0.14);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Permanent Marker", "Comic Sans MS", cursive;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px 26px 16px 24px / 24px 16px 26px 18px;
  --shadow: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--yellow); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--hand);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink-2);
}

.section-title { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 800; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 820px; }
.muted { color: var(--muted); }

/* Marker highlight, like a yellow streak behind the word */
.mark {
  background: linear-gradient(104deg, transparent 0.6%, var(--yellow) 2%, var(--yellow) 96%, transparent 98%) 0 88% / 100% 62% no-repeat;
  padding: 0 0.12em;
  margin: 0 -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.band .mark, .involved .way-main .mark { background-image: linear-gradient(104deg, transparent 0.6%, var(--ink) 2%, var(--ink) 96%, transparent 98%); color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.5em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn-ink { background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow-deep); }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--yellow-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand .logo { width: 46px; height: 46px; transition: transform .3s ease; }
.brand:hover .logo { transform: rotate(-10deg); }
.brand-name { font-family: var(--hand); font-size: 1.35rem; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.98rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px;
  background: var(--yellow); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; z-index: -1;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-donate { padding: 0.6em 1.2em; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 3px; background: var(--ink); border-radius: 3px; margin: 6px 0; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--yellow);
    border-bottom: 3px solid var(--ink);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-120%);
    transition: transform .25s ease;
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 0.9rem 0; font-size: 1.25rem; border-bottom: 1px solid rgba(17,17,17,.15); }
  .nav a:not(.btn)::after { display: none; }
  .nav-donate { margin-top: 1rem; box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  /* yellow street blocks drifting behind the hero */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--yellow-soft), var(--yellow-soft)) right 8% top 0 / 14px 100% no-repeat,
    linear-gradient(var(--yellow-soft), var(--yellow-soft)) right calc(8% + 30px) top 0 / 8px 100% no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 1.5rem; }
.hero h1 .line { display: block; }
.hero h1 .mark { background-size: 100% 55%; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); max-width: 34ch; color: var(--ink-2); margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hindi { font-family: "Mukta", var(--body); font-weight: 700; font-size: 1.15rem; margin-top: 2rem; color: var(--muted); letter-spacing: 0.04em; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.hero-logo {
  width: 100%; height: 100%;
  filter: drop-shadow(8px 9px 0 var(--ink));
  animation: wobble 9s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } }

.sticker {
  position: absolute;
  font-family: var(--hand); font-size: clamp(1rem, 2vw, 1.4rem);
  background: var(--ink); color: var(--yellow);
  padding: 0.35em 0.8em; border-radius: 6px 12px 8px 10px;
  box-shadow: 3px 3px 0 var(--yellow-deep);
}
.s1 { top: 4%; left: -4%; transform: rotate(-8deg); }
.s2 { bottom: 12%; right: -6%; transform: rotate(6deg); background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.s3 { bottom: 2%; left: 10%; transform: rotate(-3deg); }

@media (max-width: 860px) {
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; margin-bottom: 0.5rem; }
  .s1 { left: -2%; } .s2 { right: -2%; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; border-block: 3px solid var(--ink); transform: rotate(-1.2deg); margin: 0 -10px; }
.ticker-track { display: flex; width: max-content; animation: scroll 38s linear infinite; padding: 0.9rem 0; }
.ticker-track span { font-family: var(--hand); font-size: clamp(1.1rem, 2.2vw, 1.6rem); white-space: nowrap; padding: 0 1.4rem; }
.ticker-track span::after { content: "✦"; margin-left: 2.8rem; color: var(--yellow-deep); font-family: var(--body); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .hero-logo { animation: none; } }

/* ---------- About ---------- */
.about { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-copy p { font-size: 1.1em; }
.pull { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem) !important; margin-top: 1.6rem; line-height: 1.1; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Programmes ---------- */
.programmes { background: var(--yellow); padding: clamp(4.5rem, 9vw, 8rem) 0; border-block: 3px solid var(--ink); }
.programmes .mark { background-image: linear-gradient(104deg, transparent 0.6%, #fff 2%, #fff 96%, transparent 98%); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  position: relative;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px) rotate(-0.4deg); box-shadow: 9px 9px 0 var(--ink); }
.card-lg { grid-column: span 2; background: var(--ink); color: var(--paper); }
.card-lg .card-icon svg { stroke: var(--yellow); }
.card-lg .card-num { color: var(--yellow); }
.card-num { font-family: var(--hand); font-size: 1rem; position: absolute; top: 1.2rem; right: 1.4rem; color: var(--muted); }
.card-icon { width: 56px; height: 56px; margin-bottom: 1.1rem; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; margin-bottom: 0.7rem; }
.card p { margin: 0; }
.card-lg p { max-width: 58ch; font-size: 1.08em; }
.tags { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { font-size: 0.88rem; font-weight: 700; padding: 0.35em 0.9em; border-radius: 999px; background: var(--yellow); color: var(--ink); }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card-lg { grid-column: auto; } }

/* ---------- Quote band ---------- */
.band { background: var(--ink); color: var(--paper); padding: clamp(4.5rem, 10vw, 8rem) 0; text-align: center; }
.band-quote { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto 1.2rem; }
.hand { font-family: var(--hand); color: var(--yellow); font-weight: 400; display: inline-block; transform: rotate(-4deg); }
.band-sub { font-size: 1.2rem; color: #CFCBB8; margin: 0; }

/* ---------- Moments ---------- */
.moments { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 2.5px solid var(--ink);
}
.timeline li:last-child { border-bottom: 2.5px solid var(--ink); }
.t-year { font-family: var(--hand); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.timeline li:nth-child(odd) .t-year { color: var(--ink); text-shadow: 3px 3px 0 var(--yellow); }
.timeline h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; margin-bottom: 0.6rem; }
.timeline p { color: var(--ink-2); max-width: 62ch; margin: 0; }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- Centres ---------- */
.centres { background: var(--yellow-soft); padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-block: 3px solid var(--ink); }
.centres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.centre-list { display: grid; gap: 1.2rem; }
.centre {
  position: relative; background: var(--paper);
  border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.6rem 4.6rem; box-shadow: var(--shadow);
}
.centre:nth-child(2) { transform: rotate(1deg); margin-left: clamp(0px, 4vw, 40px); }
.centre:nth-child(1) { transform: rotate(-0.8deg); }
.centre h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.3rem; }
.centre p { margin: 0; color: var(--muted); }
.pin { position: absolute; left: 1.4rem; top: 1.7rem; width: 32px; height: 32px; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.pin::after { content: ""; position: absolute; inset: 8px; background: var(--ink); border-radius: 50%; }
@media (max-width: 860px) { .centres-grid { grid-template-columns: 1fr; } }

/* ---------- Get involved ---------- */
.involved { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.ways { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.way {
  display: flex; flex-direction: column;
  text-decoration: none;
  border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  background: var(--paper); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 280px;
}
.way:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.way-main { background: var(--yellow); }
.way h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 0.8rem; }
.way p { flex: 1; color: var(--ink-2); }
.way-cta { font-family: var(--hand); font-size: 1.15rem; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }

.insta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  padding: 1.2rem; border: 2.5px dashed var(--ink); border-radius: 999px;
  text-decoration: none; font-size: 1.05rem; text-align: center;
  transition: background-color .15s ease;
}
.insta:hover { background: var(--yellow-soft); }
.insta svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.brand-footer .logo { width: 60px; height: 60px; }
.brand-footer .brand-name { font-size: 1.6rem; }
.footer-tag { font-family: var(--hand); color: var(--yellow); margin: 1rem 0 0; font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.footer-links a { text-decoration: none; color: #E6E2CF; }
.footer-links a:hover { color: var(--yellow); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: 0.9rem; color: #A9A594; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .centre.reveal.is-in:nth-child(1) { transform: rotate(-0.8deg); }
.js .centre.reveal.is-in:nth-child(2) { transform: rotate(1deg); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
