/* ============================================================
   THB — The House of Business · group site (v2)
   Direction : minimal editorial — hairline grid, calm type, soft colour.
   Type      : Google Sans (everything) · Anek Bangla (Bengali)
   Colour    : white, soft ink, THB maroon as the accent
   Shape     : small radii (6 / 10 / 16px), hairline grid
   ============================================================ */

:root {
  --bg:      #FFFFFF;
  --bg-2:    #F7F5F3;
  --ink:     #1A1A1E;
  --ink-2:   #55555C;
  --mute:    #8B8B90;
  --line:    rgba(14, 14, 15, .14);
  --line-d:  rgba(255, 255, 255, .16);
  --brand:   #8A0304;
  --brand-2: #A90D0F;
  --brand-d: #5E0102;
  --hot:     #FF5247;         /* accent on dark surfaces */

  --display: "Google Sans", "Google Sans Flex", "Anek Bangla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text:    "Google Sans", "Google Sans Flex", "Anek Bangla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    var(--text);            /* small labels use the same family now */
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --bangla:  "Anek Bangla", "Noto Sans Bengali", system-ui, sans-serif;

  --wrap: 1560px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --hdr: 76px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --hd: 1.05s;                /* hero entrance delay — waits for the intro curtain */
}
.no-loader { --hd: .1s; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.bn { font-family: var(--bangla); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 600; background: var(--ink); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.028em; }
h2 em, h1 em { font-style: normal; color: var(--brand); }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.86rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2);
}
.label b { font-weight: 500; color: var(--brand); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }

/* word-by-word heading reveal (spans are added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; }
.w > span { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease) calc(var(--i, 0) * 45ms); }
.is-in .w > span, .is-in.split .w > span { transform: none; }
.w.em > span { color: var(--brand); }

/* generic reveal */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- Buttons: rectangles with a fill that rises ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 58px; padding: 0 24px; border: 1px solid var(--ink);
  font-family: var(--text); font-weight: 500; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  color: var(--ink); transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn .ar { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; transition: transform .6s var(--ease); }
