/* Amzad Hossain — "Blueprint Navy Pro".
   Midnight navy (the blazer) + iSoft sky and red (measured from the iSoft logo) on warm paper. Every text pair is AA-checked.
   Motion: transform/opacity only; 3D, will-change and backdrop-filter wait for the first scroll or pointer move (.is-live / .is-tilting);
   everything is static under prefers-reduced-motion. State classes set by site.js: motion, is-live, is-tilting, is-shown, is-scrolled, is-open, is-on. */

:root {
  --night: #071330; --navy: #0D1C40; --navy-2: #15295A;
  --ink: #13254B; --ink-soft: #4A5672;
  --paper: #F6F3EC; --paper-2: #ECE7DB; --card: #FBF9F5; --line: #D9D1C1;
  --sky: #2B9ACB; --sky-hi: #74C8EE; --blue: #0A69B0; --red: #E8191F; --red-btn: #C8161C;
  --on-dark: #EAF0FA; --on-dark-soft: #A3B2D2; --edge: rgba(116, 200, 238, .18);
  --grid: rgba(116, 200, 238, .085); --grid-2: rgba(116, 200, 238, .04);
  --ff-display: "Space Grotesk", "Anek Bangla", system-ui, "Segoe UI", sans-serif;
  --ff-body: "Inter", "Hind Siliguri", system-ui, "Segoe UI", "Nirmala UI", sans-serif;
  --ff-mono: "JetBrains Mono", "Hind Siliguri", ui-monospace, Consolas, monospace;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 32px); --head: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base and safety net ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--ff-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html[lang="bn"] body { line-height: 1.8; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
table { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 650; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; overflow-wrap: break-word; }
html[lang="bn"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.32; font-weight: 600; }
p { margin: 0 0 1em; }
p, li, a, span, h1, h2, h3, h4 { overflow-wrap: break-word; }
::selection { background: var(--sky-hi); color: var(--night); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.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; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.14em; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--sky-hi); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono-t { font-family: var(--ff-mono); }
.on-dark { color: var(--on-dark); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font: 600 1rem/1 var(--ff-body); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s; }
.btn .i { font-size: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .i:last-child { transform: translateX(4px); }
.btn-red { background: var(--red-btn); color: #fff; box-shadow: 0 14px 34px -14px rgba(200, 22, 28, .75); }
.btn-red::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease); }
.btn-red:hover::after { transform: translateX(130%); }
.btn-red:hover { box-shadow: 0 18px 40px -14px rgba(200, 22, 28, .9); }
.btn-glass { background: rgba(234, 240, 250, .06); color: var(--on-dark); border-color: rgba(234, 240, 250, .24); }
.btn-glass:hover { border-color: var(--sky-hi); background: rgba(116, 200, 238, .1); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--night); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.link-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-go:hover .i { transform: translate(2px, -2px); }
.link-go .i { transition: transform .3s var(--ease); }

/* ── Header ──────────────────────────────────────────────────────── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), var(--red)); pointer-events: none; }
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); color: var(--on-dark); transition: height .4s var(--ease); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 19, 48, 0); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.site-head.is-scrolled { height: 64px; }
.site-head.is-scrolled::before { background: rgba(7, 19, 48, .86); border-bottom-color: var(--edge); }
.is-live .site-head.is-scrolled::before { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.head-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.mono { position: relative; flex: none; width: 42px; height: 42px; display: grid; place-items: center; font: 700 .95rem/1 var(--ff-mono); letter-spacing: .02em; color: var(--on-dark); background: linear-gradient(135deg, var(--navy-2), var(--night)); border: 1px solid rgba(116, 200, 238, .45); }
.mono::before, .mono::after { content: ""; position: absolute; width: 7px; height: 7px; border-color: var(--red); border-style: solid; }
.mono::before { top: -4px; left: -4px; border-width: 2px 0 0 2px; }
.mono::after { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; }
.brand-name { display: block; font: 650 1.06rem/1.15 var(--ff-display); white-space: nowrap; }
.brand-role { display: block; font: 500 .68rem/1.3 var(--ff-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark-soft); white-space: nowrap; }
html[lang="bn"] .brand-role { text-transform: none; letter-spacing: 0; font-size: .76rem; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 13px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-dark-soft); white-space: nowrap; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1px solid var(--edge); border-radius: 999px; padding: 3px; font: 600 .78rem/1 var(--ff-mono); }
.lang a, .lang span { padding: 7px 10px; border-radius: 999px; text-decoration: none; color: var(--on-dark-soft); }
.lang span { background: var(--sky-hi); color: var(--night); }
.lang a:hover { color: var(--on-dark); }
.burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--edge); background: rgba(13, 28, 64, .6); color: var(--on-dark); cursor: pointer; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* Phone menu: a sibling of the header, so no ancestor filter can trap it (§9.414). */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--night); color: var(--on-dark); display: flex; flex-direction: column; padding: 22px var(--gut) 32px; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; overflow-y: auto; }
.menu::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.menu-close { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--edge); background: transparent; color: var(--on-dark); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; text-decoration: none; font: 650 clamp(1.9rem, 9vw, 2.6rem)/1.15 var(--ff-display); border-bottom: 1px solid rgba(116, 200, 238, .1); transform: translateY(18px); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s; transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
.menu nav a small { font: 500 .8rem var(--ff-mono); color: var(--sky-hi); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.menu-foot .lang a, .menu-foot .lang span { flex: 1; text-align: center; }

/* ── Shared backgrounds ──────────────────────────────────────────── */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px), linear-gradient(var(--grid-2) 1px, transparent 1px), linear-gradient(90deg, var(--grid-2) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; -webkit-mask-image: radial-gradient(ellipse 85% 75% at 62% 38%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 85% 75% at 62% 38%, #000 25%, transparent 78%); }
.aurora { position: absolute; border-radius: 50%; pointer-events: none; width: 62vmax; height: 62vmax; }
.aurora.a1 { top: -26vmax; right: -16vmax; background: radial-gradient(circle, rgba(43, 154, 203, .42), transparent 62%); animation: drift-a 19s ease-in-out infinite alternate; }
.aurora.a2 { bottom: -34vmax; left: -22vmax; background: radial-gradient(circle, rgba(232, 25, 31, .24), transparent 60%); animation: drift-b 23s ease-in-out infinite alternate; }
.aurora.a3 { top: 18%; left: 32%; width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(10, 105, 176, .38), transparent 64%); animation: drift-c 27s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-7vmax, 5vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(8vmax, -6vmax) scale(1.12); } }
@keyframes drift-c { to { transform: translate(-6vmax, -4vmax) scale(.92); } }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); padding-top: calc(var(--head) + 28px); min-height: min(100svh, 980px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-in { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 4vw, 64px); align-items: stretch; }
.hero-copy { align-self: center; padding: 28px 0 clamp(56px, 9vh, 110px); }
.notice-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(232, 25, 31, .14); border: 1px solid rgba(232, 25, 31, .4); color: var(--on-dark); font-size: .85rem; text-decoration: none; }
.badge-open { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border-radius: 999px; border: 1px solid var(--edge); background: rgba(21, 41, 90, .55); font: 500 .8rem/1.2 var(--ff-mono); color: var(--on-dark); }
.badge-open .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #3DDC84; }
.badge-open .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3DDC84; opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.kicker { display: block; font: 500 .8rem/1.5 var(--ff-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--sky-hi); }
html[lang="bn"] .kicker { text-transform: none; letter-spacing: .01em; font-size: .9rem; }
.hero h1 { font-size: clamp(3.1rem, 8.6vw, 7.6rem); line-height: .9; letter-spacing: -.05em; font-weight: 700; margin: .22em 0 .24em; }
html[lang="bn"] .hero h1 { line-height: 1.12; font-size: clamp(2.9rem, 7.6vw, 6.4rem); }
.hero h1 .w { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero h1 .w > span { display: inline-block; }
.sweep { background: linear-gradient(100deg, var(--on-dark) 0 42%, #fff 47%, var(--sky-hi) 52%, var(--on-dark) 58% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tag { font: 500 clamp(1.02rem, 1.7vw, 1.25rem)/1.4 var(--ff-display); color: var(--on-dark); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero-tag i { font-style: normal; color: var(--sky); margin-left: 12px; }
.hero-intro { max-width: 36rem; color: var(--on-dark-soft); font-size: 1.06rem; }
.term { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 6px 0 26px; padding: 11px 16px; border-radius: 12px; background: rgba(13, 28, 64, .66); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px -24px rgba(0, 0, 0, .8); font: 500 .96rem/1.3 var(--ff-mono); }
.term .p { color: var(--sky-hi); }
.term .typed { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 9px; height: 1.15em; background: var(--sky-hi); flex: none; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 30px; font: 500 .78rem/1.3 var(--ff-mono); color: var(--on-dark-soft); }
html[lang="bn"] .also { font-size: .86rem; }
.also a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); text-decoration: none; font: 600 .78rem/1.2 var(--ff-body); opacity: .78; transition: opacity .3s, transform .3s var(--ease); }
.also a img { height: 30px; width: auto; max-width: 110px; object-fit: contain; }
.also a:hover { opacity: 1; transform: translateY(-2px); }
.also a .i { font-size: 1.3rem; color: var(--blue); }

/* The portrait stage: arch, drafting lines, orbit, floor shadow. */
.stage { position: relative; align-self: end; justify-self: center; width: min(100%, 560px); aspect-ratio: 3 / 4; max-height: calc(min(100svh, 980px) - var(--head) - 28px); }
.arch { position: absolute; inset: 14% 7% 0; border-radius: 999px 999px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--navy-2), var(--navy) 55%, var(--night)); border: 1px solid rgba(116, 200, 238, .26); border-bottom: 0; }
.arch::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.arch::after { content: ""; position: absolute; left: 50%; top: 6%; width: 120%; height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(116, 200, 238, .45), transparent 62%); }
.draft { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--sky-hi); pointer-events: none; }
.draft .ln { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.draft .ln.red { stroke: var(--red); opacity: .8; }
.draft text { fill: var(--on-dark-soft); font: 500 11px var(--ff-mono); letter-spacing: .08em; }
.portrait { position: absolute; left: 50%; bottom: 0; width: 96%; transform: translateX(-50%); z-index: 2; }
.portrait img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.floor { position: absolute; left: 6%; right: 6%; bottom: -3%; height: 12%; z-index: 1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), transparent 70%); }
.orbit { position: absolute; left: 50%; top: 40%; width: 0; height: 0; z-index: 3; --rx: 200px; --ry: 66px; }
.orb-x { position: absolute; left: 0; top: 0; animation: orb-x 16s ease-in-out infinite alternate; animation-delay: var(--od); }
.orb-y { animation: orb-y 16s ease-in-out infinite alternate; animation-delay: calc(var(--od) - 8s); }
.chip-o { transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; white-space: nowrap; background: rgba(13, 28, 64, .78); border: 1px solid rgba(116, 200, 238, .35); color: var(--on-dark); font: 600 .8rem/1 var(--ff-mono); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .9); }
.chip-o .i { color: var(--sky-hi); }
@keyframes orb-x { from { transform: translateX(calc(var(--rx) * -1)); } to { transform: translateX(var(--rx)); } }
@keyframes orb-y { from { transform: translateY(calc(var(--ry) * -1)) scale(.84); opacity: .72; } to { transform: translateY(var(--ry)) scale(1.06); opacity: 1; } }
.cue { position: absolute; left: var(--gut); bottom: 22px; display: flex; align-items: center; gap: 10px; font: 500 .72rem var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); text-decoration: none; z-index: 4; }
html[lang="bn"] .cue { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--on-dark-soft); border-radius: 12px; position: relative; }
.cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--sky-hi); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Load sequence (CSS only, runs once). */
.load .grid-bg { animation: fade-in 1.6s var(--ease) both; }
.load .aurora { animation-name: fade-in, var(--drift); animation-duration: 2s, var(--dur); animation-timing-function: var(--ease), ease-in-out; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-fill-mode: both, none; }
.load .aurora.a1 { --drift: drift-a; --dur: 19s; } .load .aurora.a2 { --drift: drift-b; --dur: 23s; } .load .aurora.a3 { --drift: drift-c; --dur: 27s; }
.load .rise { animation: rise 1s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.load .hero h1 .w > span { animation: word-up 1.1s var(--ease-out) calc(var(--i, 0) * 120ms + 250ms) both; }
.load .hero h1 .w > .sweep { animation: word-up 1.1s var(--ease-out) calc(var(--i, 0) * 120ms + 250ms) both, sweep 7s linear 1.9s infinite; }
.load .stage .arch { animation: arch-up 1.2s var(--ease-out) .2s both; }
.load .portrait { animation: portrait-up 1.3s var(--ease-out) .45s both; }
.load .draft .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 500ms); }
.load .orbit { animation: fade-in 1s var(--ease) 1.2s both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes word-up { from { transform: translateY(105%); } }
@keyframes arch-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes portrait-up { from { opacity: 0; transform: translate(-50%, 50px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sweep { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0 0; } }

/* ── Light hero (home): airy sky-to-paper top; the navy arch behind the portrait stays as the anchor ── */
.hero-light { background: linear-gradient(180deg, #E8F1FA 0%, #F1F5F9 52%, var(--paper) 100%); color: var(--ink); padding-bottom: 0; }
.hero-light .grid-bg { background-image: linear-gradient(rgba(19, 37, 75, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 37, 75, .07) 1px, transparent 1px), linear-gradient(rgba(19, 37, 75, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 37, 75, .035) 1px, transparent 1px); }
.hero-light .aurora.a1 { background: radial-gradient(circle, rgba(43, 154, 203, .3), transparent 62%); }
.hero-light .aurora.a2 { background: radial-gradient(circle, rgba(232, 25, 31, .1), transparent 60%); }
.hero-light .aurora.a3 { background: radial-gradient(circle, rgba(10, 105, 176, .16), transparent 64%); }
.hero-light .hero-copy { padding-bottom: 34px; }
.hero-light .kicker { color: var(--blue); }
.hero-light .sweep { background-image: linear-gradient(100deg, var(--ink) 0 42%, var(--blue) 47%, var(--sky) 52%, var(--ink) 58% 100%); }
.hero-light .hero-tag { color: var(--ink); }
.hero-light .hero-tag i { color: var(--red); }
.hero-light .hero-intro { color: var(--ink-soft); }
.hero-light .notice-pill { color: var(--ink); background: rgba(232, 25, 31, .08); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-light .badge-open, .badge-loc { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 10px 24px -16px rgba(19, 37, 75, .4); }
.badge-loc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 12px; border-radius: 999px; font: 500 .8rem/1.2 var(--ff-mono); }
html[lang="bn"] .badge-loc { font: 500 .88rem/1.2 var(--ff-body); }
.badge-loc .i { color: var(--red); }
.hero-light .term { background: #fff; border-color: var(--line); box-shadow: 0 20px 44px -28px rgba(19, 37, 75, .5); }
.hero-light .term .p { color: var(--blue); }
.hero-light .term .typed { color: var(--ink); }
.hero-light .caret { background: var(--blue); }
.btn-wa { width: 50px; padding: 0; border-radius: 50%; background: #138A3F; color: #fff; font-size: 1.3rem; box-shadow: 0 14px 30px -14px rgba(19, 138, 63, .8); }
.btn-wa:hover { background: #0F7434; }
/* "Also Director at": one small card per organisation, with its own logo, name and role. */
.director { margin-top: 30px; }
.director-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 .76rem/1.3 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
html[lang="bn"] .director-head { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.director-head .i { font-size: 1.05rem; color: var(--red); }
.director-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.director-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dcard { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: 0 14px 30px -22px rgba(19, 37, 75, .55); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.dcard:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 22px 40px -24px rgba(19, 37, 75, .6); }
.dlogo { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--blue); font-size: 1.3rem; }
.dlogo img { width: 40px; height: 40px; object-fit: contain; }
.dtext { min-width: 0; }
.dtext b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 650 .88rem/1.25 var(--ff-display); }
.dtext small { display: block; margin-top: 3px; font: 600 .66rem/1.2 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-btn); }
html[lang="bn"] .dtext small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.dgo { position: absolute; top: 6px; right: 8px; font-size: .8rem; color: var(--blue); opacity: 0; transform: translate(-3px, 3px); transition: opacity .3s, transform .3s var(--ease); }
.dcard:hover .dgo { opacity: 1; transform: none; }
@media (max-width: 600px) { .director-list { grid-template-columns: minmax(0, 1fr); } }
.hero-light .stage { height: clamp(440px, calc(100svh - var(--head) - 230px), 720px); width: auto; max-width: 100%; max-height: none; aspect-ratio: 3 / 4; }
.hero-light .draft { color: var(--sky); }
.hero-light .draft text { fill: var(--ink-soft); }
.hero-light .floor { display: none; }
/* The portrait sits inside the arch like a window: the photo is a little wider than the arch, so its straight side edges are always
   clipped by the arch walls, and its top is anchored so the hair stays clear of the round top. The drafting lines stay behind it. */
.hero-light .draft { z-index: 0; }
.hero-light .arch { z-index: 1; inset: 11% 5% 0; }
.hero-light .arch::before, .hero-light .arch::after { z-index: 0; }
.hero-light .arch .portrait { position: absolute; left: 50%; top: 5%; bottom: auto; width: 110%; transform: translateX(-50%); z-index: 1; }
.hero-light .arch .portrait img { -webkit-mask-image: none; mask-image: none; }
.hero-light .chip-o { background: rgba(255, 255, 255, .97); color: var(--ink); border-color: var(--line); box-shadow: 0 16px 32px -18px rgba(7, 19, 48, .55); }
.hero-light .chip-o .i { color: var(--blue); }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 14px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 26px 50px -26px rgba(7, 19, 48, .6); animation: bob 6s ease-in-out infinite alternate; }
.fc-founder { left: -6%; bottom: 12%; }
.fc-logo { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--blue); font-size: 1.3rem; }
.fc-logo img { max-width: 40px; max-height: 40px; width: auto; object-fit: contain; }
.float-card small { display: block; font: 500 .68rem/1.3 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
html[lang="bn"] .float-card small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.float-card b { display: block; font: 650 1.05rem/1.2 var(--ff-display); }
.float-card em { display: block; font-style: normal; font-size: .8rem; color: var(--ink-soft); }
@keyframes bob { to { transform: translateY(-10px); } }
.load .float-card { animation: fade-in 1s var(--ease) 1.4s both, bob 6s ease-in-out 2.4s infinite alternate; }
.hero-stats { position: relative; z-index: 5; display: flex; flex-wrap: wrap; gap: 1px; margin: 0 0 30px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); box-shadow: 0 30px 60px -42px rgba(19, 37, 75, .55); }
.hero-stats > div { flex: 1 1 150px; background: #fff; padding: 18px 22px 16px; min-width: 0; }
.hero-stats strong { display: block; font: 700 clamp(1.8rem, 3.2vw, 2.5rem)/1 var(--ff-display); letter-spacing: -.03em; color: var(--ink); }
.hero-stats strong sup { color: var(--red); font-size: .55em; margin-left: 2px; }
.hero-stats small { display: block; margin-top: 6px; font: 500 .72rem/1.3 var(--ff-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
html[lang="bn"] .hero-stats small { text-transform: none; letter-spacing: 0; font-size: .86rem; }
/* The header over the light hero: dark text until it turns into the navy glass bar on scroll. */
.top-light .site-head:not(.is-scrolled) { color: var(--ink); }
.top-light .site-head:not(.is-scrolled) .brand-role { color: var(--ink-soft); }
.top-light .site-head:not(.is-scrolled) .nav a { color: var(--ink-soft); }
.top-light .site-head:not(.is-scrolled) .nav a:hover, .top-light .site-head:not(.is-scrolled) .nav a[aria-current="page"] { color: var(--ink); }
.top-light .site-head:not(.is-scrolled) .nav a::after { background: var(--blue); }
.top-light .site-head:not(.is-scrolled) .lang { border-color: var(--line); background: rgba(255, 255, 255, .75); }
.top-light .site-head:not(.is-scrolled) .lang a { color: var(--ink-soft); }
.top-light .site-head:not(.is-scrolled) .burger { background: #fff; border-color: var(--line); color: var(--ink); }

/* ── Marquee (light, right under the hero) ───────────────────────── */
.marquee { position: relative; background: var(--card); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.mq-head { display: flex; align-items: center; gap: 12px; padding: 14px 0 0; font: 500 .74rem var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
html[lang="bn"] .mq-head { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.mq-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee:hover .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
.mq-list { display: flex; align-items: center; gap: 44px; padding: 16px 22px 18px; margin: 0; list-style: none; }
.mq-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; font: 600 1.08rem/1 var(--ff-display); color: var(--ink); opacity: .85; transition: opacity .3s; }
.mq-list a:hover { opacity: 1; }
.mq-list img { height: 32px; width: auto; max-width: 96px; object-fit: contain; background: #fff; border-radius: 7px; padding: 4px; }
.mq-list .sep { width: 6px; height: 6px; transform: rotate(45deg); background: var(--sky); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────── */
.sec { position: relative; padding: clamp(76px, 10vw, 132px) 0; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.sec-night { background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.sec-dark > .grid-bg, .sec-night > .grid-bg { z-index: -1; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 75%); }
.sec-head { margin-bottom: clamp(34px, 5vw, 60px); max-width: 46rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-no { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1.4 var(--ff-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
html[lang="bn"] .sec-no { text-transform: none; letter-spacing: .01em; font-size: .9rem; }
:is(.sec-dark, .sec-night) .sec-no { color: var(--sky-hi); }
.sec-title { font-size: clamp(2.1rem, 4.8vw, 3.6rem); margin: .3em 0 .3em; }
.sec-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 38rem; }
.sec-head.center .sec-sub { margin-inline: auto; }
:is(.sec-dark, .sec-night) .sec-sub { color: var(--on-dark-soft); }
.dim { position: relative; display: block; width: min(260px, 60%); height: 12px; margin-top: 18px; color: var(--blue); }
.sec-head.center .dim { margin-inline: auto; }
:is(.sec-dark, .sec-night) .dim { color: var(--sky-hi); }
.dim::before, .dim::after { content: ""; position: absolute; top: 0; width: 1px; height: 12px; background: currentColor; }
.dim::before { left: 0; } .dim::after { right: 0; }
.dim i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform-origin: left; }
.dim i::before, .dim i::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 1px 1px; }
.dim i::before { left: 0; transform: rotate(45deg); } .dim i::after { right: 0; transform: rotate(-135deg); }
.motion .dim i { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .25s; }
.motion .is-shown .dim i, .motion .dim.is-shown i { transform: scaleX(1); }

/* Reveal on scroll (site.js shows what is already on screen first, so nothing flashes). */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.motion [data-reveal="left"] { transform: translateX(-30px); }
.motion [data-reveal="right"] { transform: translateX(30px); }
.motion [data-reveal="zoom"] { transform: scale(.94); }
.motion [data-reveal].is-shown { opacity: 1; transform: none; }

/* ── About ───────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 92px); align-items: center; }
.photo-frame { position: relative; max-width: 440px; justify-self: center; transform: rotate(-2deg); }
.photo-frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--blue); z-index: -1; }
.photo-frame img { width: 100%; border-radius: 4px; box-shadow: 0 34px 70px -34px rgba(19, 37, 75, .55); }
.crop { position: absolute; width: 18px; height: 18px; border: solid var(--red); }
.crop.tl { top: -9px; left: -9px; border-width: 2px 0 0 2px; } .crop.tr { top: -9px; right: -9px; border-width: 2px 2px 0 0; }
.crop.bl { bottom: -9px; left: -9px; border-width: 0 0 2px 2px; } .crop.br { bottom: -9px; right: -9px; border-width: 0 2px 2px 0; }
.photo-tag { position: absolute; left: -12px; bottom: 26px; background: var(--ink); color: var(--paper); padding: 10px 14px; font: 500 .74rem/1.4 var(--ff-mono); letter-spacing: .05em; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.photo-tag b { display: block; font: 650 .95rem/1.2 var(--ff-display); letter-spacing: 0; }
.prose-lg { font-size: 1.1rem; color: var(--ink); }
.prose-lg p { color: var(--ink-soft); }
.prose-lg p:first-child { color: var(--ink); font-size: 1.18rem; }
.pull { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font: 550 clamp(1.25rem, 2.3vw, 1.7rem)/1.38 var(--ff-display); color: var(--ink); }
.pull p { margin: 0; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--card); margin-top: 26px; }
.glance > div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.glance > div:nth-child(2n) { border-right: 0; }
.glance > div:nth-last-child(-n + 2) { border-bottom: 0; }
.glance small { display: block; font: 500 .7rem/1.3 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
html[lang="bn"] .glance small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.glance b { font-weight: 600; font-size: .98rem; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--card); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
:is(.sec-dark, .sec-night, .foot) .socials a { border-color: var(--edge); color: var(--on-dark); background: rgba(21, 41, 90, .5); }
:is(.sec-dark, .sec-night, .foot) .socials a:hover { background: var(--sky-hi); color: var(--night); border-color: var(--sky-hi); }
.socials .i { font-size: 1.15rem; }

/* Title block: the facts in the frame of an engineering drawing. */
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); margin-top: clamp(48px, 7vw, 80px); background: var(--card); }
.titleblock > div { padding: 18px 20px 16px; border-right: 1px solid var(--ink); position: relative; min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock small { display: block; font: 500 .68rem/1.3 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
html[lang="bn"] .titleblock small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.titleblock strong { display: block; font: 700 clamp(2rem, 4vw, 3rem)/1.05 var(--ff-display); letter-spacing: -.03em; margin-top: 6px; color: var(--ink); }
.titleblock strong sup { font-size: .5em; color: var(--red); margin-left: 2px; }
.titleblock em { position: absolute; top: 8px; right: 10px; font: 500 .62rem var(--ff-mono); font-style: normal; color: var(--blue); }

/* ── Leadership ──────────────────────────────────────────────────── */
.lead-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.vcard { grid-column: span 3; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(21, 41, 90, .78), rgba(13, 28, 64, .78)); border: 1px solid var(--edge); overflow: hidden; transition: transform .45s var(--ease), border-color .35s, box-shadow .45s; }
.vcard:hover { transform: translateY(-5px); border-color: rgba(116, 200, 238, .5); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9); }
.vcard.is-lead { grid-column: span 6; grid-row: span 2; padding: clamp(24px, 3.4vw, 40px); background: radial-gradient(120% 80% at 100% 0%, rgba(43, 154, 203, .28), transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy)); }
.plate { display: grid; place-items: center; height: 86px; padding: 10px 16px; border-radius: 12px; background: #fff; transition: box-shadow .4s; }
.plate img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.vcard.is-lead .plate { height: 150px; justify-self: start; width: min(100%, 260px); }
.vcard.is-lead .plate img { max-height: 124px; }
.vcard:hover .plate { box-shadow: 0 0 0 4px rgba(116, 200, 238, .25), 0 0 40px rgba(116, 200, 238, .35); }
.plate-icon { color: var(--blue); font-size: 2.4rem; }
.role { align-self: flex-start; display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--sky-hi); color: var(--night); font: 600 .72rem/1.2 var(--ff-mono); letter-spacing: .05em; text-transform: uppercase; }
html[lang="bn"] .role { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.vcard h3 { font-size: 1.22rem; margin: 0; }
.vcard.is-lead h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.vcard p { color: var(--on-dark-soft); margin: 0; font-size: .95rem; }
.vlinks { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.vlinks a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--edge); color: var(--on-dark); text-decoration: none; font: 500 .8rem/1.2 var(--ff-mono); transition: background-color .3s, color .3s, border-color .3s; }
.vlinks a:hover { background: var(--sky-hi); color: var(--night); border-color: var(--sky-hi); }
.vlinks a.vs { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 10px; }
.vlinks a.vs .i { font-size: 1rem; }
.since { position: absolute; top: 18px; right: 20px; font: 500 .72rem var(--ff-mono); color: var(--on-dark-soft); }

/* ── Services: an interactive spec list ──────────────────────────── */
.svc { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.svc-side { position: sticky; top: calc(var(--head) + 28px); }
.svc-side .btn { margin-top: 10px; }
.spec { border-top: 1.5px solid var(--ink); }
.spec-row { border-bottom: 1px solid var(--line); position: relative; }
.spec-btn { width: 100%; display: grid; grid-template-columns: 46px 48px minmax(0, 1fr) 28px; align-items: center; gap: 14px; padding: 22px 2px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.spec-no { font: 500 .85rem var(--ff-mono); color: var(--blue); }
.spec-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--blue); font-size: 1.3rem; transition: transform .5s var(--ease-out), background-color .4s, color .4s, border-color .4s; }
.spec-title { font: 650 clamp(1.12rem, 2vw, 1.42rem)/1.25 var(--ff-display); }
.spec-plus { position: relative; width: 22px; height: 22px; justify-self: end; transition: transform .45s var(--ease-out); }
.spec-plus::before, .spec-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }
.spec-plus::after { transform: rotate(90deg); }
.spec-row.is-open .spec-plus { transform: rotate(45deg); }
.spec-row.is-open .spec-ic { background: var(--ink); border-color: var(--ink); color: var(--sky-hi); transform: rotate(-8deg) scale(1.06); }
.spec-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease-out); }
.js .spec-body { grid-template-rows: 0fr; }
.js .spec-row.is-open .spec-body { grid-template-rows: 1fr; }
.spec-body > div { overflow: hidden; }
.spec-body p { margin: 0; padding: 0 30px 24px 124px; color: var(--ink-soft); font-size: 1.02rem; }
.spec-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.spec-row.is-open .spec-line { transform: scaleX(1); }

/* ── Technologies ────────────────────────────────────────────────── */
.tech { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.code { border-radius: 16px; background: #0A1636; border: 1px solid var(--edge); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; font: 500 clamp(.8rem, 1.35vw, .98rem)/1.95 var(--ff-mono); }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(116, 200, 238, .12); color: var(--on-dark-soft); font-size: .78rem; }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.code-bar i:nth-child(2) { background: #FEBC2E; } .code-bar i:nth-child(3) { background: #28C840; }
.code-bar span { margin-left: 10px; }
.code .lines { padding: 20px 22px 24px; overflow-x: auto; color: var(--on-dark); }
.code .l { display: block; position: relative; width: max-content; min-height: 1.95em; white-space: pre; }
.code .l::after { content: ""; position: absolute; inset: 0 -2px; background: #0A1636; transform-origin: right; display: none; }
.motion .code .l::after { display: block; }
.motion .code.is-shown .l::after { animation: type-line calc(var(--n) * 26ms) steps(var(--n)) forwards; animation-delay: calc(var(--t) * 1ms + 300ms); }
@keyframes type-line { to { transform: scaleX(0); } }
.tk { color: #74C8EE; } .ts { color: #F2B56B; } .tp { color: #A3B2D2; } .tc { color: #8C9BBD; font-style: italic; } .tn { color: #FF8A8D; }
.code .caret { display: inline-block; vertical-align: -.2em; margin-left: 4px; }
.chip-belt { overflow: hidden; margin-top: 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.chip-track { display: flex; width: max-content; animation: mq 30s linear infinite; }
.chip-belt:hover .chip-track { animation-play-state: paused; }
.chip-list { display: flex; gap: 10px; padding: 0 5px; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 10px; white-space: nowrap; border: 1px solid var(--edge); background: rgba(21, 41, 90, .6); color: var(--on-dark); font: 600 .9rem/1 var(--ff-mono); }
.chip .i { color: var(--sky-hi); }

/* ── Products: a bento grid ──────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.ptile { --rx: 0deg; --ry: 0deg; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .35s; }
.ptile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 154, 203, .16), transparent 46%); opacity: 0; transition: opacity .35s; }
.ptile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--sky), transparent 38%, transparent 62%, var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.ptile:hover::before, .ptile:hover::after, .ptile:focus-visible::after { opacity: 1; }
.ptile:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(19, 37, 75, .5); border-color: transparent; }
.is-tilting .ptile:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-5px); }
.ptile.is-lead { grid-column: span 2; grid-row: span 2; padding: clamp(26px, 3.4vw, 40px); background: radial-gradient(110% 70% at 100% 0%, rgba(43, 154, 203, .3), transparent 55%), linear-gradient(160deg, var(--ink), var(--night)); color: var(--on-dark); border-color: transparent; }
.ptile.is-lead .grid-bg { z-index: -1; -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%); }
.ptile.is-wide { grid-column: span 2; }
.plogo { height: 60px; display: flex; align-items: center; }
.plogo img { max-height: 60px; width: auto; max-width: 190px; object-fit: contain; }
.ptile.is-lead .plogo { height: auto; align-self: flex-start; padding: 14px 18px; background: #fff; border-radius: 14px; }
.ptile.is-lead .plogo img { max-height: 92px; max-width: 240px; }
.pinit { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--sky-hi); font: 700 1.5rem/1 var(--ff-display); }
.ptitle { font: 650 1.3rem/1.2 var(--ff-display); margin: 4px 0 0; }
.ptile.is-lead .ptitle { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
.ptag { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.ptile.is-lead .ptag { color: var(--on-dark-soft); font-size: 1.1rem; max-width: 30rem; }
.pdomain { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 .84rem var(--ff-mono); color: var(--blue); }
.ptile.is-lead .pdomain { color: var(--sky-hi); font-size: .95rem; }
.pdomain .i { transition: transform .35s var(--ease); }
.ptile:hover .pdomain .i { transform: translate(3px, -3px); }
.pnum { position: absolute; right: 22px; top: 18px; font: 500 .72rem var(--ff-mono); color: var(--ink-soft); }
.ptile.is-lead .pnum { color: var(--on-dark-soft); }
.ptile.is-cta { grid-column: span var(--cs, 2); background: var(--paper-2); border-style: dashed; border-color: var(--ink-soft); justify-content: center; }
.ptile.is-cta .ptitle { font-size: 1.5rem; }

/* The demo site of all the software, right under the products grid. */
.demo-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; padding: 22px 26px 22px 30px; border-radius: 18px; background: linear-gradient(120deg, #fff 0%, #EEF5FC 100%); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: 0 24px 50px -38px rgba(19, 37, 75, .5); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.demo-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--sky), var(--blue)); }
.demo-band:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 30px 60px -36px rgba(19, 37, 75, .6); }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .74rem/1 var(--ff-mono); letter-spacing: .14em; }
html[lang="bn"] .demo-tag { letter-spacing: .02em; font-size: .84rem; }
.demo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.demo-text { flex: 1 1 280px; min-width: 0; }
.demo-text b { display: block; font: 650 clamp(1.15rem, 2vw, 1.45rem)/1.25 var(--ff-display); }
.demo-text small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .96rem; }
.demo-text code { font-family: var(--ff-mono); font-size: .92em; color: var(--blue); }
.demo-band .btn .i { transition: transform .35s var(--ease); }
.demo-band:hover .btn { background: var(--night); }
.demo-band:hover .btn .i { transform: translate(3px, -3px); }

/* ── Free apps ───────────────────────────────────────────────────── */
.free { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.glow { position: absolute; width: 50vmax; height: 50vmax; right: -14vmax; top: -18vmax; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(43, 154, 203, .35), transparent 62%); pointer-events: none; }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.free.is-wide { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.free.is-wide .apps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.app { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(21, 41, 90, .8), rgba(13, 28, 64, .8)); border: 1px solid var(--edge); color: var(--on-dark); text-decoration: none; transition: transform .45s var(--ease), border-color .35s; }
.app:hover { transform: translateY(-5px); border-color: rgba(116, 200, 238, .55); }
.app .plate { height: 92px; justify-self: start; width: min(100%, 220px); }
.app h3 { font-size: 1.4rem; margin: 0; }
.app p { color: var(--on-dark-soft); margin: 0; }
.app .pdomain { color: var(--sky-hi); }
.app .pinit { background: var(--navy); }
.stamp { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 6px; background: var(--red-btn); color: #fff; font: 800 .82rem/1 var(--ff-mono); letter-spacing: .18em; transform: rotate(-10deg); box-shadow: 0 0 0 3px rgba(200, 22, 28, .25); }
html[lang="bn"] .stamp { letter-spacing: .02em; font-size: .9rem; }
.motion .app .stamp { opacity: 0; transform: rotate(-24deg) scale(2.4); transition: opacity .35s .55s, transform .55s cubic-bezier(.3, 1.6, .5, 1) .55s; }
.motion .app.is-shown .stamp { opacity: 1; transform: rotate(-10deg) scale(1); }

/* ── Why work with me: a build checklist ─────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.why-side { position: sticky; top: calc(var(--head) + 28px); }
.meter { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.meter strong { font: 700 clamp(3rem, 7vw, 5rem)/1 var(--ff-display); letter-spacing: -.04em; color: var(--ink); }
.meter span { font: 500 .8rem/1.4 var(--ff-mono); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
html[lang="bn"] .meter span { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.checks { list-style: none; margin: 0; padding: 0; position: relative; }
.checks::before, .checks::after { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; }
.checks::before { background: var(--line); }
.checks::after { background: linear-gradient(var(--blue), var(--sky), var(--red)); transform-origin: top; }
.motion .checks::after { transform: scaleY(0); transition: transform 1.8s var(--ease-out) .3s; }
.motion .checks.is-shown::after { transform: scaleY(1); }
.checks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; }
.tick { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1.5px solid var(--ink); color: var(--sky-hi); }
.tick svg { width: 20px; height: 20px; }
.tick path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.motion .checks .tick { background: var(--card); border-color: var(--line); transition: background-color .35s, border-color .35s; transition-delay: calc(var(--i) * 280ms + 350ms); }
.motion .checks .tick path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease-out); transition-delay: calc(var(--i) * 280ms + 450ms); }
.motion .checks.is-shown .tick { background: var(--ink); border-color: var(--ink); }
.motion .checks.is-shown .tick path { stroke-dashoffset: 0; }
.checks h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 0; }
.checks p { margin: 4px 0 0; color: var(--ink-soft); }

/* ── Process steps (services page) ───────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 29px; left: 30px; right: 30px; height: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--blue), var(--sky), var(--red)); transform-origin: left; }
.motion .steps::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .2s; }
.motion .steps.is-shown::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step-no { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--ink); color: var(--ink); font: 650 1rem var(--ff-mono); margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); margin: 0; }

/* ── Contact band and the form ───────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.ctile { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 16px; border-radius: 12px; background: rgba(21, 41, 90, .55); border: 1px solid var(--edge); color: var(--on-dark); text-decoration: none; transition: border-color .3s, transform .35s var(--ease); }
.ctile:hover { border-color: var(--sky-hi); transform: translateY(-2px); }
.tiles > .ctile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ctile .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(116, 200, 238, .12); color: var(--sky-hi); font-size: 1.15rem; }
.ctile.wa .ic { background: rgba(61, 220, 132, .14); color: #6BE9A4; }
.ctile div { min-width: 0; }
.ctile small { display: block; font: 500 .7rem/1.3 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
html[lang="bn"] .ctile small { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.ctile b { display: block; font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.office { margin-top: 14px; padding: 18px; border-radius: 12px; border: 1px dashed var(--edge); color: var(--on-dark-soft); }
.office b { color: var(--on-dark); display: block; margin-bottom: 4px; }
.office a { color: var(--sky-hi); }
.form-card { position: relative; isolation: isolate; padding: clamp(22px, 3.6vw, 38px); border-radius: 20px; background: rgba(9, 21, 52, .9); box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .9); }
.form-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), var(--sky), transparent 25%, var(--red) 50%, transparent 75%, var(--sky)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: spin-ang 8s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-ang { to { --ang: 360deg; } }
.form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card .hint { color: var(--on-dark-soft); font-size: .95rem; margin-bottom: 20px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font: 500 .88rem/1.3 var(--ff-body); color: var(--on-dark-soft); }
.field label .req { color: #FF8A8D; }
.inp { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--on-dark); background: rgba(7, 19, 48, .7); border: 1px solid rgba(116, 200, 238, .24); border-radius: 10px; padding: 12px 14px; transition: border-color .25s, box-shadow .25s; }
.inp::placeholder { color: #8796B8; }
.inp:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(43, 154, 203, .28); }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky-hi) 50%), linear-gradient(135deg, var(--sky-hi) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select.inp option { color: #13254B; background: #fff; }
textarea.inp { resize: vertical; min-height: 130px; }
.field.bad .inp { border-color: #FF8A8D; }
.err { margin: 0; color: #FFB4B6; font-size: .86rem; }
.form-error { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: rgba(232, 25, 31, .14); border: 1px solid rgba(255, 138, 141, .5); color: #FFD7D8; font-size: .92rem; }
.form-error ul { margin: 0; padding-left: 18px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.form-foot small { color: var(--on-dark-soft); }
.form-foot small a { color: var(--sky-hi); }
.closed { padding: 18px; border-radius: 12px; background: rgba(232, 25, 31, .12); border: 1px solid rgba(255, 138, 141, .4); }

/* ── Inner pages ─────────────────────────────────────────────────── */
.pagetop { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); padding: calc(var(--head) + clamp(48px, 8vw, 96px)) 0 clamp(52px, 8vw, 96px); }
.pagetop .bg { position: absolute; inset: 0; z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font: 500 .8rem/1.4 var(--ff-mono); color: var(--on-dark-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sky); }
.crumbs a { text-decoration: none; color: var(--on-dark-soft); }
.crumbs a:hover { color: var(--sky-hi); }
.pagetop h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); letter-spacing: -.04em; margin: .2em 0 .25em; max-width: 18ch; }
html[lang="bn"] .pagetop h1 { letter-spacing: 0; max-width: none; }
.pagetop .lead { max-width: 44rem; color: var(--on-dark-soft); font-size: 1.12rem; margin: 0; }
.prose { max-width: 46rem; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--blue); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); padding: 36px 0; border-top: 1px solid var(--line); }
.story:first-child { border-top: 0; padding-top: 0; }
.story h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.journey { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.journey li { position: relative; padding: 0 0 26px 26px; }
.journey li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.journey b { font: 650 1.1rem var(--ff-mono); color: var(--blue); display: block; }
.oops { text-align: center; }
.pagetop.oops h1 { max-width: none; }
.story-block { margin-bottom: 30px; }
.story-block h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.journey h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.journey p { color: var(--ink-soft); margin: 0; }
.step h3 .i { color: var(--blue); }
.cta-band .grid-bg { z-index: -1; }
.oops-code { font: 700 clamp(5rem, 18vw, 10rem)/1 var(--ff-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--sky-hi); }
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: clamp(30px, 5vw, 56px); background: radial-gradient(120% 90% at 100% 0%, rgba(43, 154, 203, .35), transparent 55%), linear-gradient(160deg, var(--ink), var(--night)); color: var(--on-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 0; max-width: 22ch; }
html[lang="bn"] .cta-band h2 { max-width: none; }

/* ── Footer and floating actions ─────────────────────────────────── */
.foot { position: relative; background: var(--night); color: var(--on-dark-soft); padding-top: 78px; overflow: hidden; isolation: isolate; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--red) 0 120px, var(--sky) 120px 100%); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 36px; }
.foot h2 { font: 600 .78rem/1.4 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 16px; }
html[lang="bn"] .foot h2 { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot li a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--on-dark-soft); transition: color .25s; }
.foot li a:hover { color: var(--sky-hi); }
.foot-brand p { max-width: 24rem; margin: 18px 0; }
.foot p.mt { margin: 14px 0 0; font-size: .92rem; }
.tb { display: grid; grid-template-columns: auto 1fr; max-width: 300px; margin-top: 22px; border: 1px solid var(--edge); font: 500 .7rem/1.3 var(--ff-mono); }
.tb span { padding: 7px 10px; border-bottom: 1px solid var(--edge); }
.tb span:nth-child(odd) { border-right: 1px solid var(--edge); color: var(--sky-hi); text-transform: uppercase; letter-spacing: .08em; }
html[lang="bn"] .tb span:nth-child(odd) { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.tb span:nth-last-child(-n + 2) { border-bottom: 0; }
.foot-bottom { margin-top: 60px; padding: 22px 72px 28px 0; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.foot-bottom a { color: var(--on-dark); }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; gap: 10px; }
.fab a, .fab button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff; font-size: 1.3rem; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); transition: transform .35s var(--ease), opacity .35s; }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.fab .wa { background: #138A3F; }
.fab .call { background: var(--blue); }
.fab .top { background: var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab .top.is-on { opacity: 1; transform: none; pointer-events: auto; }
/* Phones: while the hero's own buttons are on screen, the floating WhatsApp and Call wait (they would cover them), then fade in. */
@media (max-width: 760px) {
  .fab .wa, .fab .call { transition: transform .35s var(--ease), opacity .35s, visibility 0s; }
  .fab.is-waiting .wa, .fab.is-waiting .call { opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none; transition: transform .35s var(--ease), opacity .35s, visibility 0s .35s; }
}

/* ── Gallery: tabs, photo mosaic, album cards, viewer ─────────────── */
.sec.gal { padding-top: clamp(34px, 5vw, 56px); }
.gal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.gtabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(19, 37, 75, .5); }
.gtabs a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: color .25s, background .25s; }
.gtabs a:hover { color: var(--ink); background: var(--paper-2); }
.gtabs .i { color: var(--blue); }
.gtabs b { font: 600 .74rem/1 var(--ff-mono); padding: 5px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.gtabs a[aria-current] { background: var(--navy); color: var(--on-dark); view-transition-name: gal-tab; }
.gtabs a[aria-current] .i { color: var(--sky-hi); }
.gtabs a[aria-current] b { background: rgba(116, 200, 238, .16); color: var(--sky-hi); }
.gal-note { margin: 0; color: var(--ink-soft); font: 500 .85rem/1.4 var(--ff-mono); letter-spacing: .04em; }
.gal-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.gal-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.gal-more { margin: 28px 0 0; color: var(--ink-soft); text-align: center; }
.gal-empty { display: grid; justify-items: center; gap: 6px; max-width: 34rem; margin: 0 auto; padding: clamp(40px, 7vw, 72px) 24px; text-align: center; border: 1.5px dashed var(--line); border-radius: 22px; background: var(--card); }
.gal-empty > .i { font-size: 2.4rem; color: var(--sky); margin-bottom: 8px; }
.gal-empty h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.gal-empty p { margin: 0; color: var(--ink-soft); }

.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 210px); grid-auto-flow: dense; gap: clamp(8px, 1.2vw, 14px); }
.gtile { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 14px; background: var(--paper-2) var(--ph, none) center / cover no-repeat; color: #fff; text-decoration: none; box-shadow: 0 18px 40px -30px rgba(19, 37, 75, .6); }
.gtile.is-big { grid-column: span 2; grid-row: span 2; }
.gtile.is-wide { grid-column: span 2; }
/* Photos of people: crop towards the upper third, where the faces are, instead of the middle. */
.gtile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease-out), opacity .6s ease; }
.gal-grid.is-js .gtile img { opacity: 0; }
.gal-grid.is-js .gtile.is-in img { opacity: 1; }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 19, 48, .86)); opacity: 0; transition: opacity .4s; }
.gtile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 3px; padding: 14px 16px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-out); }
.gtile-cap small { font: 500 .7rem/1.35 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sky-hi); }
html[lang="bn"] .gtile-cap small { text-transform: none; letter-spacing: .01em; font-size: .8rem; }
.gtile-cap b { font-weight: 600; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gtile-zoom { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(7, 19, 48, .6); border: 1px solid rgba(255, 255, 255, .28); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease-out); }
.gtile:focus-visible::after, .gtile:focus-visible .gtile-cap, .gtile:focus-visible .gtile-zoom { opacity: 1; transform: none; }
@media (hover: hover) {
  .gtile:hover img { transform: scale(1.06); }
  .gtile:hover::after, .gtile:hover .gtile-cap, .gtile:hover .gtile-zoom { opacity: 1; transform: none; }
}

