/* Rich Sabbir design system v3 (preview, 13-11-2026). Tokens -> base -> components -> motion.
   Source of truth for values: TOTAL-BRAND-2026-11/02-BRAND-BLUEPRINT.md (গ.২ রং, গ.৩ টাইপ, গ.৫ মোশন) + landing-design skill (scale, spacing, radius, states).
   Rules: code uses ROLE tokens only; sizes only from the scale; Bangla tracking 0; motion = transform/opacity; no JS scroll listeners. */

@font-face { font-family: "Anek Bangla"; src: url(fonts/AnekBangla-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0020-0022, U+0027-0029, U+002C-002F, U+003A-003B, U+003F, U+00A0, U+00B7, U+0964-0965, U+0980-09FF, U+200C-200D, U+2018-2019, U+201C-201D, U+2026, U+25CC; }
@font-face { font-family: "Anek Bangla"; src: url(fonts/AnekBangla-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0020-0022, U+0027-0029, U+002C-002F, U+003A-003B, U+003F, U+00A0, U+00B7, U+0964-0965, U+0980-09FF, U+200C-200D, U+2018-2019, U+201C-201D, U+2026, U+25CC; }

/* ---------- 1. tokens ---------- */
:root {
  /* raw palette (never used directly in components) */
  --noir: #0E0D0C; --charcoal: #1A1816; --smoke: #2A2724; --ink: #141210;
  --paper: #F6F2EA; --bone: #EFE8DC; --ash: #9C948A; --stone: #6E675F;
  --copper: #C8833F; --copper-deep: #8A5A22; --copper-light: #E8B67E;
  --vermilion: #E8481C; --vermilion-deep: #D8432B; --vermilion-ink: #C23A1F;
  --ground: #0D1511; --slate: #7FA3C7; --slate-deep: #3F6183;

  /* type */
  --font-bn: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --fs-12: .75rem; --fs-14: .875rem; --fs-16: 1rem; --fs-18: 1.125rem; --fs-20: 1.25rem; --fs-24: 1.5rem;
  --fs-30: 1.875rem; --fs-36: 2.25rem; --fs-48: 3rem; --fs-60: 3.75rem; --fs-72: 4.5rem;

  /* spacing: 0 2 4 8 12 16 24 32 40 48 64 80 96 */
  --s-2: 2px; --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px;
  --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px;
  --gutter: 16px; --max: 1200px; --section: 64px;

  /* radius */
  --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-full: 999px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .2s; --t-med: .3s; --t-move: .5s; --t-reveal: .8s;

  /* roles: light (Paper) */
  --surface-page: var(--paper); --surface-card: var(--bone); --surface-sunk: #E7DFD1;
  --text-strong: var(--ink); --text-body: #2F2B27; --text-muted: var(--stone);
  --line: rgba(20, 18, 16, .14); --line-strong: rgba(20, 18, 16, .32);
  --accent: var(--copper-deep); --spark: var(--vermilion); --spark-text: var(--vermilion-ink);
  --action-bg: var(--vermilion); --action-fg: var(--noir); --action-bg-hover: #F25A2E;
  --solid-bg: var(--ink); --solid-fg: var(--paper);
  --lane-jomi: var(--copper-deep); --lane-taka: var(--vermilion-ink); --lane-career: var(--slate-deep);
  --focus: var(--copper-deep); --error: var(--vermilion-ink); --ok: #2E6B4A;
  --nav-bg: rgba(246, 242, 234, .82); --shadow: 0 16px 40px rgba(20, 18, 16, .14); --g-contact: rgba(20, 18, 16, .5); --g-contact-2: rgba(20, 18, 16, .18); --g-cast: rgba(20, 18, 16, .2); --g-floor: rgba(255, 255, 255, 0);
  color-scheme: light;
}
/* roles: dark (Noir). Same block three times on purpose (no build step): system dark, forced dark, always-dark areas. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface-page: var(--noir); --surface-card: var(--charcoal); --surface-sunk: #151311;
  --text-strong: var(--bone); --text-body: #D6CFC3; --text-muted: var(--ash);
  --line: rgba(239, 232, 220, .12); --line-strong: rgba(239, 232, 220, .3);
  --accent: var(--copper); --spark: var(--vermilion); --spark-text: #F26A43;
  --solid-bg: var(--bone); --solid-fg: var(--noir);
  --lane-jomi: var(--copper); --lane-taka: #F26A43; --lane-career: var(--slate);
  --focus: var(--copper-light); --error: #F26A43; --ok: #7FC8A0;
  --nav-bg: rgba(14, 13, 12, .78); --shadow: 0 16px 40px rgba(0, 0, 0, .5); --g-contact: rgba(0, 0, 0, .95); --g-contact-2: rgba(0, 0, 0, .55); --g-cast: rgba(0, 0, 0, .6); --g-floor: rgba(255, 255, 255, .08);
  color-scheme: dark;
} }
:root[data-theme="dark"], .on-noir {
  --surface-page: var(--noir); --surface-card: var(--charcoal); --surface-sunk: #151311;
  --text-strong: var(--bone); --text-body: #D6CFC3; --text-muted: var(--ash);
  --line: rgba(239, 232, 220, .12); --line-strong: rgba(239, 232, 220, .3);
  --accent: var(--copper); --spark: var(--vermilion); --spark-text: #F26A43;
  --solid-bg: var(--bone); --solid-fg: var(--noir);
  --lane-jomi: var(--copper); --lane-taka: #F26A43; --lane-career: var(--slate);
  --focus: var(--copper-light); --error: #F26A43; --ok: #7FC8A0;
  --nav-bg: rgba(14, 13, 12, .78); --shadow: 0 16px 40px rgba(0, 0, 0, .5); --g-contact: rgba(0, 0, 0, .95); --g-contact-2: rgba(0, 0, 0, .55); --g-cast: rgba(0, 0, 0, .6); --g-floor: rgba(255, 255, 255, .08);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --section: 96px; } }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--surface-page); color: var(--text-body); font-family: var(--font-bn); font-size: var(--fs-18); line-height: 1.7; font-weight: 400; letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: 0; }
::selection { background: var(--vermilion); color: var(--noir); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-4); }
.on-noir { background: var(--noir); color: var(--text-body); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sunk { background: var(--surface-sunk); }
.below { content-visibility: auto; contain-intrinsic-size: auto 720px; }
.stack > * + * { margin-top: var(--s-16); }
.skip { position: absolute; left: var(--s-16); top: -64px; z-index: 100; padding: var(--s-8) var(--s-16); background: var(--solid-bg); color: var(--solid-fg); border-radius: var(--r-8); font-size: var(--fs-16); font-weight: 600; transition: top var(--t-fast) var(--ease); }
.skip:focus { top: var(--s-16); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- 3. text styles (named; one place) ---------- */
.h1, .h2, .h3, .h4 { color: var(--text-strong); font-weight: 600; text-wrap: balance; }
.h1 { font-size: var(--fs-36); line-height: 1.28; }
.h2 { font-size: var(--fs-30); line-height: 1.3; }
.h3 { font-size: var(--fs-24); line-height: 1.4; }
.h4 { font-size: var(--fs-20); line-height: 1.5; }
.title { font-size: var(--fs-18); line-height: 1.5; font-weight: 600; color: var(--text-strong); }
.body { font-size: var(--fs-18); line-height: 1.7; text-wrap: pretty; }
.body-sm { font-size: var(--fs-16); line-height: 1.7; text-wrap: pretty; }
.caption { font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
.caption-sm { font-size: var(--fs-12); line-height: 1.6; color: var(--text-muted); }
.lead { font-size: var(--fs-18); line-height: 1.7; color: var(--text-body); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--text-muted); }
.display-en { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; color: var(--text-strong); }
.display-en em { font-style: normal; color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }
.kicker { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--text-muted); }
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--lane, var(--accent)); border-radius: var(--r-full); }
.dari { color: var(--spark); }
@media (min-width: 600px) { .h1 { font-size: var(--fs-48); line-height: 1.27; } .h2 { font-size: var(--fs-36); } }
@media (min-width: 1024px) { .h1 { font-size: var(--fs-60); } .h2 { font-size: var(--fs-48); line-height: 1.25; } .h3 { font-size: var(--fs-30); line-height: 1.34; } .lead { font-size: var(--fs-20); } }
@media (min-width: 1280px) { .h1--hero { font-size: var(--fs-72); line-height: 1.25; } }
.section-head { max-width: 680px; margin-bottom: var(--s-32); }
.section-head .h2 { margin-top: var(--s-8); }
.section-head .lead { margin-top: var(--s-12); }
@media (min-width: 1024px) { .section-head { margin-bottom: var(--s-48); } }

