/* ==========================================================================
   Aslam Chowdhury MP - "Golden Sheaf: night to dawn"
   Night green, champagne gold and straw cream. Bangla first (Anek Bangla), English in Cormorant Garamond + Manrope.
   ========================================================================== */

:root {
    --night: #0A1F18;
    --night-2: #06140F;
    --emerald: #13392D;
    --emerald-2: #1C4A3B;
    --gold: #D9B26A;
    --gold-hi: #F1DDAE;
    --gold-lo: #9C7A3C;
    --paddy: #7C5612;
    --straw: #F4ECDD;
    --straw-2: #EADFC9;
    --paper: #FBF8F1;
    --ink: #16201C;
    --ink-2: #3E4A44;
    --line: rgba(22, 32, 28, .12);
    --on-dark: #EFE8DA;
    --on-dark-2: #BAC4BC;
    --line-dark: rgba(239, 232, 218, .16);
    --red: #A32A1F;
    --ok: #1F6B48;
    --radius: 22px;
    --radius-s: 12px;
    --shadow: 0 24px 60px -30px rgba(6, 20, 15, .55);
    --shadow-s: 0 10px 30px -18px rgba(6, 20, 15, .45);
    --wrap: min(1200px, calc(100% - 32px));
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font-display: "Anek Bangla", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
    --font-body: "Anek Bangla", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
    --display-weight: 750;
    --hdr-h: 76px;
}
html[lang="en"] {
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
    --display-weight: 600;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--straw);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-size: 16px; line-height: 1.65; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--paddy); text-underline-offset: 3px; }
a:hover { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.02; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
button { font: inherit; }
main { display: block; }
main:focus { outline: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.edge-mark { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }
svg.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }
.on-dark { color: var(--on-dark); }
.on-dark a:not(.btn) { color: var(--gold-hi); }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("/img/brand/grain.webp") repeat; background-size: 160px; mix-blend-mode: overlay; opacity: .55; }
.grain > * { position: relative; z-index: 1; }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%); color: var(--night); box-shadow: 0 14px 30px -16px rgba(217, 178, 106, .9); }
.btn-gold:hover { color: var(--night); box-shadow: 0 18px 36px -14px rgba(217, 178, 106, 1); }
.btn-ghost { border-color: rgba(241, 221, 174, .55); color: var(--on-dark); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: var(--night); background: var(--gold-hi); }
.btn-line { border-color: var(--emerald); color: var(--emerald); background: transparent; }
.btn-line:hover { background: var(--emerald); color: var(--on-dark); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .9rem; border-radius: 999px; border: 1px solid rgba(241, 221, 174, .45); color: var(--gold-hi); font-size: .92rem; font-weight: 600; background: rgba(10, 31, 24, .35); backdrop-filter: blur(6px); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 178, 106, .2); }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--straw-2); color: var(--ink-2); }
.tag.gold { background: rgba(217, 178, 106, .22); color: var(--paddy); }
.badge.sample { display: inline-block; padding: .1rem .55rem; border-radius: 999px; border: 1px dashed currentColor; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--paddy); background: rgba(241, 221, 174, .35); vertical-align: middle; }
.pledge .badge.sample { justify-self: start; }
.on-dark .badge.sample, .frame .badge.sample, .day .badge.sample, .pledge .badge.sample, .chapter.dark .badge.sample, .result .badge.sample { color: var(--gold-hi); background: rgba(10, 31, 24, .5); }
.sample-banner { margin: 0 0 1.5rem; padding: .8rem 1rem; border-radius: var(--radius-s); background: rgba(241, 221, 174, .4); border: 1px dashed var(--paddy); color: var(--ink-2); font-size: .95rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.more .i { transition: transform .25s var(--ease); }
.more:hover .i { transform: translateX(4px); }
html[lang="bn"] .more .i.flip, .flip { transform: scaleX(-1); }

/* ---------- the golden sheaf ---------- */
.sheaf { display: block; width: 168px; height: auto; color: var(--gold); overflow: visible; }
.sheaf .stem, .sheaf .leaf { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sheaf .leaf { stroke-width: 1.2; opacity: .8; }
.sheaf ellipse { fill: currentColor; }
.on-light .sheaf, .sheaf.on-light { color: var(--paddy); }
.js .sheaf.draw .stem, .js .sheaf.draw .leaf { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1); }
.js .sheaf.draw ellipse { opacity: 0; transition: opacity .5s ease; transition-delay: calc(.7s + var(--i, 0) * 70ms); }
.js .sheaf.draw.is-drawn .stem, .js .sheaf.draw.is-drawn .leaf { stroke-dashoffset: 0; }
.js .sheaf.draw.is-drawn ellipse { opacity: 1; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr-h); display: flex; align-items: center; color: var(--on-dark); transition: background-color .35s, box-shadow .35s, height .35s; }
.hdr::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 15, .55), rgba(6, 20, 15, 0)); pointer-events: none; transition: opacity .35s; }
.hdr.solid { --hdr-h: 64px; background: rgba(8, 26, 20, .86); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.hdr.solid::before { opacity: 0; }
.hdr-in { position: relative; width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--on-dark); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--gold-hi); }
.mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--night); border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px rgba(217, 178, 106, .4); color: var(--gold); font-family: "Anek Bangla", sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-text b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
html[lang="en"] .brand-text b { font-size: 1.3rem; }
.brand-text small { font-size: .78rem; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: .55rem; }
.lang { display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: .9rem; }
.lang:hover { border-color: var(--gold); color: var(--gold-hi); }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; height: 44px; padding: 0 1rem 0 .85rem; border-radius: 999px; border: 1px solid rgba(241, 221, 174, .5); background: rgba(10, 31, 24, .3); color: var(--on-dark); cursor: pointer; font-weight: 650; }
.menu-btn:hover { background: var(--gold-hi); color: var(--night); }
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.burger i:last-child { width: 70%; justify-self: end; }
@media (max-width: 759px) {
    :root { --hdr-h: 64px; }
    .hdr-cta, .brand-text small { display: none; }
    .menu-btn > span:not(.burger) { display: none; }
    .menu-btn { padding: 0 .8rem; }
    .mono { width: 40px; height: 40px; font-size: .92rem; }
}