.btn:hover .ar { transform: translate(3px, -3px); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--brand); }
.btn-ink:hover { border-color: var(--brand); }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white::before { background: var(--ink); }
.btn-ghost-d { border-color: var(--line-d); color: #fff; }
.btn-ghost-d::before { background: #fff; }
.btn-ghost-d:hover { color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .88rem; gap: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.tlink { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.tlink:hover::after { transform: scaleX(0); transform-origin: left; }

/* ============================================================
   Intro curtain (CSS only — never depends on JS to lift)
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--brand); pointer-events: none;
  animation: curtain .9s var(--ease-io) .95s forwards;
}
.loader img { width: 132px; animation: fadeUp .7s var(--ease) both; }
.loader i { display: block; width: 132px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.loader i::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; animation: fill .85s var(--ease-io) .05s both; }
.no-loader .loader { display: none; }
@keyframes curtain { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   Header — solid bar, slides away on the way down
   ============================================================ */
.hdr {
  position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--hdr);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 0 var(--gutter); background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease), border-color .4s, background .4s;
}
.hdr.is-stuck { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 30px; width: auto; }
.brand span { padding-left: 14px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 0.80rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; }

.hdr-nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.hdr-nav a { position: relative; padding: 8px 0; font-size: .93rem; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.hdr-nav a:hover, .hdr-nav a.is-current { color: var(--ink); }
.hdr-nav a:hover::after, .hdr-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.hdr-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang button { min-width: 44px; height: 44px; padding: 0 12px; font-family: var(--mono); font-size: 0.86rem; font-weight: 500; letter-spacing: 0; color: var(--mute); transition: background .3s, color .3s; }
.lang button[data-set-lang="bn"] { font-family: var(--bangla); font-size: .95rem; letter-spacing: 0; }
.lang button.is-on { background: var(--ink); color: #fff; }
.hdr-sites { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.hdr-sites:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hdr-sites svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hdr-menu { display: none; }

/* full-screen menu (small screens) */
.menu {
  position: fixed; z-index: 90; inset: 0; padding: calc(var(--hdr) + 26px) var(--gutter) 30px;
  display: flex; flex-direction: column; background: var(--ink); color: #fff;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu nav { display: grid; }
.menu nav a {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-d);
  font-family: var(--display); font-size: clamp(1.9rem, 8.4vw, 3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu nav a i { font-family: var(--mono); font-style: normal; font-size: 0.84rem; letter-spacing: 0; color: var(--hot); }
.menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.menu-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.menu-foot .btn { width: 100%; }

/* ============================================================
   Hero — a few words on a soft, slowly moving colour field
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: min(100vh, 940px); min-height: min(100svh, 940px);
  padding: calc(var(--hdr) + 48px) 0 clamp(64px, 11vh, 128px); text-align: center; background: #FCF8F6;
}
.hero-bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; --mx: 0; --my: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(clamp(50px, 7vw, 110px)); will-change: transform;
  translate: calc(var(--mx) * var(--k, 20px)) calc(var(--my) * var(--k, 20px)); transition: translate 1.6s var(--ease);
  animation: drift 20s ease-in-out infinite alternate;
}
.b1 { --k: 34px; width: 52vw; height: 52vw; left: -14vw; top: -22vw; background: #FFC9B5; opacity: .85; }
.b2 { --k: -26px; width: 44vw; height: 44vw; right: -10vw; top: -6vw; background: #F6B3C4; opacity: .7; animation-duration: 24s; animation-delay: -6s; }
.b3 { --k: 22px; width: 40vw; height: 40vw; left: 24vw; bottom: -26vw; background: #C2272B; opacity: .3; animation-duration: 28s; animation-delay: -12s; }
.b4 { --k: -18px; width: 30vw; height: 30vw; right: 12vw; bottom: -12vw; background: #FFE2B0; opacity: .7; animation-duration: 22s; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(5vw, 3vw, 0) scale(1.12); }
  100% { transform: translate3d(-4vw, -2vw, 0) scale(.94); }
}
.hero-dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(26,26,30,.16) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 42%, #000, transparent 78%); mask-image: radial-gradient(60% 55% at 50% 42%, #000, transparent 78%);
}
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, rgba(247,245,243,0), var(--bg-2)); }

.hero-inner { display: grid; justify-items: center; }
.hero-inner > * { animation: fadeUp 1.1s var(--ease) both; }
.hero-inner > :nth-child(1) { animation-delay: var(--hd); }
.hero-inner > :nth-child(3) { animation-delay: calc(var(--hd) + .4s); }
.hero-inner > :nth-child(4) { animation-delay: calc(var(--hd) + .5s); }
.hero-inner > :nth-child(5) { animation-delay: calc(var(--hd) + .62s); }

.status {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 13px; border-radius: 999px;
  background: rgba(255,255,255,.66); border: 1px solid rgba(26,26,30,.08); font-size: .86rem; color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.is-open i { background: #19A974; }
.status.is-open i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #19A974; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

.hero-title {
  margin-top: clamp(22px, 3.4vh, 34px); animation: none !important;
  font-size: clamp(2.7rem, 7vw, 6.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.03em;
}
.hero-title .line { display: block; }
.hero-title .w > span { transform: none; transition: none; animation: wordUp 1.2s var(--ease) both; animation-delay: calc(var(--hd) + .1s + var(--i, 0) * 90ms); }
.hero-title .w.em > span { background: linear-gradient(100deg, var(--brand) 10%, #D8452F 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { from { transform: translateY(115%); } }

.hero-lede { margin-top: clamp(20px, 3vh, 30px); max-width: 60ch; font-size: 1.14rem; color: var(--ink-2); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(26px, 4vh, 38px); }
.btn-soft { background: rgba(255,255,255,.7); border-color: rgba(26,26,30,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-top: clamp(34px, 6vh, 60px); font-size: .93rem; color: var(--ink-2); }
.hero-meta li { padding: 0 20px; border-left: 1px solid rgba(26,26,30,.14); }
.hero-meta li:first-child { border-left: 0; }
.hero-meta b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ============================================================
   Sections
   ============================================================ */
.sec { padding: clamp(84px, 11vw, 168px) 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: clamp(44px, 6vw, 88px); }
.sec-head .lede { margin-top: 26px; }
.sec-head-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; }

/* ============================================================
   Clients & partners — one wall: the count and sectors on the left, logo cards on the right
   ============================================================ */
.wall { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.wall-head { position: sticky; top: calc(var(--hdr) + 22px); }
.wall-num { display: grid; gap: 10px; max-width: 22ch; color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
.wall-num b { font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 6.4vw, 6.2rem); line-height: .86; letter-spacing: -.045em; color: var(--brand); font-variant-numeric: tabular-nums; }
.wall-sectors { margin-top: clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--line); }
.wall-sectors a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); transition: color .3s, padding .6s var(--ease); }
.wall-sectors a:hover, .wall-sectors a:focus-visible { color: var(--ink); padding-left: 10px; }
.wall-sectors i { font-style: normal; font-size: .84rem; color: var(--brand); font-variant-numeric: tabular-nums; }
/* Grid frame (testimonials): each cell has a full hairline border and overlaps its neighbour by 1px, so a
   half-filled last row still closes properly; the rounded outer frame is painted on top.
   (Service cards and logo cards are separate boxes with a gap.) */
.tmn-grid { position: relative; }
.tmn-grid::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.wall-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.logo {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 11% 15%;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease) calc(var(--i, 0) * 55ms), transform 1s var(--ease) calc(var(--i, 0) * 55ms), border-color .4s, box-shadow .7s var(--ease);
}
.is-in .logo, html:not(.js) .logo { opacity: 1; transform: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.logo:hover, .logo:focus-visible { border-color: var(--ink); box-shadow: 0 22px 44px -30px rgba(26, 26, 30, .45); }
.logo:hover img, .logo:focus-visible img, .logo:hover .logo-word { transform: translateY(-11px) scale(.92); }
.logo-word { font-family: var(--display); font-weight: 500; font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: -.02em; line-height: 1.15; text-align: center; color: var(--ink-2); transition: transform .8s var(--ease); }
.logo-name { position: absolute; left: 14px; right: 14px; bottom: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: .78rem; line-height: 1.3; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .7s var(--ease); }
.logo:hover .logo-name, .logo:focus-visible .logo-name { opacity: 1; transform: none; }
.clients-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); }
.clients-foot p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.clients-foot .tlink { color: var(--brand); }

/* ============================================================
   Type band — scroll-driven
   ============================================================ */
.band { overflow: hidden; padding: clamp(18px, 2.4vw, 34px) 0; border-block: 1px solid var(--line); background: var(--bg); }
.band-track { display: flex; width: max-content; will-change: transform; }
.band-set { display: flex; align-items: center; flex: none; }
.band-set span {
  font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 9vw, 8.6rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; padding: 0 .16em;
}
.band-set span.o { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.band-set i { flex: none; width: clamp(18px, 2.4vw, 34px); height: clamp(18px, 2.4vw, 34px); background: var(--brand); margin: 0 .5em; }

/* ============================================================
   Services — index that opens every area open
   ============================================================ */
.find { position: relative; flex: 1 1 320px; max-width: 520px; }
.find input {
  width: 100%; height: 58px; padding: 0 46px 0 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; outline: none;
  font-family: var(--text); font-size: 1.05rem; color: var(--ink); transition: border-color .3s;
}
.find input::placeholder { color: var(--mute); }
.find input:focus { border-bottom-color: var(--brand); }
.find svg { position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--ink); stroke-width: 1.6; pointer-events: none; }
.find::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.find:focus-within::after { transform: none; }

.idx { border-top: 1px solid var(--line); }
.idx-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 4vw, 64px); align-items: start;
  padding: clamp(28px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--line);
}
.idx-head { position: sticky; top: calc(var(--hdr) + 22px); display: grid; gap: 12px; justify-items: start; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.idx-row.is-in .idx-head { opacity: 1; transform: none; }
.idx-n { font-family: var(--mono); font-size: 0.88rem; color: var(--brand); }
.idx-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; }
.idx-name small { display: block; margin-top: 8px; font-family: var(--text); font-size: .92rem; font-weight: 400; letter-spacing: 0; color: var(--mute); }
.idx-count { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.82rem; color: var(--ink-2); white-space: nowrap; }

