/* fazley.bd: one stylesheet, no framework.
   Colours, fonts, radius and width are tokens; /theme.css (Admin → Appearance) overrides the defaults below.
   All fonts are self-hosted; browsers download only the ones the theme uses. */

/* ============================================================ fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/jakarta-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/jakarta-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/noto-sans-bengali.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Anek Bangla"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/anek-bangla-bengali.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hind-siliguri-bengali-400.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hind-siliguri-bengali-500.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hind-siliguri-bengali-600.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../fonts/hind-siliguri-bengali-700.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }

/* ============================================================ tokens */
:root {
  /* Defaults (the "Ocean" preset). /theme.css replaces these with the saved Appearance. */
  --accent: #2563eb;
  --accent-2: #06b6d4;
  --on-accent: #ffffff;
  --accent-ink: #2563eb;
  --accent-bright: #3b73ed;
  --primary-d: #2563eb;
  --on-primary-d: #ffffff;
  --accent-2-bright: #06b6d4;
  --l-bg: #ffffff; --l-bg-soft: #f5f7fb; --l-surface: #ffffff; --l-text: #0b1220; --l-text-2: #334155; --l-muted: #5b6678; --l-line: #e2e8f0; --l-line-strong: #cbd5e1; --l-accent-soft: #e9effd;
  --d-bg: #070b16; --d-bg-soft: #0c1322; --d-surface: #111a2c; --d-text: #eef2f8; --d-text-2: #c6cedb; --d-muted: #94a0b4; --d-line: #1d2840; --d-line-strong: #2c3a56; --d-accent-soft: #0f1c38;
  --radius: 10px; --radius-lg: 16px; --radius-xl: 24px; --btn-radius: 999px;
  --wrap: 1240px;
  --font-head: "Plus Jakarta Sans", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head-weight: 750;
  --head-track: -0.035em;

  /* fixed */
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lh-head: 1.08;

  /* semantic: light */
  --bg: var(--l-bg); --bg-soft: var(--l-bg-soft); --surface: var(--l-surface);
  --text: var(--l-text); --text-2: var(--l-text-2); --muted: var(--l-muted);
  --line: var(--l-line); --line-strong: var(--l-line-strong);
  --accent-text: var(--accent-ink); --accent-soft: var(--l-accent-soft);
  --primary: var(--accent); --on-primary: var(--on-accent);
  --shadow-rgb: 15 23 42;
  --glow-a: 34%; --glow-b: 22%; --grid-a: 7%;
  color-scheme: light;
}
/* dark surfaces: the whole page in dark mode, and dark sections (hero, footer, CTA) in light mode */
:root[data-theme="dark"], .is-dark {
  --bg: var(--d-bg); --bg-soft: var(--d-bg-soft); --surface: var(--d-surface);
  --text: var(--d-text); --text-2: var(--d-text-2); --muted: var(--d-muted);
  --line: var(--d-line); --line-strong: var(--d-line-strong);
  --accent-text: var(--accent-bright); --accent-soft: var(--d-accent-soft);
  --primary: var(--primary-d); --on-primary: var(--on-primary-d);
  --shadow-rgb: 0 0 0;
  --grid-a: 6%;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: var(--d-bg); --bg-soft: var(--d-bg-soft); --surface: var(--d-surface);
    --text: var(--d-text); --text-2: var(--d-text-2); --muted: var(--d-muted);
    --line: var(--d-line); --line-strong: var(--d-line-strong);
    --accent-text: var(--accent-bright); --accent-soft: var(--d-accent-soft);
    --primary: var(--primary-d); --on-primary: var(--on-primary-d);
    --shadow-rgb: 0 0 0;
    --grid-a: 6%;
    color-scheme: dark;
  }
}
html[data-hero="aurora"] .hero, html[data-hero="aurora"] .page-hero { --glow-a: 55%; --glow-b: 45%; }
html[data-hero="light"] .hero, html[data-hero="light"] .page-hero { --glow-a: 20%; --glow-b: 14%; }
/* Bangla: taller lines and no negative tracking (it crowds conjuncts and vowel signs) */
html[lang="bn"] { --head-track: 0; --lh-head: 1.32; }

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html[lang="bn"] body { line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); line-height: var(--lh-head); letter-spacing: var(--head-track); color: var(--text); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.is-dark { color: var(--text); background-color: var(--bg); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* the brand's full stop, drawn as a circle so it works in both scripts */
.dot {
  display: inline-block; width: 0.18em; height: 0.18em; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-left: 0.06em; vertical-align: baseline;
}
.is-dark .dot { background: linear-gradient(135deg, var(--accent-bright), var(--accent-2-bright)); }

/* ============================================================ buttons */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--btn-radius); border: 1px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: 0.98rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon-end { transition: transform 0.25s var(--ease); }
.btn:hover .icon-end { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  --btn-bg: var(--primary); --btn-fg: var(--on-primary);
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.12), 0 8px 24px -8px color-mix(in srgb, var(--primary) 60%, transparent);
}
.btn-primary:hover { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.12), 0 14px 32px -10px color-mix(in srgb, var(--primary) 75%, transparent); }
.btn-secondary { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-border: var(--line-strong); }
.btn-secondary:hover { --btn-border: var(--text); }
.is-dark .btn-secondary { --btn-bg: color-mix(in srgb, var(--d-text) 6%, transparent); --btn-border: color-mix(in srgb, var(--d-text) 18%, transparent); }
.is-dark .btn-secondary:hover { --btn-bg: color-mix(in srgb, var(--d-text) 12%, transparent); --btn-border: color-mix(in srgb, var(--d-text) 35%, transparent); }
.btn-ghost { --btn-fg: var(--text-2); padding-inline: 14px; }
.btn-ghost:hover { --btn-bg: var(--bg-soft); --btn-fg: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ============================================================ eyebrows, section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent-text) 18%, transparent);
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
html[lang="bn"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.86rem; }