/* ---------- full-screen menu ---------- */
dialog.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: var(--on-dark); overflow: auto; }
dialog.menu::backdrop { background: rgba(6, 20, 15, .6); }
dialog.menu[open] { animation: menu-in .45s var(--ease); }
@keyframes menu-in { from { opacity: 0; clip-path: circle(0% at calc(100% - 60px) 38px); } to { opacity: 1; clip-path: circle(150% at calc(100% - 60px) 38px); } }
.menu-in { min-height: 100%; width: var(--wrap); margin-inline: auto; display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; padding: 18px 0 32px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.menu-close { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer; font-weight: 650; }
.menu-close:hover { border-color: var(--gold); color: var(--gold-hi); }
.menu-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.menu-list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-list > li { border-bottom: 1px solid var(--line-dark); }
.menu-list > li > a { display: flex; align-items: baseline; gap: 1.1rem; padding: .55rem 0; color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(30px, 4.6vw, 58px); line-height: 1.15; transition: color .25s, transform .35s var(--ease); }
.menu-list > li > a small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--gold); min-width: 2.2em; }
.menu-list > li > a:hover, .menu-list > li > a:focus-visible { color: var(--gold-hi); transform: translateX(10px); }
.menu-sub { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: -.2rem 0 .8rem 3.3rem; padding: 0; list-style: none; }
.menu-sub a { color: var(--on-dark-2); text-decoration: none; font-size: .98rem; }
.menu-sub a:hover { color: var(--gold-hi); }
.menu-pic { position: relative; aspect-ratio: 4 / 5; border-radius: 30px 30px 200px 200px; overflow: hidden; border: 1px solid rgba(217, 178, 106, .5); box-shadow: 0 0 0 10px rgba(217, 178, 106, .06); }
.menu-pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.menu-pic.swap img { opacity: .2; transform: scale(1.04); }
.menu-foot { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; color: var(--on-dark-2); font-size: .95rem; }
.menu-foot a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.menu-foot a:hover { color: var(--gold-hi); }
@media (max-width: 899px) {
    .menu-body { grid-template-columns: 1fr; }
    .menu-pic { display: none; }
    .menu-sub { margin-left: 0; }
}

/* ---------- phone dock ---------- */
.dock { display: none; }
@media (max-width: 759px) {
    .dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 35; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgba(8, 26, 20, .92); backdrop-filter: blur(12px); border: 1px solid rgba(217, 178, 106, .3); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); transition: transform .35s var(--ease); }
    .dock a { display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border-radius: 14px; color: var(--on-dark); text-decoration: none; font-size: .78rem; font-weight: 600; }
    .dock a .i { width: 1.35em; height: 1.35em; color: var(--gold); }
    .dock a.main { background: var(--gold); color: var(--night); }
    .dock a.main .i { color: var(--night); }
    .dock.away { transform: translateY(140%); }
    body { padding-bottom: 86px; }
}

