/* Sanket Arsekar — Maratha / भगवा theme (serious, static — no motion gimmicks)
   Motifs: saffron, fort stone, temple gold, parchment */
:root {
  --ink: #1f0d08;
  --ink-soft: #5c2a16;
  --muted: #7a4630;
  --leaf: #c44a00;
  --leaf-deep: #8f2f00;
  --leaf-soft: #fff1df;
  --sun: #d4a017;
  --sun-soft: #fff4d6;
  --bhagwa: #ff9933;
  --bhagwa-deep: #e06a00;
  --maroon: #5c0a0a;
  --maroon-deep: #3a0606;
  --stone: #4a2818;
  --paper: #f7f0e4;
  --white: #fffdf8;
  --line: #e2c49a;
  --line-strong: #c9924a;
  --danger-soft: #f7ebe6;
  --radius: 2px;
  --max: 1120px;
  --font-display: "Prata", "Noto Serif Devanagari", "Tiro Devanagari Marathi", Georgia, serif;
  --font-body: "Hind", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  --shadow-soft: 0 1px 0 rgba(31, 13, 8, 0.08);
  --ornament: url("../assets/pattern.svg");
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--leaf);
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bg-wash {
  background-color: var(--paper);
  background-image:
    var(--ornament),
    linear-gradient(180deg, #fff6e8 0%, var(--paper) 42%, #f3e6d2 100%);
  background-size: 120px 120px, auto;
  background-repeat: repeat, no-repeat;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--maroon-deep) 0%,
    var(--bhagwa-deep) 28%,
    var(--bhagwa) 50%,
    var(--sun) 72%,
    var(--maroon) 100%
  );
}

/* Header — solid parchment, no blur / no scroll effects */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 2px solid var(--line-strong);
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: none;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  flex-shrink: 0;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch button.is-active {
  background: var(--leaf-soft);
  color: var(--leaf-deep);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: -2px;
}

body.lang-kok {
  font-size: 1.15rem;
}

body.lang-kok .hero-brand,
body.lang-kok .section-title,
body.lang-kok .heart-quote,
body.lang-kok h1,
body.lang-kok h2,
body.lang-kok h3,
body.lang-kok .brand {
  font-family: "Tiro Devanagari Marathi", "Noto Serif Devanagari", var(--font-display), serif;
}

body.lang-kok,
body.lang-kok .btn,
body.lang-kok .site-nav a,
body.lang-kok input,
body.lang-kok select,
body.lang-kok textarea {
  font-family: "Noto Sans Devanagari", "Hind", var(--font-body), sans-serif;
}

.brand {
  font-size: 1.4rem;
  color: var(--maroon);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--bhagwa);
  box-shadow: 0 0 0 2px var(--maroon);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--leaf-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--leaf-deep);
  border-bottom-color: var(--leaf);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bhagwa-deep);
  margin: 0 0 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--maroon);
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #ff9933 0%, #c44a00 42%, #5c0a0a 100%);
}

/* Shivaji portrait — very faint watermark only */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/hero-shivaji.jpg") center 38% / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(40, 8, 4, 0.28) 0%,
    rgba(30, 6, 3, 0.52) 48%,
    rgba(18, 4, 2, 0.93) 100%
  );
  pointer-events: none;
  border-bottom: 4px solid var(--bhagwa);
  box-shadow: inset 0 -4px 0 var(--sun);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
  width: 100%;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Tiro Devanagari Marathi", "Noto Serif Devanagari", var(--font-display), serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0;
  color: #ffe7b0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-greeting::before,
.hero-greeting::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: #c9924a;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  max-width: 32rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 400;
  line-height: 1.45;
}

/* Super Fit November homepage flash */
.ff-flash {
  background: var(--maroon-deep);
  color: #ffe8c4;
  border-top: 3px solid var(--sun);
  border-bottom: 4px solid var(--bhagwa);
  padding: 1.75rem 0;
}

.ff-flash-inner {
  text-align: left;
  max-width: 40rem;
}

.ff-flash-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bhagwa);
}

.ff-flash-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff8ea;
}

.ff-flash-lead {
  margin: 0 0 1rem;
  color: #ffe8c4;
  font-size: 1.05rem;
  max-width: 36rem;
}

.ff-flash .btn-primary {
  background: var(--bhagwa);
  color: #1f0d08;
  border-color: #a34500;
}

.heart-strip {
  padding: 2.75rem 0;
  background: linear-gradient(180deg, #fff4e4 0%, #f7f0e4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 3px double var(--line-strong);
  position: relative;
}

.heart-strip::before,
.heart-strip::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  width: 5px;
  height: 13px;
  border-radius: 50%;
  background: var(--maroon);
  opacity: 0.5;
  box-shadow: 0 -7px 0 -1px var(--bhagwa-deep);
}

.heart-strip::before { left: 1.25rem; }
.heart-strip::after { right: 1.25rem; }