.section { padding-block: var(--section); position: relative; }
.section-alt { background: var(--bg-soft); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .section-title { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.section-head .lede { color: var(--text-2); font-size: 1.1rem; margin: 0; max-width: 34em; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lede { margin-inline: auto; }
.section-foot { margin-top: 40px; display: flex; justify-content: center; }

/* ============================================================ announcement bar */
.announce {
  position: relative; z-index: 51;
  background: var(--accent-soft); color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem; text-align: center;
}
.announce a, .announce span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px var(--gutter); text-decoration: none; }
.announce a:hover .ann-text { text-decoration: underline; }
.announce .ann-pill { padding: 1px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.announce .icon { width: 16px; height: 16px; color: var(--accent-text); }

/* ============================================================ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
html[data-header="glass"] .site-header {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: saturate(1.7) blur(18px);
  backdrop-filter: saturate(1.7) blur(18px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgb(var(--shadow-rgb) / 0.35); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-weight: 760; font-size: 1.12rem; letter-spacing: var(--head-track); white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 0.84rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.brand-logo { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--text-2); font-size: 0.95rem; font-weight: 520; transition: background-color 0.2s, color 0.2s;
}
.site-nav ul a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.site-nav ul a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.lang-switch .icon { width: 16px; height: 16px; color: var(--muted); }
.lang-switch:hover { border-color: var(--text); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; flex: none;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn .icon { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .theme-toggle .i-sun { display: block; }
  :root[data-theme="auto"] .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }

/* ============================================================ hero backgrounds */
.bg-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-fx::before, .bg-fx::after { content: ""; position: absolute; }
html[data-pattern="grid"] .bg-fx::before {
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--text) var(--grid-a), transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--text) var(--grid-a), transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
}
html[data-pattern="dots"] .bg-fx::before {
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 16%, transparent) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 78%);
}
.bg-fx::after {
  inset: -25% -10%;
  background:
    radial-gradient(38% 46% at 82% 18%, color-mix(in srgb, var(--accent) var(--glow-a), transparent), transparent 70%),
    radial-gradient(32% 40% at 12% 88%, color-mix(in srgb, var(--accent-2) var(--glow-b), transparent), transparent 70%);
  filter: blur(20px);
}
html[data-hero="aurora"] .bg-fx::after {
  background:
    radial-gradient(36% 50% at 78% 12%, color-mix(in srgb, var(--accent) var(--glow-a), transparent), transparent 70%),
    radial-gradient(30% 42% at 52% 0%, color-mix(in srgb, var(--accent-2) var(--glow-b), transparent), transparent 70%),
    radial-gradient(30% 44% at 8% 82%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="on"][data-hero="aurora"] .bg-fx::after { animation: drift 22s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

/* ============================================================ home hero */
/* every page starts with a hero; it slides under the sticky header so the header's glass blends into it */
#main { margin-top: calc(var(--header-h) * -1); }
.hero { position: relative; overflow: hidden; background: var(--bg); padding-block: calc(var(--header-h) + clamp(48px, 7vw, 104px)) clamp(64px, 9vw, 120px); }
html[data-hero="light"] .hero { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  background: color-mix(in srgb, var(--text) 5%, transparent);
  font-size: 0.88rem; font-weight: 550; color: var(--text-2);
}
.hero-badge .pulse { position: relative; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-2-bright) 22%, transparent); }
.hero-badge .pulse::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2-bright); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2-bright) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="on"] .hero-badge .pulse::after { animation: ping 2.4s var(--ease) infinite; }
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2-bright) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title {
  font-size: clamp(3rem, 7.4vw, 5.9rem); letter-spacing: calc(var(--head-track) * 1.25); line-height: 0.98; margin-bottom: 14px;
  background: linear-gradient(180deg, var(--text) 35%, color-mix(in srgb, var(--text) 72%, transparent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .dot { -webkit-background-clip: border-box; background-clip: border-box; }
html[lang="bn"] .hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.22; letter-spacing: 0; }
.hero-alt { margin: 0 0 26px; font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.hero-lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--text-2); max-width: 36em; margin-bottom: 34px; line-height: 1.7; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 20px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.hero-facts dd { margin: 0; font-weight: 650; color: var(--text); font-size: 0.98rem; }

/* centred variant */
.hero-centered .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-centered .hero-copy { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero-centered .hero-lede { margin-inline: auto; }
.hero-centered .actions { justify-content: center; }
.hero-centered .hero-facts { justify-content: center; }
.hero-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto 24px; border: 3px solid color-mix(in srgb, var(--text) 14%, transparent); background: var(--l-bg-soft); }

/* portrait */
.portrait-wrap { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.portrait-card {
  position: relative; border-radius: var(--radius-xl); padding: 1px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 70%, transparent), color-mix(in srgb, var(--text) 10%, transparent) 40%, color-mix(in srgb, var(--accent-2) 60%, transparent));
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.45), 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
}
.portrait-card picture, .portrait-card > img { display: block; border-radius: calc(var(--radius-xl) - 1px); overflow: hidden; background: linear-gradient(180deg, #eceae6, #dcdad6); }
.portrait-card img { width: 100%; height: auto; aspect-ratio: 385 / 531; object-fit: cover; object-position: top; }
.portrait-wrap::before {
  content: ""; position: absolute; inset: 8% -8% -6% 8%; z-index: -1; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); filter: blur(60px); opacity: 0.35;
}
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--d-surface) 82%, transparent); color: var(--d-text);
  border: 1px solid color-mix(in srgb, var(--d-text) 14%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.5);
  font-size: 0.86rem; line-height: 1.3; max-width: 260px;
}
.float-chip strong { display: block; font-weight: 650; }
.float-chip small { color: var(--d-muted); font-size: 0.78rem; }
.float-chip .chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.float-chip .chip-icon .icon { width: 18px; height: 18px; }
.chip-a { left: -28px; bottom: 44px; }
.chip-b { right: -20px; top: 32px; }

