/* ==========================================================================================================
   NextGen Programmer — "Bright Code" design system
   Forward chevrons (the cover) + a programmer's editor. Warm paper pages, dark IDE bands, one orange that marks
   the next step. Tokens first; every colour below the token blocks comes from a variable.
   ========================================================================================================== */

/* ── Fonts (self-hosted, SIL OFL; unicode-range keeps Bangla on Hind/Baloo and Latin on Jakarta/Outfit) ── */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2212, U+2713-2717; }
@font-face { font-family: "Baloo Da 2"; src: url("/fonts/baloo-da-2-bengali-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; src: url("/fonts/hind-siliguri-bengali-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 104%;
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; src: url("/fonts/hind-siliguri-bengali-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; size-adjust: 104%;
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Hind Siliguri"; src: url("/fonts/hind-siliguri-bengali-700-normal.woff2") format("woff2"); font-weight: 700 800; font-display: swap; size-adjust: 104%;
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Great Vibes"; src: url("/fonts/great-vibes-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ── Tokens: light ── */
:root {
    --orange: #FF7600;
    --orange-2: #FF9A3C;
    --orange-deep: #C2410C;
    --ember: #ED1C24;
    --ember-deep: #B4161C;
    --peach: #FFD6B2;
    --peach-soft: #FFF1E6;
    --ink: #16120E;
    --ink-2: #221A14;
    --ink-3: #2E241C;
    --graphite: #3E3E3E;
    --mint: #15803D;
    --mint-soft: #E2F4E8;
    --mint-bright: #7ED9A6;

    --bg: #FBF8F4;
    --bg-2: #F4EEE7;
    --surface: #FFFCF8;
    --surface-2: #F7F1EA;
    --line: #E8DFD4;
    --line-2: #D9CDBF;
    --fg: #1F1A16;
    --fg-2: #3E3631;
    --muted: #6B6058;
    --accent: var(--orange);
    --accent-text: var(--orange-deep);
    --on-accent: var(--ink);
    --focus: #FF7600;

    --font-head: "Outfit", "Baloo Da 2", system-ui, "Segoe UI", sans-serif;
    --font-body: "Plus Jakarta Sans", "Hind Siliguri", system-ui, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "Hind Siliguri", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --font-script: "Great Vibes", "Segoe Script", cursive;

    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 10px;
    --r-pill: 999px;
    --e1: 0 1px 2px rgba(22, 18, 14, .06), 0 1px 1px rgba(22, 18, 14, .04);
    --e2: 0 8px 24px -12px rgba(22, 18, 14, .22), 0 2px 6px rgba(22, 18, 14, .06);
    --e3: 0 24px 56px -24px rgba(22, 18, 14, .38), 0 6px 14px rgba(22, 18, 14, .08);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: 240ms;
    --header-h: 72px;
    --container: 1200px;
    color-scheme: light;
}

/* ── Tokens: dark ("night IDE") — its own surfaces, not an inverted light mode ── */
[data-theme="dark"] {
    --bg: #110E0B;
    --bg-2: #0B0907;
    --surface: #1A1511;
    --surface-2: #211A15;
    --line: #2F2720;
    --line-2: #40352C;
    --fg: #F3ECE4;
    --fg-2: #D8CEC3;
    --muted: #B3A79B;
    --accent: #FF8A2A;
    --accent-text: #FF9A4D;
    --on-accent: #16120E;
    --peach-soft: #2A1D13;
    --mint: #6EE7A0;
    --mint-soft: #13281B;
    --focus: #FF9A4D;
    --e1: 0 1px 2px rgba(0, 0, 0, .4);
    --e2: 0 10px 28px -14px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
    --e3: 0 26px 60px -24px rgba(0, 0, 0, .8), 0 6px 14px rgba(0, 0, 0, .4);
    color-scheme: dark;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
    text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="bn"] body { line-height: 1.75; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--fg); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; overflow-wrap: break-word; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 1.25rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
p { margin: 0 0 1em; }
p, li { overflow-wrap: break-word; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { max-width: 100%; border-collapse: collapse; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden, .sr-only { 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-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.no-scroll { overflow: hidden; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; overflow-wrap: break-word; }
.container--narrow { max-width: 820px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--ink { background: var(--ink); color: #EDE5DC; }
.section--ink h2, .section--ink h3, .section--ink h1 { color: #FBF3EA; }
.section--tint { background: var(--peach-soft); }
.section--line { border-top: 1px solid var(--line); }
[data-theme="dark"] .section--ink { background: #0A0806; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: 48px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.min-w-0 { min-width: 0; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--fg-2); max-width: 62ch; }

/* ── Section heads: "// eyebrow", title, chevron underline, optional lead + link ── */
.eyebrow { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--accent-text); margin: 0 0 12px; display: inline-flex; gap: .5em; align-items: center; }
.eyebrow::before { content: "//"; color: var(--muted); }
.section--ink .eyebrow { color: var(--orange-2); }
.section--ink .eyebrow::before { color: #8C7F73; }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.sec-head__text { max-width: 720px; min-width: 0; }
.sec-title { margin: 0; }
.sec-lead { margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section--ink .sec-lead { color: #B9AC9F; }
.chev-line { display: block; width: 132px; height: 14px; margin-top: 14px; color: var(--accent); }
.chev-line path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chev-line path:nth-child(2) { stroke: var(--ember); }
.chev-line path:nth-child(3) { stroke: var(--peach); }
html.motion-ok .reveal .chev-line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease) .15s; }
html.motion-ok .reveal.in .chev-line path { stroke-dashoffset: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent-text); white-space: nowrap; }
.link-arrow .ic { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--orange-2); }

/* ── Icons (sprite) ── */
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }
.ic--lg { width: 1.6em; height: 1.6em; }

/* ── Buttons (§9.238: states via custom properties) ── */
.btn {
    --b-bg: var(--surface); --b-fg: var(--fg); --b-bd: var(--line-2); --b-bg-h: var(--surface-2);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
    border: 1.5px solid var(--b-bd); border-radius: var(--r-pill); background: var(--b-bg); color: var(--b-fg);
    font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--b-bg-h); color: var(--b-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--primary { --b-bg: var(--orange); --b-fg: var(--ink); --b-bd: var(--orange); --b-bg-h: #FF8A26; box-shadow: 0 10px 22px -12px rgba(255, 118, 0, .8); }
.btn--ink { --b-bg: var(--ink); --b-fg: #FBF3EA; --b-bd: var(--ink); --b-bg-h: var(--ink-3); }
[data-theme="dark"] .btn--ink { --b-bg: #F3ECE4; --b-fg: var(--ink); --b-bd: #F3ECE4; --b-bg-h: #FFFFFF; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-2); --b-bg-h: var(--surface); }
.section--ink .btn--ghost, .on-dark .btn--ghost { --b-fg: #F3ECE4; --b-bd: rgba(255, 255, 255, .28); --b-bg-h: rgba(255, 255, 255, .08); }
.btn--deep { --b-bg: var(--orange-deep); --b-fg: #fff; --b-bd: var(--orange-deep); --b-bg-h: #A8380A; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .ic { transition: transform var(--dur) var(--ease); }
.btn:hover .ic--go { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }

/* ── Chips, badges, tags ── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-2); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.chip--orange { background: var(--peach-soft); border-color: transparent; color: var(--accent-text); }
.chip--ink { background: var(--ink); color: #FBF3EA; border-color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; }
.badge--sample { background: #FFF4CC; color: #6B4E00; border: 1px dashed #C9A200; }
[data-theme="dark"] .badge--sample { background: #2B2408; color: #F2D36B; border-color: #8C7200; }
.badge--hot { background: var(--ember-deep); color: #fff; }
.badge--ok { background: var(--mint-soft); color: var(--mint); }
.badge--offer { background: var(--orange); color: var(--ink); }
.badge--muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tag { font-family: var(--font-mono); font-size: .76rem; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--line); }
.section--ink .tag, .on-dark .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #E9DCCF; }

/* ── Cards ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1); }
.card--pad { padding: 28px; }
.card--lift { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--e3); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.card--ink { background: var(--ink-2); border-color: var(--ink-3); color: #EDE5DC; }
.card--ink h3, .card--ink h2 { color: #FBF3EA; }
.card--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.card--orange h2, .card--orange h3 { color: var(--ink); }

/* ── The N tile (logo shape): rounded square with the diagonal cut, for icon tiles and avatars ── */
.ntile { --t: 56px; position: relative; display: grid; place-items: center; width: var(--t); height: var(--t); border-radius: calc(var(--t) * .28); background: var(--peach-soft); color: var(--accent-text); flex: none; overflow: hidden; }
.ntile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(127deg, transparent 47%, var(--bg) 47%, var(--bg) 53%, transparent 53%); opacity: .55; pointer-events: none; }
.ntile .ic { width: 46%; height: 46%; position: relative; z-index: 1; }
.ntile--orange { background: var(--orange); color: var(--ink); }
.ntile--ink { background: var(--ink); color: var(--orange); }
.ntile--lg { --t: 96px; }
.ntile img { width: 100%; height: 100%; object-fit: cover; }
.ntile__initials { font: 700 calc(var(--t) * .34)/1 var(--font-head); position: relative; z-index: 1; letter-spacing: .02em; }

/* ── Forms ── */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field__label { font-weight: 600; font-size: .95rem; color: var(--fg); }
.field .req { color: var(--ember); }
.input, .select, .textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--fg);
    font: 400 1rem/1.4 var(--font-body); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .input-validation-error { border-color: var(--ember); }
.hint { font-size: .85rem; color: var(--muted); }
.err, .field-validation-error { font-size: .88rem; color: var(--ember-deep); font-weight: 600; }
[data-theme="dark"] .err, [data-theme="dark"] .field-validation-error { color: #FF8C8C; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.choice input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: var(--peach-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 4px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--e2); }
.note { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); color: var(--fg-2); }
.note--warn { background: #FFF6E5; border-color: #F2C77B; color: #6B4300; }
.note--ok { background: var(--mint-soft); border-color: transparent; color: var(--mint); }
.note--err { background: #FDECEC; border-color: #F5B5B5; color: #8F1D1D; }
[data-theme="dark"] .note--warn { background: #2B2008; border-color: #6B4E00; color: #F2D36B; }
[data-theme="dark"] .note--err { background: #2A1010; border-color: #6B2020; color: #FFB4B4; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; color: var(--ember-deep); }

/* ── Prose (markup bodies) ── */
.prose { max-width: 70ch; font-size: 1.05rem; color: var(--fg-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--fg); }
.prose hr { margin: 2em 0; }
.prose a { font-weight: 600; }

/* ── Lists with marks ── */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23C2410C' d='M13.5 4.2 6.3 11.4 2.5 7.6l1.1-1.1 2.7 2.7 6.1-6.1z'/%3E%3C/svg%3E") center/14px no-repeat; }
.crosses li::before { background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B6058' d='m4.2 3.1 3.8 3.8 3.8-3.8 1.1 1.1L9.1 8l3.8 3.8-1.1 1.1L8 9.1l-3.8 3.8-1.1-1.1L6.9 8 3.1 4.2z'/%3E%3C/svg%3E") center/12px no-repeat; }
.arrows { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.arrows li { padding-left: 26px; position: relative; }
.arrows li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; background: var(--orange); clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); }

/* ── Accordion (details) ── */
.acc { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc > summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 22px; font-weight: 600; font-family: var(--font-head); font-size: 1.08rem; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23C2410C' d='M7.25 3h1.5v4.25H13v1.5H8.75V13h-1.5V8.75H3v-1.5h4.25z'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform var(--dur) var(--ease); }
.acc[open] > summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 22px 20px; color: var(--fg-2); }
.acc__num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-right: 10px; }

/* ── Meter (seats left) ── */
.meter { --fill: 50%; position: relative; height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--ember)); }
html.motion-ok .reveal .meter::after { width: 0; transition: width 1s var(--ease) .2s; }
html.motion-ok .reveal.in .meter::after { width: var(--fill); }
.on-dark .meter, .section--ink .meter { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .1); }

/* ==========================================================================================================
   Chrome: notice bar, header, mega-menu, drawer, footer, phone bar
   ========================================================================================================== */
.notice-bar { background: var(--ink); color: #F3ECE4; font-size: .9rem; }
.notice-bar__in { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 40px; padding: 6px 0; text-align: center; }
.notice-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 118, 0, .25); flex: none; }
html.motion-ok .notice-bar .dot { animation: pulse 2.4s var(--ease) infinite; }
.notice-bar a { color: var(--orange-2); font-weight: 600; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 118, 0, .5); } 50% { box-shadow: 0 0 0 7px rgba(255, 118, 0, 0); } }

.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
html.scrolled .site-header { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22, 18, 14, .5); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height var(--dur) var(--ease); }
html.scrolled .site-header__in { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); min-width: 0; flex: none; }
.brand__mark { width: 34px; height: 36px; flex: none; color: var(--orange); fill: var(--orange); }
.brand__words { display: grid; line-height: 1; min-width: 0; }
.brand__name { font: 800 1.18rem/1 var(--font-head); letter-spacing: .08em; color: var(--orange); white-space: nowrap; }
.brand__sub { font: 600 .62rem/1 var(--font-head); letter-spacing: .42em; color: var(--fg); margin-top: 5px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--fg-2); font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--fg); background: var(--surface-2); }
.nav__link[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav__link .ic--chev { width: .8em; height: .8em; transition: transform var(--dur) var(--ease); }
.nav__link[aria-expanded="true"] .ic--chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); }
.lang-switch a, .lang-switch span { padding: 9px 12px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); line-height: 1; }
.lang-switch [aria-current="true"] { background: var(--ink); color: #FBF3EA; }
[data-theme="dark"] .lang-switch [aria-current="true"] { background: var(--orange); color: var(--ink); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.burger { display: none; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-38%); width: min(980px, calc(100vw - 48px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e3); padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; z-index: 70; }
.mega__col h3 { display: flex; gap: 10px; align-items: center; font-size: 1rem; margin-bottom: 10px; }
.mega__col h3 a { color: var(--fg); text-decoration: none; }
.mega__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mega__col li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--fg-2); text-decoration: none; font-size: .93rem; }
.mega__col li a:hover { background: var(--peach-soft); color: var(--fg); }
.mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 9, 7, .55); opacity: 0; transition: opacity var(--dur) var(--ease); border: 0; width: 100%; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg); padding: 18px 18px 110px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer__panel a.drawer__link, .drawer__panel summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 12px; border-radius: var(--r-sm); color: var(--fg); text-decoration: none; font-weight: 600; cursor: pointer; }
.drawer__panel a.drawer__link:hover, .drawer__panel summary:hover { background: var(--surface-2); }
.drawer__panel details ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; border-left: 2px solid var(--peach); }
.drawer__panel details li a { display: block; padding: 9px 12px; color: var(--fg-2); text-decoration: none; }
.drawer__panel summary { list-style: none; }
.drawer__panel summary::-webkit-details-marker { display: none; }
.drawer__actions { display: grid; gap: 10px; margin-top: 14px; }

