:root {
  --paper: #fcfbfd;
  --white: #fff;
  --ink: #17151b;
  --ink-soft: #312d36;
  --muted: #696471;
  --muted-2: #85808b;
  --purple: #7650b8;
  --purple-dark: #57328f;
  --purple-soft: #eee7f8;
  --purple-pale: #f7f3fb;
  --line: #e9e5ed;
  --line-strong: #d8d0e0;
  --success: #28644f;
  --warning-bg: #fffaf0;
  --warning-ink: #705325;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-bangla: "Anek Bangla", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --page-width: 1240px;
  --gutter: clamp(22px, 5.2vw, 80px);
  --section-space: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.2, .72, .2, 1);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 700ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(118,80,184,.45); outline-offset: 3px; }
::selection { background: #e4d8f6; color: #20182b; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); margin-inline: auto; }
.section-space { padding-block: var(--section-space); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-160%); transition: transform var(--motion-fast) ease; }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(252,251,253,.97); border-bottom: 1px solid rgba(233,229,237,.8); transition: background var(--motion-base), border-color var(--motion-base); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 34px; transition: min-height var(--motion-base) var(--ease); }
.site-header.is-compact .nav-shell { min-height: 72px; }
.brand { display: inline-flex; flex: 0 1 250px; max-width: 250px; min-width: 175px; align-items: center; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 29px); }
.primary-nav > a { position: relative; color: #514c58; font-size: 12px; font-weight: 650; letter-spacing: .025em; transition: color var(--motion-fast); white-space: nowrap; }
.primary-nav > a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--purple); content: ""; transform: scaleX(0); transform-origin: left; transition: transform var(--motion-base) var(--ease); }
.primary-nav > a:hover, .primary-nav > a.is-active { color: var(--purple-dark); }
.primary-nav > a:hover::after, .primary-nav > a.is-active::after { transform: scaleX(1); }
.language-switcher { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; margin-left: auto; color: var(--muted-2); font-size: 11px; white-space: nowrap; }
.language-switcher button { padding: 5px 1px; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.language-switcher button:hover, .language-switcher button.is-selected { color: var(--purple-dark); }
.language-switcher button.is-selected { font-weight: 800; text-decoration: underline; text-decoration-color: #b7a0d8; text-underline-offset: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle svg, .icon-button svg, .dialog-close svg, .search-field svg, .round-link svg, .focus-symbol svg, .disclaimer-mark svg, .icon-inline svg, .resource-open svg, .image-open-label svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.reading-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--purple); transform-origin: left; }

/* Type and common actions */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--purple-dark); font-size: 10px; font-weight: 750; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -.055em; font-weight: 540; }
h1 em, h2 em, h3 em { color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.06; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 15px; padding: 13px 19px; border: 1px solid var(--purple); background: var(--purple); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast); }
.button:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 43px; padding: 10px 14px; gap: 10px; font-size: 11px; }
.button-full { width: 100%; }
.button-light { background: var(--white); border-color: var(--white); color: var(--purple-dark); }
.button-light:hover { background: var(--purple-soft); border-color: var(--purple-soft); color: var(--purple-dark); }
.button-quiet { background: transparent; border-color: var(--line-strong); color: var(--ink-soft); }
.button-quiet:hover { background: var(--purple-pale); border-color: var(--purple); color: var(--purple-dark); }
.button-outline { background: transparent; border-color: var(--line-strong); color: var(--purple-dark); }
.button-outline:hover { background: var(--purple-pale); border-color: var(--purple); }
.icon-inline { display: inline-flex; align-items: center; justify-content: center; }
.icon-inline svg { width: 16px; height: 16px; }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-dark); font-size: 12px; font-weight: 720; transition: gap var(--motion-fast), color var(--motion-fast); }
.text-link:hover, .inline-link:hover { gap: 14px; color: var(--ink); }
.inline-link { margin-top: 18px; }
.button-as-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.text-link-button { padding: 0; border: 0; background: transparent; color: var(--purple-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.text-link-button:hover { text-decoration: underline; }
.small-note { color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(58px, 8vw, 106px); padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(400px, 1.06fr); align-items: center; min-height: 580px; gap: clamp(35px, 7vw, 98px); }
.hero-copy { position: relative; z-index: 2; padding-block: 28px 42px; }
.hero-title { margin: 0 0 26px; font-size: clamp(54px, 7vw, 95px); line-height: .99; letter-spacing: -.073em; font-weight: 540; }
.hero-title em { display: inline-block; padding-top: 4px; }
.hero-intro { max-width: 480px; margin-bottom: 30px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-note { display: flex; align-items: flex-start; gap: 12px; max-width: 500px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.note-mark { display: inline-flex; flex: 0 0 25px; align-items: center; justify-content: center; width: 25px; height: 25px; color: var(--purple); }
.note-mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; align-self: stretch; min-height: 570px; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.portrait-backdrop { position: absolute; z-index: -2; top: 8%; right: 0; bottom: 1%; left: 9%; background: #f0e8f7; }
.portrait-backdrop::before { position: absolute; top: 11%; right: 12%; width: 30%; height: 30%; border: 1px solid rgba(118,80,184,.25); content: ""; }
.portrait-backdrop::after { position: absolute; right: -1px; bottom: 0; width: 38%; height: 40%; background: rgba(118,80,184,.08); content: ""; }
.doctor-portrait { position: relative; z-index: -1; width: min(100%, 525px); max-height: 630px; height: auto; object-fit: contain; object-position: bottom center; filter: saturate(.97); }
.portrait-vertical-label { position: absolute; top: 14%; left: 0; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--purple-dark); font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.portrait-caption { position: absolute; right: -2px; bottom: 14%; display: flex; align-items: flex-start; gap: 12px; max-width: 190px; padding: 14px 0 14px 14px; background: var(--paper); color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.portrait-caption small { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.caption-rule { flex: 0 0 21px; height: 1px; margin-top: 8px; background: var(--purple); }
.portrait-index { position: absolute; right: 12px; bottom: 3%; color: #817a89; font-size: 9px; letter-spacing: .16em; }
.portrait-index span { padding-inline: 6px; color: var(--purple); }
.hero-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bottomline-center { color: var(--purple-dark); }
.intro-strip { border-block: 1px solid var(--line); background: #f9f7fb; }
.intro-strip-inner { display: grid; grid-template-columns: 180px 1fr 48px; align-items: center; gap: 30px; padding-block: 28px; }
.strip-label { margin: 0; color: var(--purple-dark); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.strip-copy { max-width: 780px; margin: 0; color: #4f4a56; font-size: 14px; line-height: 1.7; }
.round-link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--purple-dark); transition: transform var(--motion-fast), background var(--motion-fast), border var(--motion-fast); }
.round-link:hover { transform: translateY(3px); border-color: var(--purple); background: var(--purple-soft); }
.round-link svg { width: 18px; height: 18px; }

/* About */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(45px, 9vw, 128px); }
.section-heading h2 { max-width: 630px; }
.about-content { max-width: 620px; }
.large-copy { margin-bottom: 22px; color: var(--ink-soft); font-size: clamp(20px, 2.1vw, 27px); font-weight: 450; letter-spacing: -.025em; line-height: 1.52; }
.about-content > p:not(.large-copy) { color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-fact { display: flex; flex-direction: column; gap: 7px; }
.fact-number { color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1; }
.fact-text { max-width: 230px; color: var(--muted); font-size: 11px; line-height: 1.7; }

/* Credentials */
.credentials-section { background: var(--paper); }
.section-heading-wide { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 55px; }
.heading-side-note { max-width: 310px; margin: 0 0 7px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.credential-feature { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: stretch; gap: clamp(30px, 6vw, 80px); padding: 30px; border: 1px solid var(--line); background: var(--white); }
.certificate-preview { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-width: 0; padding: clamp(12px, 2.5vw, 28px); border: 0; background: #f0edf2; cursor: zoom-in; text-align: left; }
.certificate-preview img { width: 100%; height: 100%; max-height: 390px; object-fit: contain; transition: transform 550ms var(--ease); }
.certificate-preview:hover img { transform: scale(1.025); }
.image-open-label { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--white); color: var(--purple-dark); font-size: 10px; font-weight: 700; }
.image-open-label svg { width: 14px; height: 14px; }
.credential-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px 4px 12px 0; }
.credential-feature-copy h3 { margin: 0 0 18px; font-size: clamp(29px, 3.5vw, 43px); font-weight: 520; letter-spacing: -.045em; line-height: 1.15; }
.credential-feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.85; }
.document-meta { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.document-meta span { color: var(--muted-2); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.document-meta strong { color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.credential-list { margin-top: 20px; border-top: 1px solid var(--line-strong); }
.credential-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) 48px; align-items: start; gap: 25px; padding: 27px 4px; border-bottom: 1px solid var(--line); transition: background var(--motion-fast); }
.credential-row:hover { background: rgba(238,231,248,.4); }
.credential-year { color: var(--purple-dark); font-size: 17px; font-family: Georgia, "Times New Roman", serif; }
.credential-year span { display: block; margin-top: 4px; color: var(--muted-2); font-family: var(--font-sans); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.credential-text h3 { margin: 0 0 7px; font-size: 16px; font-weight: 670; letter-spacing: -.02em; }
.credential-text p { max-width: 810px; margin-bottom: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.credential-text small { color: var(--muted-2); font-size: 10px; line-height: 1.6; }
.icon-button { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: transparent; color: var(--purple-dark); cursor: pointer; transition: color var(--motion-fast), background var(--motion-fast), border var(--motion-fast); }
.icon-button:hover { border-color: var(--purple); background: var(--purple); color: var(--white); }
.icon-button svg { width: 17px; height: 17px; }
.credentials-footnote { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.credentials-footnote strong { color: var(--ink-soft); }
/* Credentials are visible by default. Motion classes are only enabled after a working observer/GSAP setup. */
.credential-fallback-ready .credential-story-entry, .credential-fallback-ready .credential-story-heading { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.credential-fallback-ready .credential-story-entry.is-visible, .credential-fallback-ready .credential-story-heading.is-visible { opacity: 1; transform: translateY(0); }
.credential-story-heading { will-change: opacity, transform; }
.credential-story-entry { min-width: 0; }
.credential-feature-image img { will-change: clip-path; }

/* Focus areas */
.focus-section { background: var(--white); }
.focus-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; gap: clamp(32px, 6vw, 78px); }
.focus-lead { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.focus-image-wrap { position: relative; overflow: hidden; min-height: 260px; max-height: 390px; background: #e9e6ea; }
.focus-image-wrap img { width: 100%; height: 100%; min-height: 260px; max-height: 390px; object-fit: cover; object-position: center; filter: saturate(.82); transition: transform 600ms var(--ease); }
.focus-lead:hover .focus-image-wrap img { transform: scale(1.025); }
.image-counter { position: absolute; right: 0; bottom: 0; padding: 11px 14px; background: var(--purple-dark); color: white; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.focus-lead-copy { padding: clamp(25px, 4vw, 43px); }
.focus-lead-copy h3 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 35px); font-weight: 520; letter-spacing: -.04em; line-height: 1.18; }
.focus-lead-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.focus-list { border-top: 1px solid var(--line-strong); }
.focus-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) 38px; align-items: start; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.focus-index { padding-top: 2px; color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.focus-item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.focus-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.focus-symbol { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--purple-pale); color: var(--purple-dark); }
.focus-symbol svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Education resources */
.resources-section { background: #f7f4fa; }
.resource-aside { max-width: 330px; }
.resource-aside p { margin: 0 0 11px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.resource-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.search-field { display: flex; align-items: center; width: min(100%, 300px); min-height: 46px; gap: 10px; padding-inline: 13px; border: 1px solid var(--line-strong); background: var(--white); color: var(--muted); }
.search-field svg { flex: 0 0 18px; width: 18px; height: 18px; }
.search-field input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input:focus-visible { outline: none; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.filter-button { min-height: 38px; padding: 9px 13px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; cursor: pointer; transition: border var(--motion-fast), background var(--motion-fast), color var(--motion-fast); }
.filter-button:hover { color: var(--purple-dark); }
.filter-button.is-active { border-color: var(--purple); background: var(--white); color: var(--purple-dark); }
.resource-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 30px; }
.resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource-card { display: flex; min-height: 250px; flex-direction: column; padding: 23px; border: 1px solid var(--line); background: var(--white); transition: border var(--motion-base), transform var(--motion-base) var(--ease); }
.resource-card:hover { transform: translateY(-3px); border-color: #cbbadd; }
.resource-card-feature { grid-column: span 2; min-height: 215px; padding: 28px; background: #fdfcff; }
.resource-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.resource-tag { color: var(--purple-dark); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.resource-number { color: #a8a1b0; font-size: 11px; font-family: Georgia, "Times New Roman", serif; }
.resource-card h3 { max-width: 380px; margin: 0 0 10px; font-size: 19px; font-weight: 650; letter-spacing: -.03em; line-height: 1.3; }
.resource-card-feature h3 { max-width: 540px; font-size: clamp(23px, 3vw, 32px); }
.resource-card > p { max-width: 420px; margin-bottom: 24px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.resource-open { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--purple-dark); font-size: 11px; font-weight: 750; cursor: pointer; text-align: left; }
.resource-open svg { width: 16px; height: 16px; transition: transform var(--motion-fast); }
.resource-open:hover svg { transform: translate(2px, -2px); }
.resource-disclaimer { padding: 23px; border: 1px solid #e1d8eb; background: rgba(255,255,255,.68); }
.disclaimer-mark { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--purple-soft); color: var(--purple-dark); }
.disclaimer-mark svg { width: 19px; height: 19px; }
.resource-disclaimer h3 { margin: 0 0 12px; font-size: 19px; font-weight: 660; letter-spacing: -.03em; line-height: 1.3; }
.resource-disclaimer p { margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.resource-disclaimer .inline-link { margin-top: 5px; font-size: 10px; }
.resource-empty { grid-column: 1 / -1; padding: 50px 20px; border: 1px dashed var(--line-strong); background: var(--white); text-align: center; }
.resource-empty h3 { margin-bottom: 4px; font-size: 18px; }
.resource-empty p { margin-bottom: 12px; color: var(--muted); font-size: 12px; }

/* Appointment band */
.appointment-band { position: relative; overflow: hidden; background: #21172f; color: var(--white); }
.appointment-band::before { position: absolute; right: 18%; top: -100px; bottom: -100px; width: 1px; background: rgba(255,255,255,.12); content: ""; transform: rotate(24deg); }
.appointment-band::after { position: absolute; right: 9%; bottom: -50px; width: 320px; height: 320px; border: 1px solid rgba(211,190,243,.17); border-radius: 50%; content: ""; }
.appointment-band-inner { position: relative; display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 55px; padding-block: clamp(60px, 8vw, 95px); }
.eyebrow-light { color: #cbb5eb; }
.appointment-band h2 { margin: 0; font-size: clamp(37px, 5.4vw, 65px); line-height: 1.08; }
.appointment-band h2 em { color: #c9b2e9; }
.appointment-band-action { position: relative; z-index: 1; max-width: 360px; }
.appointment-band-action p { margin-bottom: 22px; color: #d1c7dc; font-size: 12px; line-height: 1.8; }
.appointment-band-action .button { font-size: 11px; }
.band-index { position: absolute; right: 0; top: 22px; color: rgba(255,255,255,.27); font-family: Georgia, "Times New Roman", serif; font-size: 16px; }

/* Contact */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(40px, 8vw, 100px); }
.contact-copy h2 { margin-bottom: 24px; }
.contact-lede { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-status { display: flex; gap: 13px; max-width: 480px; margin-block: 33px; padding: 18px; border: 1px solid #eadfc8; background: var(--warning-bg); }
.status-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #ad7d35; }
.contact-status strong { display: block; color: var(--warning-ink); font-size: 12px; }
.contact-status p { margin: 5px 0 0; color: #776a55; font-size: 11px; line-height: 1.7; }
.contact-detail-list { max-width: 480px; border-top: 1px solid var(--line); }
.contact-detail-list > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-detail-list span { color: var(--muted-2); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail-list strong { font-size: 12px; font-weight: 650; }
.inquiry-panel { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: var(--paper); }
.inquiry-panel-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.inquiry-panel-heading .eyebrow { margin-bottom: 10px; }
.inquiry-panel-heading h3 { margin: 0 0 5px; font-size: 29px; font-weight: 560; letter-spacing: -.04em; }
.inquiry-panel-heading > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.inquiry-form { display: grid; gap: 16px; padding-top: 22px; }
.form-row { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-row label { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.form-row label span, .consent-check b { color: #a33d57; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); color: var(--ink); font-size: 12px; outline: 0; transition: border var(--motion-fast), box-shadow var(--motion-fast); }
.form-row input, .form-row select { min-height: 45px; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(118,80,184,.10); }
.form-row input[aria-invalid="true"], .form-row select[aria-invalid="true"], .form-row textarea[aria-invalid="true"] { border-color: #a33d57; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-error { min-height: 0; color: #98374e; font-size: 10px; line-height: 1.45; }
.field-hint { color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; cursor: pointer; }
.consent-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--purple); }
.consent-check[aria-invalid="true"] { color: #98374e; }
.form-result { margin-top: 14px; padding: 14px; border: 1px solid #d7c9e8; background: var(--purple-pale); color: #49356a; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.inquiry-form .button-outline[hidden] { display: none; }

/* Footer */
.site-footer { padding-top: 55px; background: #19151f; color: var(--white); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(120px, .7fr) minmax(130px, .8fr); gap: clamp(30px, 7vw, 92px); padding-bottom: 48px; }
.footer-wordmark { display: inline-flex; flex-direction: column; gap: 2px; font-size: 21px; font-weight: 560; letter-spacing: -.045em; }
.footer-wordmark span { color: #c3b4d7; font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.footer-brand-block > p { max-width: 390px; margin: 15px 0 0; color: #a9a1b1; font-size: 11px; line-height: 1.85; }
.footer-nav-group { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-label { margin-bottom: 7px; color: #c7b7de; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav-group a { color: #d6d0dc; font-size: 11px; transition: color var(--motion-fast); }
.footer-nav-group a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #aaa2b1; font-size: 9px; }
.footer-disclaimer { text-align: center; }
.back-to-top { color: #e3d8f0; white-space: nowrap; }
.back-to-top:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Dialogs and real interactions */
.site-dialog { width: min(900px, calc(100vw - 30px)); max-width: 900px; max-height: min(90vh, 900px); overflow: auto; padding: clamp(18px, 3.2vw, 32px); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); box-shadow: 0 22px 80px rgba(31,21,44,.26); }
.site-dialog::backdrop { background: rgba(22,17,29,.68); backdrop-filter: blur(2px); }
.site-dialog[open] { animation: dialog-in 220ms var(--ease) both; }
.dialog-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dialog-topbar .eyebrow { margin-bottom: 7px; }
.dialog-topbar h2 { margin: 0; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.045em; line-height: 1.15; }
.dialog-close { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; }
.dialog-close:hover { border-color: var(--purple); background: var(--purple-soft); }
.dialog-close svg { width: 18px; height: 18px; }
.certificate-dialog-image { display: flex; align-items: center; justify-content: center; min-height: 220px; max-height: 65vh; margin-top: 22px; padding: 14px; background: #f0edf2; }
.certificate-dialog-image img { width: 100%; max-height: 62vh; object-fit: contain; }
.dialog-caption { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dialog-actions .text-link { font-size: 11px; }
.resource-dialog { width: min(700px, calc(100vw - 30px)); }
.resource-article-content { padding-block: 24px; }
.resource-article-content p, .resource-article-content li { color: #504a57; font-size: 13px; line-height: 1.9; }
.resource-article-content h3 { margin: 21px 0 8px; font-size: 17px; letter-spacing: -.02em; }
.resource-article-content ul { padding-left: 20px; }
.resource-article-content li { padding-left: 4px; margin-bottom: 6px; }
.resource-article-callout { padding: 15px 17px; border-left: 2px solid var(--purple); background: var(--purple-pale); color: #554069 !important; }
.resource-dialog-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 18px; border-top: 1px solid var(--line); }
.resource-dialog-bottom p { max-width: 390px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.wizard-dialog { width: min(680px, calc(100vw - 28px)); }
.wizard-disclaimer { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 14px; background: #fff9ee; color: #6b542c; }
.wizard-disclaimer svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wizard-disclaimer p { margin: 0; font-size: 11px; line-height: 1.65; }
.wizard-progress { display: flex; align-items: center; gap: 9px; margin: 25px 0 28px; }
.wizard-step-indicator { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-size: 10px; font-weight: 650; }
.wizard-step-indicator b { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 10px; font-weight: 700; }
.wizard-step-indicator.is-current { color: var(--purple-dark); }
.wizard-step-indicator.is-current b, .wizard-step-indicator.is-complete b { border-color: var(--purple); background: var(--purple); color: white; }
.wizard-progress-line { flex: 1; height: 1px; background: var(--line-strong); }
.wizard-page h3 { margin: 0 0 6px; font-size: 22px; font-weight: 630; letter-spacing: -.035em; }
.wizard-muted { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.wizard-page .form-row { margin-bottom: 17px; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard-actions .button { min-height: 44px; }
.wizard-step-count { color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.wizard-review { margin: 20px 0; border-top: 1px solid var(--line); }
.wizard-review > div { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.wizard-review dt { color: var(--muted-2); font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.wizard-review dd { margin: 0; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.wizard-consent { margin: 12px 0; }
.wizard-page > .button-full { margin-top: 10px; }

/* Motion system */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity 680ms var(--ease), transform 680ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-title.reveal { transform: translateY(15px); }
.js-motion .hero-title.reveal.is-visible { transform: translateY(0); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(9px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-shell { min-height: 78px; }
  .brand { flex-basis: 210px; max-width: 210px; }
  .primary-nav { gap: 15px; }
  .primary-nav > a { font-size: 11px; }
  .nav-cta { padding-inline: 12px; }
  .hero-grid { grid-template-columns: minmax(0, .93fr) minmax(330px, 1.07fr); gap: 35px; }
  .hero-title { font-size: clamp(54px, 6.4vw, 77px); }
  .hero-visual { min-height: 500px; }
  .doctor-portrait { max-height: 560px; }
  .resource-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
}
@media (max-width: 900px) {
  :root { --section-space: 90px; }
  .nav-shell { min-height: 74px; gap: 12px; }
  .brand { flex: 0 1 175px; max-width: 175px; }
  .language-switcher { margin-left: auto; gap: 5px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; right: var(--gutter); left: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; border: 1px solid var(--line); border-top: 0; background: var(--paper); }
  .primary-nav.is-open { display: flex; animation: nav-in 180ms var(--ease) both; }
  .primary-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .primary-nav > a::after { display: none; }
  .primary-nav .nav-cta { margin-top: 15px; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .85fr); gap: 22px; min-height: 500px; }
  .hero-title { font-size: clamp(48px, 7vw, 68px); }
  .hero-visual { min-height: 465px; }
  .portrait-caption { right: 0; bottom: 10%; max-width: 160px; padding: 10px 0 10px 10px; font-size: 10px; }
  .hero-note { margin-top: 32px; }
  .intro-strip-inner { grid-template-columns: 140px 1fr 44px; gap: 20px; }
  .about-grid { gap: 40px; }
  .credential-feature { gap: 28px; padding: 20px; }
  .credential-row { grid-template-columns: 80px minmax(0, 1fr) 42px; gap: 18px; }
  .focus-layout { gap: 28px; }
  .resource-layout { grid-template-columns: 1fr; }
  .resource-disclaimer { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; column-gap: 15px; }
  .resource-disclaimer .disclaimer-mark { grid-row: span 3; }
  .resource-disclaimer h3 { margin-bottom: 7px; }
  .resource-disclaimer .inline-link { grid-column: 2; }
  .contact-grid { gap: 36px; }
  .footer-main { gap: 35px; }
}
@media (max-width: 650px) {
  :root { --gutter: 20px; --section-space: 76px; }
  html { scroll-padding-top: 78px; }
  body { font-size: 15px; }
  .nav-shell { min-height: 68px; gap: 9px; }
  .site-header.is-compact .nav-shell { min-height: 64px; }
  .brand { flex: 0 1 132px; max-width: 132px; min-width: 0; }
  .language-switcher { font-size: 10px; gap: 4px; }
  .language-switcher button { font-size: 10px; }
  .menu-toggle { flex: 0 0 40px; width: 40px; height: 40px; margin-left: 0; }
  .hero { padding-top: 45px; padding-bottom: 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding-block: 0; }
  .eyebrow { margin-bottom: 15px; font-size: 9px; }
  .hero-title { margin-bottom: 18px; font-size: clamp(51px, 12vw, 74px); }
  .hero-intro { max-width: 450px; margin-bottom: 23px; font-size: 15px; }
  .hero-actions { align-items: flex-start; gap: 18px; }
  .hero-actions .button { max-width: 100%; font-size: 10px; }
  .hero-note { margin-top: 25px; padding-top: 15px; font-size: 10px; }
  .hero-visual { min-height: auto; height: min(112vw, 480px); max-height: 480px; margin-top: 5px; }
  .portrait-backdrop { top: 0; right: 3%; bottom: 0; left: 12%; }
  .doctor-portrait { width: min(100%, 390px); height: 100%; max-height: 480px; object-fit: contain; object-position: center bottom; }
  .portrait-vertical-label { top: 15%; left: 3%; font-size: 8px; }
  .portrait-caption { right: -1px; bottom: 9%; max-width: 150px; }
  .portrait-index { right: 6px; bottom: 1%; }
  .hero-bottomline { flex-wrap: wrap; margin-top: 24px; font-size: 8px; letter-spacing: .09em; }
  .bottomline-center { display: none; }
  .intro-strip-inner { grid-template-columns: 1fr 42px; gap: 12px; padding-block: 22px; }
  .strip-label { grid-column: 1; }
  .strip-copy { grid-column: 1; font-size: 12px; }
  .round-link { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(38px, 10vw, 54px); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .large-copy { font-size: 22px; }
  .about-facts { gap: 18px; margin-top: 28px; }
  .fact-number { font-size: 30px; }
  .fact-text { font-size: 10px; }
  .section-heading-wide { display: block; margin-bottom: 35px; }
  .heading-side-note { margin-top: 18px; font-size: 11px; }
  .credential-feature { grid-template-columns: 1fr; gap: 23px; padding: 13px; }
  .certificate-feature-image { min-height: 220px; }
  .certificate-feature-image img { max-height: 260px; }
  .credential-feature-copy { padding: 5px 8px 13px; }
  .credential-feature-copy h3 { font-size: 33px; }
  .credential-row { grid-template-columns: 56px minmax(0, 1fr) 34px; gap: 12px; padding: 23px 0; }
  .credential-year { font-size: 15px; }
  .credential-year span { font-size: 8px; letter-spacing: .04em; }
  .credential-text h3 { font-size: 14px; }
  .credential-text p { font-size: 11px; }
  .credential-text small { font-size: 9px; }
  .icon-button { width: 34px; height: 34px; }
  .focus-layout { grid-template-columns: 1fr; gap: 28px; }
  .focus-image-wrap, .focus-image-wrap img { min-height: 235px; max-height: 310px; }
  .focus-lead-copy { padding: 24px; }
  .focus-item { grid-template-columns: 24px minmax(0, 1fr) 32px; gap: 12px; padding-block: 21px; }
  .focus-item h3 { font-size: 15px; }
  .focus-item p { font-size: 11px; }
  .focus-symbol { width: 32px; height: 32px; }
  .resource-controls { align-items: stretch; gap: 14px; }
  .search-field { width: 100%; }
  .filter-group { justify-content: flex-start; gap: 3px; }
  .filter-button { min-height: 34px; padding: 7px 10px; font-size: 9px; }
  .resource-list { grid-template-columns: 1fr; gap: 10px; }
  .resource-card, .resource-card-feature { grid-column: auto; min-height: 0; padding: 21px; }
  .resource-card-top { margin-bottom: 17px; }
  .resource-card h3 { font-size: 19px; }
  .resource-card-feature h3 { font-size: 25px; }
  .resource-card > p { margin-bottom: 20px; }
  .resource-disclaimer { display: block; padding: 22px; }
  .resource-disclaimer .disclaimer-mark { margin-bottom: 14px; }
  .resource-disclaimer .inline-link { display: flex; }
  .appointment-band-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 62px; }
  .appointment-band h2 { font-size: clamp(38px, 10vw, 54px); }
  .appointment-band-action { max-width: 100%; }
  .appointment-band-action p { max-width: 400px; }
  .appointment-band::after { right: -180px; opacity: .6; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-status { padding: 15px; }
  .inquiry-panel { padding: 21px; }
  .inquiry-panel-heading h3 { font-size: 25px; }
  .form-split { grid-template-columns: 1fr; gap: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-brand-block > p { max-width: 470px; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; gap: 9px 14px; font-size: 9px; }
  .footer-disclaimer { order: 3; flex-basis: 100%; text-align: left; }
  .site-dialog { width: calc(100vw - 18px); max-height: 94vh; padding: 17px; }
  .dialog-topbar h2 { font-size: 26px; }
  .certificate-dialog-image { padding: 7px; min-height: 160px; }
  .certificate-dialog-image img { max-height: 55vh; }
  .dialog-actions { align-items: flex-start; flex-direction: column; }
  .wizard-progress { gap: 6px; }
  .wizard-step-indicator { gap: 5px; font-size: 9px; }
  .wizard-step-indicator b { width: 25px; height: 25px; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .button { font-size: 10px; padding-inline: 12px; }
  .wizard-step-count { order: 3; flex-basis: 100%; text-align: right; }
  .wizard-review > div { grid-template-columns: 102px minmax(0,1fr); gap: 10px; }
  .resource-dialog-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand { max-width: 175px; }
  .hero-title { font-size: 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .button { max-width: 100%; }
  .credential-row { grid-template-columns: 45px minmax(0, 1fr) 30px; gap: 9px; }
  .credential-year { font-size: 13px; }
  .brand { flex-basis: 102px; max-width: 102px; }
  .language-switcher { gap: 3px; }
  .icon-button { width: 30px; height: 30px; }
  .footer-main { gap: 25px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .credential-fallback-ready .credential-story-entry, .credential-fallback-ready .credential-story-heading { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}

html[lang="bn"] body { font-family: var(--font-bangla), var(--font-sans); }
html[lang="bn"] .language-switcher { letter-spacing: 0; }
html[lang="bn"] .eyebrow { letter-spacing: .04em; }


/* Bangla typography: Anek Bangla first, with reliable locally installed fallbacks. */
html[lang="bn"] body {
  font-family: var(--font-bangla);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-wrap: break-word;
  font-kerning: normal;
  font-variant-ligatures: normal;
}
/* Keep permanently English navigation and copyright legible in the site's Latin typeface. */
html[lang="bn"] .primary-nav,
html[lang="bn"] .primary-nav .button,
html[lang="bn"] .footer-nav-group,
html[lang="bn"] .footer-bottom,
html[lang="bn"] .footer-label,
html[lang="bn"] .footer-wordmark,
html[lang="bn"] .footer-brand-block > p,
html[lang="bn"] .back-to-top {
  font-family: var(--font-sans);
}
html[lang="bn"] .resource-tag { letter-spacing: 0; }
html[lang="bn"] :is(h1, h2, h3, p, a, button, label, input, textarea, select, small, strong, span, li, dt, dd) {
  letter-spacing: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang="bn"] :is(h1, h2, h3) {
  font-family: var(--font-bangla);
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: pretty;
}
html[lang="bn"] :is(h1, h2, h3) em {
  font-family: var(--font-bangla);
  font-style: normal;
  font-weight: 500;
  line-height: inherit;
}
html[lang="bn"] .eyebrow {
  font-family: var(--font-bangla);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}
html[lang="bn"] .hero-title { font-size: clamp(40px, 5.8vw, 66px); line-height: 1.3; }
html[lang="bn"] .section-heading h2,
html[lang="bn"] .contact-copy h2 { line-height: 1.32; }
html[lang="bn"] .credential-feature-copy h3 { font-size: clamp(27px, 3.1vw, 39px); line-height: 1.38; }
html[lang="bn"] .credential-feature-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.95; }
html[lang="bn"] .credential-year { line-height: 1.5; }
html[lang="bn"] .credential-year span { font-family: var(--font-bangla); font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.6; text-transform: none; }
html[lang="bn"] .credential-text h3 { font-size: 16px; line-height: 1.55; }
html[lang="bn"] .credential-text p { font-size: 13px; line-height: 1.95; }
html[lang="bn"] .credential-text small { font-size: 11px; line-height: 1.8; }
html[lang="bn"] .document-meta span,
html[lang="bn"] .contact-detail-list span { font-family: var(--font-bangla); font-size: 11px; letter-spacing: 0; line-height: 1.65; text-transform: none; }
html[lang="bn"] .document-meta strong,
html[lang="bn"] .contact-detail-list strong { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
html[lang="bn"] .contact-lede,
html[lang="bn"] .contact-hours-note p,
html[lang="bn"] .contact-affiliation-note { font-size: 14px; line-height: 1.95; }
html[lang="bn"] .contact-hours-note strong { font-size: 14px; line-height: 1.65; }
html[lang="bn"] .inquiry-panel-heading > p:not(.eyebrow),
html[lang="bn"] .form-row label,
html[lang="bn"] .field-hint,
html[lang="bn"] .consent-check span { font-size: 13px; line-height: 1.8; }
html[lang="bn"] .language-switcher { font-family: var(--font-bangla); }
html[lang="bn"] .button,
html[lang="bn"] .text-link,
html[lang="bn"] .inline-link { font-family: var(--font-bangla); line-height: 1.6; }
html[lang="bn"] .credential-feature,
html[lang="bn"] .credential-feature-copy,
html[lang="bn"] .credential-text,
html[lang="bn"] .contact-copy,
html[lang="bn"] .inquiry-panel { min-width: 0; }

@media (max-width: 700px) {
  html[lang="bn"] .credential-feature { gap: 21px; padding: 14px; }
  html[lang="bn"] .credential-feature-copy { padding: 3px 3px 10px; }
  html[lang="bn"] .credential-row { grid-template-columns: 45px minmax(0, 1fr) 30px; gap: 9px; padding-block: 22px; }
  html[lang="bn"] .credential-text h3 { font-size: 15px; }
  html[lang="bn"] .contact-actions { align-items: stretch; flex-direction: column; }
  html[lang="bn"] .contact-actions .button { width: 100%; }
}
@media (max-width: 360px) {
  html[lang="bn"] .hero-title { font-size: 39px; }
  html[lang="bn"] .credential-feature-copy h3 { font-size: 26px; }
  html[lang="bn"] .credential-text p { font-size: 12.5px; }
}


/* Contact/chamber details: direct telephone booking first, no implied backend. */
.contact-hours-note { display: flex; align-items: flex-start; gap: 12px; max-width: 520px; margin-block: 26px; padding: 16px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.contact-note-symbol { flex: 0 0 22px; color: var(--purple-dark); margin-top: 3px; }
.contact-note-symbol svg, .contact-action-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-hours-note strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; line-height: 1.5; }
.contact-hours-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-detail-list a { color: var(--purple-dark); text-decoration: underline; text-decoration-color: #cbbbe3; text-underline-offset: 3px; }
.contact-detail-list a:hover { text-decoration-color: currentColor; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 25px; }
.contact-actions .button { justify-content: center; gap: 10px; }
.contact-action-icon { width: 17px; height: 17px; flex: 0 0 auto; }
.contact-affiliation-note { max-width: 500px; margin: 17px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.8; }
.contact-copy, .contact-detail-list, .contact-detail-list > div { min-width: 0; }
.contact-detail-list strong { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 700px) {
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-actions .button { width: 100%; }
}

/* =============================================================================
   HORIZONTAL CREDENTIALS SLIDESHOW
   Desktop: pinned horizontal scroll driven by GSAP ScrollTrigger
   Mobile: stacked card layout (no pin, no horizontal scroll)
   ============================================================================= */

/* ── Section shell ─────────────────────────────────────────────────────────── */
.credentials-section {
  background: var(--paper);
  /* No top/bottom padding here — the intro and footnote carry their own space */
}

/* ── Section intro ──────────────────────────────────────────────────────────── */
.cred-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  padding-top: var(--section-space);
  padding-bottom: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.cred-intro-head h2 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 540;
}
.cred-intro-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  max-width: 380px;
  align-self: end;
}

/* ── Desktop pin outer — clipping viewport ──────────────────────────────────── */
.cred-pin-outer {
  /* This is the element that gets pinned by ScrollTrigger on desktop */
  position: relative;
  overflow: hidden; /* clips the track as it slides */
  width: 100%;
}

/* ── Desktop pin inner — fixed height viewport ──────────────────────────────── */
.cred-pin-inner {
  position: relative;
  width: 100%;
  height: clamp(540px, 78vh, 720px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Horizontal track ───────────────────────────────────────────────────────── */
.cred-track {
  display: flex;
  align-items: stretch;
  /* will-change: transform set by GSAP when animation initialises */
  /* No wrap — slides are horizontal */
  white-space: nowrap;
  height: 100%;
}

/* ── Individual slide ───────────────────────────────────────────────────────── */
.cred-slide {
  position: relative;
  flex: 0 0 auto;
  /* Each slide = viewport width minus nav gutter, so exactly one slide shows */
  width: 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-inline: var(--gutter);
  padding-block: clamp(28px, 3vw, 44px);
  white-space: normal; /* reset the parent nowrap */
  box-sizing: border-box;
}

/* Add a subtle right divider between slides (except last) */
.cred-slide:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--line-strong);
  pointer-events: none;
}

/* ── Slide image area ────────────────────────────────────────────────────────── */
.cred-slide-image-wrap {
  position: relative;
  width: 100%;
  /* Reserve a stable 16:9 box so images never shift the layout while loading. */
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(23, 21, 27, .07);
  overflow: hidden;
}

.cred-img-btn {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cred-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 500ms var(--ease);
}

.cred-img-btn:hover img {
  transform: scale(1.022);
}

.cred-img-overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  background: var(--white);
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms, transform 200ms;
}

.cred-img-overlay svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cred-img-btn:hover .cred-img-overlay,
.cred-img-btn:focus-visible .cred-img-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ── Slide text copy ────────────────────────────────────────────────────────── */
.cred-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
  min-width: 0;
}

.cred-slide-tag {
  margin: 0 0 16px;
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}

.cred-slide-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.048em;
  font-weight: 520;
}

.cred-slide-title em {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.cred-slide-body {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.88;
  max-width: 500px;
}

/* ── Metadata list within slide ─────────────────────────────────────────────── */
.cred-meta {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cred-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cred-meta dt {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cred-meta dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

/* ── Slide index badge ───────────────────────────────────────────────────────── */
.cred-slide-index {
  position: absolute;
  bottom: 20px;
  right: calc(var(--gutter) + 4px);
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* ── Progress bar ────────────────────────────────────────────────────────────── */
.cred-progress-bar {
  width: 100%;
  height: 2px;
  background: var(--line);
  position: relative;
}

#cred-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--purple);
  transform-origin: left;
  transition: width 60ms linear;
}

/* ── Footnote ─────────────────────────────────────────────────────────────────── */
.cred-footnote {
  padding-top: 22px;
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line);
}

.cred-footnote p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.cred-footnote strong {
  color: var(--ink-soft);
}

/* ── Mobile stacked layout — hidden on desktop ───────────────────────────────── */
.cred-mobile {
  display: none; /* shown via media query */
  flex-direction: column;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 12px;
}

.cred-mobile-card {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.cred-mobile-img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--white);
  cursor: zoom-in;
  overflow: hidden;
}

.cred-mobile-img-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  transition: transform 450ms var(--ease);
}

.cred-mobile-img-btn:hover img,
.cred-mobile-img-btn:focus-visible img {
  transform: scale(1.02);
}

.cred-mobile-copy {
  padding: clamp(18px, 4vw, 28px);
}

.cred-mobile-copy h3 {
  margin: 6px 0 10px;
  font-size: clamp(18px, 4.5vw, 23px);
  font-weight: 630;
  letter-spacing: -.03em;
  line-height: 1.3;
}

.cred-mobile-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ── Responsive: tablet 701px–1024px ────────────────────────────────────────── */
@media (min-width: 701px) and (max-width: 1024px) {
  .cred-slide {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(22px, 3.5vw, 44px);
    padding-block: clamp(22px, 3vw, 36px);
  }

  .cred-slide-title {
    font-size: clamp(24px, 3vw, 34px);
  }

  .cred-meta dd {
    font-size: 10px;
  }

  .cred-intro {
    grid-template-columns: 1fr;
    padding-bottom: clamp(32px, 5vw, 55px);
  }

  .cred-intro-note {
    max-width: 560px;
    margin: 0;
  }
}

/* ── Responsive: mobile ≤700px — switch to stacked ──────────────────────────── */
@media (max-width: 700px) {
  .cred-pin-outer,
  .cred-progress-bar {
    display: none;
  }

  .cred-mobile {
    display: flex;
  }

  .cred-intro {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
    gap: 18px;
  }

  .cred-intro-head h2 {
    font-size: clamp(34px, 9.5vw, 52px);
  }

  .cred-intro-note {
    margin: 0;
    font-size: 12px;
  }

  .cred-footnote {
    padding-bottom: var(--section-space);
    padding-top: 18px;
  }
}

/* ── Reduced motion — disable all movement ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cred-track {
    /* No transform animation */
    will-change: auto !important;
    transform: none !important;
  }

  .cred-img-btn img {
    transition: none !important;
  }

  .cred-img-overlay {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }

  #cred-progress-fill {
    transition: none !important;
  }
}

/* ── Bangla language typography adjustments ───────────────────────────────────── */
html[lang="bn"] .cred-slide-tag {
  font-family: var(--font-bangla);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

html[lang="bn"] .cred-slide-title {
  font-family: var(--font-bangla);
  line-height: 1.38;
  letter-spacing: 0;
}

html[lang="bn"] .cred-slide-title em {
  font-family: var(--font-bangla);
  font-style: normal;
  font-weight: 500;
}

html[lang="bn"] .cred-slide-body {
  font-size: 14px;
  line-height: 1.95;
}

html[lang="bn"] .cred-meta dt {
  font-family: var(--font-bangla);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

html[lang="bn"] .cred-meta dd {
  font-size: 13px;
  line-height: 1.8;
}

html[lang="bn"] .cred-mobile-copy h3 {
  font-family: var(--font-bangla);
  line-height: 1.42;
  letter-spacing: 0;
}

html[lang="bn"] .cred-mobile-copy p {
  font-size: 13px;
  line-height: 1.95;
}

/* ── No-JS fallback — show stacked on all sizes if JS unavailable ─────────────── */
.no-js .cred-pin-outer,
.no-js .cred-progress-bar {
  display: none;
}

.no-js .cred-mobile {
  display: flex;
}