/* ============================================================ page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--bg); padding-block: calc(var(--header-h) + clamp(40px, 6vw, 88px)) clamp(48px, 6vw, 80px); }
html[data-hero="light"] .page-hero { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 18em; }
html[lang="bn"] .page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page-lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 40em; margin: 20px 0 0; }
.page-hero .actions { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.breadcrumb { margin-bottom: 22px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; margin-right: 4px; }
.breadcrumb a { text-decoration: none; color: var(--text-2); }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================ statement */
.statement { max-width: 1000px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.statement-text {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.35; letter-spacing: calc(var(--head-track) * 0.6);
  color: var(--text); margin: 0 0 32px; text-wrap: balance;
}
html[lang="bn"] .statement-text { line-height: 1.6; }
.statement-quote { width: 44px; height: 44px; color: var(--accent-text); opacity: 0.9; margin-bottom: 22px; }

/* ============================================================ cards (shared) */
.card-base {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
a.card-base { text-decoration: none; color: inherit; }
a.card-base:hover, .card-hover:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 24px 48px -24px rgb(var(--shadow-rgb) / 0.28), 0 0 0 4px color-mix(in srgb, var(--accent) 7%, transparent);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tag-list li { padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-2); font-size: 0.78rem; font-weight: 500; line-height: 1.5; }
.section-alt .tag-list li { background: var(--bg); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 0.76rem; font-weight: 650; line-height: 1.5; }

/* ============================================================ services */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; overflow: hidden; min-height: 280px; }
.svc-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 6px;
  background: var(--accent-soft); color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent-text) 16%, transparent);
}
.svc-icon .icon { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.32rem; }
.svc-card p { color: var(--text-2); margin: 0; font-size: 0.99rem; }
.svc-card .tag-list { margin-top: auto; padding-top: 6px; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: 0.93rem; }
.svc-more .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.svc-card:hover .svc-more .icon { transform: translateX(4px); }
.svc-card .svc-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--muted); opacity: 0.6; font-variant-numeric: tabular-nums; }
.svc-wide { grid-column: span 2; }
.svc-feature { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 55%); }
.svc-feature .svc-icon { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.svc-feature h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.bento-plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento-plain .svc-card { min-height: 0; }

/* ============================================================ process */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.process-intro h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 18px; }
.process-intro p:not(.eyebrow) { color: var(--text-2); font-size: 1.08rem; margin-bottom: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 22px 76px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--line));
}
.timeline li:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent-text);
  font-family: var(--font-head); font-weight: 750; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px -12px rgb(var(--shadow-rgb) / 0.25);
}
.timeline li:first-child .step-num { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.step-card { padding: 22px 26px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { color: var(--text-2); margin: 0; font-size: 0.99rem; }

/* ============================================================ work */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; }
.work-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.work-mono {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--text); color: var(--bg); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
}
.work-card h3 { font-size: 1.3rem; }
.work-card p { color: var(--text-2); margin: 0; font-size: 0.99rem; }
.work-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: 0.93rem; }
.work-link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.work-card:hover .work-link .icon { transform: translate(2px, -2px); }