.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 48px) clamp(22px, 3vw, 36px); }
.acard { display: flex; flex-direction: column; gap: 20px; color: var(--ink); text-decoration: none; }
.acard-art { position: relative; isolation: isolate; aspect-ratio: 4 / 3; margin: 12px 12px 0; }
.acard-art::before, .acard-art::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 14px 30px -24px rgba(19, 37, 75, .55); transition: transform .7s var(--ease-out); }
.acard-art::before { background: var(--card); transform: rotate(-4deg) translate(-6px, -4px); }
.acard-art::after { background: var(--paper-2); transform: rotate(3deg) translate(7px, -7px); }
.acard-pic { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: var(--paper-2); box-shadow: 0 28px 54px -32px rgba(19, 37, 75, .7); }
.acard-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s var(--ease-out); }
.acard-count { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(7, 19, 48, .76); color: var(--on-dark); font: 600 .78rem/1 var(--ff-mono); }
.acard-count .i { color: var(--sky-hi); }
.acard-body { display: grid; gap: 8px; padding: 0 12px; }
.acard-meta { font: 500 .78rem/1.4 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
html[lang="bn"] .acard-meta { text-transform: none; letter-spacing: .01em; font-size: .88rem; }
.acard-title { font-size: clamp(1.3rem, 2.1vw, 1.6rem); margin: 0; transition: color .25s; }
.acard-desc { color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.acard-go .i { color: var(--red); transition: transform .35s var(--ease-out); }
.acard:hover .acard-art::before { transform: rotate(-8deg) translate(-16px, -8px); }
.acard:hover .acard-art::after { transform: rotate(7deg) translate(17px, -12px); }
.acard:hover .acard-pic img { transform: scale(1.06); }
.acard:hover .acard-title { color: var(--blue); }
.acard:hover .acard-go .i { transform: translateX(5px); }
.acard:focus-visible { outline-offset: 6px; }

.gal-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.gp { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .35s var(--ease-out), box-shadow .35s; }
.gp:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: 0 22px 44px -32px rgba(19, 37, 75, .6); }
.gp small { display: inline-flex; align-items: center; gap: 7px; font: 500 .74rem/1.3 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
html[lang="bn"] .gp small { text-transform: none; letter-spacing: .01em; font-size: .85rem; }
.gp b { font: 600 1.05rem/1.35 var(--ff-display); }
.gp.is-next { grid-column: 2; text-align: right; justify-items: end; }

/* The viewer: a modal <dialog> in the top layer; the photo keeps its shape and never grows past its own size. */
html.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--on-dark); background: radial-gradient(120% 80% at 50% 0%, rgba(21, 41, 90, .55), transparent 62%), rgba(5, 11, 28, .985); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .4s var(--ease-out); }
.lb::backdrop { background: rgba(5, 11, 28, .5); }
.lb [hidden] { display: none !important; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(12px, env(safe-area-inset-top)) clamp(12px, 3vw, 28px) 10px; }
.lb-count { font: 500 .85rem/1 var(--ff-mono); letter-spacing: .12em; color: var(--on-dark-soft); }
.lb-stage { --lb-x: clamp(12px, 8vw, 104px); position: relative; min-height: 0; touch-action: pan-y pinch-zoom; }
.lb-img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 2 * var(--lb-x)); max-height: 100%; border-radius: 8px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); user-select: none; -webkit-user-drag: none; transition: opacity .25s .12s; }
.lb.is-loading .lb-img { opacity: .5; }
.lb-spin { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(116, 200, 238, .2); border-top-color: var(--sky-hi); opacity: 0; pointer-events: none; transition: opacity .2s; animation: lb-spin .8s linear infinite; }
.lb.is-loading .lb-spin { opacity: 1; transition-delay: .15s; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--edge); background: rgba(13, 28, 64, .72); color: var(--on-dark); font-size: 1.2rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease-out); }
.lb-btn:hover { background: var(--sky-hi); border-color: var(--sky-hi); color: var(--night); }
.lb-prev, .lb-next { position: absolute; top: 50%; z-index: 2; margin-top: -24px; }
.lb-prev { left: clamp(10px, 2.4vw, 32px); }
.lb-next { right: clamp(10px, 2.4vw, 32px); }
.lb-prev:hover { transform: translateX(-3px); }
.lb-next:hover { transform: translateX(3px); }
.lb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; min-height: 76px; padding: 12px clamp(16px, 8vw, 104px) max(16px, env(safe-area-inset-bottom)); text-align: center; }
.lb-cap { margin: 0; max-width: 56rem; line-height: 1.5; color: var(--on-dark); }
.lb-album { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--edge); color: var(--sky-hi); font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .25s, color .25s; }
.lb-album:hover { background: var(--sky-hi); color: var(--night); }