/* lanes: set --lane on any block */
.lane-jomi { --lane: var(--lane-jomi); } .lane-taka { --lane: var(--lane-taka); } .lane-career { --lane: var(--lane-career); }

/* ---------- 4. buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8); min-height: 48px; padding: var(--s-8) var(--s-24); border: 1px solid transparent; border-radius: var(--r-full); font-size: var(--fs-16); line-height: 1.5; font-weight: 600; text-align: center; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--action-bg); color: var(--action-fg); }
.btn--primary:hover { background: var(--action-bg-hover); }
.btn--solid { background: var(--solid-bg); color: var(--solid-fg); }
.btn--solid:hover { opacity: .86; }
.btn--ghost { border-color: var(--line-strong); color: var(--text-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--text-strong); }
.btn--sm { min-height: 40px; padding: var(--s-4) var(--s-16); font-size: var(--fs-14); }
.btn--lg { min-height: 56px; padding: var(--s-12) var(--s-32); font-size: var(--fs-18); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn[aria-busy="true"] { pointer-events: none; position: relative; color: transparent; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; inset: 0; margin: auto; width: 96px; height: 8px; border-radius: var(--r-full); background: currentColor; background: color-mix(in srgb, var(--action-fg) 40%, transparent); animation: pulse 1s var(--ease) infinite alternate; }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
.btn .arr { transition: transform var(--t-med) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-strong); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color var(--t-fast) var(--ease); }
.link:hover { text-decoration-color: var(--accent); }

/* ---------- 5. nav ---------- */
.nav { position: fixed; inset: var(--s-8) 0 auto 0; z-index: 50; pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: var(--s-16); width: min(var(--max), 100% - 2 * var(--s-8)); margin-inline: auto; min-height: 56px; padding: var(--s-4) var(--s-8) var(--s-4) var(--s-16); border: 1px solid var(--line); border-radius: var(--r-full); background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-strong); }
.nav__logo svg { width: 44px; height: 30px; }
.nav__links { display: none; margin-inline: auto; gap: var(--s-4); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-12); border-radius: var(--r-full); font-size: var(--fs-16); font-weight: 600; color: var(--text-body); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav__links a:hover { color: var(--text-strong); background: var(--line); }
.nav__links a[aria-current="page"] { color: var(--text-strong); }
.nav__tools { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--text-strong); cursor: pointer; transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.icon-btn:hover { background: var(--line); }
.icon-btn:active { transform: scale(.96); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; } }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: var(--r-full); background: currentColor; transition: transform var(--t-med) var(--ease); }
.menu-btn span + span { margin-top: 6px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__cta { display: none; }
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: var(--s-8); padding: var(--s-96) var(--s-24) var(--s-48); background: var(--surface-page); visibility: hidden; opacity: 0; transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
.menu-open .menu { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: var(--fs-24); font-weight: 600; color: var(--text-strong); opacity: 0; transform: translateY(24px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.menu a.btn { justify-content: center; margin-top: var(--s-24); border-bottom: 0; font-size: var(--fs-18); color: var(--action-fg); }
.menu-open .menu a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms); }
.menu-open { overflow: hidden; }
@media (min-width: 1024px) {
  .nav__links { display: flex; } .nav__tools { margin-left: 0; } .menu-btn, .menu { display: none; } .nav__cta { display: inline-flex; }
}

/* ---------- 6. hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; overflow: clip; }
.hero__media { position: relative; flex: 1 1 40svh; min-height: 220px; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; object-position: 62% 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 13, 12, .5) 0, rgba(14, 13, 12, 0) 30%, rgba(14, 13, 12, 0) 55%, var(--noir) 100%); }
.hero__body { position: relative; z-index: 1; margin-top: calc(-1 * var(--s-48)); padding-bottom: var(--s-32); }
.hero__copy { max-width: 680px; }
.hero__copy .lead { margin-top: var(--s-12); font-size: var(--fs-18); }
.hero__proof { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-16); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--text-strong); }
.hero__proof::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.doors { display: grid; gap: var(--s-8); margin-top: var(--s-24); }
@media (min-width: 768px) {
  .hero__media img { object-position: 50% 30%; }
  .doors { grid-template-columns: repeat(3, 1fr); gap: var(--s-12); }
}
@media (min-width: 1024px) {
  .hero { justify-content: flex-end; }
  .hero__media { position: absolute; inset: 0; z-index: -1; }
  .hero__media img { height: 112%; object-position: 62% 22%; }
  .hero__media::after { background: linear-gradient(to right, var(--noir) 0, rgba(14, 13, 12, .82) 30%, rgba(14, 13, 12, 0) 62%), linear-gradient(to top, var(--noir) 0, rgba(14, 13, 12, 0) 34%); }
  .hero__body { margin-top: 0; padding-top: 120px; padding-bottom: var(--s-40); }
  .hero__copy { max-width: 560px; }
  .hero__copy .lead { font-size: var(--fs-20); }
  .doors { margin-top: var(--s-48); gap: var(--s-16); }
}

/* ---------- 7. door (three doors card) ---------- */
.door { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s-12); min-height: 64px; padding: var(--s-12) var(--s-16); border: 1px solid var(--line); border-radius: var(--r-16); background: color-mix(in srgb, var(--surface-card) 88%, transparent); color: var(--text-strong); transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease); }
.door__lane { grid-column: 1; display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--lane); }
.door__lane::before { content: ""; width: 16px; height: 2px; border-radius: var(--r-full); background: var(--lane); }
.door__q { grid-column: 1; font-size: var(--fs-18); line-height: 1.5; font-weight: 600; }
.door__go { display: none; grid-column: 1; margin-top: var(--s-8); font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
.door__arr { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.door__arr svg { width: 18px; height: 18px; }
.door:hover { border-color: var(--lane); transform: translateY(-2px); }
.door:hover .door__arr { background: var(--lane); border-color: var(--lane); color: var(--noir); transform: translateX(2px); }
.door:active { transform: scale(.98); }
@media (min-width: 768px) {
  .door { align-items: start; padding: var(--s-16) var(--s-16) var(--s-16) var(--s-24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .door__go { display: block; } .door__arr { grid-row: 1 / span 3; align-self: center; }
}
@media (min-width: 1024px) { .door { padding: var(--s-24); } .door__q { font-size: var(--fs-20); } }
@media (max-width: 379px) { .hero__media { min-height: 180px; } .hero__body { padding-bottom: var(--s-16); } .hero__copy .lead { font-size: var(--fs-16); } .door { min-height: 56px; padding-block: var(--s-8); } .door__q { font-size: var(--fs-16); } .doors { margin-top: var(--s-16); } }

/* ---------- 8. video card ---------- */
.grid-3 { display: grid; gap: var(--s-24); }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: block; color: var(--text-strong); }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-16); background: var(--surface-card); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-move) var(--ease); }
.vcard__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lane, var(--accent)); }
.vcard__play { position: absolute; left: var(--s-12); bottom: var(--s-16); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(14, 13, 12, .78); color: var(--bone); transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.vcard__play svg { width: 16px; height: 16px; margin-left: 2px; }
.vcard__time { position: absolute; right: var(--s-12); bottom: var(--s-16); padding: 0 var(--s-8); border-radius: var(--r-4); background: rgba(14, 13, 12, .78); color: var(--bone); font-size: var(--fs-12); line-height: 1.7; font-weight: 600; }
.vcard__lane { display: inline-flex; align-items: center; gap: var(--s-8); margin-top: var(--s-12); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--lane); }
.vcard__title { margin-top: var(--s-4); font-size: var(--fs-18); line-height: 1.5; font-weight: 600; text-wrap: balance; }
.vcard:hover .vcard__thumb img { transform: scale(1.04); }
.vcard:hover .vcard__play { background: var(--vermilion); color: var(--noir); transform: scale(1.06); }
.vcard:active .vcard__thumb { transform: scale(.99); }
.skeleton { background: var(--surface-card); border-radius: var(--r-12); animation: pulse 1s var(--ease) infinite alternate; }

