:root {
  --bg: #070706;
  --bg-soft: #11100d;
  --surface: #171510;
  --surface-2: #211e16;
  --text: #fff8e6;
  --muted: #cfc4a8;
  --line: rgba(246, 202, 91, 0.2);
  --gold: #f5c542;
  --gold-2: #ffdf75;
  --teal: #4ecdc4;
  --danger: #ffb4a2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.12), transparent 36rem),
    radial-gradient(circle at 50% 0, rgba(78, 205, 196, 0.16), transparent 28rem),
    var(--bg);
}

a {
  color: var(--gold-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

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

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--gold);
  color: #161100;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 6, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand,
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 152px;
}

.custom-logo {
  max-height: 46px;
  width: auto;
}

.site-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-wordmark span {
  display: inline-block;
}

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

.primary-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.hero-section {
  padding: 64px 0 36px;
}

.hero-section__inner {
  width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.page-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-section h1 {
  max-width: 880px;
  margin: 0 auto;
  color: #fffdf4;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 180px;
  margin-top: 24px;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1b1500;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(245, 197, 66, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover,
.primary-action:focus {
  color: #1b1500;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(245, 197, 66, 0.26);
}

.hero-note {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--danger);
  font-size: 15px;
}

.hero-media {
  width: min(980px, 100%);
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.longform-article,
.page-main {
  padding: 28px 0 80px;
}

.longform-article__inner,
.page-shell,
.archive-shell {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
}

.longform-article__inner {
  padding: 10px 0 0;
}

.page-shell__header,
.archive-shell__header {
  padding: 64px 0 28px;
  text-align: center;
}

.page-shell__header h1,
.archive-shell__header h1 {
  margin: 0;
  color: #fffdf4;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.longform-article h2,
.page-shell__content h2 {
  margin: 56px 0 18px;
  color: #fffdf4;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.longform-article h3,
.page-shell__content h3 {
  margin: 34px 0 12px;
  color: var(--gold-2);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.longform-article p,
.page-shell__content p,
.longform-article li,
.page-shell__content li {
  color: #eee5ce;
}

.longform-article p,
.page-shell__content p {
  margin: 0 0 20px;
}

.longform-article ul,
.longform-article ol,
.page-shell__content ul,
.page-shell__content ol {
  margin: 0 0 28px;
  padding-left: 1.25rem;
}

.longform-article .wp-block-group,
.page-shell__content .wp-block-group {
  margin: 30px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(33, 30, 22, 0.92), rgba(17, 16, 13, 0.92));
}

.longform-article .wp-block-image,
.page-shell__content .wp-block-image {
  margin: 38px 0;
}

.longform-article .wp-block-image img,
.page-shell__content .wp-block-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.longform-article figcaption,
.page-shell__content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.longform-article table,
.page-shell__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.longform-article th,
.longform-article td,
.page-shell__content th,
.page-shell__content td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.longform-article th,
.page-shell__content th {
  color: #171100;
  background: var(--gold);
}

.schema-faq.wp-block-yoast-faq-block,
.wp-block-yoast-faq-block {
  margin: 42px 0;
}

.schema-faq-section {
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.schema-faq-question {
  display: block;
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1.35;
}

.schema-faq-answer {
  margin-top: 10px;
  color: #eee5ce;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.post-card__body {
  padding: 18px;
}

.post-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.search-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.search-form button {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: #171100;
  font-weight: 800;
  cursor: pointer;
}

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

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1fr) minmax(240px, 1.2fr);
  gap: 28px;
  padding: 42px 0;
}

.footer-nav__list {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-contact p,
.footer-notes p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer-contact__boundary {
  max-width: 34rem;
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #070706;
  }

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

  .primary-nav__list {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-section {
    padding: 42px 0 24px;
  }

  .hero-section h1 {
    font-size: 39px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .primary-action {
    width: 100%;
    max-width: 300px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

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