/* Five menu items still fit beside the name, the language switch and the button just above the burger width. */
@media (max-width: 1100px) and (min-width: 981px) { .nav a { padding-inline: 9px; } .nav a::after { left: 9px; right: 9px; } }
@media (max-width: 1100px) {
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .gtile { border-radius: 10px; }
  .albums { grid-template-columns: minmax(0, 1fr); }
  .gtabs { width: 100%; }
  .gtabs a { flex: 1; justify-content: center; padding: 0 12px; }
  .gal-pager { grid-template-columns: minmax(0, 1fr); }
  .gp.is-next { grid-column: auto; }
  .lb-stage { --lb-x: 0px; }
  .lb-img { border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); margin-top: 0; }
  .lb-foot { padding-inline: 70px; }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .orbit { --rx: 170px; --ry: 58px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptile.is-cta { grid-column: 1 / -1; }
  .ptile.is-lead { grid-row: span 1; }
  .vcard { grid-column: span 6; }
  .vcard.is-lead { grid-column: span 12; grid-row: span 1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --head: 68px; }
  .nav, .head-cta { display: none; }
  .burger { display: grid; }
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-light .stage { width: min(100%, 420px); height: auto; max-height: none; }
  .hero-copy { padding-bottom: 24px; }
  .stage { width: min(88%, 440px); max-height: none; }
  .cue { display: none; }
  .about, .svc, .tech, .free, .why, .contact, .story { grid-template-columns: minmax(0, 1fr); }
  .svc-side, .why-side { position: static; }
  .photo-frame { max-width: 360px; }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock > div:nth-child(2) { border-right: 0; }
  .titleblock > div:nth-child(-n + 2) { border-bottom: 1px solid var(--ink); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 760px) {
  .sec { padding: 64px 0; }
  .orbit { --rx: 140px; --ry: 46px; top: 36%; }
  .chip-o { font-size: .72rem; padding: 7px 10px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .ptile.is-lead, .ptile.is-wide { grid-column: span 1; }
  .vcard, .vcard.is-lead { grid-column: span 12; }
  .apps, .tiles, .fgrid { grid-template-columns: minmax(0, 1fr); }
  .spec-btn { grid-template-columns: 34px 44px minmax(0, 1fr) 22px; gap: 10px; }
  .spec-body p { padding: 0 6px 22px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .glance > div:last-child { border-bottom: 0 !important; }
  .brand-role { display: none; }
  .term { font-size: .86rem; }
}
@media (max-width: 480px) {
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .titleblock > div:last-child { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .cta-row .btn:not(.btn-red) { flex: 1 1 0; }
  .cta-row .btn.btn-wa { flex: 0 0 50px; }
  .orbit { --rx: 105px; --ry: 36px; }
  .also a { height: 40px; }
}

/* Small phones (320-400): the header name breaks into two lines below 375 instead of running under the language switch; the gallery tabs drop their icons. */
@media (max-width: 400px) {
  .head-in { gap: 12px; }
  .gtabs .i { display: none; }
  .gtabs a { gap: 7px; padding: 0 10px; min-width: 0; }
}
@media (max-width: 374px) { .brand-name { white-space: normal; line-height: 1.1; } }

/* ── Calm mode ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orb-x, .orb-y { animation: none !important; }
  .orbit .o1 .orb-x { transform: translate(calc(var(--rx) * -.9), 0); } .orbit .o2 .orb-x { transform: translate(var(--rx), 0); }
  .orbit .o3 .orb-x { transform: translate(calc(var(--rx) * -.55), calc(var(--ry) * 1.6)); } .orbit .o4 .orb-x { transform: translate(calc(var(--rx) * .6), calc(var(--ry) * -1.7)); }
  .mq-track, .chip-track { flex-wrap: wrap; width: auto; }
  .mq-list[aria-hidden="true"], .chip-list[aria-hidden="true"] { display: none; }
  .mq-list, .chip-list { flex-wrap: wrap; }
}
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@media print { .site-head, .menu, .fab, .progress, .marquee, .cue { display: none !important; } .hero, .sec-dark, .sec-night, .pagetop, .foot { background: #fff !important; color: #000 !important; } }