/* ============================================================ posts */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.post-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-ph {
  position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--accent-text) 80%, transparent);
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%),
    var(--bg-soft);
}
.post-ph .icon { width: 44px; height: 44px; opacity: 0.85; }
.post-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--muted); }
.post-card h3 { font-size: 1.16rem; line-height: 1.32; letter-spacing: calc(var(--head-track) * 0.5); }
html[lang="bn"] .post-card h3 { line-height: 1.5; }
.post-excerpt { color: var(--text-2); font-size: 0.95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .svc-more { margin-top: auto; padding-top: 8px; }
.post-card:hover .svc-more .icon { transform: translateX(4px); }

.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.topics a {
  padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 550;
  border: 1px solid var(--line-strong); color: var(--text-2); background: color-mix(in srgb, var(--surface) 40%, transparent);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.topics a:hover { border-color: var(--text); color: var(--text); }
.topics a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }

/* ============================================================ place */
.place-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface);
}
.place-card > * { position: relative; z-index: 1; }
.place-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.place-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.place-card p:not(.eyebrow) { color: var(--text-2); font-size: 1.06rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); min-width: 0; }
.fact-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--surface); border: 1px solid var(--line); color: var(--accent-text); }
.fact-icon .icon { width: 19px; height: 19px; }
.fact dt { font-size: 0.8rem; color: var(--muted); margin-bottom: 2px; }
.fact dd { margin: 0; font-weight: 600; font-size: 0.97rem; overflow-wrap: anywhere; }
.fact dd a { text-decoration: none; }
.fact dd a:hover { color: var(--accent-text); text-decoration: underline; }

/* ============================================================ FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 18px; }
.faq-intro p:not(.eyebrow) { color: var(--text-2); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 16px 36px -24px rgb(var(--shadow-rgb) / 0.3); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 650; font-size: 1.06rem; line-height: 1.4; letter-spacing: calc(var(--head-track) * 0.4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq-toggle .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.faq-answer { padding: 0 22px 22px; color: var(--text-2); }

/* ============================================================ CTA */
.cta-section { padding-block: 0 var(--section); }
.cta-section.after-alt { padding-top: var(--section); }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center; border: 1px solid var(--line);
  --glow-a: 50%; --glow-b: 40%;
}
.cta-card .bg-fx::after {
  inset: -30%;
  background:
    radial-gradient(40% 55% at 15% 0%, color-mix(in srgb, var(--accent) var(--glow-a), transparent), transparent 70%),
    radial-gradient(40% 55% at 85% 100%, color-mix(in srgb, var(--accent-2) var(--glow-b), transparent), transparent 70%);
}
html[data-pattern] .cta-card .bg-fx::before { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%); }
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cta-card h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.cta-card p:not(.eyebrow) { color: var(--text-2); font-size: 1.12rem; margin-bottom: 34px; max-width: 36em; }
.cta-card .actions { justify-content: center; }