/* Each service is its own card, with space between cards (no shared frame, so a half-filled row leaves no empty boxes). */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
  transition: color .5s var(--ease), border-color .5s var(--ease);
  opacity: 0; transform: translateY(18px);
}
.idx-row.is-in .svc, .results .svc { opacity: 1; transform: none; transition: color .5s var(--ease), border-color .5s var(--ease), opacity .7s var(--ease) calc(.1s + var(--i, 0) * 55ms), transform .9s var(--ease) calc(.1s + var(--i, 0) * 55ms); }
.results .svc { transition-delay: 0s, 0s, calc(var(--i, 0) * 30ms), calc(var(--i, 0) * 30ms); }
.svc::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); }
.svc:hover::before, .svc:focus-visible::before { transform: none; }
.svc:hover, .svc:focus-visible { color: #fff; border-color: var(--ink); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 26px; }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.svc:hover .svc-ico svg { stroke: var(--hot); }
.svc-go { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; transition: transform .6s var(--ease); }
.svc:hover .svc-go { transform: translate(4px, -4px); }
.svc h3, .svc h4 { font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.svc p { font-size: .92rem; line-height: 1.5; color: var(--ink-2); transition: color .5s; }
.svc:hover p { color: rgba(255,255,255,.7); }
.svc-host { margin-top: 8px; font-family: var(--mono); font-size: 0.80rem; letter-spacing: 0; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-area { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0; color: var(--brand); transition: color .5s; }
.svc:hover .svc-area { color: var(--hot); }

.results { border-top: 1px solid var(--line); }
.results .svc-grid { margin-top: 26px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.results-none { padding: 46px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; }
.results-none a { color: var(--brand); }
.idx-after { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; color: var(--ink-2); }

/* ============================================================
   Why — statement that fills in as you scroll
   ============================================================ */
.fill-text { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4.2vw, 4.1rem); line-height: 1.08; letter-spacing: -.028em; max-width: 27ch; }
.fill-text .fw { opacity: .14; transition: opacity .5s var(--ease), color .5s; }
.fill-text .fw.is-on { opacity: 1; }
.fill-text .fw.em { color: var(--brand); }
html:not(.js) .fill-text .fw { opacity: 1; }

.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; margin-top: clamp(56px, 8vw, 120px); }
.shot { position: relative; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transform: scale(1.25); transition: transform 1.8s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: top; transition: transform 1.3s var(--ease-io); }
.shot.is-in::after { transform: scaleY(0); }
.shot.is-in img { transform: scale(1); }
html:not(.js) .shot::after { display: none; }
.shot-cap { display: flex; justify-content: space-between; gap: 14px; margin-top: 12px; }
.pts { border-top: 1px solid var(--line); }
.pt { display: grid; grid-template-columns: 76px 1fr; gap: 8px 16px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.pt-n { font-family: var(--mono); font-size: 0.88rem; color: var(--brand); padding-top: 8px; }
.pt h3 { font-size: clamp(1.4rem, 2.3vw, 2.1rem); letter-spacing: -.035em; }
.pt p { grid-column: 2; color: var(--ink-2); max-width: 48ch; }

/* ============================================================
   Numbers — maroon block
   ============================================================ */
.nums { background: var(--brand); color: #fff; }
.nums-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: clamp(40px, 6vw, 92px) clamp(16px, 2.4vw, 40px) clamp(34px, 5vw, 72px); border-left: 1px solid rgba(255,255,255,.22); }
.num:first-child { border-left: 0; padding-left: 0; }
.num dt { font-family: var(--display); font-weight: 500; font-size: clamp(4rem, 11vw, 10.5rem); line-height: .86; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.num dd { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0; color: rgba(255,255,255,.82); max-width: 24ch; }

/* ============================================================
   Process — a line that draws as you scroll
   ============================================================ */
.tl { position: relative; --p: 0; }
.tl-line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.tl-line i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p)); }
.tl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.tl-step { position: relative; padding-top: 52px; opacity: .32; transition: opacity .8s var(--ease); }
.tl-step::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--bg-2); border: 2px solid var(--mute); transition: background .5s, border-color .5s, transform .8s var(--ease); }
.tl-step.is-on { opacity: 1; }
.tl-step.is-on::before { background: var(--brand); border-color: var(--brand); transform: rotate(45deg); }
html:not(.js) .tl-step { opacity: 1; }
.tl-n { font-family: var(--mono); font-size: 0.88rem; letter-spacing: 0; color: var(--brand); }
.tl-step h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.035em; }
.tl-step p { margin-top: 12px; color: var(--ink-2); font-size: .98rem; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tl-tags span { padding: 5px 10px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0; }
.how-after { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: clamp(44px, 6vw, 80px); }

/* ============================================================
   Testimonials
   ============================================================ */
.tmn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); border-radius: var(--r-lg); overflow: hidden; }
.tmn { display: flex; flex-direction: column; gap: 30px; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.tmn-q { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.tmn-q::before { content: "“"; display: block; font-size: 4rem; line-height: .7; color: var(--brand); }
.tmn-who { margin-top: auto; }
.tmn-who b { display: block; font-weight: 500; }
.tmn-who span { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0; color: var(--mute); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: clamp(44px, 7vw, 120px) minmax(0, 1fr) 44px; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: clamp(18px, 2vw, 28px) 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary i { font-family: var(--mono); font-style: normal; font-size: 0.88rem; font-weight: 400; letter-spacing: 0; color: var(--mute); }
.faq summary b { position: relative; width: 44px; height: 44px; border: 1px solid var(--line); transition: background .4s, border-color .4s; }
.faq summary b::before, .faq summary b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); transition: transform .6s var(--ease), background .4s; }
.faq summary b::after { transform: rotate(90deg); }
.faq details[open] summary b { background: var(--ink); border-color: var(--ink); }
.faq details[open] summary b::before, .faq details[open] summary b::after { background: #fff; }
.faq details[open] summary b::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { margin-left: calc(clamp(44px, 7vw, 120px) + 16px); padding: 0 60px clamp(22px, 2.4vw, 34px) 0; max-width: 70ch; color: var(--ink-2); }

/* ============================================================
   Contact — black block
   ============================================================ */
.contact { background: var(--ink); color: #fff; padding-bottom: clamp(60px, 8vw, 120px); }
.contact .sec-head { border-top-color: var(--line-d); }
.contact .label { color: rgba(255,255,255,.62); }
.contact .label b { color: var(--hot); }
.contact h2 { font-size: clamp(3.4rem, 11.4vw, 11rem); line-height: .9; letter-spacing: -.035em; }
.contact h2 em, .contact .w.em > span { color: var(--hot); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.contact .lede { color: rgba(255,255,255,.7); }
.c-list { margin-top: 34px; border-top: 1px solid var(--line-d); }
.c-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-d); }
.c-lbl { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0; color: rgba(255,255,255,.5); padding-top: 4px; }
.c-val { font-weight: 500; }
.c-val span { display: block; }
.c-val span + span { font-weight: 400; font-size: .92rem; color: rgba(255,255,255,.6); }
.c-val a { transition: color .3s; }
.c-val a:hover { color: var(--hot); }
.place { margin-top: 34px; }
.place img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.place .shot::after { background: var(--hot); }
.place-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 12px; }

.cform { display: grid; gap: 0; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(18px, 2.4vw, 40px); }
.field { position: relative; display: block; padding-top: 26px; border-bottom: 1px solid var(--line-d); }
.field > span { position: absolute; left: 0; top: 12px; font-family: var(--mono); font-size: 0.80rem; letter-spacing: 0; color: rgba(255,255,255,.5); transition: color .3s; }
.field:focus-within > span { color: var(--hot); }
.field::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: none; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 0; background: transparent; outline: none; color: #fff;
  font-family: var(--text); font-size: 1.12rem; padding: 12px 0 16px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.28); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center / 12px; }
