:root {
  --bg: #080808;
  --bg-soft: #11110f;
  --surface: #171612;
  --surface-2: #201d16;
  --ink: #fffaf0;
  --muted: #c9c2b4;
  --gold: #f4c95d;
  --gold-strong: #ffd970;
  --green: #1f7657;
  --red: #b5342c;
  --line: rgba(244, 201, 93, .2);
  --line-soft: rgba(255, 255, 255, .09);
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius: 22px;
  --content: 1160px;
  --reading: 840px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(31, 118, 87, .16), transparent 32rem),
    radial-gradient(circle at 92% 12%, rgba(181, 52, 44, .11), transparent 28rem),
    var(--bg);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: var(--gold-strong);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
  color: #fff2bd;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .7em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

p,
ul,
ol,
table,
figure {
  margin: 0 0 1.35em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 9999;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: .65rem 1rem;
  clip: auto;
  background: var(--gold);
  color: #111;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 8, 8, .88);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 28px;
}

.site-branding,
.brand-link,
.custom-logo-link {
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(48vw, 220px);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(52vw, 300px);
}

.brand-link,
.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img,
.brand-logo,
.footer-brand img,
.footer-logo,
.footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 56px;
  object-fit: contain;
}

.site-branding .custom-logo-link,
.footer-brand .custom-logo-link {
  display: inline-flex;
}

.brand-name {
  white-space: nowrap;
  font-size: 1.04rem;
  letter-spacing: -.01em;
}

.primary-navigation {
  margin-left: auto;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  color: var(--muted);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--gold);
}

.header-action,
.button-link,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.3rem;
  border: 1px solid #ffe08b;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-strong), #e5ae31);
  box-shadow: 0 10px 30px rgba(244, 201, 93, .17);
  color: #151006;
  font-weight: 900;
  text-decoration: none;
}

.header-action {
  white-space: nowrap;
  font-size: .9rem;
}

.header-action:hover,
.button-link:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  color: #090702;
  filter: brightness(1.06);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.site-main {
  min-height: 60vh;
}

.provisional-home {
  width: min(var(--content), calc(100% - 32px));
  min-height: calc(100vh - 73px);
  padding: clamp(72px, 14vw, 160px) clamp(22px, 6vw, 80px);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 12%, rgba(244, 201, 93, .2), transparent 34%),
    radial-gradient(circle at 12% 55%, rgba(31, 118, 87, .16), transparent 28rem),
    radial-gradient(circle at 88% 60%, rgba(181, 52, 44, .11), transparent 26rem);
  text-align: center;
}

.provisional-home h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-wrap: balance;
}

.provisional-home .hero-lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
}

.front-article > * {
  width: min(var(--reading), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.front-article > .alignwide,
.front-article > .wp-block-group.alignwide {
  width: min(var(--content), calc(100% - 32px));
}

.front-article > .alignfull,
.front-article > .wp-block-group.alignfull {
  width: 100%;
}

.content-shell {
  width: min(var(--reading), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 104px;
}

.page-header {
  padding: 28px 0 46px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 46px;
}

.page-header h1 {
  max-width: 820px;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

.eyebrow,
.hero-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  width: min(var(--content), calc(100% - 32px)) !important;
  padding: clamp(56px, 9vw, 112px) clamp(22px, 5vw, 72px) 42px;
  margin: 0 auto 30px !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 50% -20%, rgba(244, 201, 93, .22), transparent 36%),
    linear-gradient(145deg, #15130d 0%, #0d0d0c 58%, #12100d 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .16;
  pointer-events: none;
}

.hero-panel::before {
  top: 20%;
  left: -100px;
  background: var(--green);
}

.hero-panel::after {
  right: -100px;
  bottom: 0;
  background: var(--red);
}

.hero-panel h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-wrap: balance;
}

.hero-panel .hero-lead {
  max-width: 750px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 32px;
}

.hero-actions .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  box-shadow: none;
}

.hero-visual {
  max-width: 980px !important;
  margin: 34px auto 0 !important;
}

.hero-visual img,
.story-image img,
.entry-content .wp-block-image img {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  max-height: 570px;
  object-fit: cover;
}

.snapshot-grid,
.quick-grid,
.topic-grid,
.issue-grid {
  display: grid;
  gap: 14px;
}

.snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px auto 0;
}

