/* ==========================================================================
   v3 — Typography system, featured role cards, clean job page, form fixes.
   Loaded after main.css and takes precedence over it.

   Type: Noto Serif Bengali for everything (Latin + Bengali), normal width.
   It has no true italic, so nothing on the site is set in italic.

   Scale (Major Third, 1.25) — desktop / mobile
     --fs-xs    13 / 12.5   labels, meta (uppercase Latin, tracked)
     --fs-sm    15 / 14.5   captions, hints, secondary UI
     --fs-base  18 / 17     body copy (WCAG: ≥16px on mobile)
     --fs-lg    20 / 18     ledes, intros
     --fs-h4    22 / 19     card titles
     --fs-h3    26 / 22     sub-sections
     --fs-h2    44 / 30     section titles
     --fs-h1    60 / 36     page titles
     --fs-xl    100 / 44    display (home hero only)
   Weights: 400 body · 500 labels · 600 UI / buttons / emphasis · 700 headings
            · 800 display only. Never 900.
   Leading: body 1.75 (Bangla 1.85) · headings 1.2 (Bangla 1.35) · display 1.05.
   Measure: prose capped at 68ch.
   ========================================================================== */

:root {
  --fs-xs: 12.5px; --fs-sm: 14.5px; --fs-base: 17px; --fs-lg: 18px;
  --fs-h4: 19px; --fs-h3: 22px; --fs-h2: 30px; --fs-h1: 36px; --fs-xl: 44px;
  --lh-body: 1.75; --lh-head: 1.2; --lh-display: 1.05;
  --code: "Noto Serif Bengali", Georgia, serif;
}
@media (min-width: 720px) {
  :root { --fs-xs: 13px; --fs-sm: 15px; --fs-base: 18px; --fs-lg: 19px; --fs-h4: 21px; --fs-h3: 24px; --fs-h2: clamp(34px, 3.8vw, 44px); --fs-h1: clamp(42px, 4.6vw, 60px); --fs-xl: clamp(56px, 6.6vw, 100px); }
}
@media (min-width: 1100px) { :root { --fs-lg: 20px; --fs-h4: 22px; --fs-h3: 26px; } }
.lang-bn { --lh-body: 1.85; --lh-head: 1.35; --lh-display: 1.2; }

