:root {
  --navy: #082f4f;
  --blue: #1266a7;
  --blue-dark: #0b4d80;
  --blue-soft: #eaf4fb;
  --ink: #173042;
  --muted: #5f7483;
  --line: #d8e5ee;
  --paper: #ffffff;
  --wash: #f4f8fb;
  --shadow: 0 18px 45px rgba(8, 47, 79, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eaf3fa 0, #f7fafc 380px, #fff 820px);
  font-family: Inter, "Noto Sans Bengali", "Nirmala UI", "Hind Siliguri", "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: .7rem 1rem; background: #fff; border-radius: .5rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 245px; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  max-height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-mark.brand-photo { overflow: hidden; }
.brand-mark.brand-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 42px;
  max-height: 42px;
  object-fit: cover;
  border-radius: inherit;
}
.brand-copy strong { color: var(--navy); font-size: .98rem; }
.brand-copy span { color: var(--muted); font-size: .72rem; }
.menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.menu-btn {
  padding: .58rem .76rem;
  border-radius: 9px;
  color: #355568;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.menu-btn:hover, .menu-btn:focus-visible, .menu-btn.active { color: #fff; background: var(--blue); outline: none; }
.story-shell { width: min(960px, calc(100% - 32px)); margin: 54px auto 72px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-weight: 750;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.story-paper {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.story-header {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 78px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(143,183,255,.32), transparent 19rem),
    linear-gradient(135deg, #102f4c 0%, #235e91 100%);
}
.story-header::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -95px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255,255,255,.03), 0 0 0 88px rgba(255,255,255,.018);
}
.tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: .33rem .68rem;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1 {
  position: relative;
  z-index: 1;
  margin: 17px 0 10px;
  color: #fff;
  font-family: Georgia, "Noto Serif Bengali", "Nirmala UI", serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.story-subtitle { position: relative; z-index: 1; margin: 0; color: #d5e7f5; font-style: italic; }
.byline { position: relative; z-index: 1; margin-top: 20px; color: #dbe9f3; font-size: .92rem; }
.byline strong { color: #fff; }
.story-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 68px);
  font-family: Georgia, "Noto Serif Bengali", "Nirmala UI", serif;
  font-size: clamp(1.04rem, 2vw, 1.15rem);
}
.story-body > p { margin: 0 0 1.25em; color: #263d4d; line-height: 1.95; text-align: justify; text-justify: inter-word; }
.story-chapter {
  margin: 2.5em 0 .9em;
  padding-top: 1.25em;
  color: var(--blue-dark);
  border-top: 1px solid var(--line);
  font-family: Inter, "Noto Sans Bengali", "Nirmala UI", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.35;
}
.story-chapter:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.story-divider { margin: 30px 0; color: #7eaeda; text-align: center; letter-spacing: .55em; }
.story-media { margin: 28px auto 36px; text-align: center; }
.story-media img {
  display: block;
  width: min(100%, 680px);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20,43,77,.12);
}
.story-table-wrap { overflow-x: auto; margin: 24px 0; }
.story-table { width: 100%; border-collapse: collapse; }
.story-table td { padding: 10px 12px; border: 1px solid var(--line); }
.story-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.story-nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none;
}
.story-nav a:last-child { text-align: right; }
.story-nav span { color: var(--blue-dark); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.story-nav strong { margin-top: 4px; line-height: 1.35; }
.story-nav a:hover { border-color: #86b9dc; box-shadow: 0 10px 24px rgba(8, 47, 79, .08); }
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
@media (max-width: 850px) {
  .nav-wrap { padding: 14px 0; align-items: flex-start; flex-direction: column; }
  .menu { justify-content: flex-start; }
  .site-header { position: static; }
}
@media (max-width: 600px) {
  .brand-copy span { display: none; }
  .menu-btn { padding: .5rem .55rem; font-size: .78rem; }
  .story-shell { margin-top: 28px; }
  .story-paper { border-radius: 18px; }
  .story-body > p { text-align: left; font-size: 1rem; line-height: 1.85; }
  .story-nav { grid-template-columns: 1fr; }
  .story-nav a:last-child { text-align: left; }
  footer { flex-direction: column; }
}
@media print {
  body { color: #000; background: #fff; }
  .site-header, .back-link, .story-nav, footer { display: none !important; }
  .story-shell { width: 100%; margin: 0; }
  .story-paper { border: 0; box-shadow: none; }
  .story-header { padding: 0 0 24px; color: #000; background: #fff; border-bottom: 1px solid #bbb; }
  .story-header h1, .story-header .tag, .story-header .byline strong { color: #000; }
  .story-header .story-subtitle, .story-header .byline { color: #444; }
}
