/* Real Heroes of India. Builds on /styles.css (tokens, header, buttons, footer).
   html[data-lang] = en | hi | both hides one language; reading pages use a story column and a side panel. */
:root { --font-hi: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; }
html[data-lang="en"] .t-hi, html[data-lang="hi"] .t-en { display: none !important; }
[lang="hi"], .t-hi { font-family: var(--font-hi); }
html[data-lang="both"] h1 .t-hi, html[data-lang="both"] h2 .t-hi { display: block; font-size: 0.68em; color: var(--muted); margin-top: 0.2em; font-weight: 600; }
html[data-lang="both"] .btn .t-hi::before, html[data-lang="both"] .eyebrow .t-hi::before, html[data-lang="both"] .war .t-hi::before,
html[data-lang="both"] .hc-award .t-hi::before, html[data-lang="both"] .values .t-hi::before, html[data-lang="both"] .text-link .t-hi::before { content: " · "; }
html[data-lang="both"] p.t-hi, html[data-lang="both"] .hc-sum.t-hi, html[data-lang="both"] .hc-name.t-hi { margin-top: 0.35em; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; color: var(--muted); }

.top-row { flex-wrap: wrap; }
.brand-labs { font-weight: 500; font-size: 0.85em; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { font: inherit; font-size: 0.82rem; font-weight: 600; background: transparent; color: var(--muted); border: 0; padding: 6px 12px; min-height: 34px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
@media (max-width: 640px) { .brand-labs { display: none; } .top-nav { gap: 14px; font-size: 0.88rem; } }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* index */
.hh { padding-block: clamp(36px, 6vw, 72px); background: radial-gradient(60% 80% at 85% 20%, var(--accent-soft), transparent 70%); }
.hh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hh-copy { display: grid; gap: 18px; min-width: 0; }
.hh h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hh-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.section-head { display: grid; gap: 8px; margin: clamp(40px, 6vw, 64px) 0 24px; }
.hero-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s var(--ease), border-color .2s; }
.hero-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hc-body { display: grid; gap: 6px; padding: 16px 18px 20px; align-content: start; }
.hc-award { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.hc-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.hc-name.t-hi { font-family: var(--font-hi); font-size: 1.05rem; }
.hc-sum { color: var(--muted); font-size: 0.95rem; }
.schools-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-block: clamp(40px, 6vw, 64px); padding: clamp(22px, 3.5vw, 36px); background: var(--accent-soft); border-radius: var(--radius); }
.schools-band > div { display: grid; gap: 8px; max-width: 46em; }
@media (max-width: 860px) { .hh-grid { grid-template-columns: 1fr; } .hero-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

/* hero page */
.hero-page { padding-block: clamp(24px, 4vw, 44px) 56px; }
.hero-head { display: grid; gap: 10px; margin-bottom: 22px; }
.hero-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.war { color: var(--muted); font-size: 1.05rem; }
.values { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 0.88rem; padding: 6px 14px; border-radius: 999px; }
.hero-video { margin: 0 0 8px; }
.hero-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); display: block; }
.hero-video figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 8px; }
.hero-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); margin-top: 28px; align-items: start; }
.story h2, .more h2 { font-size: 1.5rem; margin: 0 0 14px; }
.story-p { font-size: 1.08rem; line-height: 1.75; margin-bottom: 14px; max-width: 40em; }
.story-p.t-hi { line-height: 1.85; }
html[data-lang="both"] .story-p.t-en { margin-bottom: 4px; }
html[data-lang="both"] .story-p.t-hi { color: var(--muted); }
.story-img { width: 100%; height: auto; border-radius: 12px; margin: 10px 0 18px; display: block; }
.side { display: grid; gap: 18px; position: sticky; top: 84px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px; background: var(--surface); }
.box h2 { font-size: 1.1rem; }
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.fact-list li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.fact-list li:last-child { border-bottom: 0; }
html[data-lang="both"] .fact-list .t-hi { display: block; color: var(--muted); }
.box-teach .btn { width: 100%; text-align: center; min-height: 44px; font-size: 0.95rem; flex-direction: column; line-height: 1.3; padding: 8px 16px; }
html[data-lang="both"] .box-teach .btn .t-hi { font-size: 0.85em; font-weight: 500; }
html[data-lang="both"] .box-teach .btn .t-hi::before { content: none; }
.text-link { font-weight: 600; text-decoration: none; }
.more { margin-top: 40px; display: grid; gap: 10px; max-width: 46em; }
.more h2 { margin-top: 18px; }
.more details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.more summary { cursor: pointer; font-weight: 600; }
.more blockquote { margin: 14px 0 6px; padding-left: 16px; border-left: 3px solid var(--accent-bright); color: var(--text); line-height: 1.7; }
.sources { padding-left: 20px; display: grid; gap: 6px; font-size: 0.95rem; }
.hero-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.hero-nav a { text-decoration: none; }
@media (max-width: 860px) { .hero-cols { grid-template-columns: 1fr; } .side { position: static; } }

/* teacher guide */
.guide { padding-block: clamp(24px, 4vw, 44px) 56px; display: grid; gap: 14px; max-width: 52em; }
.guide h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
.guide h2 { font-size: 1.4rem; margin-top: 22px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1rem var(--font-head); display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
html[data-lang="both"] .step h3.t-hi { font-size: 0.95rem; color: var(--muted); }
.kit-list { padding-left: 20px; display: grid; gap: 8px; }
html[data-lang="both"] .kit-list .t-hi::before { content: " · "; }
.contact { margin-top: 18px; padding: 18px 20px; background: var(--accent-soft); border-radius: 12px; }