/* base */
body, .lang-bn { font-size: var(--fs-base); line-height: var(--lh-body); font-stretch: 100%; }
*, *::before, *::after { font-style: normal; }
h1, h2, h3, h4 { font-weight: 700; line-height: var(--lh-head); letter-spacing: -.005em; font-stretch: 100% !important; }
strong, b { font-weight: 700; }
.mono { font-family: var(--body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; }
.lang-bn .mono { font-size: var(--fs-sm); letter-spacing: 0; }

/* labels (uppercase only in Latin) */
.eyebrow, .crumbs, .status-dot, .casefile dt, .glance dt, .job-row-meta em, .toc-label, .list-label,
.apply-side-label, .wizard-count, .pstep-label, .exhibit-tag, .footer-col h2, .ticker-label,
.index-count-label, .apply-card-kicker, .mobile-apply-label, .review-row dt, .hero-meta {
  font-family: var(--body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
}
.lang-bn :is(.eyebrow, .crumbs, .status-dot, .casefile dt, .glance dt, .job-row-meta em, .toc-label, .list-label,
.apply-side-label, .wizard-count, .pstep-label, .exhibit-tag, .footer-col h2, .ticker-label,
.index-count-label, .apply-card-kicker, .mobile-apply-label, .review-row dt, .hero-meta) {
  font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; font-weight: 600;
}

/* headings */
.hero-title { font-size: var(--fs-xl); font-weight: 800; line-height: var(--lh-display); letter-spacing: -.02em; }
.lang-bn .hero-title { font-size: calc(var(--fs-xl) * .92); line-height: var(--lh-display); letter-spacing: 0; }
.hl-chase .hl-text { font-size: .62em; font-weight: 700; letter-spacing: -.005em; }
.lang-bn .hl-chase .hl-text { font-size: .78em; }
@media (max-width: 640px) { .hl-chase .hl-text { font-size: .76em; } }
.section-title { font-size: var(--fs-h2); font-weight: 700; line-height: var(--lh-head); letter-spacing: -.01em; max-width: 20ch; }
.lang-bn .section-title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: 0; }
.section-lede, .hero-lede, .index-lede, .closer-body { font-size: var(--fs-lg); line-height: 1.7; }
.closer-title { font-size: calc(var(--fs-xl) * .9); font-weight: 800; line-height: var(--lh-display); letter-spacing: -.02em; }
.lang-bn .closer-title { font-size: calc(var(--fs-xl) * .8); letter-spacing: 0; }
.closer-title em { font-weight: 800; }
.index-title { font-size: var(--fs-xl); font-weight: 800; line-height: var(--lh-display); letter-spacing: -.02em; }
.lang-bn .index-title { font-size: calc(var(--fs-xl) * .9); letter-spacing: 0; }
.index-count-num { font-size: calc(var(--fs-xl) * .9); font-weight: 800; }
.ticker-word { font-size: var(--fs-h3); font-weight: 700; }
.exhibit h3, .lang-bn .exhibit h3 { font-size: var(--fs-h4); line-height: var(--lh-head); }
.exhibit p, .pstep-body { font-size: var(--fs-sm); line-height: 1.7; }
.pstep h3 { font-size: var(--fs-h4); }
.pstep-num { font-size: clamp(56px, 6vw, 88px); font-weight: 800; letter-spacing: -.02em; }
.job-row-title, .lang-bn .job-row-title { font-size: var(--fs-h3); line-height: var(--lh-head); letter-spacing: -.005em; }
.job-row-summary { font-size: var(--fs-sm); }
.footer-about { font-size: var(--fs-base); }
.footer-mark { font-size: clamp(44px, 10.5vw, 160px); font-weight: 800; letter-spacing: -.02em; }
.btn { font-size: 16px; font-weight: 600; }
.btn-lg { font-size: 17px; }
.tba { font-style: normal; color: var(--muted); font-weight: 500; }
.mobile-menu-links a { font-size: clamp(28px, 7vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.lang-bn .mobile-menu-links a { font-size: clamp(24px, 6.4vw, 34px); }
.blip text, .radar-readout { font-family: var(--body); font-weight: 500; }
.lang-toggle { font-family: var(--body); font-size: 13px; }

/* ── Featured role: case-file folder ─────────────────────────────────── */
.features { display: grid; gap: 40px; }
.feature { position: relative; padding-top: 38px; }
.feature-tab {
  position: absolute; top: 0; left: 0; z-index: 1; display: inline-flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 22px; background: var(--ink); color: #fff; border-radius: 10px 10px 0 0;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: none;
}
.lang-bn .feature-tab { letter-spacing: 0; text-transform: none; font-size: var(--fs-sm); }
.feature-tab-cat { color: var(--red-hot); }
.feature-body {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0 14px 14px 14px;
  box-shadow: 10px 10px 0 var(--ink); transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.feature:hover .feature-body { box-shadow: 14px 14px 0 var(--red); transform: translate(-3px, -3px); }
.feature-body::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 35px, rgba(18,18,18,.05) 35px 36px); }
.feature-main { position: relative; padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.feature-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.feature-title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: -.01em; max-width: 18ch; }
.feature-title a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease); }
.feature:hover .feature-title a { background-size: 100% 3px; }
.feature-summary { color: var(--muted); font-size: var(--fs-base); max-width: 56ch; }
.feature-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: 8px 0 0; border-top: 1px solid rgba(18,18,18,.18); }
.feature-facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(18,18,18,.18); }
.feature-facts dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: none; color: var(--muted); }
.lang-bn .feature-facts dt { font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; }
.feature-facts dd { margin: 4px 0 0; font-size: var(--fs-lg); font-weight: 700; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.feature-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(28px, 3vw, 40px); background: var(--ink); color: #fff; }
.countdown-num { font-size: clamp(72px, 7vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.03em; color: #fff; }
.countdown.is-urgent .countdown-num { color: var(--red-hot); }
.countdown-label { margin-top: 6px; font-size: var(--fs-base); font-weight: 600; color: rgba(255,255,255,.85); }
.countdown-bar { height: 4px; margin: 18px 0 12px; background: rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; }
.countdown-bar span { display: block; height: 100%; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.countdown-date { font-size: var(--fs-sm); color: var(--muted-dark); }
.feature-art { width: 100%; max-width: 280px; align-self: center; }
.fa-sheet { fill: #f4f1ec; }
.fa-photo { fill: #d9d2c7; } .fa-head, .fa-body { fill: #b9ae9f; }
.fa-line { fill: #d9d2c7; }
.fa-redact { fill: var(--ink); transform-box: fill-box; transform-origin: left; animation: redact 4.8s var(--ease-io) infinite; }
.fa-redact.r2 { animation-delay: 1.2s; fill: var(--red); }
@keyframes redact { 0%, 8% { transform: scaleX(0); } 30%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.fa-lens circle { fill: rgba(255,255,255,.12); stroke: var(--red-hot); stroke-width: 3; }
.fa-lens path { stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.fa-lens { animation: fa-lens 7s var(--ease-io) infinite; }
@keyframes fa-lens { 0%, 100% { transform: translate(78px, 52px); } 33% { transform: translate(160px, 60px); } 66% { transform: translate(120px, 118px); } }

.stamp {
  position: absolute; top: 58px; right: 400px; z-index: 2; padding: 8px 16px; border: 3px solid var(--red); border-radius: 6px;
  color: var(--red); font-size: var(--fs-sm); font-weight: 800; letter-spacing: .14em; text-transform: none;
  transform: rotate(-8deg); opacity: 0; mix-blend-mode: multiply; pointer-events: none;
}
.lang-bn .stamp { letter-spacing: 0; font-size: var(--fs-base); }
.feature.is-in .stamp { animation: stamp .55s cubic-bezier(.2,1.6,.4,1) .5s forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(1.8); } 100% { opacity: .9; transform: rotate(-8deg) scale(1); } }
.feature.is-closed .stamp { display: none; }

@media (max-width: 1000px) {
  .feature-body { grid-template-columns: 1fr; }
  .feature-side { flex-direction: row; align-items: center; }
  .feature-art { max-width: 170px; }
  .stamp { right: 24px; top: 58px; }
}
@media (max-width: 600px) {
  .feature-body { box-shadow: 6px 6px 0 var(--ink); border-radius: 0 12px 12px 12px; }
  .feature:hover .feature-body { box-shadow: 6px 6px 0 var(--red); transform: none; }
  .feature-tab { height: 36px; padding: 0 16px; }
  .feature { padding-top: 34px; }
  .feature-main { padding-top: 56px; }
  .stamp { top: 50px; right: 16px; font-size: var(--fs-xs); padding: 6px 10px; }
  .feature-side { flex-direction: column; align-items: stretch; }
  .feature-art { display: none; }
  .countdown-num { font-size: 64px; }
  .feature-actions .btn { flex: 1; }
  .feature-facts { grid-template-columns: 1fr 1fr; }
}

/* ── Job page: clean, professional ───────────────────────────────────── */
.job-hero { background: var(--paper); color: var(--ink); padding: clamp(32px, 5vw, 64px) 0 0; border-bottom: 1px solid var(--line); }
.job-hero .crumbs { color: var(--muted); }
.job-hero .crumbs a:hover { color: var(--red); }
.job-hero .pill-onDark { background: var(--red); color: #fff; }
.job-hero .pill-onDark.pill-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.job-hero .status-dot--onDark { color: var(--ok); }
.job-hero-tags { margin: 24px 0 18px; }
.job-title { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-head); letter-spacing: -.01em; max-width: 22ch; animation: none; }
.lang-bn .job-title { font-size: var(--fs-h1); line-height: var(--lh-head); letter-spacing: 0; }
.job-summary { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; margin-top: 18px; animation: none; }
.casefile { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.casefile > div { border-right: 1px solid var(--line); padding: 18px 20px 22px 0; }
.casefile > div + div { padding-left: 20px; }
.casefile dt { color: var(--muted); margin-bottom: 6px; }
.casefile dd, .lang-bn .casefile dd { font-family: var(--body); font-size: var(--fs-base); font-weight: 600; color: var(--ink); letter-spacing: 0; }
@media (max-width: 640px) {
  .casefile { grid-template-columns: 1fr 1fr; }
  .casefile > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 12px 14px 0 !important; }
}

.job-layout { padding-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1001px) { .job-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.prose { max-width: 68ch; font-size: var(--fs-base); line-height: var(--lh-body); }
.prose h2, .lang-bn .prose h2 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-head); letter-spacing: -.005em; margin: 56px 0 16px; padding-top: 0; border-top: 0; }
.prose h2::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 16px; background: var(--red); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h4); margin: 28px 0 10px; }
.prose ul > li { padding-left: 22px; margin-bottom: 10px; }
.prose ul > li::before { left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.lang-bn .prose ul > li::before { top: .82em; }
.prose blockquote, .lang-bn .prose blockquote { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--red); background: var(--paper); font-family: var(--body); font-size: var(--fs-base); line-height: var(--lh-body); color: var(--ink-2); }
.prose .learn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: none; border: 0; }
.prose .learn-list li { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s; }
.prose .learn-list li:hover { background: #fff; border-color: var(--ink); }
.prose .learn-list strong { font-size: var(--fs-base); }
.prose .learn-list span { font-size: var(--fs-sm); }
@media (max-width: 640px) { .prose .learn-list { grid-template-columns: 1fr; } }
.glance { border-top: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.glance-grid { gap: 0; }
.glance-grid > div { padding: 16px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.glance dd { font-size: var(--fs-base); }
.prose .glance-note, .glance-note { font-style: normal; padding: 14px 20px; background: var(--paper); margin: 0; font-size: var(--fs-sm); }
.apply-card { border-radius: 12px; border-top: 0; border: 1px solid var(--line); background: #fff; }
.apply-card-facts div { font-size: var(--fs-sm); }
.toc a { font-size: var(--fs-sm); }
.prose .apply-cta-title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.005em; }
.prose .apply-cta-body { font-size: var(--fs-sm); }
.apply-cta { border-radius: 14px; }
.read-progress span { background: var(--red); }

/* ── Application form: square editorial style (underlined inputs, sharp corners) — base rules live in main.css ── */
.wstep .field:last-child { margin-bottom: 0; }
.wstep-title, .lang-bn .wstep-title { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-head); letter-spacing: 0; }
.apply-side-title, .lang-bn .apply-side-title { font-size: var(--fs-h4); font-weight: 700; line-height: var(--lh-head); letter-spacing: 0; }
.field > label:not(.dropzone), .field > .label { font-size: var(--fs-sm); font-weight: 600; }
.hint { font-size: var(--fs-sm); }
.apply-state h1, .form-success h1 { font-size: var(--fs-h3); font-weight: 700; }

/* feature card refinements */
.feature-body { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 36px 60px -36px rgba(0,0,0,.45); }
.feature:hover .feature-body { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 44px 70px -36px rgba(0,0,0,.55); transform: translateY(-4px); }
.feature-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-facts dd { font-size: var(--fs-base); }
.feature-side { justify-content: flex-start; }
.feature-art { margin-top: auto; }
.btn { white-space: nowrap; }
@media (max-width: 600px) {
  .feature-body, .feature:hover .feature-body { box-shadow: 0 24px 40px -28px rgba(0,0,0,.45); transform: none; }
  .feature-facts { grid-template-columns: 1fr 1fr; }
  .feature-actions { flex-direction: column; }
  .feature-actions .btn { width: 100%; }
}

/* ── Back to top ─────────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 44;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 2.5; }
.to-top-ring .to-top-progress { stroke: var(--red-hot); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top-progress { stroke: #fff; }
.to-top-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.menu-open .to-top { opacity: 0; pointer-events: none; }
/* sit above the sticky apply bar on job pages (mobile/tablet) */
@media (max-width: 1000px) { body:has(.mobile-apply) .to-top { bottom: calc(86px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .to-top { width: 46px; height: 46px; } }

/* Buttons inside posting text keep their own colours (not the red link style) */
.prose .btn { text-decoration: none; }
.prose .btn-accent { color: #fff; }
.prose .btn-ghost { color: var(--ink); }
.prose .btn-ghost:hover { color: #fff; }
/* Apply panel: decoration stays behind content; hover turns the button white */
.apply-cta::after { z-index: 0; }
.apply-cta > * { position: relative; z-index: 1; }
.apply-cta .btn-accent::before { background: #fff; }
.apply-cta .btn-accent:hover { color: var(--ink); }

/* "full-time opportunity" note under the duration */
.dur-note { display: block; margin-top: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--ok); line-height: 1.45; }
.apply-card-facts .dur-note { text-align: right; }

/* Mobile/tablet: show the apply card right under the job header */
@media (max-width: 1000px) {
  .job-aside { order: -1; margin-bottom: 36px; }
  .job-aside .apply-card { box-shadow: 0 18px 36px -28px rgba(0,0,0,.35); }
}

/* footer credit */
.footer-bottom { align-items: center; }
.footer-credit { font-size: var(--fs-sm); color: var(--muted-dark); }
.footer-credit a { color: #fff; font-weight: 600; text-decoration: none; background: linear-gradient(var(--red-hot), var(--red-hot)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .3s var(--ease); }
.footer-credit a:hover { color: var(--red-hot); background-size: 100% 2px; }
@media (max-width: 600px) {
  .site-footer { padding-bottom: 92px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
.social svg { flex: none; }
.social a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   English typefaces (researched against investigative newsrooms)
   The Bureau of Investigative Journalism: Tiempos + GT America · The Markup:
   Ivar + Messina · The Intercept: Swift + Actu · OCCRP: Lora + Inter Tight ·
   FT: Financier + Metric. Pattern: a sturdy news serif for headlines and
   reading, a clean grotesque for navigation, labels and controls.
   Free equivalents used here: Newsreader (serif) + Inter Tight (sans).
   Bangla glyphs fall back to Noto Serif Bengali automatically.
   ========================================================================== */
:root {
  --display: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --body: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --serif: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --ui: "Inter Tight", "Noto Serif Bengali", system-ui, sans-serif;
  --mono: var(--ui);
  --code: var(--ui);
}
body { font-family: var(--body); font-optical-sizing: auto; }
/* Newsreader runs a little small: nudge reading size up on English pages */
.lang-en .prose, .lang-en .hero-lede, .lang-en .section-lede, .lang-en .feature-summary, .lang-en .job-summary { font-size: calc(var(--fs-base) * 1.04); }
.lang-en .hero-lede, .lang-en .section-lede, .lang-en .job-summary { font-size: var(--fs-lg); }
/* Headlines: serif, tighter */
.lang-en :is(.hero-title, .section-title, .closer-title, .index-title, .job-title, .feature-title, .job-row-title, .prose h2, .prose h3, .exhibit h3, .pstep h3, .wstep-title, .apply-side-title, .mobile-menu-links a, .apply-cta-title, .countdown-num, .pstep-num, .footer-mark, .ticker-word) { font-family: var(--display); letter-spacing: -.015em; }
.lang-en .hero-title { font-weight: 700; letter-spacing: -.025em; }
/* UI: sans */
.lang-en :is(.nav-link, .header-cta, .lang-toggle, .btn, .pill, .status-dot, .eyebrow, .crumbs, .brand-tag, .mono, .hero-meta, .ticker-label,
  .casefile dt, .glance dt, .feature-facts dt, .feature-tab, .job-row-meta, .apply-card-facts dt, .toc a, .toc-label, .list-label, .chip,
  .stamp, .countdown-label, .countdown-date, .dur-note, .footer-col h2, .footer-col a, .social a, .footer-bottom, .footer-lang,
  .apply-side-label, .apply-steps li, .wizard-count, .field > label, .field > .label, .hint, .counter, .choice span, .dropzone-text, .dropzone-hint,
  .consent, .review-row dt, .review-edit, .form-error, .field-msg, .apply-form input, .apply-form textarea, .apply-form select,
  .blip text, .radar-readout, .mobile-apply-label, .index-count-label, .pstep-label, .exhibit-tag, .tba) { font-family: var(--ui); }
.lang-en .apply-form textarea { font-family: var(--body); font-size: 17px; }
.lang-en .btn { font-weight: 600; letter-spacing: 0; }
.lang-en .nav-link { font-weight: 500; }
/* hero kicker line (restored) */
.hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 4vh, 44px); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--muted-dark); }
.lang-bn .hero-meta { letter-spacing: 0; text-transform: none; font-size: var(--fs-sm); }
.hero-meta-rule { flex: 1; height: 1px; background: var(--line-dark); max-width: 260px; }
@media (max-width: 640px) { .hero-meta-rule { max-width: 48px; } .hero-meta span:last-child { display: inline; } .hero-meta { gap: 12px; } }

/* English pages use the same families as the root (Newsreader for text and headlines, Inter Tight for UI labels;
   Bangla glyphs fall back to Noto Serif Bengali). */
.lang-en, .lang-en .prose, .lang-en .feature-summary { font-optical-sizing: none; }
.lang-en .prose, .lang-en .feature-summary { font-size: var(--fs-base); }

.lang-en strong, .lang-en b { font-weight: 600; }
/* headlines */
.lang-en :is(.hero-title, .closer-title, .index-title, .job-title, .page-title) { font-weight: 700; letter-spacing: -.035em; line-height: var(--lh-display); }
.lang-en .section-title { font-weight: 700; letter-spacing: -.025em; }
.lang-en .hero-title { font-size: calc(var(--fs-xl) * .92); }
.lang-en .closer-title { font-weight: 700; }
.lang-en .closer-title em { font-style: normal; font-weight: 300; color: var(--red); letter-spacing: -.03em; }
.lang-en .hl-chase .hl-text { font-weight: 800; letter-spacing: -.02em; }
.lang-en :is(.feature-title, .job-row-title, .exhibit h3, .pstep h3, .wstep-title, .apply-side-title, .apply-cta-title, .prose h3) { font-weight: 600; letter-spacing: -.015em; }
.lang-en .prose h2 { font-weight: 700; letter-spacing: -.02em; }
.lang-en :is(.ticker-word, .countdown-num, .index-count-num) { font-weight: 700; letter-spacing: -.03em; }
.lang-en .pstep-num { font-weight: 300; letter-spacing: -.04em; }
.lang-en .footer-mark { font-weight: 700; letter-spacing: -.04em; }
/* ledes and short intros: Light */
.lang-en :is(.hero-lede, .section-lede, .index-lede, .closer-body, .job-summary, .feature-summary) { font-weight: 300; line-height: 1.7; }
/* small caps labels: medium-bold, wide tracking */
.lang-en :is(.eyebrow, .crumbs, .status-dot, .casefile dt, .glance dt, .toc-label, .list-label, .apply-side-label, .wizard-count,
  .pstep-label, .exhibit-tag, .footer-col h2, .ticker-label, .index-count-label, .apply-card-kicker, .mobile-apply-label, .review-row dt, .hero-meta) {
  font-weight: 600; letter-spacing: .12em; }
.lang-en .hero-meta { letter-spacing: .14em; }
/* controls and values */
.lang-en .btn { font-weight: 600; letter-spacing: .005em; font-size: 15px; }
.lang-en .nav-link { font-weight: 500; font-size: 14.5px; }
.lang-en :is(.casefile dd, .glance dd, .feature-facts dd, .apply-card-facts dd, .job-row-meta) { font-weight: 500; }
.lang-en .apply-form textarea { font-size: 15.5px; }

/* hero ticker: draggable / swipeable (JS drives the motion; CSS marquee is the no-JS fallback) */
.ticker-viewport { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.ticker-viewport.is-dragging { cursor: grabbing; }
.ticker-viewport:focus-visible { outline: 2px solid var(--red-hot); outline-offset: -2px; }
.ticker-track.is-js { animation: none; will-change: transform; }

/* a11y: Bengali joins letters, so tracking breaks conjuncts; keep micro-labels >= 12px */
.lang-bn .mono, .lang-bn .eyebrow, .lang-bn .brand-tag, .lang-bn .ticker-label, .lang-bn .pstep-label, .lang-bn .footer-col h2,
.lang-bn .glance dt, .lang-bn .crumbs, .lang-bn .list-label, .lang-bn .toc-label, .lang-bn .exhibit-tag, .lang-bn .apply-card-kicker,
.lang-bn .apply-side-label, .lang-bn .wizard-count, .lang-bn .index-count-label, .lang-bn .job-row-meta em, .lang-bn .hero-meta,
.lang-bn .share-rail-label, .lang-bn .status-dot { letter-spacing: 0; text-transform: none; }
.brand-tag, .ticker-label, .pstep-label, .footer-col h2, .glance dt, .toc-label, .exhibit-tag, .apply-card-kicker, .apply-side-label,
.wizard-count, .job-row-meta em, .status-dot, .apply-token, .eyebrow span, .share-rail-label { font-size: 12px; }

/* ==========================================================================
   Touch: every tap target reaches 44px without changing the layout
   (an invisible ::after enlarges the hit area on touch devices)
   ========================================================================== */
@media (pointer: coarse) {
  .brand, .lang-toggle a, .footer-lang, .link-arrow, .back-link, .crumbs a { position: relative; }
  .brand::after, .footer-lang::after, .link-arrow::after, .back-link::after, .crumbs a::after { content: ""; position: absolute; inset: -11px -4px; }
  .lang-toggle a::after { content: ""; position: absolute; inset: -9px -3px; }
}
.ea-paused * { animation-play-state: paused !important; }

/* English pages show only a few Bangla words (language switch). Use the device's own
   Bangla font there so the 350 KB Bangla web font is not downloaded for them. */
.lang-en .lang-toggle a[lang="bn"], .lang-en a[lang="bn"], .lang-en [lang="bn"] { font-family: "Nirmala UI", "Kohinoor Bangla", "Noto Sans Bengali", "Vrinda", system-ui, sans-serif; }

/* Small screens: keep the hero text clear of the decorative radar read-outs, and keep the
   English tagline on one line with its underline clear of descenders (g, y). */
@media (max-width: 640px) {
  .blip text, .blip .strike, .radar-readout { display: none; } /* the strike-through belongs to the hidden RUMOUR label */
  .lang-en .hl-chase .hl-text { font-size: .58em; white-space: nowrap; }
}
.lang-en .hl-chase { padding-bottom: .1em; }

.footer-legal { font-size: var(--fs-sm); }
.footer-legal a { color: var(--muted-dark); text-decoration: none; background: linear-gradient(var(--red-hot), var(--red-hot)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .3s var(--ease); }
.footer-legal a:hover { color: #fff; background-size: 100% 1px; }
.consent-note { margin: 10px 0 0; }
@media (pointer: coarse) { .footer-legal a, .consent-note a { position: relative; } .footer-legal a::after, .consent-note a::after { content: ""; position: absolute; inset: -11px -4px; } }

/* Hero radar: the read-out labels are pure decoration, so keep them soft and out of the way */
.blip text { fill: rgba(255,255,255,.2); filter: blur(.7px); }
.blip.is-ok text { fill: rgba(79,214,162,.28); }
.blip.is-false text { fill: rgba(224,82,60,.34); }
.radar-readout { color: rgba(255,255,255,.22); filter: blur(.5px); }
@keyframes blip-text { 0% { opacity: .75; } 40% { opacity: .4; } 100% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .blip text { opacity: .4; } }

/* Bangla home hero: Bangla glyphs are visually larger than Latin at the same size, so the
   headline was oversized. Scale it down to a standard display size (~58px max on desktop). */
.lang-bn .hero-title { font-size: calc(var(--fs-xl) * .72); line-height: 1.2; }
.lang-bn .hl-chase .hl-text { font-size: .82em; }

/* Evidence cards: size each card to its own content (no stretched empty space at the bottom) */
.board { align-items: start; }
.exhibit { padding-bottom: 20px; }
@media (max-width: 600px) { .board { padding-left: 26px; } }

/* Job facts (case-file strip + "At a glance" table): quieter, smaller type so the data reads
   as reference information rather than headlines. Copy is unchanged. */
body .casefile dd, body .glance dd { font-size: 15px; font-weight: 500; line-height: 1.55; letter-spacing: 0; }
body .casefile dt, body .glance dt { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
body .casefile > div { padding-top: 14px; padding-bottom: 16px; }
body .glance-grid > div { padding: 14px 18px; }
body .glance-grid .is-key dd { font-weight: 600; }
body .dur-note { font-size: 13px; font-weight: 500; line-height: 1.5; }
body .prose .glance-note, body .glance-note { font-size: 13.5px; padding: 12px 18px; }
@media (max-width: 640px) { body .casefile dd, body .glance dd { font-size: 14.5px; } }

/* Mobile hero: start the content higher (kicker line just under the header) and give the
   Bangla headline a larger, easier-to-read size than the desktop-derived scale. */
@media (max-width: 640px) {
  .hero-inner { justify-content: flex-start; padding-top: 20px; }
  .hero-meta { margin-bottom: 18px; }
  .lang-bn .hero-title { font-size: calc(var(--fs-xl) * 1.05); line-height: 1.2; }
  .lang-bn .hl-chase .hl-text { font-size: .76em; }
}

/* Mobile footer: the 92px bottom space only exists to clear the fixed apply bar on job pages;
   everywhere else keep it tight below the credit line. */
@media (max-width: 600px) {
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mobile-apply) .site-footer { padding-bottom: 92px; }
}

/* ==========================================================================
   Open roles · case-file folder (red folder → kraft folder with tabs → paper card)
   ========================================================================== */
.cf { --kraft: #dcc7a1; --kraft-dark: #c9b088; position: relative; width: 100%; max-width: 960px; margin: 0 auto; padding: 56px 0 22px; }
.features { gap: 56px; }
.cf-red { position: absolute; z-index: 0; top: 0; left: 7%; right: 0; height: 120px; border-radius: 12px 12px 0 0; background: linear-gradient(#b23a2a, #8f2719); transform: rotate(-.5deg); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.cf-kraft { position: absolute; z-index: 1; top: 26px; left: 0; right: 1%; bottom: 0; border-radius: 6px 14px 14px 14px; background: linear-gradient(var(--kraft), var(--kraft-dark)); box-shadow: 0 30px 50px -30px rgba(0,0,0,.5); }
.cf-tabs { position: absolute; z-index: 2; top: 2px; left: 3%; display: flex; align-items: flex-end; gap: 4px; }
.cf-tab { display: inline-flex; align-items: center; height: 32px; padding: 0 18px; border-radius: 9px 9px 0 0; background: var(--kraft); color: #2a2218; font-size: 13px; }
.cf-tab--main { font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 15px; }
.cf-tab--sub { background: #efe3cc; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #5a4d3a; height: 28px; }
.cf-clip { position: absolute; z-index: 1; top: 90px; right: -1.5%; width: 96px; bottom: 40px; max-height: 230px; border-radius: 2px; transform: rotate(3deg); background: repeating-linear-gradient(#d7d3cc 0 3px, #ece9e3 3px 8px); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }

.cf-card { position: relative; z-index: 3; margin: 0 4% 0 3.5%; padding: clamp(26px, 4vw, 42px); padding-top: clamp(34px, 4.5vw, 50px); background: #fdfbf6; border-radius: 3px; transform: rotate(-.25deg); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 26px 40px -26px rgba(0,0,0,.55); transition: transform .4s var(--ease), box-shadow .4s; }
.cf:hover .cf-card { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 34px 48px -26px rgba(0,0,0,.6); }
.cf-paperclip { position: absolute; left: -12px; top: 34%; width: 26px; height: 78px; fill: none; stroke: #8b8f94; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.25)); }
.cf-stamp { position: absolute; top: clamp(18px, 3vw, 30px); right: clamp(16px, 3vw, 34px); padding: 6px 16px; border: 2.5px solid #b23a2a; border-radius: 5px; color: #b23a2a; font-family: var(--ui); font-weight: 800; font-size: clamp(14px, 1.8vw, 20px); letter-spacing: .08em; text-transform: none; transform: rotate(6deg); opacity: .88; mix-blend-mode: multiply; background: repeating-linear-gradient(115deg, transparent 0 7px, rgba(178,58,42,.06) 7px 9px); }
.cf.is-closed .cf-stamp { color: #6b665f; border-color: #6b665f; }
.cf-no { margin: 0 0 14px; font-family: var(--mono); font-size: 14px; letter-spacing: .04em; color: #4b463f; }
.lang-bn .cf-no { letter-spacing: 0; }
.cf-title { margin: 0; max-width: 26ch; font-family: var(--display); font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.lang-bn .cf-title { line-height: 1.25; letter-spacing: 0; }
.cf-title a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .14em; }
.cf-title a:hover { color: var(--red); }
.cf-role { margin: 12px 0 22px; font-size: var(--fs-lg); color: #2a2622; }
.cf-role span { font-weight: 700; margin-right: 4px; }
.cf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.cf-fact { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-left: 1px solid var(--line); }
.cf-fact:first-child { padding-left: 0; border-left: 0; }
.cf-fact svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #2a2622; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cf-fact dt { font-size: 13px; color: var(--muted); line-height: 1.3; }
.cf-fact dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cf-fact--status dd { color: var(--ok); }
.cf.is-closed .cf-fact--status dd, .cf-fact--status dd.is-closed { color: var(--muted); }
.cf-dot { flex: none; width: 14px; height: 14px; margin: 0 6px; border-radius: 50%; background: #2fbf86; box-shadow: 0 0 0 5px rgba(47,191,134,.2); animation: cf-pulse 2.4s ease-in-out infinite; }
.cf.is-closed .cf-dot { background: #9a948b; box-shadow: 0 0 0 5px rgba(154,148,139,.2); animation: none; }
@keyframes cf-pulse { 50% { box-shadow: 0 0 0 8px rgba(47,191,134,.08); } }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
@media (max-width: 760px) {
  .cf { padding-top: 50px; }
  .cf-tab--sub { padding: 0 11px; font-size: 10px; letter-spacing: .06em; }
  .cf-clip { width: 44px; top: 84px; bottom: auto; height: 150px; right: -1%; }
  .cf-card { margin: 0 4% 0 3%; padding: 22px 18px 24px; padding-top: 28px; }
  .cf-paperclip { left: -9px; top: 36%; width: 22px; height: 66px; }
  .cf-stamp { top: 14px; right: 12px; padding: 4px 11px; font-size: 12px; border-width: 2px; }
  .cf-no { font-size: 12.5px; margin-bottom: 12px; }
  .cf-title { font-size: clamp(24px, 7.2vw, 32px); }
  .cf-role { font-size: 15.5px; margin: 10px 0 18px; }
  .cf-facts { padding: 14px 0; }
  .cf-fact, .cf-fact:first-child { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 10px; border-left: 1px solid var(--line); }
  .cf-fact:first-child { padding-left: 0; border-left: 0; }
  .cf-fact svg { width: 22px; height: 22px; }
  .cf-dot { width: 12px; height: 12px; margin: 5px 5px 4px; }
  .cf-fact dt { font-size: 12px; }
  .cf-fact dd { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .cf-dot { animation: none; } .cf:hover .cf-card { transform: rotate(-.25deg); } }

/* ==========================================================================
   Job page · immersive parallax (see assets/js/job-parallax.js)
   dark full-height hero with drifting layers → red marquee band → numbered chapters
   ========================================================================== */
.job-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100svh; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 24px) 0 0; background: var(--ink); color: #fff; border-bottom: 0; }
.jh-layers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.jh-grid { position: absolute; inset: -25% -5%; background-image: radial-gradient(rgba(255,255,255,.17) 1px, transparent 1.5px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 42%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 72% 42%, #000, transparent 75%); will-change: transform; }
.jh-glow { position: absolute; left: -20vw; bottom: -30vw; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(224,82,60,.34), transparent); will-change: transform; }
.jh-rings { position: absolute; right: -22vw; top: 50%; width: min(96vw, 1000px); height: min(96vw, 1000px); margin-top: calc(min(96vw, 1000px) / -2); fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; will-change: transform; }
.jh-rings .jh-ring-dash { stroke: rgba(224,82,60,.5); stroke-dasharray: 3 12; transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.jh-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 56px; will-change: transform, opacity; }
.job-hero .crumbs, .job-hero .crumbs a { color: var(--muted-dark); }
.job-hero .crumbs a:hover { color: #fff; }
.job-hero .pill-onDark { background: var(--red); color: #fff; }
.job-hero .pill-onDark.pill-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.job-hero .job-title { max-width: 16ch; color: #fff; font-size: clamp(40px, 7.4vw, 104px); line-height: 1.08; letter-spacing: -.03em; }
.lang-bn .job-hero .job-title { line-height: 1.22; letter-spacing: -.01em; }
.job-hero .job-summary { max-width: 52ch; color: rgba(255,255,255,.76); font-size: clamp(16px, 1.5vw, 20px); }
.job-hero .casefile { margin-top: clamp(28px, 5vh, 56px); border-top: 1px solid rgba(255,255,255,.18); }
.job-hero .casefile > div { border-right-color: rgba(255,255,255,.14); }
.job-hero .casefile dt { color: var(--muted-dark); }
.job-hero .casefile dd, body .job-hero .casefile dd { color: #fff; }
.job-hero .dur-note { color: var(--ok-dark); }
.jh-scroll { position: absolute; left: 50%; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); font-size: 12px; color: var(--muted-dark); }
.jh-scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.6), transparent); transform-origin: top; animation: jh-drip 2.2s var(--ease-io, ease-in-out) infinite; }
@keyframes jh-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* marquee band */
.jm { position: relative; z-index: 2; overflow: hidden; margin: -18px 0 0; padding: 14px 0; background: var(--red); color: #fff; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.jm-track { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 28px); will-change: transform; }
.jm-track i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }

/* chapters */
.job-layout { padding-top: clamp(16px, 3vw, 40px); }
.prose { max-width: none; }
.chapter { position: relative; padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: clamp(40px, 6vw, 72px); }
.chapter-num { position: absolute; right: -.02em; top: clamp(16px, 3vw, 44px); z-index: 0; font-family: var(--display); font-weight: 800; font-size: clamp(120px, 18vw, 260px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(18,18,18,.12); pointer-events: none; user-select: none; will-change: transform; }
.chapter > :not(.chapter-num) { position: relative; z-index: 1; }
.chapter h2, .lang-bn .chapter h2 { margin: 0 0 26px; max-width: 18ch; font-size: clamp(32px, 5vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.lang-bn .chapter h2 { line-height: 1.28; letter-spacing: -.01em; }
.chapter h2::before { width: 56px; height: 4px; }
.chapter > p, .chapter > ul, .chapter > ol, .chapter > blockquote { max-width: 62ch; }
.js-chapters .chapter:not(.is-in) > :not(.chapter-num) { opacity: 0; transform: translateY(40px); }
.js-chapters .chapter > :not(.chapter-num) { transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .07s); }

/* dot rail */
.chapter-rail { position: fixed; right: 22px; top: 50%; z-index: 45; display: none; flex-direction: column; gap: 16px; transform: translateY(-50%); opacity: 0; transition: opacity .4s; }
.is-past-hero ~ .chapter-rail, .chapter-rail { pointer-events: none; }
body:has(.job.is-past-hero) .chapter-rail { opacity: 1; pointer-events: auto; }
.chapter-rail a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; background: #9d978e; box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); transition: background .25s, transform .25s; }
.chapter-rail a::after { content: ""; position: absolute; inset: -8px; }
.chapter-rail a.is-active { background: var(--red); transform: scale(1.6); }
.chapter-rail a span { position: absolute; right: 24px; top: 50%; padding: 4px 10px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity .2s, transform .2s; }
.chapter-rail a:hover span, .chapter-rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1280px) { .chapter-rail { display: flex; } }

@media (max-width: 760px) {
  .job-hero { min-height: 92svh; }
  .jh-rings { right: -45vw; width: 130vw; height: 130vw; margin-top: -65vw; }
  .jm { margin-top: -10px; padding: 11px 0; }
  .chapter-num { font-size: clamp(96px, 30vw, 150px); opacity: .8; }
  .chapter h2, .lang-bn .chapter h2 { max-width: none; font-size: clamp(28px, 8vw, 38px); }
}
@media (prefers-reduced-motion: reduce) {
  .jh-rings .jh-ring-dash, .jh-scroll i { animation: none; }
  .js-chapters .chapter:not(.is-in) > :not(.chapter-num) { opacity: 1; transform: none; }
  .jm { transform: none; }
}

/* ── Pinned hero (scroll-scrubbed) + alternating dark chapters ─────────── */
.job { overflow-x: clip; }
.job-hero { display: block; min-height: 0; height: 260vh; padding: 0; overflow: visible; isolation: auto; }
.jh-stick { position: sticky; top: 0; display: flex; flex-direction: column; height: 100svh; padding-top: calc(var(--header-h) + 24px); overflow: hidden; isolation: isolate; }
.job-hero .job-title { font-weight: 300; letter-spacing: -.035em; }
.lang-bn .job-hero .job-title { font-weight: 600; }
.job-hero .casefile { will-change: transform, opacity; }
.jh-scroll { bottom: 18px; }
.job-aside .toc { display: none; }

.chapter { isolation: isolate; }
.chapter--dark { color: rgba(255,255,255,.86); border-top: 0; }
.chapter--dark::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: var(--bl, 0); width: var(--bw, 100vw); background: var(--ink); }
.chapter--dark h2, .chapter--dark strong { color: #fff; }
.chapter--dark .chapter-num { -webkit-text-stroke-color: rgba(255,255,255,.16); }
.chapter--dark a:not(.btn) { color: var(--red-hot); }
.chapter--dark li::marker { color: var(--red-hot); }
.chapter--dark .glance, .chapter--dark .glance dd, .chapter--dark .glance dt { color: var(--ink); }
.chapter--dark .glance-note { color: var(--muted); }
.chapter--dark hr { border-color: rgba(255,255,255,.2); }
@media (max-width: 760px) {
  .job-hero { height: 210vh; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .job-hero { height: auto; }
  .jh-stick { position: relative; height: auto; min-height: 100svh; }
  .job-hero .casefile { opacity: 1 !important; transform: none !important; }
}

.job-hero .job-title { font-size: clamp(38px, 6.4vw, 88px); }

/* ==========================================================================
   Job page chapters: hero facts · At a glance (bento) · What you'll learn (motion graphics) · How to apply
   ========================================================================== */
.job-hero .casefile { grid-template-columns: repeat(2, minmax(0, 260px)); max-width: 640px; }

/* ── At a glance: bento cards ─────────────────────────────────────────── */
.chapter--glance .glance { border: 0; border-radius: 0; overflow: visible; background: none; }
.chapter--glance .glance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.chapter--glance .glance-grid > div { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.chapter--glance .glance-grid > div::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(161,47,31,.12), transparent); transition: transform .6s var(--ease); }
.chapter--glance .glance-grid > div:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 26px 40px -28px rgba(18,18,18,.45); }
.chapter--glance .glance-grid > div:hover::after { transform: scale(1.8); }
.chapter--glance .glance-grid svg { flex: none; width: 30px; height: 30px; margin-bottom: auto; padding-bottom: 14px; box-sizing: content-box; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.chapter--glance .glance-grid > div:hover svg { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.chapter--glance .glance-grid dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.chapter--glance .glance-grid dd, body .chapter--glance .glance dd { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.chapter--glance .g-program { grid-column: span 2; background: linear-gradient(135deg, #fff, var(--paper)); }
.chapter--glance .g-program dd { font-size: clamp(20px, 2.4vw, 26px); }
.chapter--glance .g-positions dd, body .chapter--glance .g-positions dd { font-size: clamp(44px, 6vw, 64px); font-weight: 800; line-height: .95; color: var(--red); }
.chapter--glance .g-deadline { grid-column: span 2; border-color: transparent; background: linear-gradient(120deg, #a12f1f, #d0452f); }
.chapter--glance .g-deadline::after { background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.chapter--glance .g-deadline:hover { border-color: transparent; }
.chapter--glance .g-deadline svg { stroke: #fff; animation: g-wobble 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.chapter--glance .g-deadline dt { color: rgba(255,255,255,.82); }
.chapter--glance .g-deadline dd, body .chapter--glance .g-deadline dd { color: #fff; font-size: clamp(24px, 3vw, 32px); }
@keyframes g-wobble { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-10deg); } 94% { transform: rotate(9deg); } 97% { transform: rotate(-5deg); } }
.chapter--glance .glance-note { margin: 14px 0 0; padding: 16px 20px; border: 0; border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; background: var(--red-soft); color: var(--red-ink); font-size: 14px; }
.js-chapters .chapter--glance:not(.is-in) .glance-grid > div { opacity: 0; }
.js-chapters .chapter--glance.is-in .glance-grid > div { animation: g-rise .8s var(--ease) backwards; animation-delay: calc(.25s + var(--k, 0) * .07s); }
@keyframes g-rise { from { opacity: 0; transform: translateY(40px) scale(.95); } }
@media (max-width: 900px) { .chapter--glance .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chapter--glance .g-program, .chapter--glance .g-deadline { grid-column: 1 / -1; } }
@media (max-width: 520px) { .chapter--glance .glance-grid { grid-template-columns: 1fr; } .chapter--glance .glance-grid > div { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px; } .chapter--glance .glance-grid svg { margin: 0; padding: 0; } .chapter--glance .glance-grid dt { flex: 1 0 calc(100% - 50px); } .chapter--glance .glance-grid dd { flex: 1 0 100%; } }

/* ── What you'll learn: dark stage, animated icon cards, parallax ──────── */
.chapter--learn { overflow: visible; }
.chapter--learn .learn-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; padding: 0; background: none; border: 0; counter-reset: lrn; list-style: none; }
.chapter--learn .learn-list li { position: relative; display: grid; align-content: start; gap: 8px; margin: 0; padding: 26px 24px 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); overflow: hidden; counter-increment: lrn; transition: transform .45s var(--ease), border-color .3s, box-shadow .4s; }
.chapter--learn .learn-list li:hover { transform: translateY(-8px); border-color: var(--red-hot); box-shadow: 0 30px 60px -28px rgba(224,82,60,.55); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.chapter--learn .learn-list li::before { content: counter(lrn, decimal-leading-zero); display: block; position: absolute; right: 18px; top: 8px; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2); }
.lang-bn .chapter--learn .learn-list li::before { content: counter(lrn, bengali); }
.chapter--learn .learn-list li::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(224,82,60,.24), transparent 70%); opacity: 0; transition: opacity .3s; }
.chapter--learn .learn-list li:hover::after { opacity: 1; }
.chapter--learn .learn-list li > * { position: relative; z-index: 1; }
.chapter--learn .learn-list strong { font-size: 19px; color: #fff; }
.chapter--learn .learn-list span:not(.l-ico) { color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.65; }
.chapter--learn > p { color: rgba(255,255,255,.78); }
.l-ico { display: block; width: 58px; height: 58px; margin-bottom: 8px; }
.l-ico svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.l-ico .hl { stroke: var(--red-hot); }
.l-ico .d { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js-chapters .chapter--learn:not(.is-in) .l-ico .d { stroke-dashoffset: 100; }
.js-chapters .chapter--learn.is-in .l-ico .d { animation: l-draw 1.3s var(--ease) backwards; animation-delay: calc(.35s + var(--k, 0) * .12s); }
@keyframes l-draw { from { stroke-dashoffset: 100; } }
.l-ico .scan { animation: l-scan 2.6s ease-in-out infinite; }
@keyframes l-scan { 0%, 100% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 50% { transform: translateY(20px); opacity: 1; } }
.l-ico .ping { transform-box: fill-box; transform-origin: center; animation: l-ping 2.2s ease-out infinite; }
@keyframes l-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.l-ico .bar { fill: rgba(255,255,255,.14); transform-box: fill-box; transform-origin: bottom; animation: l-bar 2.4s ease-in-out infinite; }
.l-ico .bar.hl { fill: rgba(224,82,60,.25); }
.l-ico .b2 { animation-delay: .25s; } .l-ico .b3 { animation-delay: .5s; }
@keyframes l-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.l-ico .cursor { animation: l-blink 1s steps(2, start) infinite; }
@keyframes l-blink { 50% { opacity: 0; } }
.l-ico .lock { transform-box: fill-box; transform-origin: center; animation: l-lock 2.6s ease-in-out infinite; }
@keyframes l-lock { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.l-ico .beam { transform-origin: 24px 16px; animation: l-tilt 3.6s ease-in-out infinite; }
@keyframes l-tilt { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.deco { position: absolute; z-index: 0; pointer-events: none; will-change: transform; }
.deco--ring { right: -60px; top: 12%; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgba(224,82,60,.5); animation: spin 60s linear infinite; }
.deco--plus { left: 4%; top: 46%; width: 46px; height: 46px; background: linear-gradient(var(--red-hot), var(--red-hot)) center / 2px 100% no-repeat, linear-gradient(var(--red-hot), var(--red-hot)) center / 100% 2px no-repeat; opacity: .7; }
.deco--dots { right: 8%; bottom: 8%; width: 140px; height: 140px; background-image: radial-gradient(rgba(255,255,255,.35) 1.4px, transparent 1.8px); background-size: 20px 20px; }
@media (max-width: 1000px) { .chapter--learn .learn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .chapter--learn .learn-list { grid-template-columns: 1fr; } .deco--ring { width: 170px; height: 170px; right: -70px; } }
.js-chapters .chapter--learn:not(.is-in) .learn-list > li { opacity: 0; }
.js-chapters .chapter--learn.is-in .learn-list > li { animation: l-card .9s var(--ease) backwards; animation-delay: calc(.2s + var(--k, 0) * .1s); }
@keyframes l-card { from { opacity: 0; transform: translateY(70px) rotate(2deg); } }

/* ── How to apply: headline words rise, steps stagger, magnetic pulsing button ─ */
.chapter--apply h2, .lang-bn .chapter--apply h2 { max-width: none; font-size: clamp(40px, 7vw, 92px); line-height: 1.08; }
.chapter--apply h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
.chapter--apply h2 .w > span { display: inline-block; }
.js-chapters .chapter--apply:not(.is-in) h2 .w > span { transform: translateY(110%); }
.js-chapters .chapter--apply.is-in h2 .w > span { animation: w-rise .9s var(--ease) backwards; animation-delay: calc(.1s + var(--w, 0) * .12s); }
@keyframes w-rise { from { transform: translateY(110%); } }
.chapter--apply > p { color: rgba(255,255,255,.8); font-size: var(--fs-lg); }
.chapter--apply > ul { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: stp; }
.chapter--apply > ul > li { position: relative; margin: 0; padding: 58px 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.05); color: #fff; counter-increment: stp; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.chapter--apply > ul > li::before { content: counter(stp, decimal-leading-zero); display: block; position: absolute; left: 22px; top: 16px; width: auto; height: auto; padding: 0; border: 0; background: none; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--red-hot); }
.lang-bn .chapter--apply > ul > li::before { content: counter(stp, bengali); }
.chapter--apply > ul > li:hover { transform: translateY(-6px); border-color: var(--red-hot); background: rgba(255,255,255,.09); }
.js-chapters .chapter--apply:not(.is-in) > ul > li { opacity: 0; }
.js-chapters .chapter--apply.is-in > ul > li { animation: l-card .8s var(--ease) backwards; animation-delay: calc(.55s + var(--k, 0) * .12s); }
@media (max-width: 760px) { .chapter--apply > ul { grid-template-columns: 1fr; } }

.chapter--apply .apply-cta { position: relative; overflow: hidden; margin: 38px 0 0; padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: linear-gradient(115deg, #a12f1f, #e0523c 55%, #a12f1f); background-size: 220% 100%; animation: cta-flow 9s linear infinite; box-shadow: 0 50px 90px -40px rgba(224,82,60,.7); }
.chapter--apply .apply-cta::after { right: -80px; top: -80px; width: 280px; height: 280px; border-width: 36px; border-color: rgba(255,255,255,.08); animation: spin 40s linear infinite; }
@keyframes cta-flow { to { background-position: -220% 0; } }
.chapter--apply .apply-cta-title, .prose .chapter--apply .apply-cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; color: #fff; }
.chapter--apply .apply-cta-body { color: rgba(255,255,255,.86); font-size: 16px; }
.chapter--apply .apply-cta .btn-accent { position: relative; overflow: hidden; height: 66px; padding: 0 36px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 0 0 0 rgba(255,255,255,.55); animation: cta-pulse 2.2s ease-out infinite; transition: scale .3s var(--ease), color .3s; will-change: translate; }
.chapter--apply .apply-cta .btn-accent::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: cta-shine 3.4s ease-in-out infinite; }
.chapter--apply .apply-cta .btn-accent:hover { scale: 1.06; color: var(--ink); animation-play-state: paused; }
.chapter--apply .apply-cta .btn-arrow { display: inline-block; animation: cta-nudge 1.5s ease-in-out infinite; }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
@keyframes cta-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes cta-nudge { 50% { transform: translateX(7px); } }
.js-chapters .chapter--apply:not(.is-in) .apply-cta { opacity: 0; transform: translateY(60px) scale(.94); }
.js-chapters .chapter--apply.is-in .apply-cta { animation: cta-flow 9s linear infinite, cta-pop 1.1s var(--ease) backwards; animation-delay: 0s, 1s; }
@keyframes cta-pop { from { opacity: 0; transform: translateY(60px) scale(.94); } }
@media (max-width: 720px) { .chapter--apply .apply-cta .btn-accent { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .chapter--apply .apply-cta, .chapter--apply .apply-cta .btn-accent, .chapter--apply .apply-cta .btn-arrow, .chapter--apply .apply-cta .btn-accent::after, .l-ico *, .deco, .chapter--glance .g-deadline svg { animation: none !important; }
  .l-ico .d { stroke-dashoffset: 0 !important; }
}

/* learn cards: reset the generic bullet pseudo so only the outlined index number shows */
.prose .chapter--learn .learn-list > li::before { left: auto; right: 18px; top: 8px; width: auto; height: auto; border-radius: 0; background: none; }
.lang-bn .prose .chapter--learn .learn-list > li::before { top: 8px; }
.chapter > .deco { position: absolute; z-index: 0; }
.chapter > .deco--ring { right: -60px; left: auto; top: 12%; width: 260px; height: 260px; }
.chapter > .deco--plus { left: 4%; top: 46%; width: 46px; height: 46px; }
.chapter > .deco--dots { right: 8%; bottom: 8%; width: 140px; height: 140px; }
.chapter--learn > .learn-list { max-width: none; }

/* ==========================================================================
   Round 2 fixes
   ========================================================================== */
/* hero: shorter pin, copy stays readable until the stage is released */
.job-hero { height: 175vh; }
@media (max-width: 760px) { .job-hero { height: 150vh; } }

/* ── At a glance: warm sand stage, tinted icon chips, deep-green and red accents ── */
.chapter--glance { isolation: isolate; border-top: 0; }
.chapter--glance::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: var(--bl, 0); width: var(--bw, 100vw); background: linear-gradient(180deg, #f2ecdf, #ebe3d2); }
.chapter--glance .chapter-num { -webkit-text-stroke-color: rgba(120,90,40,.18); }
.chapter--glance .glance-grid > div { --ac: #a12f1f; --ab: #f7e2dc; border-color: rgba(90,65,25,.1); background: #fffdf8; box-shadow: 0 14px 26px -22px rgba(70,50,15,.45); }
.chapter--glance .glance-grid > div:hover { border-color: var(--ac); box-shadow: 0 28px 44px -26px rgba(70,50,15,.55); }
.chapter--glance .glance-grid > div::after { background: radial-gradient(closest-side, var(--ab), transparent); opacity: .9; }
.chapter--glance .glance-grid > div > svg { width: 46px; height: 46px; padding: 11px; margin-bottom: 18px; box-sizing: border-box; border-radius: 14px; background: var(--ab); stroke: var(--ac); }
.chapter--glance .glance-grid dt { margin-top: auto; }
.chapter--glance .glance-grid > .g-program { --ac: #8a5a1f; --ab: #f4e6cb; background: linear-gradient(135deg, #fffdf8, #f8efdc); }
.chapter--glance .glance-grid > .g-role { --ac: #a12f1f; --ab: #f7e2dc; }
.chapter--glance .glance-grid > .g-duration { --ac: #2c6a55; --ab: #dcefe6; }
.chapter--glance .glance-grid > .g-stipend { --ac: #a56d0c; --ab: #f8ebc8; }
.chapter--glance .glance-grid > .g-work { --ac: #3a5f86; --ab: #dde8f3; }
.chapter--glance .glance-grid > .g-location { --ac: #6f4a86; --ab: #ece1f2; }
.chapter--glance .glance-grid > .g-start { --ac: #2c6a55; --ab: #dcefe6; }
.chapter--glance .glance-grid > .g-positions { --ac: #fff; --ab: rgba(255,255,255,.16); border-color: transparent; background: linear-gradient(150deg, #1f5b49, #153d32); }
.chapter--glance .glance-grid > .g-positions dt { color: rgba(255,255,255,.75); }
.chapter--glance .glance-grid > .g-positions dd, body .chapter--glance .glance-grid > .g-positions dd { color: #fff; }
.chapter--glance .glance-grid > .g-positions::after { background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); }
.chapter--glance .glance-grid > .g-deadline { --ac: #fff; --ab: rgba(255,255,255,.18); border-color: transparent; background: linear-gradient(120deg, #a12f1f, #d0452f); }
.chapter--glance .glance-grid > .g-deadline dt { color: rgba(255,255,255,.85); }
.chapter--glance .glance-grid > .g-deadline dd, body .chapter--glance .glance-grid > .g-deadline dd { color: #fff; }
.chapter--glance .glance-grid > .g-deadline::after { background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.chapter--glance .glance-note { background: #fffdf8; color: #5a4a2c; border-left-color: #a56d0c; box-shadow: 0 10px 20px -18px rgba(70,50,15,.4); }

/* ── Closing: no white strip; the dark apply stage runs into the footer behind a red rule ── */
.job-layout { padding-bottom: 0; }
.chapter--apply { padding-bottom: clamp(72px, 9vw, 120px); }
.chapter--apply::after { content: ""; position: absolute; bottom: 0; left: var(--bl, 0); width: var(--bw, 100vw); height: 5px; background: linear-gradient(90deg, #a12f1f, #e0523c 50%, #a12f1f); }
@media (max-width: 1000px) { .job-layout { padding-bottom: 0; } }

/* ── Learn cards on small screens: no parallax offsets (they made cards overlap), no stray decoration ── */
@media (max-width: 1000px) {
  .chapter--learn .learn-list > li { translate: none !important; }
}
@media (max-width: 760px) {
  .deco--ring, .deco--plus { display: none; }
  .chapter--learn .learn-list { gap: 14px; }
  .chapter--learn .learn-list li { padding: 22px 20px 24px; }
  .chapter--learn .learn-list li::before { font-size: 44px; }
}

/* marquee: sits fully below the pinned hero (never over its copy); the dark/white split behind it
   keeps the tilted band's corners from showing the page background against the hero */
.job-hero { position: relative; z-index: 3; }
.jm-wrap { position: relative; z-index: 2; padding: 30px 0; background: linear-gradient(var(--ink) 50%, var(--white) 50%); overflow: hidden; }
.jm { margin: 0; }
.jh-content { padding-bottom: clamp(80px, 13vh, 130px); }

/* mobile: the apply card now follows the marquee band directly, so give it room */
@media (max-width: 1000px) { .job-layout { padding-top: 44px; } }

/* hero must fit the pinned stage: size the title by viewport height as well as width, so the
   facts row is never pushed below the fold or clipped */
.job-hero .job-title { font-size: clamp(34px, min(6.4vw, 8.2vh), 88px); }
.job-hero .job-summary { font-size: clamp(15px, min(1.5vw, 2.3vh), 19px); }
.jh-content { padding-bottom: clamp(72px, 11vh, 120px); }
.job-hero .casefile { margin-top: clamp(20px, 4vh, 44px); }

/* marquee: tuck the tilted band under the (opaque, higher) hero instead of showing a dark strip */
.jm-wrap { margin-top: -34px; padding: 0 0 28px; background: none; overflow: visible; }

/* ==========================================================================
   At a glance · minimalist table (small type, hairlines, soft card)
   ========================================================================== */
.glance-min .gt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: #fffdf8; border: 1px solid rgba(90,65,25,.13); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 26px -22px rgba(70,50,15,.45); }
.gt > div { --ac: #8a5a1f; display: grid; grid-template-columns: 16px 104px minmax(0, 1fr); column-gap: 10px; align-items: baseline; padding: 11px 16px; border-top: 1px solid rgba(90,65,25,.1); transition: background .2s; }
.gt > div:first-child { border-top: 0; }
.gt > .gt-r { border-left: 1px solid rgba(90,65,25,.1); }
.gt > .gt-w { grid-column: 1 / -1; }
.gt > div:hover { background: rgba(161,47,31,.035); }
.gt svg { width: 16px; height: 16px; align-self: center; fill: none; stroke: var(--ac); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gt dt { font-size: 13px; line-height: 1.5; color: var(--muted); }
.gt dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.gt .gt-role { --ac: #a12f1f; } .gt .gt-work { --ac: #3a5f86; } .gt .gt-location { --ac: #6f4a86; } .gt .gt-stipend { --ac: #a56d0c; }
.gt .gt-duration, .gt .gt-positions, .gt .gt-start { --ac: #2c6a55; } .gt .gt-deadline { --ac: #a12f1f; }
.gt .gt-key dd { justify-self: start; padding: 1px 11px; border-radius: 999px; background: #f7e2dc; color: #a12f1f; }
.chapter--glance .glance-min .glance-note { margin: 12px 0 0; padding: 0 0 0 12px; border: 0; border-left: 2px solid var(--red); border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: 13px; }
.js-chapters .chapter--glance:not(.is-in) .gt > div { opacity: 0; }
.js-chapters .chapter--glance.is-in .gt > div { animation: gt-in .6s var(--ease) backwards; animation-delay: calc(.2s + var(--k, 0) * .06s); }
@keyframes gt-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) {
  .glance-min .gt { grid-template-columns: 1fr; }
  .gt > .gt-r { border-left: 0; }
}
@media (max-width: 420px) {
  .gt > div { grid-template-columns: 16px minmax(0, 1fr); row-gap: 1px; }
  .gt dd { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .gt > div { animation: none !important; } }
.gt svg { align-self: start; margin-top: .3em; }

/* marquee: the hero overlaps the band's top edge to hide the tilt gap, so keep the text clear of it
   (smaller tilt + smaller overlap + extra top padding) */
.jm-wrap { margin-top: -16px; }
.jm { transform: rotate(-.7deg) scale(1.03); padding: 36px 0 15px; }
@media (max-width: 760px) { .jm-wrap { margin-top: -10px; } .jm { padding: 24px 0 11px; } }

/* ── At a glance table: typography ───────────────────────────────────────────
   - old card rules ("body .chapter--glance .glance dd": 19px/700) were winning → scoped override below
   - Latin text sits in Newsreader while Bangla is Noto Serif Bengali; Newsreader looks larger/heavier
     next to Bangla, so a size-adjusted copy keeps both scripts the same visual size
   - regular (400) for values and labels, semibold (600) only for the deadline */
@font-face { font-family: "Newsreader Fit"; font-style: normal; font-weight: 300 800; font-display: swap; size-adjust: 94%; src: url("../fonts/newsreader-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
body .chapter--glance .glance-min .gt { font-family: "Newsreader Fit", "Noto Serif Bengali", Georgia, serif; }
body .chapter--glance .glance-min .gt dt { margin: 0; font-size: 12.5px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--muted); }
body .chapter--glance .glance-min .gt dd { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--ink); }
body .chapter--glance .glance-min .gt .gt-key dd { font-size: 13.5px; font-weight: 600; }
body .chapter--glance .glance-min .gt > div { padding: 10px 16px; grid-template-columns: 16px 100px minmax(0, 1fr); }
@media (max-width: 420px) { body .chapter--glance .glance-min .gt > div { grid-template-columns: 16px minmax(0, 1fr); } }

/* ── How to apply: the three requirements as three bars with the text beside them ── */
.chapter--apply > ul { grid-template-columns: 1fr; gap: 14px; max-width: 62ch; margin-top: 24px; }
.chapter--apply > ul > li { padding: 3px 0 3px 22px; border: 0; border-radius: 0; background: none; font-size: 16px; font-weight: 400; line-height: 1.65; color: rgba(255,255,255,.9); transform: none; }
.chapter--apply > ul > li:hover { transform: none; border: 0; background: none; }
.chapter--apply > ul > li::before, .lang-bn .chapter--apply > ul > li::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; height: auto; padding: 0; border-radius: 2px; background: var(--red-hot); font-size: 0; transform-origin: top; transition: width .25s var(--ease); }
.chapter--apply > ul > li:hover::before { width: 6px; }
.js-chapters .chapter--apply:not(.is-in) > ul > li::before { transform: scaleY(0); }
.js-chapters .chapter--apply.is-in > ul > li::before { animation: ap-bar .7s var(--ease) backwards; animation-delay: calc(.65s + var(--k, 0) * .12s); }
@keyframes ap-bar { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .chapter--apply > ul > li::before { animation: none !important; } }

/* ── At a glance: plain two-column table (label | value) ──────────────────── */
body .chapter--glance .glance-min .gt { grid-template-columns: 1fr; }
body .chapter--glance .glance-min .gt > div { grid-template-columns: 180px minmax(0, 1fr); column-gap: 20px; padding: 12px 20px; border-left: 0; }
body .chapter--glance .glance-min .gt svg { display: none; }
body .chapter--glance .glance-min .gt dt { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--ink); }
body .chapter--glance .glance-min .gt dd { font-size: 15.5px; font-weight: 400; line-height: 1.6; }
body .chapter--glance .glance-min .gt .gt-key dd { font-size: 15px; font-weight: 600; }
@media (max-width: 560px) { body .chapter--glance .glance-min .gt > div { grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; padding: 11px 16px; } }
@media (max-width: 420px) { body .chapter--glance .glance-min .gt > div { grid-template-columns: minmax(0, 1fr); row-gap: 1px; } body .chapter--glance .glance-min .gt dd { grid-column: 1; } }

/* ── What you'll learn on phones: two cards side by side, staggered like the desktop layout ── */
@media (max-width: 760px) {
  .chapter--learn .learn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .chapter--learn .learn-list li { gap: 5px; padding: 16px 14px 18px; border-radius: 16px; }
  .chapter--learn .learn-list li:nth-child(even) { margin-top: 22px; }
  .chapter--learn .learn-list li::before, .lang-bn .chapter--learn .learn-list li::before { font-size: 32px; right: 10px; top: 6px; }
  .chapter--learn .l-ico { width: 42px; height: 42px; margin-bottom: 4px; }
  .chapter--learn .learn-list strong { font-size: 15.5px; line-height: 1.4; }
  .chapter--learn .learn-list span:not(.l-ico) { font-size: 13px; line-height: 1.6; }
}

/* At a glance: same body size as the running text of the other chapters (--fs-base) */
body .chapter--glance .glance-min .gt dt, body .chapter--glance .glance-min .gt dd, body .chapter--glance .glance-min .gt .gt-key dd { font-size: var(--fs-base); line-height: var(--lh-body, 1.7); }
body .chapter--glance .glance-min .gt > div { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 560px) { body .chapter--glance .glance-min .gt > div { grid-template-columns: 132px minmax(0, 1fr); } }
@media (max-width: 420px) { body .chapter--glance .glance-min .gt > div { grid-template-columns: minmax(0, 1fr); } }
.glance-min .gt { box-shadow: 0 3px 10px -8px rgba(70,50,15,.28); }

/* learn cards on phones: equal-height rows and one even gap (the stagger made the row gaps uneven) */
@media (max-width: 760px) {
  .chapter--learn .learn-list { align-items: stretch; gap: 12px; }
  .chapter--learn .learn-list li:nth-child(even) { margin-top: 0; }
}
@media (max-width: 760px) {
  .chapter--learn .learn-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .deco--dots { display: none; }
}

/* At a glance: more breathing room around the table (inner padding on the card, rows inset) */
body .chapter--glance .glance-min .gt { padding: 12px 26px; border-radius: 18px; }
body .chapter--glance .glance-min .gt > div { padding: 15px 0; }
@media (max-width: 560px) {
  body .chapter--glance .glance-min .gt { padding: 8px 18px; border-radius: 16px; }
  body .chapter--glance .glance-min .gt > div { padding: 13px 0; }
}

/* Apply page: the position name in the side column — larger on desktop and mobile */
.apply-side-title, .lang-bn .apply-side-title, .lang-en .apply-side-title { font-size: clamp(28px, 2.7vw, 36px); line-height: 1.25; }
@media (max-width: 1000px) { .apply-side-title, .lang-bn .apply-side-title, .lang-en .apply-side-title { font-size: 28px; } }
@media (max-width: 480px) { .apply-side-title, .lang-bn .apply-side-title, .lang-en .apply-side-title { font-size: 26px; } }

/* How to apply: more room between the CTA card and the red closing rule */
.chapter--apply { padding-bottom: clamp(130px, 14vw, 200px); }
@media (max-width: 760px) { .chapter--apply { padding-bottom: 120px; } }

/* Jobs page: every posting is a case-file card (same as the home page) */
.cf.is-hidden { display: none; }
.features.is-archive .cf { filter: saturate(.55); opacity: .92; }
.section-tight .features { gap: 64px; margin-top: 6px; }
.section-tight .list-label { margin-bottom: 28px; }

/* footer: the longer about text reads better slightly smaller and a little wider */
.footer-about { font-size: 15.5px; line-height: 1.8; max-width: 560px; }

/* ==========================================================================
   Footer social links: glass rows with an icon chip that takes the brand colour on hover
   ========================================================================== */
.social-lg { gap: 10px; }
.social-lg a { --b: #e0523c; position: relative; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 18px 0 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); font-size: 15px; font-weight: 600; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .35s; }
.social-lg li:nth-child(2) a { --b: #1877f2; }
.social-lg li:nth-child(3) a { --b: #e1306c; }
.social-lg a svg { flex: none; box-sizing: border-box; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.08); stroke-width: 1.7; transition: background .3s, transform .35s var(--ease); }
.social-lg a::after { content: "↗"; margin-left: auto; font-size: 16px; opacity: .45; transition: transform .35s var(--ease), opacity .3s; }
.social-lg a:hover { color: #fff; background: rgba(255,255,255,.07); border-color: var(--b); transform: translateY(-3px); box-shadow: 0 18px 30px -20px var(--b); }
.social-lg a:hover svg { background: var(--b); transform: rotate(-6deg) scale(1.06); }
.social-lg li:nth-child(3) a:hover svg { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); }
.social-lg a:hover::after { transform: translate(3px, -3px); opacity: 1; }
.social-lg a:focus-visible { border-color: var(--b); }
@media (prefers-reduced-motion: reduce) { .social-lg a, .social-lg a svg, .social-lg a::after { transition: none; } .social-lg a:hover { transform: none; } }

/* English headings were tracked tight for a geometric sans; a serif wants it looser, and light weights
   are too thin in this face, so ledes use regular */
.lang-en :is(.hero-title, .closer-title, .index-title, .job-title, .page-title, .section-title, .prose h2, .chapter h2) { letter-spacing: -.012em; }
.lang-en :is(.feature-title, .job-row-title, .exhibit h3, .pstep h3, .wstep-title, .apply-side-title, .apply-cta-title, .prose h3, .cf-title) { letter-spacing: 0; }
.lang-en :is(.pstep-num, .footer-mark, .ticker-word, .countdown-num, .index-count-num) { letter-spacing: -.02em; }
.lang-en :is(.hero-lede, .section-lede, .index-lede, .closer-body, .job-summary, .feature-summary) { font-weight: 400; }
.lang-en .pstep-num { font-weight: 400; }

/* ==========================================================================
   Jobs page: compact case-file cards, three per row
   ========================================================================== */
.features--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 26px; align-items: start; margin-top: 6px; }
.features--grid .cf { width: auto; max-width: none; padding: 44px 0 14px; }
.features--grid .cf-red { height: 76px; left: 7%; }
.features--grid .cf-kraft { top: 20px; }
.features--grid .cf-tabs { top: 2px; left: 5%; }
.features--grid .cf-tab { height: 26px; padding: 0 12px; font-size: 12px; }
.features--grid .cf-tab--main { font-size: 13px; }
.features--grid .cf-tab--sub, .features--grid .cf-clip { display: none; }
.features--grid .cf-card { margin: 0 4% 0 3.5%; padding: 28px 18px 20px; }
.features--grid .cf-paperclip { left: -8px; top: 24px; width: 18px; height: 54px; }
.features--grid .cf-stamp { position: absolute; top: 12px; right: 10px; margin: 0; padding: 3px 9px; font-size: 10.5px; border-width: 2px; letter-spacing: .06em; }
.features--grid .cf-no { margin-bottom: 10px; font-size: 12px; }
.features--grid .cf-title { max-width: none; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.25; }
.features--grid .cf-role { margin: 8px 0 14px; font-size: 14px; }
.features--grid .cf-facts { grid-template-columns: 1fr; gap: 10px; padding: 14px 0; }
.features--grid .cf-fact, .features--grid .cf-fact:first-child { flex-direction: row; align-items: center; gap: 10px; padding: 0; border-left: 0; }
.features--grid .cf-fact svg { width: 20px; height: 20px; }
.features--grid .cf-fact dt { font-size: 11.5px; }
.features--grid .cf-fact dd { font-size: 13.5px; }
.features--grid .cf-dot { width: 12px; height: 12px; margin: 4px 4px; }
.features--grid .cf-actions { margin-top: 4px; }
.features--grid .cf-actions .btn { width: 100%; height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 1000px) { .features--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features--grid { grid-template-columns: 1fr; gap: 40px; } }

/* application form: no divider line above the Next / Back / Submit buttons */
.wizard-nav { border-top: 0; padding-top: 8px; margin-top: 28px; }

/* hero kicker line ("The Dissent · Careers … Digs Digitally"): normal case in English too */
.hero-meta, .lang-en .hero-meta { text-transform: none; letter-spacing: .01em; font-size: var(--fs-sm); }

/* no uppercase anywhere: labels that were spaced out for capitals now get normal tracking */
.eyebrow, .crumbs, .status-dot, .casefile dt, .glance dt, .toc-label, .list-label, .apply-side-label, .wizard-count, .pstep-label, .exhibit-tag,
.footer-col h2, .ticker-label, .index-count-label, .apply-card-kicker, .mobile-apply-label, .review-row dt, .hero-meta, .brand-tag, .job-row-meta em,
.share-rail-label, .cf-tab--sub, .cf-stamp, .stamp, .pill, .chip, .btn, .lang-en .mono { letter-spacing: .01em; }
.cf-stamp { letter-spacing: .03em; }

/* hero kicker line: lighter in English; a bit more air on phones */
.lang-en .hero-meta { font-weight: 400; color: rgba(255,255,255,.62); }
@media (max-width: 640px) {
  .hero-inner { padding-top: 36px; }
  .hero-meta { margin-bottom: 28px; gap: 14px; }
}

/* English: leftovers from the Montserrat/uppercase design — wide tracking on small labels and a 300-weight job title.
   (body.lang-en beats the earlier ".lang-en :is(...)" tracking rules.) */
body.lang-en :is(.eyebrow, .crumbs, .status-dot, .casefile dt, .glance dt, .toc-label, .list-label, .apply-side-label, .wizard-count, .pstep-label, .exhibit-tag,
  .footer-col h2, .ticker-label, .index-count-label, .apply-card-kicker, .mobile-apply-label, .review-row dt, .brand-tag, .job-row-meta em, .share-rail-label, .mono) { letter-spacing: .005em; font-weight: 500; }
body.lang-en .job-hero .job-title { font-weight: 600; letter-spacing: -.02em; }

/* hero kicker line (English): regular weight, no italics — must out-rank the ".lang-en :is(...)" 600-weight rule */
body.lang-en .hero-inner .hero-meta { font-weight: 400; font-style: normal; letter-spacing: .01em; color: rgba(255,255,255,.62); }
body.lang-en .hero-inner .hero-meta span { font-style: normal; font-weight: 400; }

/* English pages: Newsreader everywhere, including buttons, tabs, stamps and small labels */
.lang-en {
  --display: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --body: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --serif: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --ui: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --mono: "Newsreader", "Noto Serif Bengali", Georgia, serif;
  --code: "Newsreader", "Noto Serif Bengali", Georgia, serif;
}

/* Job page apply card: the role name at the top (e.g. "Digital Investigation Fellow") reads as a heading, in Bangla and English */
body .job-aside .apply-card .apply-card-kicker { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--red); margin-bottom: 4px; }
@media (max-width: 1000px) { body .job-aside .apply-card .apply-card-kicker { font-size: 20px; } }

/* ==========================================================================
   Application form · custom dropdown (square editorial style, ink frame + red offset shadow)
   ========================================================================== */
.dd { position: relative; }
.dd-native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 2px; border: 0; border-bottom: 1.5px solid #c9c1b6; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 16.5px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.dd-btn:hover { border-bottom-color: var(--ink); }
.dd.is-open .dd-btn, .dd-btn:focus-visible { border-bottom-color: var(--ink); background: #fcfbf9; outline: none; }
.dd.is-empty .dd-text { color: #a9a196; }
.dd-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), stroke .2s; }
.dd-btn:hover .dd-chev { stroke: var(--red); }
.dd.is-open .dd-chev { transform: rotate(180deg); stroke: var(--red); }

.dd-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 10px); margin: 0; padding: 6px 0; list-style: none; max-height: 340px; overflow: auto; background: #fff; border: 1.5px solid var(--ink); box-shadow: 7px 7px 0 var(--red); transform-origin: top; animation: dd-in .22s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } }
.dd-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 12px 20px; font-size: 16px; line-height: 1.4; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, padding .2s var(--ease); animation: dd-opt-in .35s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes dd-opt-in { from { opacity: 0; transform: translateX(-10px); } }
.dd-opt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transition: transform .2s var(--ease); }
.dd-opt svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.dd-opt.is-placeholder { color: #8a8378; }
.dd-opt.is-selected { font-weight: 600; }
.dd-opt.is-selected svg { opacity: 1; transform: none; }
.dd-opt.is-active { background: var(--ink); color: #fff; padding-left: 26px; }
.dd-opt.is-active::before { transform: scaleY(1); }
.dd-opt.is-active svg { stroke: #fff; }
.dd-opt.is-active.is-selected svg { stroke: var(--red-hot); }
@media (prefers-reduced-motion: reduce) { .dd-list, .dd-opt { animation: none; } .dd-chev, .dd-opt, .dd-opt::before, .dd-opt svg { transition: none; } }

/* Application page on phones: the white form panel runs edge to edge (no margin or frame around it),
   and the last field of a stacked row keeps its bottom gap (it was being zeroed, which squeezed the next label) */
@media (max-width: 640px) {
  .apply-shell { padding-left: 0; padding-right: 0; padding-bottom: 0; gap: 22px; }
  .apply-side { padding: 0 var(--gutter); }
  .apply-main { border-left: 0; border-right: 0; border-bottom: 0; box-shadow: none; }
  .wizard { padding: 26px var(--gutter) 44px; }
  .apply-state, .form-success { padding: 36px var(--gutter) 48px; }
  .field-grid .field:last-child { margin-bottom: 24px; }
  .wstep .field-grid + .field { margin-top: 0; }
}