/* ---------- 9. proof strip ---------- */
.proof { display: grid; gap: var(--s-32); }
.proof__big { color: var(--text-strong); font-size: var(--fs-36); line-height: 1.3; font-weight: 600; text-wrap: balance; }
.proof__big b { color: var(--accent); font-weight: 600; }
.proof__places { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-12); border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-14); line-height: 1.6; color: var(--text-body); }
.promises { display: grid; gap: var(--s-16); }
.promise { display: grid; grid-template-columns: auto 1fr; gap: var(--s-12); padding: var(--s-24); border: 1px solid var(--line); border-radius: var(--r-16); background: var(--surface-card); }
.promise svg { width: 24px; height: 24px; margin-top: var(--s-2); color: var(--accent); }
.promise p { font-size: var(--fs-16); line-height: 1.7; }
.quote { padding: var(--s-24); border: 1px solid var(--line); border-radius: var(--r-16); background: var(--surface-card); }
.quote p { font-size: var(--fs-18); line-height: 1.7; color: var(--text-strong); }
.quote footer { margin-top: var(--s-12); font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(3, 1fr); } .proof__big { font-size: var(--fs-48); line-height: 1.27; } }
@media (min-width: 1024px) { .proof { grid-template-columns: 5fr 7fr; column-gap: var(--s-64); align-items: end; } .promises { grid-column: 1 / -1; } }

