/* Impact Lens v3: original design, accessibility-first (WCAG 2.2 AA). */
:root { --ink:#14213D; --ink-2:#0B1324; --text:#1F2937; --muted:#4B5563; --paper:#F7F3EC; --sand:#EFE8DC; --line:#E2DBCF; --accent:#FCA311; --link:#1D4ED8; --focus:#FCA311; --r:22px; --wrap:76rem; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: "Noto Sans Bengali", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.75; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Noto Serif Bengali", "Noto Sans Bengali", serif; color: var(--ink); line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 300; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 243, 236, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 33, 61, 0.08); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand-mark { width: 2rem; height: 2rem; }
.nav-badge { font-size: 0.85rem; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 0.3rem 0.8rem; text-decoration: none; }
.nav-badge::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); margin-inline-end: 0.45rem; vertical-align: middle; }
#menu { margin-inline-start: auto; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0.3rem 0.2rem; }
.nav-list a:hover { text-decoration: underline; }
.nav-list .nav-cta { background: var(--ink); color: #fff; border-radius: 999px; padding-inline: 1.1rem; }
.lang-switch { font-weight: 700; }
.menu-btn { display: none; }
@media (max-width: 60rem) {
  .js .menu-btn { display: inline-flex; margin-inline-start: auto; align-items: center; min-height: 44px; padding: 0.4rem 1.1rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
  .js #menu { display: none; width: 100%; margin: 0; }
  .js #menu.open { display: block; }
  .js .nav-list { flex-direction: column; align-items: flex-start; padding: 0.25rem 0 1rem; }
}
@media (max-width: 30rem) { .nav-badge { display: none; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.95rem; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0.2rem 0.9rem; margin-bottom: 1.25rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.75rem 1.6rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: transform 0.2s, background-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24345E; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--sand); }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-accent:hover { background: #FFB733; }
.hero-art { position: relative; justify-self: center; width: min(100%, 30rem); padding: 1.5rem; }
.lens { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 14px solid var(--ink); box-shadow: 0 0 0 14px var(--accent); }
.lens img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hero-art:hover .lens img { transform: scale(1.07); }
.now-chip { position: absolute; left: 0; bottom: 0.5rem; display: flex; gap: 0.75rem; align-items: center; background: #fff; border-radius: 18px; padding: 0.75rem 1rem; box-shadow: 0 14px 34px rgba(20, 33, 61, 0.2); max-width: 19rem; text-decoration: none; color: var(--ink); font-size: 0.95rem; line-height: 1.4; transition: transform 0.25s; }
.now-chip:hover { transform: translateY(-3px); }
.now-chip .play { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.now-chip .play svg { width: 1rem; height: 1rem; fill: var(--accent); }
.now-chip small { display: block; color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.now-chip strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--sand); }
.section-dark { background: var(--ink); color: #F3F4F6; }
.section-dark h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.kicker { font-weight: 700; color: var(--muted); margin-bottom: 0.4rem; }
.kicker-light { color: #E5E7EB; }
.section-intro { color: var(--muted); max-width: 44rem; margin-top: -0.75rem; margin-bottom: 2rem; }
.text-link { font-weight: 700; }

/* Carousel */
.car-controls { display: flex; gap: 0.6rem; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.car-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.car-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.car-btn svg { width: 1.3rem; height: 1.3rem; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1rem; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 24rem); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.car-card { scroll-snap-align: start; position: relative; isolation: isolate; border-radius: var(--r); overflow: hidden; background: var(--ink); min-height: 27rem; display: flex; flex-direction: column; justify-content: flex-end; }
.car-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.car-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 19, 36, 0.1) 15%, rgba(11, 19, 36, 0.94) 72%); }
.car-body { padding: 1.5rem; }
.car-num { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 0.1rem 0.8rem; font-size: 0.9rem; margin-bottom: 0.6rem; }
.car-card h3 { color: #fff; font-size: 1.3rem; }
.car-card h3 a { color: #fff; text-decoration: none; }
.car-card h3 a::after { content: ""; position: absolute; inset: 0; }
.car-card h3 a:focus-visible { outline: none; box-shadow: none; }
.car-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.car-card:hover img, .car-card:focus-within img { transform: scale(1.07); }
.car-meta { color: #E5E7EB; font-size: 0.95rem; margin: 0; }

/* Ticker */
.ticker { background: var(--ink); color: #fff; display: flex; align-items: center; }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; width: max-content; animation: il-tick 45s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 1.1rem 0; }
.ticker li { font-family: "Noto Serif Bengali", serif; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; white-space: nowrap; display: flex; align-items: center; }
.ticker li::after { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--accent); margin-inline: 2rem; }
.ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex: none; margin: 0 1rem; min-height: 44px; border-radius: 999px; border: 2px solid #fff; background: var(--ink); color: #fff; font: inherit; font-weight: 700; padding: 0.3rem 1.1rem; cursor: pointer; }
@keyframes il-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; width: auto; } .ticker ul { flex-wrap: wrap; padding-inline: 1.25rem; } .ticker ul[aria-hidden] { display: none; } .ticker-toggle { display: none; } }
html.a11y-motion .ticker-track { width: auto; }
html.a11y-motion .ticker ul { flex-wrap: wrap; padding-inline: 1.25rem; }
html.a11y-motion .ticker ul[aria-hidden], html.a11y-motion .ticker-toggle { display: none; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; display: grid; }
.stat strong { font-family: "Noto Serif Bengali", serif; font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--ink); line-height: 1.15; }
.stat span { color: var(--muted); font-weight: 600; }

/* Episode grid */
.ep-grid { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 44rem) { .ep-grid { grid-template-columns: repeat(2, 1fr); } }
.ep-card article { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.ep-card article:hover, .ep-card article:focus-within { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 33, 61, 0.14); }
.ep-card article:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.ep-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ep-card article:hover .ep-thumb img { transform: scale(1.05); }
.ep-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ep-top { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; font-size: 0.95rem; margin-bottom: 0.6rem; }
.ep-num { font-weight: 700; color: var(--ink); }
.chip { background: var(--sand); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 0.1rem 0.75rem; }
.ep-card h3 a { color: var(--ink); text-decoration: none; }
.ep-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ep-card h3 a:hover { text-decoration: underline; }
.ep-card h3 a:focus-visible { outline: none; box-shadow: none; }
.episode-meta { color: var(--muted); font-size: 1rem; margin: auto 0 0; }

/* About */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .two-col { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.about-img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 38rem; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.pillars { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.pillars li { background: #fff; border-left: 5px solid var(--ink); border-radius: 10px; padding: 0.9rem 1.2rem; display: grid; }
.pillars strong { color: var(--ink); }
.pillars span { color: var(--muted); }

/* Host */
.host-card { display: grid; gap: 1.75rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.75rem); }
@media (min-width: 44rem) { .host-card { grid-template-columns: auto 1fr; } }
.avatar { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: "Noto Serif Bengali", serif; font-size: 2.8rem; font-weight: 700; box-shadow: 0 0 0 6px #fff, 0 0 0 11px var(--accent); }
.host-name { font-family: "Noto Serif Bengali", serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); margin: 0; }
.host-role { color: var(--muted); font-weight: 600; }
.host-card p:last-child { margin-bottom: 0; }

/* Quotes */
.quotes { display: grid; gap: 1.25rem; list-style: none; margin: 2rem 0 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; margin: 0; height: 100%; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.1rem; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-family: "Noto Serif Bengali", serif; font-size: 3rem; line-height: 1; color: var(--ink); }
.quote figcaption { color: var(--muted); font-weight: 600; }

/* Newsletter */
.nl-box { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .nl-box { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.nl-form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nl-form label { width: 100%; font-weight: 700; color: #fff; }
.nl-form input { flex: 1 1 14rem; min-height: 52px; border-radius: 999px; border: 2px solid #fff; background: var(--ink-2); color: #fff; padding: 0.6rem 1.2rem; font: inherit; }
.nl-form input::placeholder { color: #C7CCD6; }
.plat-label { margin: 1.75rem 0 0.6rem; font-weight: 700; color: #fff; }
.platforms { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.platforms a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.1rem; border: 2px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; }
.platforms a:hover { background: rgba(255, 255, 255, 0.12); }

.checklist { padding-left: 1.25rem; }
.checklist li { margin-bottom: 0.4rem; }

/* Footer */
.site-footer { background: var(--ink-2); color: #E5E7EB; padding-block: 3.5rem 2rem; font-size: 1rem; overflow: hidden; }
.foot-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.foot-cols h2 { font-family: inherit; font-size: 1rem; color: #fff; margin-bottom: 0.75rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: #fff; }
.site-footer .btn-accent { color: var(--ink); }
.wordmark { font-family: "Noto Serif Bengali", serif; font-weight: 700; font-size: clamp(3rem, 12.5vw, 10.5rem); line-height: 1; color: #fff; margin: 3rem 0 1.5rem; letter-spacing: -0.03em; white-space: nowrap; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid #2A3550; padding-top: 1.25rem; }
.foot-bottom p { margin: 0; }

/* Scroll reveal (only with JS, never with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

@media (forced-colors: active) { .btn, .car-btn, .ep-card article, .stat, .quote, .host-card { border: 2px solid CanvasText; } }

/* Accessibility toolbar */
.a11y-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 200; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 52px; padding: 0.6rem 1.1rem 0.6rem 0.8rem; border-radius: 999px; border: 3px solid #fff; background: #1D4ED8; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.a11y-fab svg { width: 1.75rem; height: 1.75rem; }
.a11y-fab:hover { background: #1E40AF; }
@media (max-width: 30rem) { .a11y-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .a11y-fab { padding: 0.6rem; } }
.a11y-panel { position: fixed; right: 1rem; bottom: 5rem; z-index: 200; width: min(22rem, calc(100vw - 2rem)); max-height: calc(100vh - 7rem); overflow: auto; background: #fff; color: #111827; border: 3px solid #14213D; border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); font-size: 1rem; line-height: 1.5; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.a11y-head h2 { font-size: 1.25rem; margin: 0; color: #14213D; }
.a11y-panel button { font: inherit; cursor: pointer; min-height: 44px; border-radius: 8px; border: 2px solid #14213D; background: #fff; color: #14213D; font-weight: 600; padding: 0.4rem 0.8rem; }
.a11y-panel .a11y-x { min-width: 44px; font-size: 1.5rem; line-height: 1; padding: 0; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; font-weight: 600; }
.a11y-toggle, .a11y-reset { display: block; width: 100%; text-align: left; margin-bottom: 0.5rem; }
.a11y-toggle[aria-pressed="true"] { background: #14213D; color: #fff; }
.a11y-toggle[aria-pressed="true"]::before { content: "✓ "; }
.a11y-reset { border-style: dashed !important; }
.a11y-note { font-size: 0.9rem; color: #4B5563; margin: 0.25rem 0 0; }
.a11y-guide-line { display: none; position: fixed; left: 0; right: 0; height: 4px; background: #FCA311; box-shadow: 0 0 0 2px #14213D; pointer-events: none; z-index: 150; }
html.a11y-guide .a11y-guide-line { display: block; }

html.a11y-spacing body { line-height: 2.1; letter-spacing: 0.04em; word-spacing: 0.16em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.4em; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

html.a11y-contrast body, html.a11y-contrast .site-header, html.a11y-contrast .hero, html.a11y-contrast .section, html.a11y-contrast .site-footer, html.a11y-contrast .pillars li, html.a11y-contrast .episode article { background: #000 !important; color: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast strong, html.a11y-contrast .host-name, html.a11y-contrast .pillars span, html.a11y-contrast .episode-meta, html.a11y-contrast .section-intro, html.a11y-contrast .host-role, html.a11y-contrast .lead, html.a11y-contrast .lead-en, html.a11y-contrast .eyebrow { color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast .episode h3 a { color: #FFEB3B !important; text-decoration: underline !important; }
html.a11y-contrast .episode article, html.a11y-contrast .pillars li { border: 2px solid #fff !important; }
html.a11y-contrast .btn { background: #FFEB3B !important; color: #000 !important; border-color: #FFEB3B !important; }

html.a11y-contrast .section-alt, html.a11y-contrast .stat, html.a11y-contrast .quote, html.a11y-contrast .host-card, html.a11y-contrast .ticker, html.a11y-contrast .now-chip, html.a11y-contrast .chip, html.a11y-contrast .car-btn, html.a11y-contrast .ticker-toggle, html.a11y-contrast .menu-btn, html.a11y-contrast .nl-form input { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .stat strong, html.a11y-contrast .stat span, html.a11y-contrast .quote blockquote, html.a11y-contrast .quote figcaption, html.a11y-contrast .kicker, html.a11y-contrast .ep-num, html.a11y-contrast .car-meta, html.a11y-contrast .now-chip small, html.a11y-contrast .nav-list a, html.a11y-contrast .host-name { color: #fff !important; }
html.a11y-contrast .stat, html.a11y-contrast .quote, html.a11y-contrast .host-card, html.a11y-contrast .now-chip, html.a11y-contrast .chip { border: 2px solid #fff !important; }
html.a11y-contrast .eyebrow { color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .car-card::after { background: rgba(0, 0, 0, 0.85) !important; }

/* Keep content clear of the fixed accessibility button */
.ticker-toggle { order: -1; }
.site-footer { padding-bottom: 6rem; }