.site-footer { background: var(--ink); color: #CFC3B6; position: relative; padding: 72px 0 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange) 0 70%, var(--ember) 70% 86%, var(--peach) 86%); }
[data-theme="dark"] .site-footer { background: #0A0806; }
.site-footer a { color: #E9DCCF; text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; padding-bottom: 48px; }
.footer-grid h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #8C7F73; font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; }
html[lang="bn"] .footer-grid h2 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid li a { display: inline-block; padding: 4px 0; min-height: 32px; }
.footer-brand .brand__sub { color: #F3ECE4; }
.footer-about { margin: 18px 0; max-width: 40ch; line-height: 1.7; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.socials a:hover { background: var(--orange); color: var(--ink); }
.contact-lines { display: grid; gap: 12px; }
.contact-lines > div { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.contact-lines .ic { margin-top: 4px; color: var(--orange-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 64px 26px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; color: #9D9084; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { display: inline-block; min-height: 36px; line-height: 36px; }
.credit a { color: var(--orange-2); font-weight: 600; }

.phone-bar { display: none; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--ink); box-shadow: var(--e2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
html.has-asst .to-top { bottom: 88px; }

/* ==========================================================================================================
   Signature motifs: chevrons, code window, page hero
   ========================================================================================================== */
.chevs { position: absolute; pointer-events: none; display: flex; height: var(--h, 360px); }
.chevs i { display: block; width: calc(var(--h, 360px) * .36); height: 100%; margin-left: calc(var(--h, 360px) * -.2); clip-path: polygon(0 0, 46% 0, 100% 50%, 46% 100%, 0 100%, 54% 50%); }
.chevs i:nth-child(1) { background: var(--peach); }
.chevs i:nth-child(2) { background: var(--orange-2); }
.chevs i:nth-child(3) { background: var(--orange); }
.chevs i:nth-child(4) { background: var(--ember); }
html.motion-ok .chevs.reveal i, html.motion-ok .reveal .chevs i { opacity: 0; transform: translateX(-30px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
html.motion-ok .chevs.reveal.in i, html.motion-ok .reveal.in .chevs i { opacity: 1; transform: none; }
.chevs i:nth-child(2) { transition-delay: .1s !important; }
.chevs i:nth-child(3) { transition-delay: .2s !important; }
.chevs i:nth-child(4) { transition-delay: .3s !important; }

.page-hero { position: relative; background: var(--ink); color: #E9DCCF; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .page-hero { background: #0A0806; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: #FBF3EA; max-width: 24ch; margin-bottom: 14px; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); }
.page-hero__lead { color: #C9BCAF; max-width: 62ch; font-size: 1.08rem; margin: 0; }
.page-hero .chevs { right: -60px; top: 50%; transform: translateY(-50%); --h: 300px; opacity: .9; z-index: -1; }
.page-hero .eyebrow { color: var(--orange-2); }
.page-hero .eyebrow::before { color: #8C7F73; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6E6258; }
.crumbs a { color: #C9BCAF; text-decoration: none; }
.crumbs a:hover { color: var(--orange-2); }
.crumbs [aria-current] { color: #F3ECE4; }

.codewin { position: relative; background: #17120E; color: #E9DCCF; border: 1px solid #2E241C; border-radius: var(--r-lg); box-shadow: var(--e3), 0 0 0 1px rgba(255, 118, 0, .06); overflow: hidden; font-family: var(--font-mono); font-size: clamp(.8rem, .74rem + .25vw, .95rem); line-height: 1.7; text-align: left; }
.codewin__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #211A14; border-bottom: 1px solid #2E241C; }
.codewin__dots { display: flex; gap: 7px; }
.codewin__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--ember); }
.codewin__dots i:nth-child(2) { background: var(--orange); }
.codewin__dots i:nth-child(3) { background: var(--peach); }
.codewin__tab { font-size: .8rem; padding: 4px 12px; border-radius: 8px 8px 0 0; background: #17120E; color: #E9DCCF; border: 1px solid #2E241C; border-bottom: 0; margin-bottom: -13px; }
.codewin__tab + .codewin__tab { background: transparent; color: #8C7F73; border-color: transparent; }
.codewin__body { display: grid; grid-template-columns: auto 1fr; padding: 18px 0 14px; min-height: 196px; }
.codewin__gutter { padding: 0 14px 0 18px; color: #5E534A; text-align: right; user-select: none; white-space: pre; }
.codewin__code { padding-right: 18px; white-space: pre-wrap; word-break: break-word; min-width: 0; margin: 0; font: inherit; }
.codewin__term { border-top: 1px solid #2E241C; background: #120E0B; padding: 14px 18px 18px; min-height: 150px; }
.codewin__term p { margin: 0; white-space: pre-wrap; }
.tk-k { color: #FF8A2A; }
.tk-s { color: #FFD6B2; }
.tk-f { color: #7ED9A6; }
.tk-c { color: #8A7D72; font-style: italic; }
.tk-n { color: #F2B36B; }
.tk-p { color: #B3A79B; }
.tk-ok { color: #7ED9A6; }
.tk-prompt { color: #FF8A2A; }
.caret { display: inline-block; width: .55em; height: 1.15em; vertical-align: -.2em; background: var(--orange); margin-left: 2px; }
html.motion-ok .caret { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tagline-out { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .5em; font-family: var(--font-head); font-size: clamp(1.05rem, .95rem + .6vw, 1.45rem); color: #F3ECE4; font-weight: 500; }
.tagline-out .script { font-family: var(--font-script); color: #E9DCCF; font-size: 1.55em; font-weight: 400; line-height: 1; transform: translateY(.08em); }
html[lang="bn"] .tagline-out .script { font-family: var(--font-head); font-size: 1em; color: var(--orange-2); text-decoration: underline wavy var(--orange); text-underline-offset: 6px; }
.tagline-out .word { font-weight: 800; letter-spacing: .08em; color: var(--orange); }

/* ==========================================================================================================
   Home
   ========================================================================================================== */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 70%), radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--peach) 50%, transparent), transparent 70%); }
[data-theme="dark"] .hero::before { background: radial-gradient(60% 70% at 85% 30%, rgba(255, 118, 0, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(237, 28, 36, .12), transparent 70%); }
.hero .chevs { left: -150px; bottom: -40px; --h: 260px; opacity: .5; z-index: -1; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__title { margin: 0 0 20px; font-size: clamp(2.1rem, 1.2rem + 3.9vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; }
html[lang="bn"] .hero__title { line-height: 1.25; letter-spacing: 0; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); }
.hero__title mark { background: none; color: inherit; position: relative; z-index: 0; }
.hero__title mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .3em; z-index: -1; background: var(--orange); opacity: .34; border-radius: 4px; transform: skewX(-12deg); }
html.motion-ok .hero__title mark::after { transform-origin: left; animation: mark-in .9s var(--ease) .5s both; }
@keyframes mark-in { from { transform: skewX(-12deg) scaleX(0); } to { transform: skewX(-12deg) scaleX(1); } }
.hero__sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--fg-2); max-width: 54ch; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 0; color: var(--fg-2); font-size: .93rem; }
.hero__trust li { display: inline-flex; gap: 8px; align-items: center; }
.hero__trust .ic { color: var(--accent-text); }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: 8% -5% -7% 10%; border-radius: 40px; background: linear-gradient(135deg, var(--orange), var(--ember)); transform: rotate(4deg); opacity: .9; z-index: -1; }
.hero-run { display: flex; gap: 8px; margin-top: 14px; }
.hero-run .input { min-height: 44px; font-family: var(--font-mono); font-size: .9rem; background: rgba(255, 255, 255, .06); border-color: #3A2E24; color: #F3ECE4; }
.hero-run .btn { min-height: 44px; }
.hero-run label { color: #B3A79B; font-size: .82rem; }

.tracks { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.track { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px; text-decoration: none; color: var(--fg); grid-column: span 2; min-height: 220px; isolation: isolate; }
.track:nth-child(1), .track:nth-child(2) { grid-column: span 3; }
.track::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--tc, var(--orange)); }
.track__name { font-size: 1.35rem; margin: 6px 0 0; }
.track__sum { color: var(--muted); margin: 0; flex: 1; }
.track__foot { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--accent-text); }
.track .chevs { right: -40px; bottom: -30px; --h: 120px; opacity: .14; z-index: -1; }

.board { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.bcard { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-3); color: #E9DCCF; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.bcard:hover { border-color: rgba(255, 118, 0, .55); transform: translateY(-3px); }
.bcard--light { background: var(--surface); border-color: var(--line); color: var(--fg); }
.bcard__date { display: grid; place-content: center; text-align: center; border-radius: 16px; background: var(--orange); color: var(--ink); height: 84px; }
.bcard__day { font: 800 2rem/1 var(--font-head); }
.bcard__mon { font: 700 .78rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
html[lang="bn"] .bcard__mon { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.bcard__course { font: 700 1.08rem/1.3 var(--font-head); margin: 0 0 6px; color: #FBF3EA; }
.bcard--light .bcard__course { color: var(--fg); }
.bcard__course a { color: inherit; text-decoration: none; }
.bcard__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: #B9AC9F; margin-bottom: 12px; }
.bcard--light .bcard__meta { color: var(--muted); }
.bcard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.bcard__seats { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 6px; gap: 8px; flex-wrap: wrap; }
.bcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.countdown { font-family: var(--font-mono); font-size: .8rem; color: var(--orange-2); }
.bcard--light .countdown { color: var(--accent-text); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 84%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

.courses { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ccard { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.ccard__media { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.04); }
.ccard__chips { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__track { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(22, 18, 14, .8); color: #FBF3EA; font-size: .78rem; font-weight: 700; }
.ccard__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--orange)); }
.ccard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ccard__title { font-size: 1.22rem; margin: 0; }
.ccard__title a { color: var(--fg); text-decoration: none; }
.ccard__title a::after { content: ""; position: absolute; inset: 0; }
.ccard__sub { color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--fg-2); }
.ccard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ccard__meta .ic { color: var(--accent-text); }
.ccard__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.fee { display: grid; line-height: 1.2; }
.fee__now { font: 800 1.25rem/1.1 var(--font-head); color: var(--fg); }
.fee__was { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.fee__ask { font-weight: 600; color: var(--accent-text); }
.next-batch { font-size: .82rem; color: var(--muted); text-align: right; }
.next-batch strong { color: var(--fg); display: block; font-size: .92rem; }

.journey { display: grid; grid-template-columns: repeat(5, 1fr); }
.journey__step { position: relative; padding: 26px 40px 26px 46px; color: var(--ink); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%); margin-left: -14px; min-height: 176px; }
.journey__step:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); margin-left: 0; padding-left: 26px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.journey__step:nth-child(1) { background: var(--peach); }
.journey__step:nth-child(2) { background: var(--orange-2); }
.journey__step:nth-child(3) { background: var(--orange); }
.journey__step:nth-child(4) { background: var(--ember); color: #fff; }
.journey__step:nth-child(5) { background: var(--ink-2); color: #FBF3EA; }
[data-theme="dark"] .journey__step:nth-child(5) { background: #2B221B; }
.journey__step h3 { color: inherit; font-size: 1.1rem; margin: 8px 0 6px; }
.journey__step p { margin: 0; font-size: .9rem; }
.journey__n { font: 700 .8rem/1 var(--font-mono); opacity: .75; }
html.motion-ok .journey.reveal .journey__step { opacity: 0; transform: translateX(-24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
html.motion-ok .journey.reveal.in .journey__step { opacity: 1; transform: none; }
.journey__step:nth-child(2) { transition-delay: .1s; }
.journey__step:nth-child(3) { transition-delay: .2s; }
.journey__step:nth-child(4) { transition-delay: .3s; }
.journey__step:nth-child(5) { transition-delay: .4s; }

.projects { columns: 3 300px; column-gap: 22px; }
.pcard { break-inside: avoid; margin-bottom: 22px; position: relative; display: block; overflow: hidden; }
.browser { border-radius: 14px 14px 0 0; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser__bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: var(--bg-2); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser__bar i:first-child { background: var(--ember); }
.browser__bar i:nth-child(2) { background: var(--orange); }
.browser__bar span { flex: 1; height: 14px; border-radius: 7px; background: var(--line); margin-left: 8px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard__body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.pcard__title { margin: 0; font-size: 1.1rem; }
.pcard__title a { color: var(--fg); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__who { font-size: .86rem; color: var(--muted); }

.stories { display: grid; gap: 22px; grid-template-columns: 1.3fr 1fr; }
.stories > :first-child { grid-row: span 2; }
.story { padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.story__q { font-size: 1.04rem; color: var(--fg-2); margin: 0; }
.stories > :first-child .story__q { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-family: var(--font-head); color: var(--fg); line-height: 1.45; }
.story__mark { width: 36px; height: 36px; color: var(--orange); }
.story__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.story__name { font-weight: 700; }
.story__about { font-size: .86rem; color: var(--muted); }
.story__result { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--accent-text); font-size: .92rem; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: .95rem; }
.stars .off { color: var(--line-2); }

.people { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.person { padding: 24px; display: grid; gap: 12px; justify-items: start; position: relative; }
.person__name { margin: 0; font-size: 1.12rem; }
.person__name a { color: var(--fg); text-decoration: none; }
.person__name a::after { content: ""; position: absolute; inset: 0; }
.person__role { color: var(--muted); font-size: .92rem; margin: 0; }

.duo { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.tool-card { position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-lg); min-height: 280px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; isolation: isolate; }
.tool-card h3 { font-size: 1.5rem; margin: 6px 0 0; }
.tool-card p { margin: 0; max-width: 42ch; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.tool-card--ink { background: var(--ink-2); color: #E9DCCF; border: 1px solid var(--ink-3); }
.tool-card--ink h3 { color: #FBF3EA; }
.tool-card--orange { background: linear-gradient(135deg, var(--orange), #FF9A3C); color: var(--ink); }
.tool-card--orange h3 { color: var(--ink); }
.tool-card .chevs { right: -40px; bottom: -20px; --h: 180px; opacity: .25; z-index: -1; }
.mini-code { font-family: var(--font-mono); font-size: .82rem; background: rgba(0, 0, 0, .28); border-radius: 12px; padding: 12px 14px; color: #F3ECE4; line-height: 1.6; white-space: pre-wrap; }

.seminar-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e2); }
.datebox { display: grid; place-content: center; text-align: center; width: 104px; height: 112px; border-radius: 20px; background: var(--ink); color: #FBF3EA; }
.datebox b { font: 800 2.6rem/1 var(--font-head); color: var(--orange); }
.datebox span { font: 600 .82rem/1.5 var(--font-mono); text-transform: uppercase; }
html[lang="bn"] .datebox span { text-transform: none; font-family: var(--font-body); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }

.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--e2); }
.visit__info { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.visit__map { position: relative; min-height: 360px; background: var(--ink-2); display: grid; place-items: center; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { display: grid; gap: 12px; justify-items: center; text-align: center; color: #E9DCCF; padding: 24px; }
.open-chip { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.open-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.open-chip--closed i { background: var(--ember); }

.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--orange); color: var(--ink); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; isolation: isolate; }
.cta-band h2 { color: var(--ink); margin: 0 0 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .chevs { left: -80px; top: -40px; --h: 320px; opacity: .14; z-index: -1; }
.cta-band .chevs i { background: var(--ink) !important; }
.quick-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr auto; }
.quick-form .input { background: #FFF8F1; border-color: transparent; color: var(--ink); }

.logos { display: flex; flex-wrap: wrap; gap: 14px; }
.logos a, .logos span { display: grid; place-items: center; height: 72px; min-width: 150px; padding: 12px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 700; color: #3E3631; text-decoration: none; }
.logos img { max-height: 44px; width: auto; }
@media (hover: hover) { .logos img { filter: grayscale(1); opacity: .8; transition: filter var(--dur), opacity var(--dur); } .logos a:hover img { filter: none; opacity: 1; } }

.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 22px; border-left: 3px solid var(--orange); }
.stat__n { font: 800 clamp(2rem, 1.6rem + 1.5vw, 2.8rem)/1 var(--font-head); color: var(--fg); }
.stat__n::before { content: "{ "; color: var(--muted); font-weight: 400; font-family: var(--font-mono); font-size: .55em; vertical-align: middle; }
.stat__n::after { content: " }"; color: var(--muted); font-weight: 400; font-family: var(--font-mono); font-size: .55em; vertical-align: middle; }
.stat__l { color: var(--muted); margin-top: 6px; }

/* ── Reveal (§9.900 safety net: hidden only when JS runs, shown anyway after 2.5 s if the script never does) ── */
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js.motion-ok .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js:not(.motion-ok) .reveal { animation: show-anyway .01s 2.5s both; }
@keyframes show-anyway { to { opacity: 1; transform: none; } }

/* ==========================================================================================================
   Inner pages
   ========================================================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.filters .input, .filters .select { min-height: 44px; width: auto; min-width: 160px; flex: 1 1 160px; }
.filters .search { flex: 2 1 260px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--fg-2); font-weight: 600; text-decoration: none; font-size: .92rem; }
.pill:hover { border-color: var(--orange); color: var(--fg); }
.pill[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #FBF3EA; }
[data-theme="dark"] .pill[aria-current="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.empty .ntile { --t: 64px; }

.course-hero { position: relative; background: var(--ink); color: #E9DCCF; padding: 48px 0 56px; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .course-hero { background: #0A0806; border-bottom: 1px solid var(--line); }
.course-hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.course-hero h1 { color: #FBF3EA; font-size: clamp(1.9rem, 1.3rem + 2.5vw, 3.1rem); margin: 6px 0 14px; }
.course-hero__sub { color: #C9BCAF; font-size: 1.1rem; max-width: 56ch; }
.course-hero__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-3); box-shadow: var(--e3); aspect-ratio: 16 / 9; background: var(--ink-2); }
.course-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.course-hero .chevs { right: -80px; top: -40px; --h: 240px; opacity: .2; z-index: -1; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 22px; }
.facts div { padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.facts dt { font: 600 .74rem/1.3 var(--font-mono); color: #9D9084; text-transform: uppercase; letter-spacing: .06em; }
html[lang="bn"] .facts dt { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: #FBF3EA; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.course-main > section + section { margin-top: 56px; }
.course-main h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.course-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.fee-box { padding: 26px; }
.fee-box .fee__now { font-size: 2rem; }
.fee-box .install { font-size: .92rem; color: var(--fg-2); margin-top: 6px; }
.fee-box .btn { width: 100%; margin-top: 12px; }
.inc-list { display: grid; gap: 8px; margin-top: 16px; font-size: .92rem; color: var(--fg-2); }
.inc-list div { display: flex; gap: 10px; align-items: center; }
.inc-list .ic { color: var(--accent-text); }
.two-col-lists { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.enrol-bar { display: none; }
.module-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: auto; padding-left: 12px; white-space: nowrap; }
.estimator { display: grid; gap: 12px; padding: 22px; }
.estimator output { font: 800 1.5rem/1.2 var(--font-head); color: var(--fg); }

.calendar-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.calendar-strip span { width: 42px; text-align: center; padding: 6px 0; border-radius: 10px; font: 700 .78rem/1 var(--font-mono); border: 1px solid var(--line); color: var(--muted); }
.calendar-strip span.on { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.steps-mini { display: grid; gap: 12px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps-mini li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: var(--orange); font: 700 .95rem/1 var(--font-mono); }

.thanks { text-align: center; max-width: 640px; margin: 0 auto; display: grid; gap: 16px; justify-items: center; }
.thanks .ntile { --t: 88px; }
.ref-box { font: 700 1.5rem/1 var(--font-mono); letter-spacing: .06em; padding: 14px 22px; border-radius: var(--r-md); background: var(--ink); color: var(--orange); }

.verify-box { max-width: 720px; margin: 0 auto; }
.verify-result { margin-top: 28px; padding: 28px; border-radius: var(--r-lg); border: 2px solid var(--mint); background: var(--mint-soft); display: grid; gap: 14px; }
.verify-result--bad { border-color: var(--ember); background: #FDECEC; }
[data-theme="dark"] .verify-result--bad { background: #2A1010; }
.verify-result dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 8px 18px; margin: 0; }
.verify-result dt { color: var(--muted); }
.verify-result dd { margin: 0; font-weight: 700; color: var(--fg); }
.seal { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--font-head); color: var(--mint); }
.verify-result--bad .seal { color: var(--ember-deep); }

/* certificate (printable A4 landscape) */
.cert-page { background: var(--bg-2); padding: 32px 16px; }
.cert { position: relative; width: min(100%, 1123px); aspect-ratio: 297 / 210; margin: 0 auto; background: #FFFCF7; color: #16120E; border-radius: 6px; box-shadow: var(--e3); overflow: hidden; container-type: inline-size; }
.cert__frame { position: absolute; inset: 2.6cqw; border: .25cqw solid #16120E; border-radius: .6cqw; }
.cert__frame::after { content: ""; position: absolute; inset: .7cqw; border: .1cqw solid #FF7600; border-radius: .4cqw; }
.cert .chevs { --h: 40cqw; left: -12cqw; top: 50%; transform: translateY(-50%); opacity: .95; }
.cert__in { position: absolute; inset: 6cqw 6cqw 5cqw 22cqw; display: grid; align-content: space-between; }
.cert__brand { display: flex; gap: 1.4cqw; align-items: center; }
.cert__brand svg { width: 5cqw; height: 5.3cqw; fill: #FF7600; }
.cert__brand b { font: 800 2.2cqw/1 var(--font-head); letter-spacing: .1em; color: #FF7600; display: block; }
.cert__brand span { font: 600 1cqw/1 var(--font-head); letter-spacing: .5em; display: block; margin-top: .5cqw; }
.cert__kicker { font: 600 1.3cqw/1 var(--font-mono); letter-spacing: .3em; color: #6B6058; text-transform: uppercase; margin-top: 2cqw; }
.cert__title { font: 700 4.4cqw/1.05 var(--font-head); margin: .8cqw 0 0; color: #16120E; }
.cert__given { font-size: 1.4cqw; color: #3E3631; margin-top: 2.2cqw; }
.cert__name { font: 400 6cqw/1.1 var(--font-script); color: #C2410C; margin: .4cqw 0 .6cqw; }
.cert__course { font-size: 1.5cqw; color: #3E3631; max-width: 52cqw; }
.cert__course strong { color: #16120E; }
.cert__foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 3cqw; align-items: end; }
.cert__sign { border-top: .12cqw solid #16120E; padding-top: .6cqw; font-size: 1.1cqw; }
.cert__sign b { display: block; font-size: 1.25cqw; }
.cert__qr { display: grid; gap: .5cqw; justify-items: center; font: 600 .9cqw/1.2 var(--font-mono); color: #3E3631; text-align: center; }
.cert__qr svg { width: 9cqw; height: 9cqw; background: #fff; padding: .4cqw; }
.cert__revoked { position: absolute; inset: 0; display: grid; place-items: center; font: 800 9cqw/1 var(--font-head); color: rgba(237, 28, 36, .22); transform: rotate(-18deg); pointer-events: none; }
.print-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 24px; }

/* seminar e-ticket */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 220px; max-width: 760px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e3); background: var(--surface); border: 1px solid var(--line); }
.ticket__main { padding: 28px; display: grid; gap: 12px; position: relative; }
.ticket__stub { background: var(--ink); color: #E9DCCF; padding: 24px; display: grid; gap: 12px; justify-items: center; align-content: center; text-align: center; border-left: 2px dashed rgba(255, 255, 255, .25); }
.ticket__stub svg { width: 150px; height: 150px; background: #fff; padding: 8px; border-radius: 10px; }
.ticket__ref { font: 700 .95rem/1 var(--font-mono); color: var(--orange); letter-spacing: .04em; }
.ticket h1 { font-size: 1.6rem; margin: 0; }
.checked-in { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint); font-weight: 700; }

/* blog, gallery, docs */
.posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { overflow: hidden; position: relative; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 20px; display: grid; gap: 8px; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card a { color: var(--fg); text-decoration: none; }
.post-card a::after { content: ""; position: absolute; inset: 0; }
.post-meta { font-size: .85rem; color: var(--muted); font-family: var(--font-mono); }
.post-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16 / 9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.gallery figcaption { padding: 10px 12px; font-size: .88rem; color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.doc-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { padding: 22px; }
.aside-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; text-decoration: none; color: var(--fg-2); border-bottom: 1px dashed var(--line); }
.notfound { text-align: center; padding: 96px 0; display: grid; gap: 16px; justify-items: center; }
.notfound__code { font: 800 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--font-mono); color: var(--orange); }

/* ==========================================================================================================
   Student portal
   ========================================================================================================== */
.portal-head { background: var(--ink); color: #E9DCCF; padding: 28px 0 0; }
[data-theme="dark"] .portal-head { background: #0A0806; border-bottom: 1px solid var(--line); }
.portal-head h1 { color: #FBF3EA; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin: 0 0 4px; }
.portal-tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 22px; scrollbar-width: none; }
.portal-tabs a { padding: 12px 16px; color: #C9BCAF; text-decoration: none; font-weight: 600; border-radius: 12px 12px 0 0; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.portal-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.portal-tabs a[aria-current="page"] { background: var(--bg); color: var(--fg); }
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { padding: 20px; display: grid; gap: 6px; }
.kpi__n { font: 800 1.8rem/1.1 var(--font-head); color: var(--fg); }
.kpi__l { color: var(--muted); font-size: .9rem; }
.kpi--warn { border-color: var(--ember); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; font-size: .95rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 600 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
html[lang="bn"] .table th { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .88rem; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.att { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; }
.att i { width: 10px; height: 10px; border-radius: 3px; }
.att--present i { background: var(--mint); } .att--absent i { background: var(--ember); } .att--late i { background: var(--orange); } .att--excused i { background: var(--line-2); }
.ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) calc(var(--p) * 1%), var(--surface-2) 0); }
.ring span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--surface); font: 800 1.3rem/1 var(--font-head); }
.notice-card { padding: 18px 20px; border-left: 4px solid var(--orange); }
.notice-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.receipt { max-width: 640px; margin: 0 auto; padding: 32px; }
.receipt__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 16px; }
.receipt__amount { font: 800 2rem/1 var(--font-head); }

/* ==========================================================================================================
   Signature tools
   ========================================================================================================== */
.tool-hero { position: relative; background: var(--ink); color: #E9DCCF; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .tool-hero { background: #0A0806; border-bottom: 1px solid var(--line); }
.tool-hero h1 { color: #FBF3EA; max-width: 20ch; }
.tool-hero h1 em { font-style: normal; color: var(--orange); }
.tool-hero .chevs { right: -60px; top: 50%; transform: translateY(-50%); --h: 320px; z-index: -1; }
.tool-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 22px 0 26px; color: #C9BCAF; }
.tool-steps li { display: inline-flex; gap: 10px; align-items: center; }
.tool-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--orange); color: var(--ink); font: 700 .85rem/1 var(--font-mono); }

/* Career Path Finder */
.pf { max-width: 860px; margin: 0 auto; }
.pf__progress { display: flex; gap: 6px; margin-bottom: 22px; }
.pf__progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.pf__progress i.on { background: linear-gradient(90deg, var(--orange), var(--ember)); }
.pf__q { border: 0; padding: 0; margin: 0; }
.pf__q legend { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.3 var(--font-head); margin-bottom: 18px; color: var(--fg); }
.pf__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.pf-result { display: grid; gap: 22px; }
.match { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; }
.match__score { --p: 80; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) calc(var(--p) * 1%), var(--surface-2) 0); }
.match__score span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--surface); font: 800 1rem/1 var(--font-head); }

/* Future Programmer Card */
.fpc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.fpc canvas { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--e3); background: var(--ink); display: block; }

/* Learning roadmap (server SVG) */
.roadmap { overflow-x: auto; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-3); padding: 18px; }
.roadmap svg { display: block; min-width: 760px; width: 100%; height: auto; }
.rm-line { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.rm-stop circle { fill: #17120E; stroke-width: 5; transition: r var(--dur) var(--ease); }
.rm-stop text { fill: #E9DCCF; font: 600 13px var(--font-body); }
.rm-stop .rm-course { fill: #9D9084; font: 500 11px var(--font-mono); }
.rm-stop a:hover circle, .rm-stop a:focus circle { r: 13; fill: var(--orange); }
.rm-stop a:focus { outline: none; }
.rm-stop a:focus-visible circle { stroke: #fff; }
.rm-track-label { fill: #FBF3EA; font: 800 15px var(--font-head); }
.roadmap-v { display: none; }
.rm-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--fg-2); }
.rm-legend li { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.rm-legend i { width: 22px; height: 6px; border-radius: 3px; background: var(--c); }
.station-list { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 6px solid var(--c, var(--orange)); display: grid; gap: 4px; }
.station-list li { position: relative; padding: 8px 0 8px 18px; }
.station-list li::before { content: ""; position: absolute; left: -15px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--c, var(--orange)); }
.station-list small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .76rem; }

/* Code playground */
.pg { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.pg__lessons { display: grid; gap: 8px; }
.pg__lesson { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--fg); }
.pg__lesson[aria-current="true"] { border-color: var(--orange); background: var(--peach-soft); }
.pg__lesson .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); font: 700 .82rem/1 var(--font-mono); flex: none; }
.pg__lesson.done .n { background: var(--mint); color: #fff; }
.pg__work { display: grid; gap: 16px; }
.pg__task { padding: 20px 22px; }
.pg__task h2 { font-size: 1.3rem; margin: 0 0 8px; }
.pg__panes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg__editor { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid #2E241C; background: #17120E; min-height: 360px; }
.pg__editor textarea { width: 100%; height: 100%; min-height: 320px; resize: vertical; border: 0; background: transparent; color: #F3ECE4; font: 400 .92rem/1.65 var(--font-mono); padding: 14px 16px; tab-size: 2; outline: none; }
.pg__preview { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; grid-template-rows: auto 1fr; min-height: 360px; }
.pg__preview iframe { width: 100%; height: 100%; min-height: 320px; border: 0; background: #fff; }
.pg__bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; background: #211A14; color: #C9BCAF; font: 600 .8rem/1 var(--font-mono); }
.pg__preview .pg__bar { background: var(--bg-2); color: var(--muted); }
.pg__tabs { display: none; }
.pg__check { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pg__ok { color: var(--mint); font-weight: 700; }
.pg__bad { color: var(--ember-deep); font-weight: 600; }
[data-theme="dark"] .pg__bad { color: #FF8A80; }

/* chat assistant + terminal */
.asst-fab { position: fixed; right: 18px; bottom: 18px; z-index: 56; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: #FBF3EA; font: 600 .95rem/1 var(--font-body); box-shadow: var(--e3); cursor: pointer; }
[data-theme="dark"] .asst-fab { background: var(--orange); color: var(--ink); }
.asst-fab .ic { width: 22px; height: 22px; color: var(--orange); }
[data-theme="dark"] .asst-fab .ic { color: var(--ink); }
.asst { position: fixed; right: 18px; bottom: 86px; z-index: 90; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e3); overflow: hidden; }
.asst__head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--ink); color: #FBF3EA; }
.asst__head b { display: block; }
.asst__head small { color: #B3A79B; }
.asst__log { overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.asst__msg { padding: 10px 14px; border-radius: 16px; max-width: 88%; font-size: .95rem; }
.asst__msg--bot { background: var(--surface-2); border-top-left-radius: 4px; }
.asst__msg--me { background: var(--orange); color: var(--ink); justify-self: end; border-top-right-radius: 4px; }
.asst__msg--wait { color: var(--muted); font-style: italic; background: none; }
.asst__reply { display: grid; gap: 8px; background: var(--surface-2); border-radius: 16px; border-top-left-radius: 4px; padding: 12px 14px; font-size: .95rem; }
.asst__reply p { margin: 0; }
.asst__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.asst__chips button { border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); border-radius: var(--r-pill); padding: 6px 12px; font: 600 .85rem/1.2 var(--font-body); cursor: pointer; }
.asst__chips button:hover { border-color: var(--orange); }
.asst__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.asst__form .input { min-height: 44px; }
.term { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; background: rgba(10, 8, 6, .6); backdrop-filter: blur(4px); }
.term__win { width: min(760px, 100%); height: min(520px, 90vh); display: grid; grid-template-rows: auto 1fr auto; }
.term__out { overflow-y: auto; padding: 16px 18px; font: 400 .92rem/1.6 var(--font-mono); color: #E9DCCF; }
.term__out p { margin: 0 0 4px; white-space: pre-wrap; }
.term__out a { color: var(--orange-2); }
.term__in { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid #2E241C; background: #120E0B; }
.term__in span { color: var(--orange); font-family: var(--font-mono); }
.term__in input { flex: 1; min-width: 0; background: transparent; border: 0; color: #F3ECE4; font: 400 1rem/1.4 var(--font-mono); outline: none; }
.term-btn { font-family: var(--font-mono); font-weight: 700; }

/* cookie consent */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(420px, calc(100vw - 32px)); padding: 18px 20px; display: grid; gap: 12px; }
.consent p { margin: 0; font-size: .92rem; }
.consent .row { gap: 8px; }

/* style tile (development only) */
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.swatch i { display: block; height: 72px; }
.swatch div { padding: 10px 12px; font: 500 .8rem/1.4 var(--font-mono); }

/* ==========================================================================================================
   Responsive (designed at 360 px first; these widen it)
   ========================================================================================================== */
@media (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .nav__link { padding: 10px 9px; font-size: .92rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .journey { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
}
@media (max-width: 1080px) {
    .nav, .header-actions .lang-switch, .header-actions .theme-toggle, .header-actions .term-btn { display: none; }
    .burger { display: inline-grid; }
    .header-actions { margin-left: auto; }
    .hero__in, .course-hero__in { grid-template-columns: 1fr; gap: 40px; }
    .course-layout, .doc-grid { grid-template-columns: 1fr; }
    .course-aside, .doc-aside { position: static; }
    .faq-grid, .visit, .cta-band { grid-template-columns: 1fr; }
    .tracks { grid-template-columns: 1fr 1fr; }
    .track, .track:nth-child(1), .track:nth-child(2) { grid-column: span 1; }
    .pg { grid-template-columns: 1fr; }
    .pg__lessons { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; }
    .fpc { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    .section { padding: 72px 0; }
    .split, .split--even, .duo, .stories, .two-col-lists { grid-template-columns: 1fr; }
    .stories > :first-child { grid-row: auto; }
    .journey { display: grid; grid-template-columns: 1fr; gap: 8px; overflow: visible; }
    .journey__step, .journey__step:first-child { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); margin: 0; padding: 22px 22px 34px; border-radius: var(--r-lg) var(--r-lg) 0 0; min-height: 0; }
    .seminar-band { grid-template-columns: auto minmax(0, 1fr); }
    .seminar-band > :last-child { grid-column: 1 / -1; }
    .ticket { grid-template-columns: 1fr; }
    .ticket__stub { border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .25); }
    .roadmap { display: none; }
    .roadmap-v { display: grid; gap: 28px; }
}
@media (max-width: 767.98px) {
    :root { --header-h: 62px; }
    .container { padding: 0 16px; }
    .section, .page-hero, .course-hero, .tool-hero { padding: 56px 0; }
    .section--tight { padding: 44px 0; }
    .hero { padding: 36px 0 64px; }
    .sec-head { margin-bottom: 28px; }
    .tracks { grid-template-columns: 1fr; }
    .header-actions .btn--primary { min-height: 40px; padding: 0 14px; font-size: .9rem; }
    .brand__name { font-size: 1.02rem; }
    .brand__sub { font-size: .55rem; letter-spacing: .34em; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .phone-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 58; background: var(--ink); border-radius: 18px; box-shadow: var(--e3); overflow: hidden; }
    .phone-bar a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; min-height: 56px; color: #F3ECE4; text-decoration: none; font-size: .78rem; font-weight: 600; }
    .phone-bar a .ic { width: 20px; height: 20px; color: var(--orange); }
    .phone-bar a.is-primary { background: var(--orange); color: var(--ink); }
    .phone-bar a.is-primary .ic { color: var(--ink); }
    body.has-phone-bar { padding-bottom: 80px; }
    .to-top { bottom: 84px; right: 14px; }
    html.has-asst .to-top { bottom: 150px; }
    .asst-fab { bottom: 84px; right: 12px; height: 52px; padding: 0 14px; }
    .asst-fab span { display: none; }
    .asst { right: 12px; left: 12px; width: auto; bottom: 146px; height: min(560px, calc(100vh - 170px)); }
    .consent { bottom: 84px; }
    .enrol-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 76px; z-index: 57; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e3); }
    .enrol-bar .fee__now { font-size: 1.05rem; }
    .cta-band { padding: 28px 20px; }
    .quick-form { grid-template-columns: 1fr; }
    .seminar-band { grid-template-columns: 1fr; }
    .datebox { width: 88px; height: 92px; }
    .match { grid-template-columns: auto minmax(0, 1fr); }
    .match > :last-child { grid-column: 1 / -1; }
    .pg__panes { grid-template-columns: 1fr; }
    .pg__tabs { display: flex; gap: 8px; }
    .pg__panes[data-pane="code"] .pg__preview, .pg__panes[data-pane="preview"] .pg__editor { display: none; }
    .table th, .table td { padding: 10px 12px; }
    .facts { grid-template-columns: 1fr 1fr; }
    .visit__map { min-height: 280px; }
    .input, .select, .textarea { font-size: 16px; }
    .footer-bottom { padding-right: 56px; }
    .cert-page { padding: 16px 8px; }
}
@media (max-width: 420px) {
    .brand__words { display: none; }
    .hero__ctas .btn { width: 100%; }
    .bcard { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .bcard__date { height: 70px; }
    .bcard__day { font-size: 1.6rem; }
}

/* ── Motion off ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    html.js .reveal { opacity: 1; transform: none; }
}

/* ── Print: certificates, receipts and tickets print clean; chrome hides ── */
@media print {
    @page { margin: 10mm; }
    .site-header, .site-footer, .notice-bar, .phone-bar, .to-top, .asst-fab, .asst, .consent, .print-bar, .enrol-bar, .skip-link, .portal-tabs, .portal-head, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .cert-page { padding: 0; background: #fff; }
    .cert { box-shadow: none; width: 100%; }
    .ticket, .receipt, .card { box-shadow: none; }
    a { color: inherit; text-decoration: none; }
}
@media print and (orientation: landscape) { @page { size: A4 landscape; margin: 0; } }