/* ---------- 10. shelf ---------- */
.shelf { display: grid; gap: var(--s-40); }
.shelf__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-12); align-items: end; padding: 0 var(--s-8) var(--s-12); perspective: 1200px; }
.shelf__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; border-radius: var(--r-4); background: var(--surface-sunk); border: 1px solid var(--line); }
.book { position: relative; z-index: 1; display: block; transform-style: preserve-3d; transform: rotateY(-14deg); transform-origin: left center; transition: transform var(--t-move) var(--ease); }
.book img { width: 100%; aspect-ratio: 600 / 849; object-fit: cover; border-radius: var(--r-4); box-shadow: 0 3px 4px -1px var(--g-contact-2), 14px 18px 28px -14px var(--g-cast); background: var(--charcoal); }
/* grounded shadow (owner 13-11, landing-design kha-8-ka): nothing floats. Contact shadow where the book meets the shelf + a lighter cast shadow to the right (light from top-left); dark theme gets a faint lit floor. */
.shelf__row::before { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: -3px; height: 20px; filter: blur(3px);
  background: radial-gradient(closest-side, var(--g-contact), var(--g-contact-2) 55%, var(--g-floor) 78%, transparent) 4% 50% / 34% 100% no-repeat, radial-gradient(closest-side, var(--g-contact), var(--g-contact-2) 55%, var(--g-floor) 78%, transparent) 54% 50% / 34% 100% no-repeat, radial-gradient(closest-side, var(--g-contact), var(--g-contact-2) 55%, var(--g-floor) 78%, transparent) 104% 50% / 34% 100% no-repeat; }