/* ---------- cover (home hero) ---------- */
.cover { position: relative; isolation: isolate; overflow: hidden; overflow: clip; min-height: max(640px, 100svh); max-height: 1040px; color: var(--on-dark); background: var(--night-2); }
.cover-sky { position: absolute; inset: 0; z-index: -5;
    background:
        radial-gradient(circle at calc(72% + var(--mx, 0px)) calc(26% + var(--my, 0px)), rgba(244, 205, 128, .62) 0, rgba(233, 190, 110, .28) 14%, rgba(233, 190, 110, 0) 42%),
        radial-gradient(ellipse at 10% 100%, rgba(28, 74, 59, .9), rgba(28, 74, 59, 0) 55%),
        linear-gradient(180deg, #050f0b 0%, #0A1F18 40%, #13392D 78%, #1C4A3B 100%); }
.cover-rays { position: absolute; inset: -20%; z-index: -4; opacity: .55;
    background: repeating-conic-gradient(from 0deg at calc(72% + var(--mx, 0px)) calc(32% + var(--my, 0px)), rgba(255, 224, 160, .07) 0deg 3deg, transparent 3deg 11deg);
    -webkit-mask: radial-gradient(circle at 72% 32%, #000 0, rgba(0, 0, 0, .6) 22%, transparent 55%); mask: radial-gradient(circle at 72% 32%, #000 0, rgba(0, 0, 0, .6) 22%, transparent 55%);
    animation: rays 9s ease-in-out infinite alternate; }
@keyframes rays { from { opacity: .35; } to { opacity: .65; } }
.cover-flag { position: absolute; z-index: -3; left: -4%; top: 12%; width: 44%; max-width: 620px; opacity: .13; filter: blur(1.5px); }
.cover-name { position: absolute; z-index: -2; left: 3.5vw; right: 3vw; top: calc(var(--hdr-h) + 3vh); margin: 0; font-family: "Anek Bangla", sans-serif; font-weight: 800; font-size: clamp(74px, 13.4vw, 236px); line-height: .86; letter-spacing: -.035em; pointer-events: none; }
html[lang="en"] .cover-name { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: clamp(64px, 12vw, 210px); letter-spacing: -.02em; line-height: .84; }
.cover-name span { display: block; width: fit-content; background: linear-gradient(180deg, #F6E6BD 0%, #E3C17C 45%, #B48A43 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35)); }
.cover-name span + span { margin-left: clamp(40px, 9vw, 170px); }
.cover-name span::after { content: ""; }
.cover-man { position: absolute; z-index: -1; right: 1vw; bottom: 0; height: 92%; width: 56%; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.cover-man img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; -webkit-mask: linear-gradient(180deg, #000 74%, transparent 99%); mask: linear-gradient(180deg, #000 74%, transparent 99%); filter: drop-shadow(-20px 10px 40px rgba(0, 0, 0, .45)); }
.cover-field { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 22%; background: url("/img/brand/paddy-field.svg") center bottom / cover no-repeat; pointer-events: none; }
.cover-field::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, var(--night-2), transparent); }
.cover-text { position: absolute; z-index: 2; left: 3.5vw; bottom: calc(64px + 5vh); width: min(560px, 46vw); display: grid; gap: 1.1rem; }
.cover-quote { margin: 0; padding: 1.4rem 1.6rem 1.2rem; border-radius: 22px; background: rgba(10, 31, 24, .55); border: 1px solid rgba(241, 221, 174, .22); backdrop-filter: blur(10px) saturate(1.15); box-shadow: var(--shadow); }
.cover-quote blockquote { margin: 0; font-family: "Anek Bangla", sans-serif; font-weight: 600; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.45; color: #FFF8E8; }
html[lang="en"] .cover-quote blockquote { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; }
.cover-quote blockquote::before { content: "“"; display: block; height: .5em; margin-bottom: .1em; font-family: Georgia, serif; font-size: 3.2em; line-height: 1; color: var(--gold); }
.cover-quote figcaption { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; color: var(--gold-hi); font-weight: 600; font-size: .95rem; }
.sign { height: 48px; width: auto; filter: brightness(0) invert(1) sepia(1) saturate(2.2) hue-rotate(8deg) brightness(.95); }
.cover-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.cover-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.ticker { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .9rem; height: 52px; padding: 0 3.5vw; background: rgba(6, 20, 15, .72); border-top: 1px solid rgba(217, 178, 106, .25); backdrop-filter: blur(8px); font-size: .95rem; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: .45rem; color: var(--gold); font-weight: 700; }
.ticker-view { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: flex; gap: 3rem; width: max-content; animation: run 38s linear infinite; }
.ticker-run a, .ticker-run span { color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.ticker-run a:hover { color: var(--gold-hi); }
.ticker-run > *::before { content: "✦"; color: var(--gold); margin-right: .8rem; font-size: .8em; }
.ticker.is-paused .ticker-run, .ticker:hover .ticker-run, .ticker:focus-within .ticker-run { animation-play-state: paused; }
.pause { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer; }
.pause:hover { border-color: var(--gold); color: var(--gold-hi); }
@keyframes run { to { translate: -50% 0; } }
/* the cover arrives: words rise, the man steps in, the quote follows */
.cover-name span { animation: word-up 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .18s); }
.cover-man { animation: man-in 1.4s var(--ease) .25s both; }
.cover-text { animation: fade-up 1s var(--ease) .75s both; }
.ticker { animation: fade-in 1s ease 1.2s both; }
@keyframes word-up { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
@keyframes man-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* the name shines once */
.cover-name span:first-child { position: relative; }
.shine { position: absolute; z-index: -1; left: 3.5vw; top: calc(var(--hdr-h) + 3vh); width: 60vw; height: 30vw; max-height: 260px; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 245, 215, .55) 48%, transparent 66%); background-size: 250% 100%; mix-blend-mode: soft-light; animation: shine 2.6s ease 1.4s both; opacity: .9; }
@keyframes shine { from { background-position: 140% 0; } to { background-position: -40% 0; } }
@media (max-width: 899px) {
    .cover { min-height: 0; max-height: none; display: flex; flex-direction: column; padding-top: calc(var(--hdr-h) + 18px); }
    .cover-name { position: relative; inset: auto; left: auto; right: auto; top: auto; padding: 0 16px; font-size: clamp(50px, 14.5vw, 104px); text-align: left; }
    .cover-name span + span { margin-left: 18vw; }
    .shine { display: none; }
    .cover-man { position: relative; inset: auto; height: auto; width: 100%; margin-top: 4vw; }
    .cover-man img { height: auto; width: min(520px, 88%); }
    .cover-flag { width: 90%; top: 18%; }
    .cover-field { height: 120px; bottom: 52px; }
    .cover-text { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 16px 0; padding-bottom: 76px; }
    .cover-quote { padding: 1.1rem 1.2rem 1rem; }
    .ticker { padding: 0 16px; }
}

/* ---------- chapters ---------- */
.chapter { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; overflow: clip; }
.chapter.light { background: var(--straw); color: var(--ink); }
.chapter.paper { background: var(--paper); }
.chapter.dark { background: var(--night); color: var(--on-dark); }
.chapter.emerald { background: linear-gradient(180deg, var(--emerald), #0F2F25); color: var(--on-dark); }
.ch-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 3vw, 40px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.ch-num { font-family: "Anek Bangla", "Cormorant Garamond", sans-serif; font-weight: 800; font-size: clamp(86px, 13vw, 190px); line-height: .78; color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -.04em; opacity: .95; user-select: none; }
.light .ch-num, .paper .ch-num { -webkit-text-stroke-color: var(--paddy); opacity: .7; }
.ch-title { margin: 0; font-size: clamp(36px, 5.4vw, 72px); }
.ch-sub { margin: .35rem 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); }
.dark .ch-sub, .emerald .ch-sub, .on-dark .ch-sub { color: var(--on-dark-2); }
.ch-head .sheaf { margin-top: 1rem; }
@media (max-width: 599px) { .ch-head { grid-template-columns: 1fr; gap: 4px; } .ch-num { font-size: 84px; } }

/* 01 - the man */
.man-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.portrait { position: relative; margin: 0; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; background: var(--emerald); box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.4s var(--ease); }
.portrait:hover .portrait-frame img { transform: scale(1.04); }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: 200px 200px 28px 28px; z-index: -1; }
.portrait figcaption { position: absolute; left: -12px; bottom: 28px; padding: .7rem 1rem; border-radius: 14px; background: var(--night); color: var(--on-dark); font-size: .92rem; box-shadow: var(--shadow-s); max-width: 80%; }
.portrait figcaption b { display: block; color: var(--gold-hi); font-family: var(--font-display); font-size: 1.1rem; }
.man-copy .lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.65; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.facts li .i { color: var(--paddy); }
.pull { margin: 1.8rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--gold); font-family: var(--font-display); font-weight: 650; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; color: var(--emerald); }
html[lang="en"] .pull { font-style: italic; font-weight: 500; }
@media (max-width: 899px) { .man-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; margin-inline: auto 24px; } }

/* 02 - the film strip, night to dawn */
.strip { --p: 0; position: relative; background: var(--night); color: var(--on-dark); }
.strip::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #1C4A3B 0%, #6E6A3E 55%, #D2A75E 100%); opacity: calc(var(--p) * .8); }
.strip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(246, 214, 150, .9), rgba(246, 214, 150, 0) 60%); opacity: calc(var(--p) * var(--p)); }
.strip-pin { position: relative; z-index: 1; padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 7vw, 90px); }
.strip-track { display: flex; gap: clamp(18px, 2.4vw, 34px); padding: 8px max(16px, calc((100% - 1200px) / 2)) 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.frame { position: relative; flex: 0 0 min(420px, 82vw); scroll-snap-align: center; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: rgba(6, 20, 15, .55); border: 1px solid rgba(241, 221, 174, .18); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); }
.frame-pic { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: #000; }
.frame-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.6s var(--ease), filter .8s; }
.frame:hover .frame-pic img { transform: scale(1.05); }
.frame[data-tone="mono"] .frame-pic img { filter: grayscale(1) contrast(1.06) brightness(.98); }
.frame[data-tone="dark"] .frame-pic img { filter: grayscale(.35) brightness(.7) contrast(1.18); }
.frame[data-tone="gold"] .frame-pic img { filter: sepia(.42) saturate(1.3) brightness(1.03); }
.frame[data-tone="bright"] .frame-pic img { filter: saturate(1.08) brightness(1.06); }
.frame-n { position: absolute; left: 18px; top: 10px; font-family: "Anek Bangla", sans-serif; font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 244, 214, .85); text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.frame-body { padding: 1.2rem 1.35rem 1.4rem; }
.frame-year { display: inline-block; margin-bottom: .35rem; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.frame h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: .4rem; color: #FFF8E6; }
.frame p { margin: 0; color: var(--on-dark-2); font-size: .98rem; }
.strip-rail { position: relative; width: var(--wrap); margin: 6px auto 0; height: 34px; }
.strip-rail svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip-rail .base { stroke: rgba(241, 221, 174, .25); }
.strip-rail .fill { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.strip-rail path { fill: none; stroke-width: 2; stroke-linecap: round; }
.strip-hint { display: table; margin: 10px auto 0; padding: .3rem .95rem; border-radius: 999px; background: rgba(6, 20, 15, .55); text-align: center; font-size: .9rem; color: var(--on-dark); }
@media (min-width: 1024px) {
    .js .strip.is-pinned { height: calc(100vh + var(--len, 0px)); }
    .js .strip.is-pinned .strip-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 10px) 0 26px; overflow: hidden; }
    .js .strip.is-pinned .strip-track { overflow: visible; scroll-snap-type: none; translate: calc(var(--x, 0) * 1px) 0; will-change: translate; }
    .js .strip.is-pinned .ch-head { margin-bottom: 26px; }
    .js .strip.is-pinned .ch-num { font-size: clamp(80px, 9vw, 140px); }
}