.heart-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--maroon);
  max-width: 40rem;
  margin: 0 0 0.85rem;
}

.heart-place {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bhagwa-deep);
}

.lead-warm {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.help-band {
  background: linear-gradient(180deg, var(--white) 0%, #fff8ec 100%);
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 3px double var(--line-strong);
  background:
    var(--ornament),
    linear-gradient(180deg, #fff3e0 0%, var(--paper) 100%);
  background-size: 120px 120px, auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  color: var(--maroon);
}

.page-hero p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
  font-size: 1.1rem;
}

/* Buttons — calm, no bounce */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--bhagwa);
  color: #1f0d08;
  border-color: #a34500;
}

.btn-primary:hover {
  background: #ffb04a;
  color: #1f0d08;
}

.btn-secondary {
  background: rgba(20, 4, 2, 0.3);
  color: #fff4e0;
  border-color: #ffd27a;
}

.btn-secondary:hover {
  background: rgba(20, 4, 2, 0.45);
  color: #fffaf0;
}

.btn-outline {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--leaf-soft);
  color: var(--maroon);
  border-color: var(--bhagwa-deep);
}

.btn-solid {
  background: var(--bhagwa-deep);
  color: #fffdf8;
  border-color: var(--maroon);
}

.btn-solid:hover {
  background: var(--maroon);
  color: #fffdf8;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tile {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px rgba(201, 146, 74, 0.35);
  padding: 0;
  overflow: hidden;
}

.tile-visual {
  height: 140px;
  background: var(--leaf-soft);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.tile-visual::before {
  content: "";
  position: absolute;
  inset: 0;
}

.tile-visual.organ::before {
  background: linear-gradient(135deg, #ff9933 0%, #c44a00 100%);
}

.tile-visual.youth::before {
  background: linear-gradient(135deg, #d4a017 0%, #8f2f00 100%);
}

.tile-visual.outreach::before {
  background: linear-gradient(135deg, #b8430a 0%, #5c0a0a 100%);
}

.tile-visual.education::before {
  background: linear-gradient(135deg, #8f2f00 0%, #3a0606 100%);
}

.tile-visual span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.tile-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.tile-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.tile-body p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}

.tile-meta {
  font-size: 0.85rem;
  color: var(--leaf-deep);
  font-weight: 500;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  max-width: 36rem;
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 2px rgba(211, 84, 0, 0.18);
  background: var(--white);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.privacy-note {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--leaf-soft);
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  border-left: 3px solid var(--leaf);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--leaf-soft);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #fde8e8;
  border-color: #e8b4b4;
  color: #9b1c1c;
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.tile-visual.experience-photo {
  background-size: cover;
  background-position: center;
  min-height: 160px;
}

.story-slideshow {
  max-width: 40rem;
}

.story-slide-card {
  background: var(--white);
  border: 2px solid var(--line-strong);
  box-shadow: inset 0 0 0 4px #fffdf8, 0 0 0 1px rgba(92, 10, 10, 0.08);
  padding: 0;
  overflow: hidden;
}

.story-slide-photo {
  min-height: 200px;
  background: var(--leaf-soft) center / cover no-repeat;
}

.story-slide-body {
  padding: 1.35rem 1.4rem 0.5rem;
}

.story-slide-count {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sun);
}

.story-slide-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.story-slide-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0.75rem 0 0;
  min-height: 4.5em;
}

.story-slide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem 1.15rem;
}

.story-slide-nav .btn {
  min-height: 2.4rem;
  min-width: 2.4rem;
  padding: 0.35rem 0.7rem;
  font-size: 1.25rem;
  line-height: 1;
}

.story-slide-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.story-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.story-dot.is-active {
  background: var(--leaf);
}

.media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.media-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.media-item:first-child {
  padding-top: 0;
}

.media-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bhagwa-deep);
}

.media-item h3 {
  margin: 0;
  font-size: 1.2rem;
}

.media-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.media-source {
  font-size: 0.9rem;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.note-box {
  background: #fff8e8;
  border: 1px solid var(--line-strong);
  padding: 1.25rem 1.35rem;
}

.note-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.note-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.note-box p.steps {
  white-space: pre-line;
}

.site-footer {
  margin-top: 2rem;
  background: var(--maroon-deep);
  color: rgba(255, 244, 224, 0.92);
  padding: 2.5rem 0 2rem;
  border-top: 4px solid var(--bhagwa);
}

.site-footer::before {
  content: "॥ जय भवानी ॥ जय शिवराय ॥";
  display: block;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: #ffd27a;
  font-size: 0.95rem;
  margin: 0 auto 1.5rem;
  max-width: var(--max);
  padding: 0 1.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .brand {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.site-footer p {
  font-size: 0.95rem;
  margin: 0;
  max-width: 22rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-base {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.reveal,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-right {
    gap: 0.5rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.65rem;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(78vh, 620px);
  }
}