.field select option { color: #111; }
.cform .btn { margin-top: 30px; width: 100%; min-height: 72px; font-size: 1.1rem; }
.cf-note { margin-top: 14px; min-height: 1.5em; font-size: .95rem; }
.cf-note.ok { color: #5EE0B0; }
.cf-note.err { color: var(--hot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--ink); color: rgba(255,255,255,.6); font-size: .93rem; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-d); }
.foot-brand img { height: 38px; width: auto; }
.foot-brand p { margin-top: 20px; max-width: 34ch; }
.foot-brand address { margin-top: 16px; font-size: .86rem; line-height: 1.75; color: rgba(255,255,255,.45); }
.socials { display: flex; gap: 6px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .4s, border-color .4s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.socials svg { width: 16px; height: 16px; fill: #fff; }
.foot a { transition: color .3s; }
.foot a:hover { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 34px 26px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col h4 { margin-bottom: 8px; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; color: var(--hot); }
.foot-col a { color: rgba(255,255,255,.82); }
.foot-big { font-family: var(--display); font-weight: 500; font-size: 9.9vw; line-height: .8; letter-spacing: -.04em; white-space: nowrap; color: #fff; text-align: center; padding: clamp(10px, 2vw, 30px) 0 .09em; }
.foot-big span { display: inline-block; transform: translateY(60%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1s; }
.foot-big.is-in span { transform: none; opacity: 1; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding: 20px 0 26px; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 0.80rem; letter-spacing: 0; color: rgba(255,255,255,.5); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ============================================================
   Floating: section rail, WhatsApp, assistant, cursor
   ============================================================ */
.rail { position: fixed; z-index: 40; right: 14px; top: 50%; transform: translateY(-50%); display: none; gap: 2px; mix-blend-mode: difference; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 22px; font-family: var(--mono); font-size: 0.74rem; color: #fff; }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .6s var(--ease); }
.rail a i { display: block; width: 10px; height: 1.5px; background: #fff; opacity: .45; transition: width .6s var(--ease), opacity .4s; }
.rail a:hover span, .rail a.is-current span { opacity: 1; transform: none; }
.rail a.is-current i { width: 26px; opacity: 1; }
@media (min-width: 1280px) { .rail { display: grid; } }

.wa {
  position: fixed; z-index: 55; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 15px;
  background: #128C5E; color: #fff; font-size: .9rem; font-weight: 500; box-shadow: 0 18px 36px -18px rgba(0,0,0,.6);
  transition: transform .6s var(--ease), background .3s;
}
.wa:hover { transform: translateY(-4px); background: #0E7A51; }
.wa svg { width: 20px; height: 20px; fill: currentColor; }
.asst-btn {
  position: fixed; z-index: 55; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 15px;
  background: var(--ink); color: #fff; font-size: .9rem; font-weight: 500; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 18px 36px -18px rgba(0,0,0,.6);
  transition: transform .6s var(--ease), opacity .4s, background .3s;
}
.asst-btn:hover { transform: translateY(-4px); background: var(--brand); }
.asst-btn svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.asst-btn.is-hidden, .asst-btn.is-away { opacity: 0; pointer-events: none; transform: translateY(12px); }

.asst-panel {
  position: fixed; z-index: 120; left: 20px; bottom: 20px; width: 384px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 110px);
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--ink); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6);
  clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.asst-panel.open { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.asst-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; background: var(--brand); color: #fff; }
.asst-head h4 { font-size: 1.1rem; letter-spacing: -.02em; }
.asst-head span { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0; opacity: .8; }
.asst-close, .as-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 1.25rem; line-height: 1; transition: background .3s, color .3s; }
.asst-close:hover { background: #fff; color: var(--brand); }
.asst-chips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-shrink: 0; scrollbar-width: none; }
.asst-chip { flex: none; padding: 7px 12px; border: 1px solid var(--line); font-size: .8rem; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.asst-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.asst-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--bg-2); }
.asst-msg { max-width: 86%; padding: 11px 14px; font-size: .9rem; line-height: 1.5; animation: fadeUp .5s var(--ease) both; }
.asst-msg.user { align-self: flex-end; background: var(--ink); color: #fff; }
.asst-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.asst-msg .st { display: block; font-weight: 500; color: var(--brand); margin-bottom: 3px; }
.asst-msg a { color: var(--brand); font-weight: 500; }
.asst-cta { align-self: flex-start; }
.asst-cta a { display: inline-flex; padding: 9px 14px; background: #128C5E; color: #fff; font-size: .82rem; font-weight: 500; }
.asst-foot { display: flex; border-top: 1px solid var(--ink); flex-shrink: 0; }
.asst-foot input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; outline: none; font: inherit; font-size: .92rem; }
.asst-send { width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand); flex: none; transition: background .3s; }
.asst-send:hover { background: var(--ink); }
.asst-send svg { width: 16px; height: 16px; fill: #fff; }

.cursor { position: fixed; z-index: 400; left: 0; top: 0; pointer-events: none; display: none; }
.cursor i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
  display: grid; place-items: center; overflow: hidden; color: #fff; font-family: var(--mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0; white-space: nowrap;
  transition: width .5s var(--ease), height .5s var(--ease), left .5s var(--ease), top .5s var(--ease), opacity .3s; opacity: 0;
}
.cursor.is-on i { opacity: 1; }
.cursor.is-big i { width: 76px; height: 76px; left: -38px; top: -38px; }
.cursor i span { opacity: 0; transition: opacity .3s; }
.cursor.is-big i span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }

/* ============================================================
   All-sites directory (full screen)
   ============================================================ */
.as-overlay {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto; background: var(--ink); color: #fff;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
}
.as-overlay.open { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.as-modal { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; padding: clamp(24px, 4vw, 56px) 0 80px; }
.as-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: clamp(22px, 3vw, 44px); border-bottom: 1px solid rgba(255,255,255,.5); }
.as-head h3 { font-size: clamp(2.4rem, 6.4vw, 6rem); font-weight: 500; line-height: .94; letter-spacing: -.035em; }
.as-head p { margin-top: 14px; font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0; color: rgba(255,255,255,.6); }
.as-close { width: 56px; height: 56px; flex: none; font-size: 1.6rem; }
.as-close:hover { background: #fff; color: var(--ink); }
.as-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.as-group { padding: 28px 0 6px; opacity: 0; transform: translateY(20px); }
.as-overlay.open .as-group { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(.45s + var(--i, 0) * 50ms), transform .9s var(--ease) calc(.45s + var(--i, 0) * 50ms); }
.as-group h4 { margin-bottom: 8px; font-family: var(--mono); font-size: 0.80rem; font-weight: 500; letter-spacing: 0; color: var(--hot); }
.as-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-d); transition: padding .6s var(--ease), color .3s; }
.as-card:hover { padding-left: 12px; color: var(--hot); }
.as-card .n { font-size: 1.06rem; font-weight: 500; letter-spacing: -.01em; }
.as-card .u { grid-column: 1; font-family: var(--mono); font-size: 0.78rem; color: rgba(255,255,255,.45); }
.as-card svg { grid-row: 1 / 3; grid-column: 2; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

/* ============================================================
   Bengali
   ============================================================ */
body[data-lang="bn"] { font-family: var(--bangla); font-size: 18px; }
body[data-lang="bn"] h1, body[data-lang="bn"] h2, body[data-lang="bn"] h3, body[data-lang="bn"] h4,
body[data-lang="bn"] .idx-name, body[data-lang="bn"] .fill-text, body[data-lang="bn"] .faq summary, body[data-lang="bn"] .band-set span,
body[data-lang="bn"] .menu nav a, body[data-lang="bn"] .num dt { font-family: var(--bangla); letter-spacing: -.01em; }
body[data-lang="bn"] h2 { line-height: 1.16; }
body[data-lang="bn"] .hero-title { line-height: 1.22; letter-spacing: 0; }
body[data-lang="bn"] .contact h2 { line-height: 1.1; }
body[data-lang="bn"] .fill-text { line-height: 1.26; }
body[data-lang="bn"] .idx-name { line-height: 1.25; }
body[data-lang="bn"] .num dt { line-height: 1.05; }
body[data-lang="bn"] .w, body[data-lang="bn"] .hero-title .w { padding: .2em .04em .24em; margin: -.2em -.04em -.24em; }
body[data-lang="bn"] .label, body[data-lang="bn"] .idx-count, body[data-lang="bn"] .num dd, body[data-lang="bn"] .c-lbl,
body[data-lang="bn"] .field > span, body[data-lang="bn"] .foot-col h4, body[data-lang="bn"] .as-group h4,
body[data-lang="bn"] .tl-tags span, body[data-lang="bn"] .foot-bottom, body[data-lang="bn"] .svc-area, body[data-lang="bn"] .as-head p, body[data-lang="bn"] .asst-head span, body[data-lang="bn"] .tmn-who span {
  font-family: var(--bangla); letter-spacing: 0; text-transform: none; font-size: .88rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 1101px) and (max-height: 800px) {
}

@media (max-width: 1280px) {
  .hdr-nav { gap: 16px; }
  .hdr-sites span { display: none; }
  .results .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --hdr: 66px; }
  body { font-size: 16.5px; }
  .hdr { grid-template-columns: 1fr auto; gap: 12px; }
  .hdr-nav, .hdr-tools .btn, .hdr-sites { display: none; }
  .hdr-menu { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0; }
  .hdr-menu i { display: grid; gap: 5px; }
  .hdr-menu i::before, .hdr-menu i::after { content: ""; width: 16px; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
  .hdr-menu[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
  .hdr-menu[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }
  .hdr.is-open { background: var(--ink); border-bottom-color: var(--line-d); }
  .hdr.is-open .brand img { filter: brightness(0) invert(1); }
  .hdr.is-open .brand span { color: #fff; border-color: var(--line-d); }
  .hdr.is-open .lang { border-color: var(--line-d); }
  .hdr.is-open .lang button.is-on { background: #fff; color: var(--ink); }
  .hdr.is-open .hdr-menu { background: var(--brand); }

  .sec-head, .wall, .foot-top, .idx-row { grid-template-columns: 1fr; }
  .idx-row { gap: 20px; }
  .idx-head { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .idx-name { flex: 1 1 60%; }
  .idx-name small { display: inline-block; margin: 0 0 0 .7em; vertical-align: middle; }
  .sec-head { gap: 18px; }
  .wall-head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: start; }
  .wall-sectors { margin-top: 0; }
  .svc-grid, .results .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .shot img { aspect-ratio: 16 / 10; }
  .nums-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding-left: clamp(16px, 2.4vw, 40px); }
  .num:nth-child(odd) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }

  /* process → vertical */
  .tl-line { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-line i { height: 100%; width: 100%; transform-origin: top; transform: scaleY(var(--p)); }
  .tl-steps { grid-template-columns: 1fr; gap: 44px; }
  .tl-step { padding: 0 0 0 54px; }
  .foot-big { font-size: 9.6vw; }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .wall-head { grid-template-columns: 1fr; }
  .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo:nth-child(n+11) { display: none; }      /* phones: the first ten; the button opens the rest */
  .logo-name { display: none; }
  .wall-sectors { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .wall-sectors a { gap: 9px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: .86rem; }
  .wall-sectors a:hover { padding-left: 12px; }
  .clients-foot .btn { width: 100%; }
  .idx-name small { display: block; margin: 4px 0 0; font-size: .82rem; }
  .svc-grid, .results .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  /* phones: each service becomes a compact row, so 29 open services stay quick to scroll */
  .svc { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 3px 14px; min-height: 0; padding: 16px; }
  .svc-top { display: contents; }
  .svc-ico { grid-area: 1 / 1; }
  .svc-go { grid-area: 1 / 3; margin-top: 4px; }
  .svc > :not(.svc-top) { grid-column: 2; }
  .svc h3, .svc h4 { font-size: 1.08rem; }
  .svc p { font-size: .88rem; }
  .svc-host { display: none; }
  .pt { grid-template-columns: 44px 1fr; }
  .faq summary { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 10px; }
  .faq summary b { width: 40px; height: 40px; }
  .faq-a p { margin-left: 40px; padding-right: 0; }
  .c-row { grid-template-columns: 1fr; gap: 2px; }
  .cf-row { grid-template-columns: 1fr; }
  .num dt { font-size: clamp(3.6rem, 21vw, 6rem); }
  .wa span, .asst-btn span { display: none; }
  .wa, .asst-btn { width: 52px; padding: 0; justify-content: center; }
  .wa { right: 14px; bottom: 14px; }
  .asst-btn { left: 14px; bottom: 14px; }
  .asst-panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; height: 78vh; }
  .foot-big { white-space: normal; font-size: 19vw; line-height: .84; text-align: left; padding-inline: var(--gutter); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .loader { display: none; }
  .fill-text .fw, .tl-step { opacity: 1; }
  .cursor { display: none !important; }
}

/* ---------- Late additions ---------- */
.js .hero-title:not(.is-ready) { visibility: hidden; }      /* no flash of the plain heading before words are wrapped */

/* ============================================================
   Soft corners
   ============================================================ */
.btn { border-radius: var(--r); }
.btn-sm, .hdr-sites, .hdr-menu, .lang, .socials a, .faq summary b, .asst-close, .as-close, .asst-cta a, .skip { border-radius: 8px; }
.lang { overflow: hidden; }
.tl-tags span, .asst-chip { border-radius: var(--r-sm); }
.shot { border-radius: var(--r-lg); }
.band-set i { border-radius: 50%; width: clamp(10px, 1.3vw, 18px); height: clamp(10px, 1.3vw, 18px); }
.tl-step::before { border-radius: 50%; }
.tl-step.is-on::before { transform: scale(1.12); }
.wa, .asst-btn { border-radius: 12px; }
.asst-panel { border-radius: var(--r-lg); border-color: var(--line); }
.asst-msg { border-radius: 10px; }
.asst-foot { border-top-color: var(--line); }
.find input { border-bottom-color: var(--line); }

/* calmer details */
.band-set span { letter-spacing: -.03em; }
.num dt, .contact h2, .foot-big, .as-head h3 { letter-spacing: -.035em; }
.label { font-size: .86rem; color: var(--mute); }
.brand span { font-size: .8rem; line-height: 1.25; color: var(--ink-2); }
.idx-n, .pt-n, .tl-n, .faq summary i { font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: calc(var(--hdr) + 34px); }
  .hero-title { font-size: clamp(2.5rem, 12.6vw, 3.6rem); }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero-meta { flex-wrap: nowrap; }
  .hero-meta li { padding: 0 9px; font-size: .8rem; white-space: nowrap; }
  .blob { filter: blur(46px); }
  .b1 { width: 90vw; height: 90vw; } .b2 { width: 80vw; height: 80vw; } .b3 { width: 80vw; height: 80vw; left: 10vw; bottom: -50vw; } .b4 { width: 60vw; height: 60vw; }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* brand logo uploaded in the dashboard (shown instead of the icon) */
.svc-ico.has-logo img { display: block; height: 30px; width: auto; max-width: 132px; object-fit: contain; object-position: left center; }
.svc:hover .svc-ico.has-logo img { filter: brightness(0) invert(1); }

/* ============================================================
   Photo hero — Dhaka at dusk, slow zoom, drifts with scroll
   ============================================================ */
.has-dark-hero .hero { background: #140E10; color: #fff; min-height: min(100vh, 980px); min-height: min(100svh, 980px); }
.hero-photo { position: absolute; inset: -4% 0 0; will-change: transform;
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); transition: translate 1.8s var(--ease); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 62% 45%;
  animation: heroIn 2.6s var(--ease) both, heroDrift 34s ease-in-out 2.6s infinite alternate; }
@keyframes heroIn { from { transform: scale(1.22); filter: saturate(.6) brightness(.6); } to { transform: scale(1.06); } }
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1.14) translate3d(-1.5%, 1%, 0); } }
.hero-shade { position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 52%, rgba(16,10,12,.52), rgba(16,10,12,0) 72%),
    linear-gradient(180deg, rgba(16,10,12,.62) 0%, rgba(16,10,12,.28) 34%, rgba(16,10,12,.38) 62%, rgba(16,10,12,.86) 100%); }
.hero-glow { position: absolute; width: 70vw; height: 50vw; right: -14vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,128,76,.42), rgba(255,128,76,0)); mix-blend-mode: screen;
  animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .45; transform: translate3d(0,0,0) scale(1); } to { opacity: 1; transform: translate3d(-4vw, 2vw, 0) scale(1.12); } }
.hero-grain { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
.has-dark-hero .hero-inner { will-change: transform, opacity; }
.has-dark-hero .status { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.86); }
.has-dark-hero .status i { background: rgba(255,255,255,.5); }
.has-dark-hero .hero-title { color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.has-dark-hero .hero-title .w.em > span { background-image: linear-gradient(100deg, #FFB38A 5%, #FF5247 90%); }
.has-dark-hero .hero-lede { color: rgba(255,255,255,.8); }
.has-dark-hero .btn-soft { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); color: #fff; }
.has-dark-hero .btn-soft::before { background: #fff; }
.has-dark-hero .btn-soft:hover { color: var(--ink); }
.has-dark-hero .hero-meta { color: rgba(255,255,255,.7); }
.has-dark-hero .hero-meta li { border-left-color: rgba(255,255,255,.22); }
.has-dark-hero .hero-meta b { color: #fff; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: rgba(255,255,255,.22); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: scrollCue 2.2s var(--ease-io) infinite; }
@keyframes scrollCue { to { top: 110%; } }

/* header sits light on the photo until you scroll */
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .brand img { filter: brightness(0) invert(1); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .brand span { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.24); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-nav a { color: rgba(255,255,255,.76); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-nav a:hover,
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-nav a.is-current { color: #fff; }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-nav a::after { background: #FF8A6B; }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .lang { border-color: rgba(255,255,255,.26); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .lang button { color: rgba(255,255,255,.7); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .lang button.is-on { background: #fff; color: var(--ink); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-sites { border-color: rgba(255,255,255,.26); color: #fff; }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-sites:hover { background: #fff; color: var(--ink); border-color: #fff; }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .btn-ink { background: #fff; border-color: #fff; color: var(--ink); }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .btn-ink:hover { color: #fff; }
.has-dark-hero .hdr:not(.is-stuck):not(.is-open) .hdr-menu { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* ============================================================
   Photo strip — cards wipe in, then drift sideways with the scroll
   ============================================================ */
.work { padding: clamp(40px, 6vw, 90px) 0 clamp(84px, 11vw, 160px); overflow: hidden; }
.work-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 72px); }
.work-rail { --x: 0px; }
.work-track { display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-inline: var(--gutter);
  transform: translate3d(var(--x), 0, 0); will-change: transform; }
.work-card { position: relative; flex: none; width: clamp(230px, 24vw, 400px); margin: 0; }
.work-card:nth-child(3n+2) { width: clamp(260px, 30vw, 500px); margin-top: clamp(28px, 4vw, 64px); }
.work-card:nth-child(3n) { width: clamp(210px, 20vw, 330px); margin-top: clamp(10px, 1.6vw, 24px); }
.work-img { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; background: var(--bg-2); }
.work-card:nth-child(3n+2) .work-img { aspect-ratio: 4 / 3; }
.work-card:nth-child(3n) .work-img { aspect-ratio: 1 / 1; }
.work-img img { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; max-width: none; object-fit: cover;
  transform: translate3d(var(--px, 0px), 0, 0) scale(1.04); clip-path: inset(100% 0 0 0);
  transition: scale 1.2s var(--ease), clip-path 1.3s var(--ease-io); transition-delay: 0s, calc(var(--i) * 90ms); }
.work.is-in .work-img img, html:not(.js) .work-img img { clip-path: inset(0 0 0 0); }
.work-card:hover .work-img img { scale: 1.06; }
.work-card figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em;
  opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(.35s + var(--i) * 90ms); }
.work-card figcaption i { font-style: normal; font-size: .8rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.work.is-in .work-card figcaption, html:not(.js) .work-card figcaption { opacity: 1; transform: none; }
@media (max-width: 1100px) { .work-head { grid-template-columns: 1fr; gap: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .work-rail { overflow-x: auto; } .work-track { transform: none; }
  .work-img img, .work-card figcaption { clip-path: none; opacity: 1; transform: none; }
}

/* ============================================================
   How it works — a photo for each step, uncovered as the line reaches it
   ============================================================ */
.tl-pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: var(--r); background: var(--line); }
.tl-pic img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transform: scale(1.18); filter: grayscale(.6);
  transition: clip-path 1.2s var(--ease-io), transform 1.8s var(--ease), filter 1s; }
.tl-step.is-on .tl-pic img, html:not(.js) .tl-pic img { clip-path: inset(0); transform: scale(1); filter: none; }
.tl-step.is-on:hover .tl-pic img { transform: scale(1.04); }
@media (max-width: 1100px) { .tl-pic { max-width: 440px; } }
@media (prefers-reduced-motion: reduce) { .tl-pic img { clip-path: none; transform: none; filter: none; } }

@media (max-width: 640px) {
  .has-dark-hero .hero { min-height: 92svh; padding-bottom: 90px; }
  .hero-photo img { object-position: 58% 60%; }
  .hero-scroll { display: none; }
}

/* photo hero: no light fade at the bottom, keep the green "open now" dot */
.has-dark-hero .hero-bg::after { display: none; }
.has-dark-hero .status.is-open i { background: #3DDC97; }
.has-dark-hero .status.is-open i::after { border-color: #3DDC97; }
.tl-pic img { position: absolute; inset: 0; }

/* ============================================================
   All clients & partners (clients.php)
   ============================================================ */
.cp-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 92px); background: #FCF8F6; border-bottom: 1px solid var(--line); }
.cp-hero-bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.cp-hero-bg .b1 { width: 46vw; height: 46vw; left: -12vw; top: -26vw; opacity: .7; }
.cp-hero-bg .b2 { width: 38vw; height: 38vw; right: -8vw; top: -14vw; opacity: .55; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.crumbs a { color: var(--mute); transition: color .3s; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-style: normal; color: var(--mute); }
.cp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: end; margin-top: clamp(26px, 3.4vw, 52px); }
.cp-title { font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: 1; letter-spacing: -.035em; }
.cp-hero .lede { max-width: 46ch; }
.cp-stats { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: clamp(24px, 3vw, 40px); }
.cp-stats li { display: grid; gap: 4px; padding: 0 clamp(18px, 2.2vw, 34px); border-left: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.cp-stats li:first-child { padding-left: 0; border-left: 0; }
.cp-stats b { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cp-stats li:first-child b { color: var(--brand); }

.cp-dir { padding: clamp(36px, 4.4vw, 64px) 0 clamp(84px, 10vw, 150px); }
.cp-bar { display: grid; gap: 22px; margin-bottom: 26px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: background .35s, color .35s, border-color .35s; }
.cp-chip i { font-style: normal; font-size: .8rem; color: var(--brand); font-variant-numeric: tabular-nums; transition: color .35s; }
.cp-chip:hover { border-color: var(--ink); color: var(--ink); }
.cp-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cp-chip.is-on i { color: var(--hot); }
.cp-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 40px; }
.cp-tools .find { flex: 1 1 300px; max-width: 460px; }
.cp-status { padding-bottom: 6px; font-size: .88rem; color: var(--mute); font-variant-numeric: tabular-nums; }

.cp-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.cp-table { width: 100%; border-collapse: collapse; text-align: left; counter-reset: cp; }
.cp-table th { padding: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); font-weight: 500; }
.cp-table th button, .cp-table th > span { display: inline-flex; align-items: center; gap: 8px; width: 100%; padding: 15px 22px; font-size: .82rem; font-weight: 500; color: var(--ink-2); text-align: left; transition: color .3s; }
.cp-table th button:hover { color: var(--brand); }
.cp-sort { width: 9px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .45; }
.cp-table th[aria-sort="ascending"] button, .cp-table th[aria-sort="descending"] button { color: var(--ink); }
.cp-table th[aria-sort="ascending"] .cp-sort, .cp-table th[aria-sort="descending"] .cp-sort { opacity: 1; }
.cp-table th[aria-sort="ascending"] .cp-sort path:last-child, .cp-table th[aria-sort="descending"] .cp-sort path:first-child { opacity: .25; }
.cp-table th[aria-sort="ascending"] .cp-sort path:first-child, .cp-table th[aria-sort="descending"] .cp-sort path:last-child { stroke: var(--brand); }
.cp-c-n { width: 84px; }
.cp-c-sec { width: 30%; }
.cp-c-go { width: 76px; }
.cp-table tbody tr { counter-increment: cp; transition: background .35s; }
.cp-table tbody tr[hidden] { counter-increment: none; }
.cp-table td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cp-table tbody tr:last-child td { border-bottom: 0; }
.cp-table tbody tr:hover { background: var(--bg-2); }
.cp-n { color: var(--brand); font-size: .86rem; font-variant-numeric: tabular-nums; }
.cp-n::before { content: counter(cp, decimal-leading-zero); }
body[data-lang="bn"] .cp-n::before { content: counter(cp, bengali); }
.cp-org-in { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.cp-logo { flex: none; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; width: 148px; height: 72px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .35s, transform .7s var(--ease), box-shadow .7s var(--ease); }
.cp-logo img { width: 100%; height: 100%; object-fit: contain; }
.cp-logo .logo-word { font-size: 1.4rem; color: var(--brand); }
.cp-table tbody tr:hover .cp-logo { border-color: var(--ink); transform: translateX(4px); box-shadow: 0 14px 30px -22px rgba(26, 26, 30, .5); }
.cp-name { font-family: var(--display); font-size: clamp(1.02rem, 1.25vw, 1.2rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; transition: color .35s; }
.cp-table tbody tr:hover .cp-name { color: var(--brand); }
.cp-sector { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .84rem; color: var(--ink-2); text-align: left; transition: background .35s, color .35s, border-color .35s; }
.cp-sector:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cp-go a { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--r); transition: background .35s, color .35s, border-color .35s; }
.cp-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.cp-go a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
/* rows rise in when the page opens and whenever the filter changes */
.cp-table tbody.is-swap tr { animation: cpRow .7s var(--ease) calc(var(--k, 0) * 28ms) both; }
@keyframes cpRow { from { opacity: 0; transform: translateY(12px); } }
.cp-none { padding: clamp(40px, 6vw, 80px) 0; text-align: center; }
.cp-none p, p.cp-none { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; }
.cp-none .tlink { margin-top: 18px; color: var(--brand); }

.cp-cta { padding: clamp(72px, 9vw, 140px) 0; background: var(--ink); color: #fff; }
.cp-cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.cp-cta h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -.035em; }
.cp-cta h2 em, .cp-cta .w.em > span { color: var(--hot); }
.cp-cta .lede { color: rgba(255, 255, 255, .7); }
.cp-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-clients .foot { border-top: 1px solid var(--line-d); }

body[data-lang="bn"] .cp-title, body[data-lang="bn"] .cp-cta h2 { line-height: 1.2; letter-spacing: 0; }
body[data-lang="bn"] .cp-name, body[data-lang="bn"] .wall-num b { letter-spacing: 0; }

@media (max-width: 1100px) {
  .cp-hero-grid, .cp-cta-grid { grid-template-columns: 1fr; align-items: start; }
  .cp-c-sec { width: 34%; }
}
@media (max-width: 760px) {
  /* the table becomes a list of cards: logo on the left, name and sector on the right */
  .cp-frame { border: 0; border-radius: 0; overflow: visible; background: none; }
  .cp-table, .cp-table tbody { display: block; }
  .cp-table thead { display: none; }
  .cp-table tbody tr { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
  .cp-table tbody tr[hidden] { display: none; }
  .cp-table td { display: block; padding: 0; border: 0; }
  .cp-table td.cp-n { display: none; }
  .cp-table td.cp-org, .cp-org-in { display: contents; }
  .cp-logo { grid-column: 1; grid-row: 1 / span 2; width: 104px; height: 60px; padding: 9px 12px; }
  .cp-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 1rem; }
  .cp-sec { grid-column: 2; grid-row: 2; align-self: start; }
  .cp-sector { min-height: 0; padding: 0; border: 0; font-size: .82rem; color: var(--mute); }
  .cp-sector:hover { background: none; color: var(--brand); }
  .cp-go { grid-column: 3; grid-row: 1 / span 2; }
  .cp-table tbody tr:hover .cp-logo { transform: none; }
  .cp-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .cp-chips::-webkit-scrollbar { display: none; }
  .cp-chip { flex: none; }
  .cp-stats li { padding: 0 16px; }
  .cp-cta-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cp-table tbody.is-swap tr { animation: none; } }