/* 03 - Sitakunda */
.land { background: linear-gradient(180deg, #F7E7C4 0%, var(--straw) 46%); }
.land-art { position: relative; height: clamp(220px, 34vw, 420px); margin: -10px 0 clamp(40px, 6vw, 70px); }
.land-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.land-art .layer { transform: translateY(calc(var(--sy, 0) * var(--depth, 0) * 1px)); transition: transform .2s linear; }
.land-copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.land-copy p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.counters li { padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.counters b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--emerald); }
.counters span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 899px) { .land-copy { grid-template-columns: 1fr; } }

/* works */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work { grid-column: span 4; position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.works .work:first-child { grid-column: span 8; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr; }
.work-pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--emerald), var(--night)); }
.works .work:first-child .work-pic { aspect-ratio: auto; min-height: 280px; }
.work-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work-pic img { transform: scale(1.05); }
.work-pic .art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(241, 221, 174, .9); }
.work-pic .art .i { width: 64px; height: 64px; }
.work-pic .art::before { content: ""; position: absolute; inset: 0; background: url("/img/brand/paddy-field.svg") center bottom / 160% auto no-repeat; opacity: .35; filter: invert(.8) sepia(.6) hue-rotate(5deg); }
.work-body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.work-body h3 { font-size: 1.25rem; margin: 0; }
.works .work:first-child .work-body { padding: 1.6rem; align-content: center; }
.works .work:first-child h3 { font-size: clamp(24px, 2.4vw, 32px); }
.work-body p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.work-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .88rem; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.completed { background: rgba(31, 107, 72, .12); color: var(--ok); }
.status.ongoing { background: rgba(217, 178, 106, .25); color: var(--paddy); }
.status.planned { background: rgba(22, 32, 28, .08); color: var(--ink-2); }
@media (max-width: 999px) { .work { grid-column: span 6; } .works .work:first-child { grid-column: span 12; } }
@media (max-width: 639px) { .work, .works .work:first-child { grid-column: span 12; grid-template-columns: 1fr; } .works .work:first-child .work-pic { min-height: 0; aspect-ratio: 16 / 10; } }