/* ============================================================ footer */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { color: var(--text-2); margin: 18px 0 22px; max-width: 32em; font-size: 0.97rem; }
.footer-brand address { font-style: normal; color: var(--muted); font-size: 0.93rem; line-height: 1.9; }
.footer-brand address a { text-decoration: none; color: var(--text-2); }
.footer-brand address a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-2); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.socials a:hover { color: var(--text); border-color: var(--text); }
.socials .icon { width: 18px; height: 18px; }
.footer-col h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-body); font-weight: 650; margin-bottom: 18px; }
html[lang="bn"] .footer-col h2 { text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text-2); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-base p { margin: 0; }
.site-footer .bg-fx::after { inset: 0; background: radial-gradient(50% 60% at 100% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); filter: none; }
.site-footer .bg-fx::before { display: none; }
.footer-wordmark {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.05em; line-height: 0.8; text-align: center; white-space: nowrap;
  font-size: clamp(3.5rem, 13.5vw, 12rem); margin-top: 48px; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 14%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang="bn"] .footer-wordmark { letter-spacing: 0; line-height: 1.1; font-size: clamp(3rem, 11vw, 10rem); }

/* ============================================================ article */
.article-hero.has-cover { padding-bottom: clamp(120px, 14vw, 180px); }
.article-hero h1 { max-width: 22em; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
html[lang="bn"] .article-hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 0.92rem; }
.article-kicker a { color: var(--text-2); text-decoration: none; }
.article-kicker a:hover { color: var(--text); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; color: var(--muted); font-size: 0.92rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 16px; height: 16px; }
.article-author-mini { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 600; }
.article-author-mini img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; background: #e5e3df; }
.article-cover { position: relative; z-index: 2; margin: calc(clamp(120px, 14vw, 180px) * -1 + 40px) 0 0; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.45); background: var(--bg-soft); }
.article-main { padding-block: clamp(48px, 6vw, 80px) var(--section); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.article-layout.has-toc { grid-template-columns: 250px minmax(0, 1fr); }
.article-body { max-width: 760px; min-width: 0; }
.no-toc .article-body { margin-inline: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100vh - var(--header-h) - 56px); overflow: auto; }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-body); font-weight: 650; margin-bottom: 14px; }
html[lang="bn"] .toc h2 { text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--accent-text); border-left-color: var(--accent-text); font-weight: 600; }

/* prose */
.prose { font-size: 1.08rem; line-height: 1.78; color: var(--text-2); }
html[lang="bn"] .prose { line-height: 1.9; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); margin-top: 2.1em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.32rem; margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h4 { font-size: 1.1rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.7em; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-text) 40%, transparent); text-underline-offset: 3px; font-weight: 500; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.prose blockquote > * + * { margin-top: 0.8em; }
.prose code { padding: 0.15em 0.42em; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.87em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); }
.prose pre { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--d-bg); color: var(--d-text); overflow-x: auto; font-size: 0.9rem; line-height: 1.6; border: 1px solid var(--d-line); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.prose figure figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.55; }
.prose th { background: var(--bg-soft); text-align: left; font-weight: 650; color: var(--text); }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--text); }
.prose mark { background: color-mix(in srgb, var(--accent-2) 30%, transparent); color: var(--text); padding: 0 0.2em; border-radius: 4px; }

.service-callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 48px; padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface));
}
.callout-label { display: block; font-size: 0.8rem; color: var(--accent-text); font-weight: 650; margin-bottom: 2px; }
.callout-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; color: var(--text); }
.callout-text { display: block; color: var(--text-2); font-size: 0.94rem; margin-top: 4px; }
.service-callout > .icon { width: 22px; height: 22px; color: var(--accent-text); transition: transform 0.25s var(--ease); }
.service-callout:hover > .icon { transform: translateX(4px); }

