/* Jahan Analysis website, the live site (built by site/build.mjs). Started from the design sample of 2026-11-26.
   One font family only (Noto Serif Bengali, her film font, OFL), self-hosted, so pages stay light on mobile data.
   Colours come from the JA logo (black disc, gold letters) and the Bangla thumbnail kit (red #D7141A, gold #F2C46B). */

@font-face {
  font-family: 'Noto Serif Bengali';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/noto-serif-bengali-bn.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}
@font-face {
  font-family: 'Noto Serif Bengali';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/noto-serif-bengali-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Serif Bengali';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/noto-serif-bengali-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* While the web font is still loading (a slow phone's first visit), the page is drawn in the next font of the stack.
   Windows' Bangla font, Nirmala UI, is about 15 % wider than Noto Serif Bengali, so paragraphs got one line more and
   everything under them jumped up when the web font arrived (CLS 0.139 on the contact page, slow 4G, 27 Nov 2026).
   These faces are Nirmala UI shrunk to the web font's width, measured on the site's own Bangla text by
   tools/font-fallback.mjs: 85 % at weight 400, 80.6-82.7 % at 600-700, 84.8-86.6 % at 800-900 (Nirmala UI has one
   bold). Phones and computers without Nirmala UI skip them and use their own Bangla font, as before. */
@font-face { font-family: 'JA Fallback'; font-weight: 100 500; src: local('Nirmala UI'), local('NirmalaUI'); size-adjust: 85%; }
@font-face { font-family: 'JA Fallback'; font-weight: 600 700; src: local('Nirmala UI Bold'), local('NirmalaUI-Bold'); size-adjust: 82%; }
@font-face { font-family: 'JA Fallback'; font-weight: 800 900; src: local('Nirmala UI Bold'), local('NirmalaUI-Bold'); size-adjust: 86%; }
/* The same for Android phones whose Bangla font is Noto Sans Bengali: about 9 % wider at weight 400, so the contact
   page jumped by 0.166 on a slow phone (tools/audit.mjs --phone-font=<Google's Noto Sans Bengali>); with these sizes
   0 (--phone-adjust). Bold weights use the static Bold file (a variable font has no separate Bold name, so on such
   phones bold text simply falls through to the phone's own font, as before). */
@font-face { font-family: 'JA Fallback Sans'; font-weight: 100 500; src: local('Noto Sans Bengali'), local('Noto Sans Bengali Regular'), local('NotoSansBengali-Regular'), local('NotoSansBengali'); size-adjust: 91%; }
@font-face { font-family: 'JA Fallback Sans'; font-weight: 600 700; src: local('Noto Sans Bengali Bold'), local('NotoSansBengali-Bold'); size-adjust: 93%; }
@font-face { font-family: 'JA Fallback Sans'; font-weight: 800 900; src: local('Noto Sans Bengali Bold'), local('NotoSansBengali-Bold'); size-adjust: 98%; }
/* English pages: Nirmala UI's Latin letters are the other way round, about 8 % NARROWER than the web font's
   (tools/font-fallback.mjs --en: 108.5 % at 400, 105.1-107.4 % at 600-700, 109.9-111.9 % at 800-900) */
@font-face { font-family: 'JA Fallback EN'; font-weight: 100 500; src: local('Nirmala UI'), local('NirmalaUI'); size-adjust: 108.5%; }
@font-face { font-family: 'JA Fallback EN'; font-weight: 600 700; src: local('Nirmala UI Bold'), local('NirmalaUI-Bold'); size-adjust: 106%; }
@font-face { font-family: 'JA Fallback EN'; font-weight: 800 900; src: local('Nirmala UI Bold'), local('NirmalaUI-Bold'); size-adjust: 111%; }

:root {
  --ink: #121110;
  --ink-2: #1c1a17;
  --ink-3: #2b2722;
  --gold: #e2b65a;
  --gold-2: #f2c46b;
  --gold-deep: #8a5f12;
  --paper: #fbf7ef;
  --paper-2: #f4ecdc;
  --card: #fffdf8;
  --line: #e6dcc6;
  --text: #1f1b16;
  --muted: #665d51;
  --red: #c4161c;
  --green: #1f7a4a;
  --wa: #25d366;
  --font: 'Noto Serif Bengali', 'JA Fallback', 'JA Fallback Sans', 'Nirmala UI', serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; }