.book::before { content: ""; position: absolute; top: 1%; bottom: 1%; left: 0; width: 10px; transform: rotateY(90deg); transform-origin: left center; background: var(--smoke); }
.book:hover, .book:focus-visible { transform: rotateY(0) translateY(-8px); }
.book:active { transform: rotateY(0) scale(.98); }
.book__tag { position: absolute; bottom: var(--s-8); right: var(--s-8); z-index: 2; padding: 0 var(--s-8); border-radius: var(--r-full); background: var(--bone); color: var(--noir); font-size: var(--fs-12); line-height: 1.7; font-weight: 600; }
.shelf__list { display: grid; gap: var(--s-12); }
.item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4) var(--s-16); padding: var(--s-16) var(--s-24); border: 1px solid var(--line); border-radius: var(--r-16); background: var(--surface-card); color: var(--text-strong); transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.item:hover { border-color: var(--lane, var(--accent)); transform: translateY(-2px); }
.item:active { transform: scale(.99); }
.item__kind { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--lane, var(--accent)); }
.item__name { font-size: var(--fs-18); line-height: 1.5; font-weight: 600; }
.item__go { font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.item__note { grid-column: 1 / -1; font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
.item__note b { font-weight: 600; color: var(--text-strong); } .item__note s { opacity: .8; }
.badge { display: inline-flex; align-items: center; padding: 0 var(--s-8); border-radius: var(--r-full); border: 1px solid var(--line-strong); font-size: var(--fs-12); line-height: 1.7; font-weight: 600; color: var(--text-body); }
.badge--free { border-color: transparent; background: var(--solid-bg); color: var(--solid-fg); }
@media (min-width: 768px) { .shelf__row { gap: var(--s-32); padding-inline: var(--s-32); } }
@media (min-width: 1024px) { .shelf { grid-template-columns: 5fr 6fr; column-gap: var(--s-64); align-items: center; } .shelf__row { gap: var(--s-24); padding-inline: var(--s-16); } }

/* ---------- 11. story timeline ---------- */
.story { display: grid; gap: var(--s-40); }
.story__photo { position: relative; max-width: 360px; aspect-ratio: 9 / 13; overflow: hidden; border-radius: var(--r-24); background: var(--charcoal); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.timeline { position: relative; display: grid; gap: var(--s-24); padding-left: var(--s-32); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-strong); }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: calc(-1 * var(--s-32) + 2px); top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface-page); border: 2px solid var(--accent); }
.tl:last-child::before { background: var(--spark); border-color: var(--spark); }
.tl__when { font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--accent); }
.tl__what { margin-top: var(--s-2); font-size: var(--fs-20); line-height: 1.5; font-weight: 600; color: var(--text-strong); }
.tl__more { margin-top: var(--s-4); font-size: var(--fs-16); line-height: 1.7; max-width: 34em; }
@media (min-width: 768px) { .story { grid-template-columns: 4fr 7fr; column-gap: var(--s-48); align-items: start; } .story__photo { position: sticky; top: 96px; } }
@media (min-width: 1024px) { .story { column-gap: var(--s-80); } }