.author { display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 26px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: #e5e3df; border: 2px solid var(--line); }
.author h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-body); font-weight: 650; margin-bottom: 6px; }
html[lang="bn"] .author h2 { text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.author p { color: var(--text-2); font-size: 0.97rem; margin-bottom: 12px; }
.author strong { color: var(--text); }

/* ============================================================ service page */
.covers-card { position: relative; padding: 28px; border-radius: var(--radius-xl); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.covers-card h2 { font-size: 1.05rem; margin-bottom: 16px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.check-list .tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px; background: color-mix(in srgb, var(--accent-text) 18%, transparent); color: var(--accent-text); }
.check-list .tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 28px); padding: 28px; }
.side-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.side-card p { color: var(--text-2); font-size: 0.97rem; margin-bottom: 20px; }
.side-card .btn { width: 100%; }
.side-card .actions { flex-direction: column; align-items: stretch; gap: 10px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.mini-card .svc-icon { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex: none; }
.mini-card .svc-icon .icon { width: 20px; height: 20px; }
.mini-card span { font-weight: 600; flex: 1; line-height: 1.35; }
.mini-card > .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 0.25s var(--ease), color 0.2s; }
.mini-card:hover > .icon { transform: translateX(3px); color: var(--accent-text); }

/* ============================================================ about */
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-hero-grid .portrait-wrap { max-width: 400px; }
.motto-card { position: relative; overflow: hidden; max-width: 980px; margin-inline: auto; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-xl); text-align: center; border: 1px solid var(--line); }
.motto-card .bg-fx::before { display: none; }
.motto-card > *:not(.bg-fx) { position: relative; z-index: 1; }
.motto-card .icon { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--accent-text); }
.motto-card blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.4; letter-spacing: calc(var(--head-track) * 0.5); color: var(--text); text-wrap: balance; }
html[lang="bn"] .motto-card blockquote { line-height: 1.65; }
.motto-card blockquote p { margin: 0; }

/* ============================================================ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.channels { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.channel .fact-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent-text) 15%, transparent); }
.channel-text { flex: 1; min-width: 0; }
.channel-label { display: block; font-size: 0.82rem; color: var(--muted); }
.channel-value { display: block; font-weight: 650; font-size: 1.02rem; overflow-wrap: anywhere; }
.channel > .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 0.25s var(--ease); }
a.channel:hover > .icon { transform: translateX(3px); color: var(--accent-text); }
.channel-primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2))); border-color: transparent; color: var(--on-accent); }
.channel-primary .channel-label { color: color-mix(in srgb, var(--on-accent) 80%, transparent); }
.channel-primary .fact-icon { background: rgb(255 255 255 / 0.18); border-color: rgb(255 255 255 / 0.25); color: var(--on-accent); }
.channel-primary > .icon, a.channel-primary:hover > .icon { color: var(--on-accent); }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-note { color: var(--text-2); margin-bottom: 26px; }
.brief-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.optional { color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.brief-form .btn { justify-self: start; }
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-q {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: var(--radius); flex: none;
  background: var(--accent-soft); color: var(--text); border: 1px dashed color-mix(in srgb, var(--accent-text) 40%, transparent);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; user-select: none;
}
.captcha-q .icon { width: 18px; height: 18px; color: var(--accent-text); }
.captcha-field input[name="captcha"] { max-width: 140px; text-align: center; font-weight: 600; font-size: 1.1rem; }
.field-hint { color: var(--muted); font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; margin-bottom: 20px; border: 1px solid; }
.notice .icon { width: 20px; height: 20px; margin-top: 2px; }
.notice-ok { background: color-mix(in srgb, #16a34a 10%, var(--surface)); border-color: color-mix(in srgb, #16a34a 35%, transparent); color: var(--text); }
.notice-ok .icon { color: #16a34a; }
.notice-error { background: color-mix(in srgb, #dc2626 9%, var(--surface)); border-color: color-mix(in srgb, #dc2626 35%, transparent); color: var(--text); }
.notice-error .icon { color: #dc2626; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps-row li { padding: 28px; }
.steps-row .step-num { position: static; margin-bottom: 18px; width: 46px; height: 46px; border-radius: 14px; }
.steps-row h3 { font-size: 1.18rem; margin-bottom: 8px; }
.steps-row p { color: var(--text-2); margin: 0; font-size: 0.98rem; }

/* ============================================================ error */
.error-hero { text-align: center; padding-block: calc(var(--header-h) + clamp(64px, 10vw, 140px)) clamp(80px, 12vw, 160px); }
.error-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.error-code {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 0.9; letter-spacing: -0.06em; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-2-bright)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-hero .page-lede { margin-inline: auto; }
.error-hero .actions { justify-content: center; margin-top: 34px; }