/* 04 - among the people */
.people { background: var(--paper); }
.reel { display: grid; gap: 14px; margin: 0 0 clamp(48px, 6vw, 80px); }
.reel-view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-row { display: flex; gap: 14px; width: max-content; animation: run 70s linear infinite; }
.reel-row.back { animation-direction: reverse; animation-duration: 82s; }
.reel:hover .reel-row, .reel:focus-within .reel-row, .people.is-paused .reel-row { animation-play-state: paused; }
.reel-row > a { position: relative; display: block; height: clamp(170px, 20vw, 250px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; flex: none; background: var(--emerald); }
.reel-row > a:nth-child(3n + 2) { aspect-ratio: 3 / 4; }
.reel-row > a:nth-child(5n + 3) { aspect-ratio: 16 / 10; }
.reel-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.92); }
.reel-row > a:hover img { transform: scale(1.06); filter: saturate(1.05); }
.reel-row > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 15, .55), transparent 45%); opacity: 0; transition: opacity .3s; }
.reel-row > a:hover::after { opacity: 1; }
.reel-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: var(--wrap); margin: 6px auto 0; }
.reel-bar .pause { border-color: var(--line); color: var(--ink); }
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.sec-title h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.news-list { display: grid; gap: 16px; }
.news { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: start; padding: 12px; border-radius: 20px; background: var(--straw); border: 1px solid transparent; color: var(--ink); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.news:hover { border-color: rgba(124, 86, 18, .35); transform: translateX(4px); color: var(--ink); }
.news-pic { aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--emerald), var(--night)); display: grid; place-items: center; color: var(--gold); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; }
.news-pic .i { width: 40px; height: 40px; }
.news h4 { font-size: 1.15rem; margin: .25rem 0 .3rem; line-height: 1.35; }
.news p { margin: 0; font-size: .95rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; font-size: .86rem; color: var(--ink-2); }
.meta .i { color: var(--paddy); }
.days { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.day { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: var(--night); color: var(--on-dark); text-decoration: none; transition: transform .3s var(--ease); }
.day:hover { transform: translateY(-3px); color: var(--on-dark); }
.day-date { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--night); line-height: 1; }
.day-date b { font-family: "Anek Bangla", sans-serif; font-size: 30px; font-weight: 800; }
.day-date small { font-size: .8rem; font-weight: 700; margin-top: 2px; }
.day h4 { font-size: 1.05rem; margin: 0 0 .15rem; line-height: 1.35; color: #FFF7E4; }
.day .meta { color: var(--on-dark-2); }
.day .meta .i { color: var(--gold); }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .news { grid-template-columns: 110px 1fr; } }