/* ---------- 12. join (newsletter / WhatsApp) + forms ---------- */
.join { display: grid; gap: var(--s-16); }
.join__card { display: grid; gap: var(--s-12); align-content: start; padding: var(--s-24); border: 1px solid var(--line); border-radius: var(--r-24); background: var(--surface-card); }
.join__card .btn { justify-self: start; margin-top: var(--s-8); }
@media (min-width: 768px) { .join { grid-template-columns: 1fr 1fr; gap: var(--s-24); } .join__card { padding: var(--s-32); } }
.form { display: grid; gap: var(--s-16); max-width: 480px; }
.field { display: grid; gap: var(--s-4); }
.field label { font-size: var(--fs-16); line-height: 1.7; font-weight: 600; color: var(--text-strong); }
.field .opt { font-weight: 400; color: var(--text-muted); }
.input { width: 100%; min-height: 48px; padding: var(--s-8) var(--s-16); border: 1px solid var(--line-strong); border-radius: var(--r-12); background: var(--surface-page); color: var(--text-strong); font-size: var(--fs-16); line-height: 1.7; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.input::placeholder { color: var(--text-muted); }
.input:hover { border-color: var(--text-muted); }
.input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); border-radius: var(--r-12); }
.input[disabled] { opacity: .5; cursor: not-allowed; }
.field__help { font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
.field__err { display: none; align-items: center; gap: var(--s-8); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--error); }
.field__err svg { width: 16px; height: 16px; flex: none; }
.field.is-error .input { border-color: var(--error); }
.field.is-error .field__err { display: flex; }
.field.is-error .field__help { display: none; }
.form__ok { display: none; grid-template-columns: auto 1fr; gap: var(--s-12); padding: var(--s-16); border: 1px solid var(--ok); border-radius: var(--r-12); font-size: var(--fs-16); line-height: 1.7; color: var(--text-strong); }
.form__ok svg { width: 24px; height: 24px; color: var(--ok); }
.form.is-done .form__ok { display: grid; }