/* light only: stops phone browsers (Samsung Internet, Chrome's auto-dark) from darkening the page on their own */
:root { color-scheme: light; }
/* the header is sticky, so a jump to #films or #sources must stop below it, not under it */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.8 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* keyboard users: a clear ring on whatever has focus (dark gold on light parts, light gold on dark parts) */
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }
.site-head :focus-visible, .hero :focus-visible, .band :focus-visible, .site-foot :focus-visible, .aside-card.dark :focus-visible, .buybar :focus-visible, .card.soon :focus-visible { outline-color: var(--gold-2); }
/* "skip to the content": hidden until a keyboard user presses Tab */
.skip { position: absolute; left: 8px; top: -60px; z-index: 30; background: var(--gold-2); color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 8px; }


/* header */
.site-head { background: var(--ink); color: #f3efe6; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--ink-3); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font-weight: 800; font-size: 19px; color: var(--gold-2); }
.nav { display: none; }
.nav a { text-decoration: none; color: #e9e3d6; font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--ink-3); }
.nav a.lang { border: 1px solid #4a4239; }
.nav a[aria-current="page"] { color: var(--gold-2); background: var(--ink-3); }
.menu-list a[aria-current="page"] { color: var(--gold-2); }
.menu summary { list-style: none; cursor: pointer; color: #f3efe6; font-weight: 600; font-size: 15px; border: 1px solid #4a4239; border-radius: 10px; padding: 2px 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--ink-2); flex-direction: column; padding: 6px 18px 12px; border-bottom: 1px solid var(--ink-3); }
.menu[open] .menu-list { display: flex; }
.menu-list a { color: #efe9dd; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--ink-3); font-weight: 600; }
@media (min-width: 900px) { .nav { display: flex; gap: 4px; } .menu { display: none; } }

/* hero */
.hero { background: radial-gradient(ellipse at 85% 0%, rgba(226, 182, 90, .22), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #f3efe6; padding: 40px 0 46px; }
.hero .kicker { display: inline-block; color: var(--gold-2); font-weight: 600; font-size: 14px; border: 1px solid rgba(242, 196, 107, .45); border-radius: 999px; padding: 1px 12px; }
.hero h1 { font-weight: 900; font-size: 33px; line-height: 1.4; margin: 16px 0 14px; }
.hero h1 span { display: block; }
.hero h1 .gold { color: var(--gold-2); }
.hero .lead { color: #cfc6b6; font-size: 17px; max-width: 620px; margin: 0 0 24px; }
@media (min-width: 900px) { .hero { padding: 70px 0 78px; } .hero h1 { font-size: 50px; } }
/* English pages: Latin letters need less height than Bangla; and their own fallback width (see the top) */
.lang-en { line-height: 1.7; --font: 'Noto Serif Bengali', 'JA Fallback EN', 'Nirmala UI', serif; }
.lang-en .hero h1 { font-size: 29px; line-height: 1.3; }
@media (min-width: 900px) { .lang-en .hero h1 { font-size: 44px; } }
/* the one Bangla word on English pages ("বাংলা") uses the phone's own Bangla font, so the 187 KB Bangla web font never loads there */
.lang-en [lang="bn"] { font-family: 'Nirmala UI', 'Noto Sans Bengali', 'Shonar Bangla', 'Vrinda', sans-serif; }
/* and the other way round: an English word on a Bangla page uses the same web font's Latin part (small) */
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-mark { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 300px; }
  .hero-mark { display: block; }
  .hero-mark img { width: 270px; margin-left: auto; filter: drop-shadow(0 0 46px rgba(226, 182, 90, .35)); }
}

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1.4 var(--font); text-align: center; text-decoration: none; border-radius: 12px; padding: 12px 18px; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-line { border-color: rgba(242, 196, 107, .7); color: var(--gold-2); background: transparent; }
.btn-dark { background: var(--ink); color: var(--gold-2); }
.btn-wa { background: var(--wa); color: #08311a; }
.btn-block { width: 100%; }

/* sections */
.block { padding: 42px 0; }
.block.tint { background: var(--paper-2); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { font-weight: 800; font-size: 26px; line-height: 1.35; margin: 0; }
.sec-head a { font-weight: 600; font-size: 15px; color: var(--gold-deep); text-decoration: none; white-space: nowrap; }
.sec-intro { color: var(--muted); margin: -8px 0 18px; max-width: 680px; }
.eyebrow { color: var(--gold-deep); font-weight: 700; font-size: 14px; }

/* film cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid.four { grid-template-columns: repeat(4, 1fr); } .grid.two-wide { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16 / 9; background: #222; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 0 10px; line-height: 1.8; }
.dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 0 8px; line-height: 1.8; }
.card .body { padding: 14px 16px 18px; }
.card .book { color: var(--gold-deep); font-weight: 700; font-size: 14px; }
.card h3 { font-weight: 800; font-size: 18px; line-height: 1.5; margin: 4px 0 6px; }
.card .meta { color: var(--muted); font-size: 14px; }
.card.soon { background: var(--ink-2); border-color: #3a342c; color: #efe9dd; }
.card.soon .thumb { display: grid; place-items: center; background: linear-gradient(135deg, #1c1a17, #2b2722); }
.card.soon .thumb .soon-label { color: var(--gold-2); font-weight: 800; font-size: 22px; border: 1px dashed rgba(242, 196, 107, .55); border-radius: 12px; padding: 4px 18px; }
.card.soon .book { color: var(--gold-2); }
.card.soon .meta { color: #b9b0a1; }

/* latest film */
.feature { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.25fr 1fr; gap: 34px; } }
.feature .thumb { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 16 / 9; background: #222; }
.feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-weight: 900; font-size: 25px; line-height: 1.45; margin: 6px 0 10px; }
.feature h2 a { text-decoration: none; }
.feature p { margin: 0 0 16px; color: #3b352d; }
/* a dated update under a film or a forecast, when the news moved on after the film was made */
.upd { margin: 12px 0 0; font-size: 14px; color: #5a4a2a; background: #fbf1dc; border-radius: 8px; padding: 6px 10px; line-height: 1.65; }
.upd a { color: var(--gold-deep); font-weight: 700; }
.feature .upd { margin: -4px 0 16px; }

/* research edition (product) */
.product { display: grid; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 860px) { .product { grid-template-columns: 230px 1fr; gap: 34px; padding: 30px; } }
.product + .product { margin-top: 22px; } /* the research page lists every edition, one card each */
.cover { aspect-ratio: 3 / 4; width: 62%; max-width: 230px; margin: 0 auto; border-radius: 4px 12px 12px 4px; background: linear-gradient(160deg, #23201c, #0f0e0d 65%); box-shadow: inset 9px 0 0 #000, 0 18px 30px rgba(0, 0, 0, .25); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 14px; text-align: center; border: 1px solid #3a3229; }
@media (min-width: 860px) { .cover { width: 100%; } }
.cover img { width: 46px; height: 46px; }
.cover .t { font-weight: 900; font-size: 27px; line-height: 1.3; }
.cover .a { font-weight: 600; font-size: 13px; color: #d9cdb3; }
.cover .s { font-weight: 700; font-size: 14px; color: #f6e7c4; border-top: 1px solid rgba(242, 196, 107, .35); padding-top: 8px; width: 100%; }
.product h3 { font-weight: 900; font-size: 24px; line-height: 1.45; margin: 4px 0 4px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 2px; }
.price b { font-size: 30px; font-weight: 900; }
.price s { color: var(--muted); font-size: 17px; }
.mini .price b { font-size: 24px; }
.note { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
ul.ticks { list-style: none; padding: 0; margin: 10px 0 18px; }
ul.ticks li { padding-left: 28px; position: relative; margin: 5px 0; line-height: 1.65; }
ul.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--green); font-weight: 800; }

/* list sign-up band */
.band { background: var(--ink); color: #efe9dd; }
.band .wrap { padding-top: 44px; padding-bottom: 48px; }
.band h2 { font-weight: 800; font-size: 26px; line-height: 1.4; margin: 4px 0 8px; color: #fff; }
.band p { color: #cfc6b6; margin: 0 0 18px; }
.form { display: grid; gap: 10px; max-width: 560px; }
.form input[type=text], .form input[type=email] { font: 400 17px var(--font); padding: 12px 14px; border-radius: 12px; border: 1px solid #4a4239; background: var(--ink-2); color: #fff; }
.form input::placeholder { color: #9b9282; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #cfc6b6; line-height: 1.6; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.consent a { color: var(--gold-2); }
.small { font-size: 13px; color: #a59b8b; margin: 8px 0 0; }
.or { margin: 18px 0 10px; color: #a59b8b; font-size: 14px; }

/* forecast ledger */
.fc { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.fc .from { font-size: 14px; color: var(--muted); }
.fc .claim { font-weight: 700; font-size: 17px; line-height: 1.7; margin: 6px 0 12px; }
.fc .row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; color: var(--muted); }
.chip { display: inline-block; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 0 10px; line-height: 1.9; }
.chip.wait { background: #fff3d6; color: #7a5410; border: 1px solid #f0d9a3; }
.meter { flex: 1 1 120px; min-width: 120px; height: 8px; background: #efe6d3; border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #c98a1c); }

/* about placeholder */
.placeholder { border: 2px dashed #d8c7a3; border-radius: var(--r); padding: 18px; color: var(--muted); background: var(--card); }

/* footer */
.site-foot { background: var(--ink); color: #bdb4a5; font-size: 15px; padding: 34px 0 40px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.25fr; } }
.foot-note { font-size: 13px; color: #a59b8b; margin: 8px 0 0; line-height: 1.6; }
.site-foot a { color: #e7e0d2; text-decoration: none; }
.site-foot h2 { color: var(--gold-2); font-size: 15px; line-height: 1.6; font-weight: 700; margin: 0 0 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 2px 0; }
/* at least 24 px tall, so a thumb hits the right link (WCAG 2.2 target size) */
.site-foot li a { display: inline-block; padding: 2px 0; }
.site-foot .motto { color: #d8cfbf; margin: 10px 0 0; }
.copy { border-top: 1px solid var(--ink-3); margin-top: 24px; padding-top: 16px; font-size: 13px; color: #8f8676; }

/* film page */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--gold-deep); text-decoration: none; }
.film-head { padding: 8px 0 4px; }
.film-head h1 { font-weight: 900; font-size: 27px; line-height: 1.45; margin: 6px 0 8px; }
@media (min-width: 900px) { .film-head h1 { font-size: 40px; } }
.film-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 15px; }
.video { display: block; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); margin: 16px 0 4px; text-decoration: none; }
.video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* the play bar sits UNDER the picture, so it never covers a face or a word of the thumbnail */
.play { display: flex; align-items: center; gap: 10px; color: var(--gold-2); padding: 9px 14px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.play i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-2); display: grid; place-items: center; }
.play i::before { content: ""; border-left: 10px solid #121110; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.play .len { margin-left: auto; color: #cfc6b6; font-weight: 600; font-size: 14px; }
.video:hover .play { background: var(--ink-3); }
.layout { display: grid; gap: 26px; padding: 18px 0 40px; }
@media (min-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
.layout h2 { font-weight: 800; font-size: 22px; margin: 28px 0 10px; }
.layout .main > h2:first-child { margin-top: 0; }
.layout .main p { margin: 0 0 14px; }
ol.chapters { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
ol.chapters a { display: flex; gap: 14px; align-items: baseline; padding: 10px 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
ol.chapters li:last-child a { border-bottom: 0; }
ol.chapters time { flex: 0 0 auto; min-width: 58px; text-align: center; font-weight: 700; font-size: 14px; color: var(--gold-deep); background: #fbf1dc; border-radius: 8px; padding: 0 8px; line-height: 1.9; }
ol.chapters span { font-weight: 600; font-size: 16px; line-height: 1.6; }
.fc.in-page { margin-top: 6px; }
ul.sources { padding-left: 20px; margin: 0; }
ul.sources li { margin: 4px 0; font-size: 15px; line-height: 1.7; }
ul.sources a { color: var(--gold-deep); }
details.more summary { cursor: pointer; color: var(--gold-deep); font-weight: 700; margin: 10px 0; }
.credit-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 16px 0 0; }
.credit-note a { color: var(--muted); }
.readbook { background: var(--paper-2); border: 1px dashed #d8c7a3; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 22px; }
.readbook a { color: var(--gold-deep); font-weight: 700; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; }
.aside-card h3 { font-weight: 800; font-size: 19px; margin: 4px 0 8px; line-height: 1.5; }
.aside-card.dark { background: var(--ink); color: #efe9dd; border-color: var(--ink-3); }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: #cfc6b6; margin: 0 0 12px; font-size: 15px; }
.mini { display: flex; gap: 14px; align-items: center; }
.mini .cover { width: 92px; flex: 0 0 92px; padding: 10px 6px; margin: 0; }
.mini .cover img { width: 24px; height: 24px; }
.mini .cover .t { font-size: 14px; }
.mini .cover .s { font-size: 9px; padding-top: 4px; }
.pn { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 30px 0 0; }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } }
.pn a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; }
.pn small { display: block; color: var(--muted); font-size: 13px; }
.pn b { font-weight: 800; font-size: 16px; line-height: 1.5; }
.pn a.next { text-align: right; }

/* ------------------------------------------------------------------
   26 Nov 2026, night: her ten approved proposals
   (notes: Videos\Jahan Analysis\০০-সাধারণ\নিজের ওয়েবসাইট\০৫ - দেশি-বিদেশি সাইট থেকে শেখা)
   ------------------------------------------------------------------ */

/* 8. trust row under the hero: real numbers only */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 18px 0; } }
.trust li { border-left: 3px solid var(--gold); padding: 0 0 0 12px; line-height: 1.45; }
.trust b { display: block; font-weight: 900; font-size: 25px; color: var(--ink); }
.trust span { font-size: 14px; color: var(--muted); }

/* 2. numbered series, three links under every film */
.card .thumb { display: block; }
.card h3 a { text-decoration: none; }
/* the number sits in the text, never on the thumbnail (it would cover the JA logo there) */
.bno { display: inline-block; background: var(--ink); color: var(--gold-2); border-radius: 6px; padding: 0 9px; margin-right: 8px; font-weight: 800; font-size: 14px; line-height: 1.85; }
.card.soon .bno { background: var(--gold-2); color: var(--ink); }
.nw { white-space: nowrap; }
.card .acts { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card .acts.one { grid-template-columns: 1fr; }
.card .acts a, .card .acts span { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 4px; font-weight: 700; font-size: 15px; line-height: 1.5; text-decoration: none; color: var(--gold-deep); }
.card .acts > * + * { border-left: 1px solid var(--line); }
.card .acts a:hover { background: #fbf1dc; }
.card .acts .off { color: var(--muted); font-weight: 600; font-size: 13px; }
.card.soon .acts { border-top-color: #3a342c; }
.card.soon .acts a { color: var(--gold-2); }
.card.soon .acts a:hover { background: var(--ink-3); }

/* 4. honest price anchor (the book's real price) and a real discount, struck through */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 10px; max-width: 440px; }
.compare div { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px 8px; background: #fff; line-height: 1.45; }
.compare span { display: block; font-size: 14px; color: var(--muted); }
.compare b { font-size: 21px; font-weight: 800; color: #4b4339; }
.compare .us { border: 2px solid var(--gold); background: #fff8e8; }
.compare .us span { color: var(--gold-deep); font-weight: 700; }
.compare .us b { font-size: 27px; font-weight: 900; color: var(--ink); }
.deal { margin: 0 0 6px; font-size: 15px; line-height: 1.7; }
.deal s { color: var(--muted); }
.deal b { color: var(--red); font-weight: 900; }
.btn-ghost { border-color: #d9ccb0; color: var(--ink); background: #fff; }
.help { font-size: 14px; color: var(--muted); margin: 12px 0 0; line-height: 1.7; }
.help a { color: var(--gold-deep); font-weight: 700; }

/* 5. free sample box, Farnam Street style: show the sample, ask for the email first */
.sample { display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .sample { grid-template-columns: 320px 1fr; gap: 48px; } }
.sample-art { position: relative; width: 100%; max-width: 320px; height: 210px; margin: 0 auto; }
.s-cover, .s-page { position: absolute; top: 8px; width: 48%; aspect-ratio: 3 / 4; border-radius: 3px 8px 8px 3px; }
.s-cover { left: 4%; transform: rotate(-5deg); background: linear-gradient(160deg, #2a2621, #0f0e0d 70%); border: 1px solid #4a4239; box-shadow: inset 6px 0 0 #000, 0 14px 26px rgba(0, 0, 0, .45); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.s-cover b { font-weight: 900; font-size: 20px; line-height: 1.3; }
.s-cover small { font-size: 12px; font-weight: 700; color: #f6e7c4; border-top: 1px solid rgba(242, 196, 107, .4); padding-top: 4px; }
.s-page { right: 4%; top: 0; transform: rotate(4deg); background: #fffdf8; color: var(--ink); box-shadow: 0 14px 26px rgba(0, 0, 0, .4); padding: 12px 12px 0; overflow: hidden; }
.s-page b { display: block; font-weight: 800; font-size: 13px; line-height: 1.5; margin-bottom: 6px; color: var(--ink); }
.s-page i { display: block; height: 5px; background: #e7dfcf; border-radius: 3px; margin: 8px 0; }
.s-page i.s { width: 62%; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.facts span { border: 1px solid rgba(242, 196, 107, .55); color: var(--gold-2); border-radius: 999px; padding: 0 12px; font-size: 14px; font-weight: 700; line-height: 1.9; }

/* forecast ledger with three forecasts */
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.fc .upd { margin: 12px 0 0; font-size: 14px; color: #5a4a2a; background: #fbf1dc; border-radius: 8px; padding: 6px 10px; line-height: 1.65; }

/* 1. film page: free sources PDF and a short quiz (no script: CSS only) */
.pdf-link { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; box-shadow: var(--shadow); }
.pdf-link b { display: block; font-weight: 800; font-size: 16px; line-height: 1.5; }
.pdf-link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pdf-ico { flex: 0 0 34px; height: 42px; border-radius: 4px 10px 4px 4px; background: var(--red); color: #fff; font: 800 11px/42px var(--font); text-align: center; letter-spacing: .5px; }
.quiz { counter-reset: right; border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 4px 16px 16px; box-shadow: var(--shadow); }
.quiz .intro { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.q { position: relative; padding: 14px 0; border-bottom: 1px solid var(--line); }
.q .qt { font-weight: 800; font-size: 17px; line-height: 1.65; margin: 0 0 6px; }
.q input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.q label { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; margin: 6px 0; cursor: pointer; background: #fff; line-height: 1.6; font-size: 16px; }
.q label:hover { border-color: var(--gold); }
.q input:focus-visible + label { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.q input.ok:checked + label { background: #e6f4ec; border-color: var(--green); color: #134a2d; font-weight: 700; }
.q input.ok:checked + label::after { content: "  ✓ ঠিক"; }
.q input.no:checked + label { background: #fdeaea; border-color: var(--red); color: #7d1014; font-weight: 700; }
.q input.no:checked + label::after { content: "  ✗ হয়নি"; }
.q:has(input.no:checked) input.ok + label { border: 2px solid var(--green); }
.q .why { display: none; margin: 8px 0 0; font-size: 15px; color: #3b352d; background: var(--paper); border-left: 3px solid var(--gold); padding: 6px 10px; line-height: 1.7; }
.q .why a { color: var(--gold-deep); font-weight: 700; }
.q input:checked ~ .why { display: block; }
.quiz input.ok:checked { counter-increment: right; }
.score { margin: 14px 0 0; font-weight: 800; font-size: 17px; }
/* the score shows up after the first answer, not as "0 of 8" before anyone starts */
.quiz:not(:has(input:checked)) .score { display: none; }
.score::before { content: "আপনার ঠিক উত্তর: " counter(right, bengali) "টা, ৮টার মধ্যে"; }

/* 3. research edition page */
.r-hero { display: grid; gap: 22px; padding: 10px 0 6px; }
@media (min-width: 860px) { .r-hero { grid-template-columns: 250px 1fr; gap: 40px; align-items: center; } }
.r-hero h1 { font-weight: 900; font-size: 28px; line-height: 1.45; margin: 4px 0 8px; }
@media (min-width: 900px) { .r-hero h1 { font-size: 38px; } }
.r-hero .lead { color: #3b352d; margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; font-size: 15px; font-weight: 600; line-height: 2; }
/* the PDF's real cover and pages (editions/look-inside.mjs, 28 Nov 2026; before that, pages drawn in CSS) */
.r-cover { display: block; width: 62%; max-width: 230px; height: auto; margin: 0 auto; border-radius: 3px; background: #121110; box-shadow: 0 18px 30px rgba(0, 0, 0, .25); }
@media (min-width: 860px) { .r-cover { width: 100%; max-width: 250px; } }
.look { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; }
@media (min-width: 760px) { .look { grid-auto-flow: initial; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 820px; } }
.pg-img { margin: 0; scroll-snap-align: start; }
.pg-img a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.pg-img img { display: block; width: 100%; height: auto; }
.pg-img figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.look-note { font-size: 13px; color: var(--muted); margin: 0; }
ol.toc { counter-reset: toc; list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
ol.toc li { counter-increment: toc; display: flex; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); line-height: 1.6; }
ol.toc li:last-child { border-bottom: 0; }
ol.toc li::before { content: counter(toc, bengali); flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fbf1dc; color: var(--gold-deep); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
ol.toc b { display: block; font-weight: 800; }
ol.toc small { color: var(--muted); font-size: 14px; }
ol.toc li > span { flex: 1; min-width: 0; }
ol.toc .toc-p { font-style: normal; font-size: 13px; color: var(--gold-deep); white-space: nowrap; padding-top: 3px; }
ol.toc .toc-ch { display: block; margin-top: 6px; }
ol.toc .toc-ch span { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; line-height: 1.5; padding: 4px 0; border-top: 1px dashed var(--line); }
ol.toc .toc-ch em { font-style: normal; color: var(--gold-deep); white-space: nowrap; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 800; padding: 10px 36px 10px 14px; list-style: none; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 8px; color: var(--gold-deep); font-weight: 900; font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 14px 12px; color: #3b352d; font-size: 16px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pay span { font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 0 8px; line-height: 1.9; color: #4b4339; }

/* 6. phones: a fixed buy bar at the bottom of the product page */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); color: #efe9dd; border-top: 1px solid var(--ink-3); padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
.buybar .t { line-height: 1.35; font-size: 13px; color: #cfc6b6; }
.buybar .t b { display: block; color: #fff; font-size: 18px; font-weight: 900; }
.buybar .btn { padding: 10px 22px; }
/* room under the dark footer, so the bar never covers it and no light strip shows below it */
.has-buybar .site-foot { padding-bottom: 116px; }
@media (min-width: 900px) { .buybar { display: none; } .has-buybar .site-foot { padding-bottom: 40px; } }

/* ------------------------------------------------------------------
   27 Nov 2026: the live site's own pages (films list, research, sample, ledger, about, contact, policies)
   ------------------------------------------------------------------ */
.narrow { max-width: 780px; }
.page-head { padding: 10px 0 18px; }
.page-head h1 { font-weight: 900; font-size: 28px; line-height: 1.45; margin: 6px 0 8px; }
@media (min-width: 900px) { .page-head h1 { font-size: 38px; } }
.page-head .lead, .prose .lead { color: #3b352d; font-size: 18px; max-width: 720px; margin: 0 0 8px; }
.eyebrow.on-dark { color: var(--gold-2); }
.h3 { font-weight: 900; font-size: 24px; line-height: 1.45; margin: 4px 0; }
.sec-title { font-weight: 800; font-size: 22px; line-height: 1.4; margin: 34px 0 12px; }
.other-lang { margin: 22px 0 40px; color: var(--muted); font-size: 15px; }
.other-lang a { color: var(--gold-deep); font-weight: 700; }
main.wrap > .grid { margin-bottom: 8px; }
.about-short { max-width: 760px; margin: 0; }

/* research editions still to come, and the pack / annual pass */
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 640px; }
.soon-list li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.soon-list .off { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; }
.plans .plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.plans .plan b { display: block; font-weight: 800; font-size: 18px; }
.plans .plan .p { display: block; font-weight: 900; font-size: 24px; color: var(--ink); }
.plans .plan p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
main.wrap > .help:last-child, main.wrap > .product + .help { margin-bottom: 40px; }

/* the forecast ledger page */
.tally { font-weight: 700; color: var(--gold-deep); margin: 6px 0 0; }
.ledger { display: grid; gap: 16px; }
@media (min-width: 900px) { .ledger { grid-template-columns: 1fr 1fr; } }
.fc .fc-note { margin: -4px 0 12px; font-size: 15px; color: #3b352d; }
.fc .from a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.chip.hit { background: #e6f4ec; color: #134a2d; border: 1px solid #b9dcc8; }
.chip.miss { background: #fdeaea; color: #7d1014; border: 1px solid #f1c3c4; }
.chip.part { background: #eef0fb; color: #2b3a7a; border: 1px solid #ccd3f0; }
main.wrap > ul.ticks:last-child { margin-bottom: 40px; }

/* long text: about, contact, policies, credits */
.prose { padding: 6px 0 44px; }
.prose h1 { font-weight: 900; font-size: 28px; line-height: 1.45; margin: 6px 0 12px; }
@media (min-width: 900px) { .prose h1 { font-size: 36px; } }
.prose h2 { font-weight: 800; font-size: 21px; margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--gold-deep); font-weight: 700; }
.prose .placeholder { margin: 18px 0; }
/* the policies: dated line, "in short" box, plain (no tick) lists for the don'ts and the details to send */
.prose .updated { margin: -4px 0 16px; }
.prose .brief { margin: 0 0 6px; }
.prose .brief > b { display: block; font-weight: 800; font-size: 17px; }
.prose .brief ul.ticks { margin: 6px 0 0; }
.prose ul.plain { padding-left: 22px; margin: 6px 0 16px; }
.prose ul.plain li { margin: 5px 0; line-height: 1.65; }
.prose .see-also { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.8; }
ul.credits { padding-left: 20px; }
ul.credits li { margin: 6px 0; line-height: 1.7; }
ul.credits a { color: var(--gold-deep); }

/* film page: the other language's film, the dated update under the video, the book note */
.aside-card.twin a { display: block; font-weight: 800; line-height: 1.5; margin: 4px 0 6px; color: var(--ink); }
.aside-card.twin .note { margin: 0; }
.video + .upd { margin: 10px 0 0; }
.readbook small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.r-hero .compare, .aside-card .compare { margin-top: 14px; }
.r-hero .note { margin-top: 8px; }
#look { padding-bottom: 10px; }
#toc { padding-top: 22px; }
.faq { padding: 10px 0 34px; }
.notify { margin: 0 0 40px; }
.notify .tail { margin: 14px 0 0; }
.notify .tail a { color: var(--gold-2); font-weight: 700; }

/* the free-sample page: the dark band is the page's first screen */
.band-page .wrap { padding-top: 34px; }
.band h1 { font-weight: 900; font-size: 28px; line-height: 1.4; margin: 4px 0 8px; color: #fff; }
.band-page + .narrow { padding-bottom: 40px; }

/* the list form says plainly that it is not open yet, instead of pretending to send */
.pending-note { margin: 4px 0 0; font-size: 14px; color: var(--gold-2); }

/* the YouTube player, loaded only when the reader presses play (js/site.js) */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; margin: 16px 0 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* page not found */
.nf { text-align: center; padding: 60px 0 80px; }

/* "new" and the length sit in the text, not on the thumbnail: her thumbnails carry faces, names and the JA logo
   in every corner, and a badge on top would cover one of them */
.eyebrow .new { display: inline-block; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; border-radius: 6px; padding: 0 8px; line-height: 1.8; margin-right: 8px; }

/* step 1.2: a short note under each chapter (what that chapter says); the time and title stay one link */
ol.chapters.with-notes li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
ol.chapters.with-notes li:last-child { border-bottom: 0; }
ol.chapters.with-notes a { border-bottom: 0; padding-bottom: 2px; }
ol.chapters.with-notes span { font-weight: 800; }
ol.chapters .cn { margin: 0; padding: 0 14px 0 86px; font-size: 15px; line-height: 1.75; color: #3b352d; }
@media (max-width: 480px) { ol.chapters .cn { padding-left: 14px; } }

/* the quiz on English pages */
.lang-en .q input.ok:checked + label::after { content: "  ✓ Right"; }
.lang-en .q input.no:checked + label::after { content: "  ✗ Not quite"; }
.lang-en .score::before { content: "Your right answers: " counter(right) " of 8"; }