/* 05 - by your side */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.serve-card { position: relative; display: grid; align-content: start; gap: .7rem; min-height: 300px; padding: 1.6rem; border-radius: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(241, 221, 174, .2); color: var(--on-dark); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.serve-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(241, 221, 174, .5); color: var(--on-dark); }
.serve-card .ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--night); }
.serve-card .ico .i { width: 28px; height: 28px; }
.serve-card h3 { margin: .3rem 0 0; font-size: clamp(24px, 2.3vw, 30px); color: #FFF7E4; }
.serve-card p { margin: 0; color: var(--on-dark-2); }
.serve-card .more { margin-top: auto; color: var(--gold-hi); }
.serve-card.with-art { padding-right: 38%; }
.serve-card .sticker { position: absolute; right: -10px; bottom: -6px; width: 42%; max-width: 190px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; border: 6px solid rgba(241, 221, 174, .9); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); transform: rotate(-6deg); transition: transform .5s var(--ease); }
.serve-card:hover .sticker { transform: rotate(0) scale(1.04); }
.sticker img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.quick-box { padding: 1.3rem 1.4rem; border-radius: 22px; background: rgba(6, 20, 15, .45); border: 1px solid rgba(241, 221, 174, .16); }
.quick-box h3 { font-size: 1.2rem; margin: 0 0 .7rem; color: #FFF7E4; display: flex; align-items: center; gap: .5rem; }
.quick-box h3 .i { color: var(--gold); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input { flex: 1 1 140px; min-width: 0; padding: .75rem .95rem; border-radius: 12px; border: 1px solid rgba(241, 221, 174, .3); background: rgba(255, 255, 255, .06); color: var(--on-dark); font: inherit; }
.inline-form input::placeholder { color: #93A097; }
.inline-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-width: 999px) { .serve-grid { grid-template-columns: 1fr 1fr; } .serve-grid .serve-card:last-child { grid-column: span 2; } }
@media (max-width: 679px) { .serve-grid, .quick { grid-template-columns: 1fr; } .serve-grid .serve-card:last-child { grid-column: auto; } .serve-card { min-height: 0; } }

/* closing quote */
.closing { position: relative; padding: clamp(90px, 12vw, 170px) 0; background: radial-gradient(ellipse at 50% 0%, rgba(217, 178, 106, .22), transparent 60%), var(--night); color: var(--on-dark); text-align: center; overflow: hidden; overflow: clip; }
.closing blockquote { margin: 0 auto; max-width: 980px; font-family: "Anek Bangla", sans-serif; font-weight: 700; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.3; background: linear-gradient(180deg, #F6E6BD, #D9B26A 70%, #B48A43); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="en"] .closing blockquote { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; line-height: 1.15; }
.closing .sheaf { margin: 0 auto 2rem; width: 220px; }
.closing p { margin: 1.6rem 0 0; color: var(--on-dark-2); font-weight: 600; letter-spacing: .02em; }
.closing .sign { height: 64px; margin-top: 1.2rem; }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--night-2); color: var(--on-dark-2); padding: 70px 0 28px; border-top: 1px solid rgba(217, 178, 106, .35); }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: var(--gold-hi); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.ftr h2 { font-size: 1.05rem; color: var(--gold); margin: 0 0 1rem; letter-spacing: .02em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ftr .brand { margin-bottom: 1rem; }
.ftr-about p { font-size: .97rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); }
.socials a:hover { border-color: var(--gold); }
.ftr-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.ftr-contact .i { color: var(--gold); margin-top: .3em; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.ftr-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.calm-toggle { background: none; border: 0; padding: 0; color: var(--on-dark); cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; }
.calm-toggle:hover { color: var(--gold-hi); }
@media (max-width: 899px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-about { grid-column: span 2; } }
@media (max-width: 559px) { .ftr-grid { grid-template-columns: 1fr; } .ftr-about { grid-column: auto; } }

.rise { position: fixed; right: 18px; bottom: 24px; z-index: 30; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(217, 178, 106, .5); background: var(--night); color: var(--gold); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); }
.rise.on { opacity: 1; pointer-events: auto; transform: none; }
.rise .i { transform: rotate(-90deg); }
@media (max-width: 759px) { .rise { bottom: 100px; right: 14px; width: 42px; height: 42px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.banner { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: calc(var(--hdr-h) + clamp(56px, 9vw, 110px)) 0 clamp(44px, 6vw, 80px); background: var(--night); color: var(--on-dark); }
.banner-bg { position: absolute; inset: 0; z-index: -2; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .5; transform: scale(1.06); animation: drift 18s ease-in-out infinite alternate; }
/* an uploaded photo (no duotone copy) is toned towards night green and gold, so a busy picture never fights the title */
.banner-bg.raw img { filter: grayscale(.55) sepia(.35) hue-rotate(-8deg) saturate(1.2) brightness(.6) contrast(1.08); }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 31, 24, .97) 0%, rgba(10, 31, 24, .72) 55%, rgba(10, 31, 24, .35) 100%), linear-gradient(0deg, rgba(10, 31, 24, .9), transparent 50%); }
.banner h1 { font-size: clamp(38px, 6.4vw, 84px); margin: .3rem 0 .4rem; max-width: 16ch; color: #FFF7E4; }
.banner .lead { max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark-2); margin: 0; }
.banner .sheaf { margin-top: 1.4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: rgba(241, 221, 174, .5); }
.crumbs a { color: var(--gold-hi); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page { padding: clamp(48px, 7vw, 96px) 0; }
.page.tight { padding-top: clamp(28px, 4vw, 48px); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.aside-box { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 16px; }
.box { padding: 1.4rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.box h2, .box h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.box.dark { background: var(--night); color: var(--on-dark); border-color: transparent; }
@media (max-width: 999px) { .cols { grid-template-columns: 1fr; } .aside-box { position: static; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; list-style: none; }
.tabs a { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 650; }
.tabs a:hover { border-color: var(--paddy); color: var(--paddy); }
.tabs a[aria-current="page"], .tabs a.on { background: var(--night); color: var(--gold-hi); border-color: var(--night); }

.prose { font-size: 1.07rem; line-height: 1.85; max-width: 72ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: clamp(21px, 2vw, 25px); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--paddy); }
.prose strong { color: var(--emerald); }
.prose a { color: var(--paddy); font-weight: 600; }
.prose > :first-child { margin-top: 0; }

/* about */
.bio-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bio-nav a { display: block; padding: .45rem .9rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.bio-nav a:hover { color: var(--paddy); border-color: var(--paddy); }
.bio-sec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.bio-sec:last-child { border-bottom: 0; }
.bio-sec:nth-child(even) { grid-template-columns: 300px minmax(0, 1fr); }
.bio-sec:nth-child(even) .bio-pic { order: -1; }
.bio-pic img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.bio-sec h2 { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 799px) { .bio-sec, .bio-sec:nth-child(even) { grid-template-columns: 1fr; } .bio-sec:nth-child(even) .bio-pic { order: 0; } .bio-pic { max-width: 340px; } }
.road { position: relative; margin: 0; padding: 0; list-style: none; }
.road::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #8B9A90, var(--gold) 60%, var(--gold-hi)); border-radius: 2px; }
.stop { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 220px; gap: 20px; align-items: start; padding: 0 0 36px; }
.stop-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); color: var(--paddy); font-weight: 800; font-family: "Anek Bangla", sans-serif; font-size: 1.15rem; }
.stop[data-tone="mono"] .stop-dot { border-color: #8B9A90; color: var(--ink-2); }
.stop[data-tone="dark"] .stop-dot { background: var(--night); color: var(--gold-hi); border-color: var(--night); }
.stop[data-tone="bright"] .stop-dot { background: var(--gold); color: var(--night); }
.stop h3 { font-size: clamp(21px, 2vw, 26px); margin: .55rem 0 .3rem; }
.stop p { margin: 0; color: var(--ink-2); }
.stop-pic img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-s); }
.stop[data-tone="mono"] .stop-pic img { filter: grayscale(1); }
.stop[data-tone="dark"] .stop-pic img { filter: grayscale(.35) brightness(.75); }
@media (max-width: 699px) { .stop { grid-template-columns: 56px minmax(0, 1fr); } .stop-pic { grid-column: 2; } }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.post { padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: .35rem; }
.post .kind { font-size: .82rem; font-weight: 700; color: var(--paddy); text-transform: none; }
.post h3 { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.post p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.post.now { border-color: rgba(124, 86, 18, .45); background: linear-gradient(180deg, #FFF9EC, var(--paper)); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote-card { margin: 0; padding: 1.6rem; border-radius: 22px; background: var(--night); color: var(--on-dark); }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: #FFF5DC; }
.quote-card figcaption { margin-top: .8rem; color: var(--gold); font-size: .9rem; }

/* parliament */
.acts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.act { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 1.2rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.act-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--night); color: var(--gold); }
.act-ico .i { width: 24px; height: 24px; }
.act h3 { font-size: 1.15rem; margin: .1rem 0 .3rem; line-height: 1.4; }
.act p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.act time { font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 599px) { .act { grid-template-columns: 46px minmax(0, 1fr); } .act time { grid-column: 2; } .act-ico { width: 46px; height: 46px; } }
.pledges { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.pledge { padding: 1.4rem; border-radius: 22px; background: var(--night); color: var(--on-dark); display: grid; gap: .6rem; align-content: start; }
.pledge h3 { font-size: 1.25rem; margin: 0; color: #FFF7E4; display: flex; gap: .55rem; align-items: center; }
.pledge h3 .i { color: var(--gold); }
.pledge p { margin: 0; color: var(--on-dark-2); font-size: .96rem; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: 99px; }
.pledge .state { display: flex; justify-content: space-between; font-size: .88rem; color: var(--gold-hi); font-weight: 600; }

/* constituency */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.area { padding: 1.3rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.area h3 { font-size: 1.35rem; margin: 0 0 .2rem; }
.area .kind { font-size: .85rem; color: var(--paddy); font-weight: 700; }
.area ul { display: flex; flex-wrap: wrap; gap: 6px; margin: .8rem 0 0; padding: 0; list-style: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.filters a { padding: .5rem .95rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: .4rem; }
.filters a.on { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.filters a:hover:not(.on) { border-color: var(--paddy); color: var(--paddy); }
.filters select { padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--ink); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.grid-3 .work { grid-column: auto; }

/* work detail, article */
.article-hero { margin: 0 0 2rem; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--emerald); }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; }
.facts-table { display: grid; gap: 10px; margin: 0; }
.facts-table div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line); }
.facts-table dt { color: var(--ink-2); }
.facts-table dd { margin: 0; font-weight: 650; text-align: right; }
.compare { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; --cut: 50%; user-select: none; touch-action: pan-y; background: var(--night); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--cut)); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; background: var(--gold-hi); pointer-events: none; }
.compare .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--night); font-weight: 800; }
.compare .lbl { position: absolute; top: 12px; padding: .2rem .7rem; border-radius: 999px; background: rgba(10, 31, 24, .75); color: #fff; font-size: .85rem; }
.compare .lbl.l { left: 12px; } .compare .lbl.r { right: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--emerald); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.thumbs a:hover img { transform: scale(1.06); }

/* news list */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.card-pic { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--emerald), var(--night)); display: grid; place-items: center; color: var(--gold); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-pic img { transform: scale(1.05); }
.card-pic .i { width: 46px; height: 46px; }
.card-body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: .45rem; align-content: start; }
.card-body h3 { font-size: 1.2rem; line-height: 1.4; margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.source { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; text-decoration: none; }

/* events */
.event-hero { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; margin-bottom: 28px; }
.event-hero .day-date { aspect-ratio: 1; border-radius: 22px; }
.event-hero .day-date b { font-size: 52px; }

/* gallery */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.album { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; background: var(--emerald); box-shadow: var(--shadow-s); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.album:hover img { transform: scale(1.06); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 15, .92), rgba(6, 20, 15, .05) 60%); }
.album-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.3rem; }
.album-cap h3 { color: #FFF7E4; font-size: 1.45rem; margin: 0 0 .2rem; }
.album-cap span { color: var(--gold-hi); font-size: .9rem; font-weight: 600; }
.mosaic { columns: 3 280px; column-gap: 14px; }
.mosaic a { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 18px; overflow: hidden; background: var(--emerald); position: relative; }
.mosaic img { width: 100%; display: block; transition: transform 1s var(--ease); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; font-size: .88rem; color: #fff; background: linear-gradient(0deg, rgba(6, 20, 15, .85), transparent); opacity: 0; transition: opacity .3s; }
.mosaic a:hover figcaption, .mosaic a:focus-visible figcaption { opacity: 1; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.video { margin: 0; }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--night); }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s var(--ease); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--night); }
.video-play span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px rgba(217, 178, 106, .25); transition: transform .3s var(--ease); }
.video-play span .i { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover span { transform: scale(1.08); }
.video-box:hover img { opacity: 1; transform: scale(1.03); }
.video figcaption { margin-top: .7rem; font-weight: 650; }
.video figcaption small { display: block; font-weight: 500; color: var(--ink-2); }
.video-note { font-size: .85rem; color: var(--ink-2); margin: .4rem 0 0; }

/* directory */
.dir-tools { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 20px; }
.search-field { position: relative; }
.search-field .i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--paddy); }
.search-field input { width: 100%; padding: .95rem 1rem .95rem 2.8rem; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 1.05rem; color: var(--ink); }
.search-field input:focus { outline: 2px solid var(--gold); }
.dir-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.dir-cats button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-weight: 600; cursor: pointer; }
.dir-cats button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--gold-hi); }
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.entry { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 1rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.entry[hidden] { display: none; }
.entry-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(217, 178, 106, .2); color: var(--paddy); }
.entry h3 { font-size: 1.05rem; margin: 0 0 .15rem; line-height: 1.35; }
.entry p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.calls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .5rem; }
.call { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--night); color: var(--gold-hi); text-decoration: none; font-weight: 700; font-size: .95rem; }
.call:hover { background: var(--emerald); color: #fff; }
.none-found { padding: 1.4rem; border-radius: 18px; background: var(--paper); border: 1px dashed var(--line); color: var(--ink-2); }

/* forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 999px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.form-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field label, .field .label { font-weight: 650; font-size: .97rem; }
.field label small, .field .label small { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1px solid #CDBFA5; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(217, 178, 106, .45); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); }
.field .hint { font-size: .86rem; color: var(--ink-2); }
.err { margin: 0; color: var(--red); font-size: .9rem; font-weight: 600; }
.form-error { margin: 0 0 18px; padding: .9rem 1.1rem; border-radius: 14px; background: #FBEAE6; border: 1px solid #E6B4AC; color: #6E1A12; }
.form-error ul { margin: 0; padding-left: 1.1em; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; border: 1px solid #CDBFA5; background: #fff; font-weight: 500; cursor: pointer; }
.checks input { width: auto; accent-color: var(--emerald); }
.checks label:has(input:checked) { border-color: var(--emerald); background: rgba(31, 107, 72, .08); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.consent input { width: auto; margin-top: .35em; accent-color: var(--emerald); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.closed { padding: 1.4rem; border-radius: 18px; background: var(--straw-2); color: var(--ink-2); }
.steps-note { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps-note li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; counter-increment: s; }
.steps-note li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--night); font-weight: 800; }
html[lang="bn"] .steps-note li:nth-child(1)::before { content: "১"; } html[lang="bn"] .steps-note li:nth-child(2)::before { content: "২"; } html[lang="bn"] .steps-note li:nth-child(3)::before { content: "৩"; }

/* status + thanks */
.result { padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: var(--night); color: var(--on-dark); }
.result h2 { color: #FFF7E4; }
.state-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 800; }
.state-pill.declined { background: #E9D6CF; color: #5C1B12; }
.state-pill.done { background: #CFE5D8; color: #11452D; }
.ref { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; font-size: 1.15em; padding: .15rem .6rem; border-radius: 8px; background: rgba(217, 178, 106, .2); color: var(--paddy); }
.result .ref { color: var(--gold-hi); }
.thanks { text-align: center; max-width: 640px; margin-inline: auto; }
.thanks .tick { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 1.2rem; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--night); box-shadow: 0 0 0 14px rgba(217, 178, 106, .2); animation: pop .6s var(--ease) both; }
.thanks .tick .i { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* search, pager, empty */
.hits { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hit a { display: block; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.hit a:hover { border-color: var(--paddy); }
.hit h3 { font-size: 1.15rem; margin: .2rem 0; }
.hit p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 650; }
.pager [aria-current="page"] { background: var(--night); color: var(--gold-hi); border-color: var(--night); }
.empty { padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: var(--paper); border: 1px dashed rgba(124, 86, 18, .4); text-align: center; color: var(--ink-2); }
.empty .sheaf { margin: 0 auto 1rem; }

/* share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.share b { margin-right: .3rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--paddy); color: var(--paddy); }

/* offices */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.office { padding: 1.3rem; border-radius: 22px; background: var(--night); color: var(--on-dark); display: grid; gap: .5rem; align-content: start; }
.office h3 { font-size: 1.2rem; margin: 0 0 .2rem; color: #FFF7E4; }
.office p { margin: 0; display: flex; gap: .55rem; align-items: flex-start; color: var(--on-dark-2); }
.office .i { color: var(--gold); margin-top: .3em; }
.office a { color: var(--gold-hi); }

/* error page */
.lost { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.lost .sticker { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 8px solid var(--gold); box-shadow: var(--shadow); }
.lost .sticker img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.lost .code { font-family: "Anek Bangla", sans-serif; font-weight: 800; font-size: clamp(70px, 10vw, 130px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--paddy); }
@media (max-width: 699px) { .lost { grid-template-columns: 1fr; text-align: center; } .lost .sticker { max-width: 220px; margin-inline: auto; } }

/* the photo viewer */
dialog.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 20, 15, .96); color: #fff; }
dialog.viewer[open] { display: grid; grid-template-rows: 1fr auto; animation: fade-in .3s ease; }
.viewer-stage { display: grid; place-items: center; padding: 64px 70px 10px; min-height: 0; }
.viewer-stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px #000; view-transition-name: viewer; }
.viewer-cap { margin: 0; padding: 12px 20px 22px; text-align: center; color: var(--on-dark-2); }
.viewer-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241, 221, 174, .35); background: rgba(10, 31, 24, .6); color: #fff; cursor: pointer; }
.viewer-btn:hover { background: var(--gold); color: var(--night); }
.viewer-close { top: 14px; right: 14px; }
.viewer-prev { left: 14px; top: 50%; translate: 0 -50%; }
.viewer-next { right: 14px; top: 50%; translate: 0 -50%; }
@media (max-width: 599px) { .viewer-stage { padding: 64px 8px 10px; } .viewer-prev, .viewer-next { top: auto; bottom: 64px; translate: none; } }

/* staff sign-in (shares the look) */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 70% 20%, rgba(217, 178, 106, .25), transparent 40%), linear-gradient(160deg, var(--night-2), var(--emerald)); }
.plain { max-width: 560px; margin: 18vh auto; padding: 32px; border-radius: 24px; background: var(--paper); text-align: center; }

/* links on dark ground: light gold, never the dark paddy of light pages */
.chapter.dark a:not(.btn):not(.call), .chapter.emerald a:not(.btn), .strip a:not(.btn), .box.dark a:not(.btn), .result a:not(.btn), .closing a, .office a, .pledge a { color: var(--gold-hi); }

/* soft cross-fade between pages where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- scroll reveal ---------- */
.reveal-on [data-reveal]:not(.is-shown) { opacity: 0; translate: 0 28px; }
.reveal-on [data-reveal] { transition: opacity .9s ease, translate .9s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- quiet: reduced motion and the calm switch ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reel-row, .ticker-run { animation: none !important; }
}
html.calm *, html.calm *::before, html.calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.calm .reel-row, html.calm .ticker-run { animation: none !important; }
html.calm .reel-view, html.calm .ticker-view { overflow-x: auto; }

@media print {
    .hdr, .dock, .rise, .ticker, .ftr, .share, .cover-field, dialog { display: none !important; }
    body { background: #fff; padding: 0; }
    .banner { padding: 20px 0; background: #fff; color: #000; }
    .banner::after, .banner-bg { display: none; }
    .banner h1 { color: #000; }
}