/* ============================================================ motion */
@media (prefers-reduced-motion: no-preference) {
  html[data-anim="on"] .hero-copy > *, html[data-anim="on"] .hero .portrait-wrap, html[data-anim="on"] .page-hero .wrap > * {
    animation: rise 0.9s var(--ease) both;
  }
  html[data-anim="on"] .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  html[data-anim="on"] .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  html[data-anim="on"] .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  html[data-anim="on"] .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  html[data-anim="on"] .hero-copy > :nth-child(n+6) { animation-delay: 0.3s; }
  html[data-anim="on"] .hero .portrait-wrap { animation-delay: 0.15s; animation-duration: 1.2s; }
  @supports (animation-timeline: view()) {
    html[data-anim="on"] .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ============================================================ responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-wide { grid-column: span 2; }
  .svc-wide.svc-last { grid-column: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .menu-toggle { display: inline-grid; margin-left: auto; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.4);
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 14px 12px; border-radius: var(--radius); font-size: 1.08rem; font-weight: 600; color: var(--text); }
  .nav-actions { justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-actions .btn { flex: 1; }
  .header-tools { margin-left: auto; display: flex; gap: 8px; }
  .menu-toggle { margin-left: 0; }
  .hero-grid, .about-hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-split .portrait-wrap { max-width: 400px; margin-top: 16px; }
  .chip-a { left: -8px; }
  .chip-b { right: -8px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .process-grid, .faq-grid, .contact-grid, .content-grid { grid-template-columns: 1fr; }
  .process-intro, .faq-intro, .side-card { position: static; }
  .place-card { grid-template-columns: 1fr; }
  .article-layout.has-toc { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
  .article-body { margin-inline: auto; }
}
@media (min-width: 1024px) {
  .header-tools { order: 3; display: flex; gap: 8px; }
  .menu-toggle { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .bento, .bento-plain, .work-grid, .card-grid, .steps-row, .mini-grid { grid-template-columns: 1fr; }
  .svc-wide { grid-column: auto; }
  .svc-card { min-height: 0; padding: 26px; }
  .facts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-facts div { padding-right: 18px; margin-right: 18px; }
  .hero .actions .btn, .cta-card .actions .btn { flex: 1 1 100%; }
  .brief-form .btn { justify-self: stretch; }
  .service-callout { grid-template-columns: minmax(0, 1fr) auto; }
  .service-callout .svc-icon { display: none; }
  .float-chip { font-size: 0.8rem; padding: 8px 12px; }
  .chip-b { display: none; }
  .brand-name { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 560px) {
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .hero-facts div { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .cta-section, .announce, .toc, .bg-fx { display: none !important; }
  .is-dark { --bg: #fff; --text: #000; --text-2: #222; --muted: #444; background: #fff; color: #000; }
}

/* menu icon swap */
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------------------------------------------------------------- sitemap page */
.sitemap-page .wrap { display: grid; gap: clamp(40px, 6vw, 72px); }
.sm-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.sm-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 18px; display: flex; align-items: baseline; gap: 10px; }
.sm-count { font-size: 0.8rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.sm-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 56px); }
.sm-group h3 { font-size: 1.02rem; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.sm-group h3 a { color: inherit; text-decoration: none; }
.sm-group h3 a:hover { color: var(--accent-text); }
.sm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sm-list li { min-width: 0; }
.sm-list a { color: var(--text-2); text-decoration: none; line-height: 1.45; }
.sm-list a:hover { color: var(--accent-text); text-decoration: underline; }
.sm-top .sm-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.sm-dated li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.sm-dated li:last-child { border-bottom: 0; }
.sm-dated time { flex: none; font-size: 0.8rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sm-xml { margin: 0; font-size: 0.88rem; }
.sm-xml a { color: var(--muted); }
@media (max-width: 860px) {
  .sm-top, .sm-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .sm-dated li { flex-direction: column; gap: 2px; }
}