/* ---------- 13. B2B band (English door) ---------- */
.band { display: grid; gap: var(--s-24); padding: var(--s-32) var(--s-24); border-radius: var(--r-24); }
.band .display-en { font-size: var(--fs-36); }
.band p { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: var(--fs-16); line-height: 1.6; max-width: 34em; }
@media (min-width: 768px) { .band { grid-template-columns: 1fr auto; align-items: end; padding: var(--s-48); } .band .display-en { font-size: var(--fs-48); } }
@media (min-width: 1024px) { .band { padding: var(--s-64); } .band .display-en { font-size: var(--fs-60); } }

/* ---------- 14. footer ---------- */
.footer { padding-block: var(--s-48) var(--s-32); border-top: 1px solid var(--line); }
.footer__top { display: grid; gap: var(--s-32); }
.footer__brand img { width: 220px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-24); }
.footer__nav h3 { font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--text-muted); }
.footer__nav a { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-16); color: var(--text-body); transition: color var(--t-fast) var(--ease); }
.footer__nav a:hover { color: var(--text-strong); }
.footer__base { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); margin-top: var(--s-32); padding-top: var(--s-24); border-top: 1px solid var(--line); font-size: var(--fs-14); line-height: 1.6; color: var(--text-muted); }
.footer__base a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__nav { grid-template-columns: repeat(3, 1fr); } }
/* theme-swapped images */
.light-only { display: block; } .dark-only { display: none; }
:root[data-theme="dark"] .light-only, .on-noir .light-only { display: none; } :root[data-theme="dark"] .dark-only, .on-noir .dark-only { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .light-only { display: none; } :root:not([data-theme="light"]) .dark-only { display: block; } }