.snapshot-card,
.quick-card,
.topic-card,
.issue-card,
.note-card {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.snapshot-card strong,
.quick-card strong,
.topic-card h3 {
  display: block;
  color: var(--gold-strong);
}

.snapshot-card span,
.quick-card p,
.topic-card p,
.issue-card p {
  color: var(--muted);
  font-size: .94rem;
}

.section-block {
  width: min(var(--content), calc(100% - 32px)) !important;
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-block + .section-block {
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-card {
  min-height: 160px;
  transition: transform .2s ease, border-color .2s ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.quick-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  width: min(var(--content), calc(100% - 32px)) !important;
  padding: clamp(56px, 8vw, 94px) 0;
}

.story-row.is-reversed .story-image {
  order: -1;
}

.story-copy > :last-child {
  margin-bottom: 0;
}

.story-copy ul,
.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.story-copy li,
.entry-content li {
  margin-bottom: .5rem;
}

.story-image figcaption,
.entry-content figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.status-note,
.risk-note {
  padding: 18px 20px;
  margin: 24px 0;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: rgba(244, 201, 93, .08);
  color: #eee5d2;
}

.risk-note {
  border-left-color: var(--red);
  background: rgba(181, 52, 44, .11);
}

.issue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-content > *,
.archive-list > * {
  max-width: 100%;
}

.entry-content h2 {
  margin-top: 2.2em;
  padding-top: .8em;
  border-top: 1px solid var(--line-soft);
}

.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  margin-top: 1.8em;
  color: var(--gold-strong);
}

.entry-content p,
.entry-content li {
  color: #e8e1d5;
}

.entry-content .wp-block-image {
  margin: 34px 0 44px;
}

.wp-block-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 14px 15px;
  border: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
}

th {
  color: var(--gold-strong);
  background: var(--surface-2);
}

.faq-section {
  width: min(var(--reading), calc(100% - 32px)) !important;
  padding: clamp(58px, 8vw, 96px) 0 110px;
}

.faq-item,
.entry-content details {
  margin: 0 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}

.faq-item summary,
.entry-content details summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker,
.entry-content details summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.entry-content details summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after,
.entry-content details[open] summary::after {
  content: "−";
}

.faq-item > p,
.entry-content details > p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.page-links a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.archive-card {
  padding: 28px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.archive-card h2 {
  font-size: 1.45rem;
}

.archive-card__date,
.archive-description {
  color: var(--muted);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.search-form button {
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.site-footer__grid,
.site-footer__bottom {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.3fr);
  gap: 64px;
  padding: 64px 0 46px;
}

.footer-brand img,
.footer-logo,
.footer-logo img {
  max-width: 150px;
  max-height: 48px;
}

.footer-brand p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .93rem;
}

.footer-navigation ul {
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-navigation a {
  color: var(--muted);
  font-size: .9rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 92px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .84rem;
}

.site-footer__bottom p {
  max-width: 760px;
  margin: 0;
}

.mobile-action {
  display: block;
  position: fixed;
  z-index: 120;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(16px);
}

.mobile-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 100%);
  min-height: 48px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--gold);
  color: #120e06;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 960px) {
  .site-header__inner {
    gap: 14px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-navigation {
    position: fixed;
    z-index: 160;
    top: 73px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: calc(100vh - 73px);
    padding: 24px 18px;
    overflow-y: auto;
    background: rgba(8, 8, 8, .98);
  }

  .primary-navigation.is-open,
  .menu-toggle[aria-expanded="true"] + .primary-navigation {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 4px;
  }

  .primary-navigation a {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .header-action {
    padding: .65rem 1rem;
  }

  .snapshot-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .story-row.is-reversed .story-image {
    order: initial;
  }

  .topic-grid,
  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-branding,
  .brand-link,
  .custom-logo-link {
    max-width: min(58vw, 160px);
  }

  .site-branding {
    gap: 7px;
  }

  .custom-logo,
  .custom-logo-link img,
  .site-branding img,
  .brand-logo img,
  .brand-logo,
  .footer-brand img,
  .footer-logo,
  .footer-logo img {
    max-width: 140px;
    max-height: 44px;
  }

  .brand-name {
    font-size: .9rem;
  }

  .header-action {
    display: none;
  }

  .primary-navigation {
    top: 65px;
    height: calc(100vh - 65px);
  }

  .hero-panel {
    width: 100% !important;
    padding: 44px 16px 20px;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 24px 24px;
  }

  .provisional-home {
    width: 100%;
    min-height: calc(100vh - 65px);
    padding: 64px 18px 100px;
    border: 0;
  }

  .hero-actions {
    display: grid;
  }

  .snapshot-grid,
  .quick-grid,
  .topic-grid,
  .issue-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card,
  .quick-card,
  .topic-card,
  .issue-card {
    min-height: 0;
    padding: 17px;
  }

  .section-block,
  .story-row,
  .faq-section {
    width: min(100% - 28px, var(--content)) !important;
    padding: 54px 0;
  }

  .content-shell {
    width: min(100% - 28px, var(--reading));
    padding: 48px 0 92px;
  }

  .page-header {
    padding: 15px 0 30px;
    margin-bottom: 32px;
  }

  .entry-content .wp-block-table {
    margin-right: -4px;
    margin-left: -4px;
  }

  th,
  td {
    min-width: 150px;
    padding: 11px 12px;
    font-size: .9rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 30px;
  }

  .footer-navigation ul {
    justify-content: flex-start;
  }

  .site-footer__bottom {
    display: grid;
    padding-bottom: 88px;
  }

  .mobile-action {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