/* ---------- inner pages (taka, chakri, work, about, 404) ---------- */
.phero { background: var(--noir); padding: 128px 0 var(--s-48); }
.phero__copy { max-width: 680px; }
.phero .kicker { color: var(--lane, var(--accent)); }
.phero .h1 { margin-top: var(--s-8); }
.phero .lead { margin-top: var(--s-16); }
.phero .hero__proof { margin-top: var(--s-24); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-12); margin-top: var(--s-24); }
.cards { display: grid; gap: var(--s-16); }
.card { display: grid; gap: var(--s-8); align-content: start; padding: var(--s-24); border: 1px solid var(--line); border-radius: var(--r-16); background: var(--surface-card); color: var(--text-body); }
.card .title { color: var(--text-strong); }
.card p { font-size: var(--fs-16); line-height: 1.7; }
.card__kind { font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--lane, var(--accent)); }
.card__go { margin-top: var(--s-8); font-size: var(--fs-14); line-height: 1.6; font-weight: 600; color: var(--text-strong); }
a.card { transition: border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease); }
a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
a.card:active { transform: scale(.98); }
.steps { display: grid; gap: var(--s-24); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding-left: var(--s-64); counter-increment: step; }
.steps > li::before { content: counter(step, bengali); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: var(--fs-18); font-weight: 600; color: var(--accent); }
.en .steps > li::before { content: counter(step); }
.steps p { margin-top: var(--s-4); font-size: var(--fs-16); line-height: 1.7; }
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 56px; padding: var(--s-12) 0; font-weight: 600; color: var(--text-strong); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform var(--t-med) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 var(--s-16); font-size: var(--fs-16); line-height: 1.7; max-width: 680px; }
.prose { max-width: 680px; }
.prose p + p { margin-top: var(--s-16); }
.note { margin-top: var(--s-24); font-size: var(--fs-14); line-height: 1.7; color: var(--text-muted); max-width: 680px; }
.split { display: grid; gap: var(--s-32); }
.doors--page { margin-top: var(--s-32); }
.en { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.en .h1, .en .h2, .en .h3, .en .h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; }
.en .lead, .en .body, .en p { line-height: 1.6; }
.e404 { min-height: 100svh; display: grid; align-items: center; background: var(--noir); padding: 120px 0 var(--s-64); }
@media (min-width: 768px) {
  .phero { padding: 160px 0 var(--s-64); }
  .cards { grid-template-columns: repeat(2, 1fr); gap: var(--s-24); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-48); align-items: start; }
}
@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .steps--row { grid-template-columns: repeat(3, 1fr); gap: var(--s-32); }
}

/* ---------- 15. motion: CSS scroll-driven only (no JS scroll listeners) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: translateY(-9%); } }
@keyframes sink { to { opacity: .2; transform: translateY(48px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .doors > * { animation: hero-in var(--t-reveal) var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
  @supports (animation-timeline: view()) {
    [data-rise] { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .hero__media img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @media (min-width: 1024px) { .hero__copy { animation: sink linear both; animation-timeline: scroll(root); animation-range: 30svh 100svh; } }
  }
}
/* Save-Data (class set by rs3.js) and reduced motion: everything still */
.save-data *, .save-data *::before, .save-data *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .book { transform: none; } .menu a { transform: none; }
}
@media print { .nav, .menu { display: none; } }

/* ---------- 16. system page helpers (v3/system.html only) ---------- */
.sys-grid { display: grid; gap: var(--s-16); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { border: 1px solid var(--line); border-radius: var(--r-12); overflow: hidden; background: var(--surface-card); }
.swatch i { display: block; height: 64px; }
.swatch p { padding: var(--s-8) var(--s-12); font-size: var(--fs-14); line-height: 1.6; }
.swatch code, .sys code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--fs-12); color: var(--text-muted); }
.sys-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-16); }
.sys-block { padding-block: var(--s-40); border-top: 1px solid var(--line); }
.sys-block > .h3 { margin-bottom: var(--s-24); }
.sys-panel { padding: var(--s-24); border-radius: var(--r-16); border: 1px solid var(--line); }
.sys-logo { display: grid; gap: var(--s-16); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sys-logo figure { display: grid; gap: var(--s-8); padding: var(--s-24); border-radius: var(--r-16); border: 1px solid var(--line); }
.sys-logo img { height: 44px; width: auto; }
.sys-logo .paper { background: var(--paper); color: var(--stone); } .sys-logo .noir { background: var(--noir); color: var(--ash); }
.sys-space i { display: block; height: 16px; background: var(--accent); border-radius: var(--r-4); }
.sys-table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); line-height: 1.6; }
.sys-table th, .sys-table td { padding: var(--s-8) var(--s-12) var(--s-8) 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.sys-scroll { overflow-x: auto; }
