/* ==========================================================================
   Knight Securities Limited — Design System & App-Like Mobile Shell
   Look & Feel:
   - Deep Midnight Navy (#13132B / #1B1F5E) Header, Dark Sections & Footer
   - Soft Eye-Soothing Lavender-Ice (#F2F3FC / #E8EAFA) Light Sections
   - Royal Periwinkle (#5D61B8) Accents & Newsletter Pill (#C5C8F2)
   - High-Contrast Typography (Guaranteed dark text on white cards, light text on dark cards)
   ========================================================================== */

:root {
  /* Brand — Deep Midnight Navy & Periwinkle Palette */
  --navy-950: #0B0C1E;
  --navy-900: #13132B; /* Header, Footer & Dark Section canvas */
  --navy-850: #17193B; /* Elevated dark card surface */
  --navy-800: #1B1E4B; /* Secondary dark navy */
  --navy-700: #1B1F5E; /* Primary brand action & heading navy */
  --navy-600: #282F82; /* Secondary hover navy */
  --navy-500: #4A50A8;
  --periwinkle: #5D61B8; /* Accent indigo-periwinkle */
  --periwinkle-bright: #6B70D6;
  --periwinkle-pill: #C5C8F2; /* Newsletter pill input fill */
  --navy-200: #C8CBEF;
  --navy-100: #E4E6FA;
  --navy-50:  #F2F3FC;
  --navy-on-dark: #C4C7E8; /* High-legibility lavender-white on dark navy */

  /* Eye-soothing Lavender-Ice surfaces & borders */
  --white: #FFFFFF;
  --surface-canvas: #F6F7FD;
  --surface-alt: #F1F2FB; /* Soft lavender-ice alternating section fill */
  --surface-tint: #E6E8F8; /* Deeper lavender-ice for newsletter & icon tiles */
  --border: #D8DCF0;
  --border-strong: #B8BEE0;

  /* Text */
  --text: #13132B;
  --text-muted: #434768;
  --text-subtle: #62678A;

  /* Status */
  --ok-bg: #F0FDF4; --ok-fg: #166534; --ok-bd: #BBF7D0;
  --alert-bg: #FEF2F2; --alert-fg: #991B1B; --alert-bd: #F87171;

  /* Type */
  --font: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Noto Sans Bengali", "Inter", system-ui, sans-serif;

  /* Radius */
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 9999px;

  /* Elevation */
  --e1: 0 2px 6px rgba(19, 19, 43, .05), 0 1px 2px rgba(19, 19, 43, .03);
  --e2: 0 8px 18px -4px rgba(27, 31, 94, .11), 0 2px 6px -2px rgba(27, 31, 94, .06);
  --e2-lg: 0 16px 32px -8px rgba(27, 31, 94, .18), 0 4px 10px -4px rgba(27, 31, 94, .08);
  --e3: 0 14px 28px -4px rgba(11, 12, 30, .25);
  --scrim: rgba(11, 12, 30, .6);

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 56px; --s-9: 76px; --s-10: 100px;

  --container: 1280px;
  --gutter: 24px;
  --margin: 32px;
  --header-h: 120px;
  --tabbar-h: 0px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  /* brand vector: guard-badge shield, used as a CSS mask */
  --shield-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 1.5 44 7.5v15c0 12-8.5 20-20 24-11.5-4-20-12-20-24v-15Z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  :root {
    --gutter: 12px;
    --margin: 16px;
    --header-h: 100px;
    --tabbar-h: 64px;
  }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    background: var(--surface-canvas);
  }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 3px; border-radius: 3px; }
.section--dark :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: #fff; }
::selection { background: var(--navy-700); color: #fff; }
.bn, body.lang-bn { font-family: var(--font-bn); }
body.lang-bn .display, body.lang-bn .h1, body.lang-bn .h2, body.lang-bn .h3 {
  letter-spacing: 0;
  line-height: 1.28;
}
body.lang-bn .body, body.lang-bn .lead, body.lang-bn .small {
  line-height: 1.72;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: 400; font-style: normal; font-size: 22px; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap;
  direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none; flex-shrink: 0;
}
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.ms.sm { font-size: 18px; } .ms.xs { font-size: 16px; } .ms.lg { font-size: 28px; }

/* ---------- Typography ---------- */
.display { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -.024em; }
.h1 { font-size: clamp(27px, 3.5vw, 44px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(23px, 2.7vw, 35px); line-height: 1.22; font-weight: 700; letter-spacing: -.016em; }
.h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.32; font-weight: 700; letter-spacing: -.01em; }
.h4 { font-size: 17.5px; line-height: 1.4; font-weight: 600; letter-spacing: -.005em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--text-muted); }
.body { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.small { font-size: 14px; line-height: 1.56; color: var(--text-muted); }
.micro { font-size: 11.5px; line-height: 1.4; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--periwinkle);
}
/* brand vectors: rank chevrons before eyebrows (like uniform stripes) */
.eyebrow::before {
  content: ""; width: 18px; height: 13px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 13'%3E%3Cpath d='M2 6.5 9 2l7 4.5M2 11.5 9 7l7 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 13'%3E%3Cpath d='M2 6.5 9 2l7 4.5M2 11.5 9 7l7 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.text-navy { color: var(--navy-700); }
.text-accent { color: var(--periwinkle); }
.muted { color: var(--text-muted); }

/* ---------- Layout & Safe Contrast Rules ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--margin) * 2); margin: 0 auto; padding: 0 var(--margin); }
.section { padding: var(--s-10) 0; position: relative; background: var(--white); }
.section--tight { padding: var(--s-8) 0; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }
.section--dark { background: var(--navy-900); color: #fff; overflow: hidden; position: relative; }
/* brand vectors: saluting-guard mascot rising from the bottom-right of navy sections */
.section--dark::after { content: ""; position: absolute; right: 3%; bottom: 0; width: min(46%, 560px); aspect-ratio: 600 / 432; background: url("../img/ksl-mascot.png") right bottom / contain no-repeat; opacity: .05; pointer-events: none; z-index: 0; }
.section--dark > .container { position: relative; z-index: 1; }
.section--dark > .container > .section-head .body,
.section--dark > .container > .section-head .lead,
.section--dark > .container > .section-head .small { color: var(--navy-on-dark); }
.section--dark > .container > .section-head .eyebrow { color: var(--periwinkle-pill); }
.section--dark > .container > .section-head .text-navy,
.section--dark > .container > .section-head .h2,
.section--dark > .container > .section-head .h3 { color: #fff; }

/* Guarantee white cards inside dark sections always keep dark readable text */
.section--dark .card:not(.card--dark) {
  color: var(--text);
}
.section--dark .card:not(.card--dark) .text-navy,
.section--dark .card:not(.card--dark) .h2,
.section--dark .card:not(.card--dark) .h3,
.section--dark .card:not(.card--dark) .h4 {
  color: var(--navy-700);
}
.section--dark .card:not(.card--dark) .body,
.section--dark .card:not(.card--dark) .lead,
.section--dark .card:not(.card--dark) .small {
  color: var(--text-muted);
}

.texture-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.section > .container { position: relative; }
@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .section--tight { padding: 32px 0; }
}

.section-head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }
.section-head.split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--s-6); }
.section-head.split > div { max-width: 680px; display: flex; flex-direction: column; gap: var(--s-3); }
@media (max-width: 900px) {
  .section-head.split { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .section-head { margin-bottom: var(--s-5); }
}

.grid { display: grid; gap: var(--gutter); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
  .grid.mobile-bento-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.mobile-bento-2 .card, .grid.mobile-bento-2 .tile { padding: 14px; }
  .grid.mobile-bento-2 .h4 { font-size: 15px; }
  .grid.mobile-bento-2 .small { font-size: 12.5px; line-height: 1.45; }
}
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--s-1); } .gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); } .gap-5 { gap: var(--s-5); } .gap-6 { gap: var(--s-6); }

.split-hero { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; }
.split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: center; }
@media (max-width: 1000px) { .split-hero, .split-5-7 { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-700); --fg: #fff; --bd: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: var(--r-md);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 14px; font-weight: 600; letter-spacing: .015em; line-height: 1.2; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.btn .ms { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--periwinkle); --bd: var(--periwinkle); box-shadow: var(--e2); }
.btn:hover .ms.arrow { transform: translateX(3px); }
.btn:active { transform: scale(.985); }
.btn--periwinkle { --bg: var(--periwinkle); --fg: #fff; --bd: var(--periwinkle); }
.btn--periwinkle:hover { --bg: var(--periwinkle-bright); --bd: var(--periwinkle-bright); }
.btn--secondary { --bg: #fff; --fg: var(--navy-700); --bd: var(--navy-700); }
.btn--secondary:hover { --bg: var(--navy-50); --fg: var(--navy-700); --bd: var(--periwinkle); }
.btn--light { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn--light:hover { --bg: var(--periwinkle-pill); --bd: var(--periwinkle-pill); --fg: var(--navy-950); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.1); --bd: #fff; --fg: #fff; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy-700);
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s var(--ease), color .2s;
}
.link:hover { background-size: 100% 1px; color: var(--periwinkle); }
.link .ms { font-size: 18px; transition: transform .25s var(--ease); }
.link:hover .ms { transform: translateX(3px); }
/* <button class="link"> (Enquire on sector cards): soft pill instead of the browser's default button box */
button.link { appearance: none; min-height: 44px; padding: 9px 18px; border: 1px solid var(--navy-200); border-radius: var(--r-full); background: var(--navy-50); color: var(--navy-700); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
button.link:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
button.link:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 2px; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 10px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--surface-tint); color: var(--navy-700); border: 1px solid var(--border);
}
.badge--solid { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.badge--ok { /* guarantee pill: brand lavender + periwinkle check (no off-palette green) */
  background: var(--navy-50); color: var(--navy-700); border-color: var(--navy-200); border-radius: var(--r-full);
  padding: 5px 12px 5px 9px; font-size: 12.5px; letter-spacing: .01em; text-transform: none; white-space: nowrap;
}
.badge--ok::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--periwinkle);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.badge--alert { background: var(--alert-bg); color: var(--alert-fg); border-color: var(--alert-bd); }
.badge--dark { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.2); }
.dot { width: 7px; height: 7px; border-radius: var(--r-full); background: currentColor; display: inline-block; flex-shrink: 0; }
.dot--live { background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e1);
  padding: var(--s-5); position: relative;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card:not(.card--dark) .h2, .card:not(.card--dark) .h3, .card:not(.card--dark) .h4, .card:not(.card--dark) strong {
  color: var(--navy-900);
}
.card:not(.card--dark) .body, .card:not(.card--dark) .lead {
  color: #1F244D;
}
.card:not(.card--dark) .small, .card:not(.card--dark) p:not(.eyebrow) {
  color: #2F3562;
}
.card:target {
  border-color: var(--periwinkle);
  box-shadow: 0 0 0 2px var(--periwinkle), var(--e2-lg);
}
.card--hover:hover { box-shadow: 6px 6px 0px var(--periwinkle), var(--e2-lg); transform: translateY(-3px); border-color: var(--periwinkle); }
.card--flat { box-shadow: none; }
.card--alt { background: var(--surface-alt); box-shadow: none; }
.card--dark { background: var(--navy-850); border-color: rgba(255,255,255,.15); color: #fff; }
.card--dark .h3, .card--dark .h4 { color: #fff; }
.card--dark .body, .card--dark .small { color: var(--navy-on-dark); }
.card-head { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-5); padding: 14px var(--s-5); background: var(--surface-alt); border-bottom: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card-accent::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--periwinkle); border-radius: var(--r-lg) var(--r-lg) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card-accent:hover::after { transform: scaleX(1); }

.icon-tile {
  width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--surface-tint); color: var(--navy-700); border: 1px solid var(--border);
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
/* brand vectors: icon tiles are guard-badge shields */
.icon-tile:not(.round) {
  border: 0; border-radius: 0; padding-bottom: 4px;
  -webkit-mask: var(--shield-mask) center / 100% 100% no-repeat;
          mask: var(--shield-mask) center / 100% 100% no-repeat;
}
.icon-tile.solid { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.icon-tile.round { border-radius: var(--r-full); }
.icon-tile.sm { width: 38px; height: 38px; }
.card--hover:hover .icon-tile:not(.solid) { background: var(--periwinkle); color: #fff; border-color: var(--periwinkle); }

/* ---------- Floating Sticky Translucent Header (Shrinks on Scroll) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: transparent;
}
.header-spacer { height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

.topbar {
  background: var(--navy-900);
  color: #D6D9F2;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  max-height: 40px;
  transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: var(--s-4); }
.topbar-info { display: flex; gap: var(--s-4); align-items: center; min-width: 0; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; white-space: nowrap; color: #D6D9F2; }
.topbar-info a:hover { color: #fff; }
.topbar-info .ms { font-size: 15px; color: var(--periwinkle-pill); }
.topbar-right { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-sm); overflow: hidden; background: rgba(255,255,255,.06); }
.lang-toggle button { background: transparent; color: #D6D9F2; border: 0; padding: 2px 9px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.lang-toggle button:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.15); color: #fff; }
.topbar-social { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-sm); color: #D6D9F2; transition: background .2s, color .2s; }
.topbar-social:hover { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 1100px) { .topbar .hide-md { display: none; } }
@media (max-width: 767px) {
  .topbar { font-size: 11px; }
  .topbar .container { height: 32px; gap: 8px; }
  .topbar-social { display: none; }
}

.mainbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(19, 19, 43, 0.04);
  transition: all 0.3s var(--ease);
}
.mainbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: var(--s-4);
  position: relative;
  transition: height 0.3s var(--ease);
}
@media (max-width: 767px) { .mainbar .container { height: 66px; gap: 8px; } }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
}
.brand-crest {
  width: 64px;
  height: 67px;
  background: #fff;
  padding: 2px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 8px rgba(19, 19, 43, .12);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), transform 0.25s var(--ease);
}
.brand-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}
.brand:hover .brand-crest {
  transform: scale(1.04);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; transition: all 0.3s var(--ease); }
.brand-name strong { font-family: var(--font); font-size: 15.5px; font-weight: 800; letter-spacing: .015em; color: var(--navy-900); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: font-size 0.3s var(--ease); }
.brand-name span { font-family: var(--font); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--text-subtle); text-transform: uppercase; transition: all 0.3s var(--ease); }
/* Bengali motto under the company name: no uppercase/tracking, Bengali font */
.brand-name .brand-motto { font-family: var(--font-bn); font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--periwinkle); margin-top: 2px; white-space: nowrap; }
.site-header.is-scrolled .brand-name .brand-motto { font-size: 11px; letter-spacing: 0; }
@media (max-width: 767px) {
  .brand-crest { width: 50px; height: 53px; padding: 2px; }
  .brand-name .brand-motto { font-size: 11px; }
  .brand-name strong { font-size: 13.5px; }
  .brand-name span { font-size: 9px; }
}

.nav { display: flex; align-items: center; gap: 3px; }
.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--navy-900);
  transition: color .2s, background .2s, padding .3s, font-size .3s;
  white-space: nowrap;
  text-decoration: none;
}
.nav a:hover { color: var(--periwinkle); background: var(--surface-alt); }
.nav a[aria-current="page"] { color: var(--navy-700); font-weight: 700; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2.5px;
  background: var(--periwinkle);
  border-radius: 2px;
}

/* Scrolled Header State: Topbar collapses, Mainbar shrinks, Logo & Nav scale down */
.site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  border-bottom: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.site-header.is-scrolled .mainbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(19, 19, 43, 0.12);
  border-bottom-color: var(--border-strong);
}
.site-header.is-scrolled .mainbar .container {
  height: 62px;
}
.site-header.is-scrolled .brand-crest {
  width: 48px;
  height: 51px;
  box-shadow: 0 2px 6px rgba(19, 19, 43, 0.08);
}
.site-header.is-scrolled .brand-name strong {
  font-size: 13.5px;
}
.site-header.is-scrolled .brand-name span {
  font-size: 9px;
  letter-spacing: 0.06em;
}
.site-header.is-scrolled .nav a {
  padding: 6px 10px;
  font-size: 13px;
}
.site-header.is-scrolled .header-actions .btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 12.5px;
}
@media (max-width: 767px) {
  .site-header.is-scrolled .mainbar .container { height: 56px; }
  .site-header.is-scrolled .brand-crest { width: 42px; height: 44px; }
  .site-header.is-scrolled .brand-name strong { font-size: 12.5px; }
  .site-header.is-scrolled .brand-name span { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-action-btn {
  display: none; width: 44px; height: 44px; border-radius: var(--r-md);
  border: 1px solid var(--border-strong); background: #fff; color: var(--navy-700);
  align-items: center; justify-content: center; transition: background .2s, transform .15s;
}
.icon-action-btn:hover { background: var(--surface-alt); }
.icon-action-btn:active { transform: scale(.95); }
/* header is white, so these buttons are navy on white */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: #fff; color: var(--navy-700); align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--surface-alt); }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .icon-action-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-actions .btn { padding: 8px 11px; font-size: 12px; min-height: 38px; }
}
/* phones: the bottom tab bar has Quick Quote and More (menu), and the top bar has tap-to-call,
   so the header shows only the brand */
@media (max-width: 767px) {
  .header-actions { display: none; }
}

/* ---------- Mobile Bottom App Navigation Bar (.mobile-tabbar) ---------- */
.mobile-tabbar { display: none; }
@media (max-width: 767px) {
  .mobile-tabbar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    background: rgba(19, 19, 43, .97);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 -6px 20px rgba(11, 12, 30, .35);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-tabbar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: var(--tabbar-h);
    max-width: 540px;
    margin: 0 auto;
  }
  .mobile-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--navy-on-dark);
    font-size: 10.5px;
    font-weight: 600;
    border: 0;
    background: transparent;
    padding: 6px 2px;
    transition: color .2s, transform .15s;
  }
  .mobile-tab .ms {
    font-size: 21px;
    transition: transform .2s var(--ease), color .2s;
  }
  .mobile-tab:active { transform: scale(.93); }
  .mobile-tab[aria-current="page"],
  .mobile-tab.is-active {
    color: #FFFFFF;
    font-weight: 700;
  }
  .mobile-tab[aria-current="page"] .ms,
  .mobile-tab.is-active .ms {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
    color: var(--periwinkle-pill);
    transform: translateY(-1px);
  }
  .mobile-tab[aria-current="page"]::before,
  .mobile-tab.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 2.5px;
    background: var(--periwinkle-bright);
    border-radius: 0 0 3px 3px;
  }
  .mobile-tab--cta .tab-pill {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 26px;
    border-radius: var(--r-full);
    background: var(--periwinkle);
    color: #fff;
  }
  .mobile-tab--cta .tab-pill .ms {
    font-size: 17px;
    color: #fff;
  }
  .mobile-tab--cta {
    color: #fff;
    font-weight: 700;
  }
}

/* ---------- Slide-Up Quick Quote & Dispatch Bottom Sheet Modal ---------- */
.quick-sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: var(--scrim);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.quick-sheet-scrim.open { opacity: 1; visibility: visible; }
.quick-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 170;
  width: min(520px, 100vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 36px rgba(11, 13, 38, .35);
  border: 1px solid var(--border);
  padding: 20px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 105%);
  transition: transform .32s var(--ease);
}
.quick-sheet.open { transform: translate(-50%, 0); }
@media (min-width: 768px) {
  .quick-sheet {
    bottom: auto;
    top: 50%;
    border-radius: var(--r-xl);
    padding: 26px;
    transform: translate(-50%, -44%) scale(.96);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .quick-sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }
}
.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--border-strong);
  margin: 0 auto 14px;
}
@media (min-width: 768px) { .sheet-handle { display: none; } }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: var(--navy-900); color: #fff; z-index: 150; box-shadow: var(--e3); transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open { transform: none; }
/* drawer is navy: brand text must be light */
.drawer .brand-name strong { color: #fff; }
.drawer .brand-name .brand-motto { color: var(--periwinkle-pill); }
.drawer.open + .drawer-scrim, .drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer nav { padding: 12px; overflow-y: auto; flex: 1; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: var(--r-md); font-weight: 600; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.07); }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.drawer nav a .ms { color: var(--periwinkle-pill); font-size: 18px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 12px; background: var(--navy-950); }
.drawer-foot a.tel { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- Split Hero ---------- */
.hero { padding: var(--s-8) 0 var(--s-9); background: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: var(--surface-alt); transform: skewX(-12deg); z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-4); }
.hero-motto { font-family: var(--font-bn); font-size: 18px; font-weight: 700; color: var(--periwinkle); }
.hero-title .accent { color: var(--periwinkle); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-2); }
@media (max-width: 540px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
.hero-assure { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hero-assure .ms { color: var(--periwinkle); }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: 10px 10px 0px var(--periwinkle), var(--e3); border: 1.5px solid var(--periwinkle); aspect-ratio: 4 / 4.2; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 6s var(--ease); }
.hero-media:hover .frame img { transform: scale(1.08); }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 38, .65)); pointer-events: none; }
.overlay-card { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; background: rgba(19, 19, 43, .94); backdrop-filter: blur(8px); color: #fff; border-radius: var(--r-lg); padding: 12px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.14); }
.overlay-card strong { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; display: block; }
.overlay-card span { font-size: 12px; color: var(--navy-on-dark); }
.float-badge { position: absolute; z-index: 3; top: 20px; left: -24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e3); padding: 10px 14px; display: flex; align-items: center; gap: 10px; animation: floaty 6s ease-in-out infinite; }
.float-badge img { width: 38px; height: 38px; border-radius: var(--r-sm); object-fit: contain; }
.float-badge strong { display: block; font-size: 12.5px; color: var(--navy-700); }
.float-badge span { font-size: 11px; color: var(--text-subtle); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1000px) {
  .float-badge { left: 12px; top: 12px; }
  .hero::before { display: none; }
  .hero { padding: 28px 0 36px; }
  .hero-media .frame { aspect-ratio: 16 / 10.5; }
}

/* Page hero (inner pages) */
.page-hero { padding: var(--s-7) 0 var(--s-8); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.page-hero .lead { color: var(--navy-on-dark); }
.page-hero .eyebrow { color: var(--periwinkle-pill); }
.page-hero.light { background: #fff; color: var(--text); border-bottom: 1px solid var(--border); }
.page-hero.light .lead { color: var(--text-muted); }
.page-hero.light .eyebrow { color: var(--periwinkle); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; margin-bottom: var(--s-4); color: var(--navy-on-dark); }
.page-hero.light .breadcrumb { color: var(--text-subtle); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero.light .breadcrumb a:hover { color: var(--navy-700); }
.breadcrumb .ms { font-size: 16px; opacity: .7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-4); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.hero-badges .ms { font-size: 18px; color: var(--periwinkle); }

/* ---------- Stats (2x2 Bento on Mobile) ---------- */
.stat-strip { background: var(--navy-900); color: #fff; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s-6) var(--s-5); border-right: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 4px; }
.stat:last-child { border-right: 0; }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; padding-bottom: 4px; margin-bottom: 8px; font-size: 22px; background: rgba(107, 112, 214, .3); color: var(--periwinkle-pill); -webkit-mask: var(--shield-mask) center / 100% 100% no-repeat; mask: var(--shield-mask) center / 100% 100% no-repeat; }
.stat .num { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; color: #FFFFFF; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .label { font-size: 14px; font-weight: 700; color: var(--periwinkle-pill); }
.stat .desc { font-size: 12.5px; color: var(--navy-on-dark); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 14px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.mini-stat { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; background: #fff; box-shadow: var(--e1); }
.mini-stat .num { font-size: 24px; font-weight: 800; color: var(--navy-700); line-height: 1.1; }
.mini-stat .ms { color: var(--periwinkle); }
.mini-stat .label { font-size: 11px; font-weight: 700; color: var(--text-subtle); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 680px) { .mini-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Interactive Credo Segmented Tabs ---------- */
.credo-tabs {
  display: inline-flex;
  background: var(--surface-tint);
  padding: 4px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  gap: 4px;
}
.credo-tab-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: all .2s var(--ease);
}
.credo-tab-btn[aria-selected="true"] {
  background: var(--navy-700);
  color: #fff;
  box-shadow: var(--e1);
}
.credo-panel { display: none; animation: fadeIn .3s var(--ease); }
.credo-panel.is-active { display: block; }

/* ---------- Interactive Guard Deployment Configurator ---------- */
.configurator {
  background: #fff;
  border: 1.5px solid var(--periwinkle);
  border-radius: var(--r-xl);
  box-shadow: 8px 8px 0px var(--periwinkle), var(--e2);
  overflow: hidden;
}
.config-grid { display: grid; grid-template-columns: 7fr 5fr; }
@media (max-width: 960px) { .config-grid { grid-template-columns: 1fr; } }
.config-controls { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.config-summary {
  background: var(--navy-900);
  color: #fff;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-5);
  border-left: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 767px) { .config-controls, .config-summary { padding: 20px; } }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  padding: 8px 13px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .18s var(--ease);
}
.pill-opt:hover { border-color: var(--periwinkle); background: #fff; }
.pill-opt[aria-pressed="true"] {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
  box-shadow: var(--e1);
}
.pill-opt .ms { font-size: 17px; }
.range-wrap { display: flex; align-items: center; gap: 14px; }
.range-input { flex: 1; accent-color: var(--periwinkle); height: 6px; cursor: pointer; }
.range-badge {
  min-width: 88px;
  text-align: center;
  padding: 6px 12px;
  border-radius: var(--r-md);
  background: var(--periwinkle);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.summary-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.summary-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 12px 14px;
}
.summary-box .num { font-size: 24px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.15; }
.summary-box .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--periwinkle-pill); margin-top: 3px; }

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: var(--periwinkle);
  box-shadow: 5px 5px 0px var(--periwinkle);
}
.faq-q {
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .ms { color: var(--periwinkle); transition: transform .25s var(--ease); }
.faq-item[open] .faq-q .ms { transform: rotate(180deg); }
.faq-a {
  padding: 14px 20px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--surface-tint);
}

/* ---------- Media cards (services) ---------- */
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-tint); }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-card:hover .thumb img { transform: scale(1.06); }
.media-card .thumb .badge { position: absolute; top: 12px; left: 12px; }
.media-card .content { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.scope { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; }
.scope .micro { color: var(--navy-700); margin-bottom: 8px; }
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.checklist li .ms { font-size: 17px; color: var(--periwinkle); margin-top: 1px; }
.section--dark .checklist li { color: var(--navy-on-dark); }
.section--dark .checklist li .ms { color: #fff; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: var(--s-3); margin-top: auto; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-subtle); flex-wrap: wrap; }

/* Filter */
.filter-bar { background: #fff; border-bottom: 1px solid var(--border); }
.filter-bar .container { display: flex; align-items: center; gap: var(--s-3); padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.filter-bar .container::-webkit-scrollbar { display: none; }
.filter-btn { flex-shrink: 0; border: 1px solid var(--border); background: #fff; color: var(--text-muted); padding: 8px 14px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; transition: all .2s var(--ease); }
.filter-btn:hover { border-color: var(--periwinkle); color: var(--navy-700); }
.filter-btn[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: var(--e1); }
.is-hidden { display: none !important; }
.fade-in { animation: fadeIn .4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Tile list (industries compact) ---------- */
.tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--e1); transition: all .25s var(--ease); }
.tile:hover { border-color: var(--periwinkle); box-shadow: 5px 5px 0px var(--periwinkle), var(--e2); transform: translateY(-2px); }
.tile .ms { color: var(--navy-700); font-size: 24px; }
.tile strong { display: block; font-size: 15.5px; color: var(--navy-700); }
.tile span { font-size: 13px; color: var(--text-muted); display: block; margin-top: 2px; }

/* ---------- Feature list ---------- */
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-alt); transition: background .2s, border-color .2s; }
.feature-list li:hover { background: #fff; border-color: var(--periwinkle); }
.feature-list .ms { color: var(--periwinkle); margin-top: 2px; }
.feature-list strong { display: block; font-size: 14.5px; color: var(--navy-700); margin-bottom: 2px; }
.feature-list p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Clients ---------- */
.client-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.client-list li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.client-list li::before { content: ""; width: 6px; height: 6px; background: var(--periwinkle); border-radius: 1px; transform: rotate(45deg); flex-shrink: 0; }
.client-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: var(--s-5); }
.client-logo-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: var(--e1); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.client-logo-tile:hover { transform: translateY(-2px); border-color: var(--periwinkle); box-shadow: var(--e2); }
.client-brand-mark { font-family: var(--font); font-size: 14px; font-weight: 800; letter-spacing: .03em; color: var(--navy-900); }
.client-logo-tile small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.marquee { overflow: hidden; padding: 6px 0; max-width: var(--container); margin: 0 auto; /* same centred width as .container content */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: var(--s-4); width: max-content; padding: 10px 0 14px; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-card { width: 184px; min-height: 128px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--e1); text-align: center; }
.client-mark { width: 48px; height: 48px; display: grid; place-items: center; padding-bottom: 4px; background: var(--navy-700); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em;
  -webkit-mask: var(--shield-mask) center / 100% 100% no-repeat;
          mask: var(--shield-mask) center / 100% 100% no-repeat; }
.client-logo { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.client-name { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--navy-700); }
/* phones: swipe carousel of cards (no auto-scroll, no duplicate set) */
@media (max-width: 767px) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none; gap: 12px; padding-inline: var(--margin); }
  .marquee-track .dup { display: none; }
  .client-card { width: 42vw; min-height: 120px; scroll-snap-align: start; }
}
/* portfolio cards: title, description and list line up across cards */
@supports (grid-template-rows: subgrid) {
  .portfolio-grid > .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .portfolio-grid > .card > p { align-self: start; }
  .portfolio-grid > .card > .client-list { align-self: start; margin-top: var(--s-3); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: var(--s-4); }
.timeline::before { content: ""; position: absolute; left: 119px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { display: grid; grid-template-columns: 120px 1fr auto; gap: var(--s-6); align-items: start; position: relative; }
.tl-year { font-size: 30px; font-weight: 800; color: var(--navy-700); letter-spacing: -.02em; line-height: 1; padding-top: 22px; }
.tl-year small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--periwinkle); margin-top: 6px; font-weight: 700; }
.tl-item::before { content: ""; position: absolute; left: 113px; top: 26px; width: 14px; height: 14px; border-radius: var(--r-full); background: #fff; border: 3px solid var(--periwinkle); z-index: 1; }
.tl-item .card { margin-left: 12px; }
.tl-item.current .card { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tl-item.current .card .body { color: var(--navy-on-dark); }
.tl-item.current .card .h4 { color: #fff; }
@media (max-width: 760px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .tl-item::before { left: 0; top: 4px; }
  .tl-year { padding-top: 0; font-size: 22px; display: flex; align-items: baseline; gap: 10px; }
  .tl-year small { margin-top: 0; }
  .tl-item .card { margin-left: 0; }
}

/* ---------- Steps ---------- */
.step { position: relative; }
.step-num { font-size: 40px; font-weight: 800; color: var(--periwinkle-pill); line-height: 1; letter-spacing: -.03em; transition: color .3s var(--ease); }
.card--hover:hover .step-num { color: var(--periwinkle); }
.steps-connected { counter-reset: step; }
@media (min-width: 1101px) {
  .steps-connected > .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: calc(var(--gutter) * -1); width: var(--gutter); height: 2px; background: var(--border); transition: background .4s var(--ease); }
  .steps-connected > .step.is-done::after { background: var(--periwinkle); }
}
/* interactive steps (main.js): active card lifts, progress line fills while auto-advancing */
.steps-connected > .step { cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.steps-connected > .step.is-active { border-color: var(--periwinkle); box-shadow: 6px 6px 0 var(--periwinkle), var(--e2-lg); transform: translateY(-3px); }
.steps-connected > .step.is-active .step-num, .steps-connected > .step.is-done .step-num { color: var(--periwinkle); }
.steps-connected > .step::before { content: ""; position: absolute; left: var(--s-5); right: var(--s-5); bottom: 12px; height: 3px; border-radius: 3px; background: var(--periwinkle); transform: scaleX(0); transform-origin: left; }
.steps-connected > .step.is-active::before { animation: step-progress var(--step-ms, 3600ms) linear forwards; }
.steps-connected.is-paused > .step.is-active::before { animation: none; transform: scaleX(1); }
.steps-connected > .step:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 3px; }
@keyframes step-progress { to { transform: scaleX(1); } }

/* careers: Apply button pinned to the bottom of each opening card so all three line up */
.card-apply { margin-top: auto; }

/* ---------- Promo video (YouTube, loaded on first view by main.js) ---------- */
.promo-video { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-900); border: 1.5px solid var(--periwinkle); box-shadow: 10px 10px 0 var(--periwinkle), var(--e3); }
.promo-video iframe, .promo-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.promo-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: var(--r-full); border: 0; display: grid; place-items: center; background: var(--periwinkle); color: #fff; box-shadow: 0 10px 30px rgba(11, 12, 30, .45); transition: transform .2s var(--ease), background .2s; }
.promo-play .ms { font-size: 40px; }
.promo-play:hover { transform: scale(1.06); background: var(--navy-700); }
.promo-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.promo-video.is-loaded .promo-poster, .promo-video.is-loaded .promo-play { display: none; }
@media (max-width: 767px) { .promo-video { box-shadow: 6px 6px 0 var(--periwinkle), var(--e2); } }

/* ---------- Responsive Table (Cards on Mobile) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--e1); }
.table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.table th { background: var(--surface-tint); color: var(--navy-900); text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.table tr:nth-child(even) td { background: var(--surface-alt); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--navy-700); font-weight: 700; }
@media (max-width: 680px) {
  .table-wrap { border: 0; background: transparent; box-shadow: none; overflow-x: visible; }
  .table { min-width: 0; display: block; }
  .table thead { display: none; }
  .table tbody { display: flex; flex-direction: column; gap: 12px; }
  .table tr { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--e1); gap: 8px; }
  .table tr:nth-child(even) td { background: transparent; }
  .table td { padding: 0; border-bottom: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
  .table td[data-label]::before {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-subtle);
  }
  .table td:first-child { font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid var(--surface-tint); }
}

/* ---------- Spec list (key/value) ---------- */
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; padding: 14px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md); }
.spec dt { color: var(--text-subtle); font-weight: 600; }
.spec dd { margin: 0; color: var(--navy-700); font-weight: 600; }

/* ---------- Tier cards ---------- */
.tier { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-4); align-items: start; }
.tier-code { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--surface-tint); color: var(--navy-700); border: 1px solid var(--border); }
.tier.highlight .tier-code { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
@media (max-width: 600px) { .tier { grid-template-columns: 46px 1fr; gap: 12px; } .tier > .badge { grid-column: 2; justify-self: start; } .tier-code { width: 46px; height: 46px; font-size: 16px; } }

/* ---------- Metric panel ---------- */
.metric-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-xl); padding: var(--s-5); backdrop-filter: blur(6px); }
.metric-row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.metric-row:last-of-type { border-bottom: 0; }
.metric-row .top { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--navy-on-dark); margin-bottom: 8px; }
.metric-row .top strong { color: #fff; font-variant-numeric: tabular-nums; }
.bar { height: 6px; background: rgba(255,255,255,.12); border-radius: var(--r-full); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; transition: width 1.6s var(--ease); }
.is-visible .bar i { width: var(--w); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; border-radius: var(--r-xl); padding: var(--s-8); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: var(--s-7); box-shadow: 8px 8px 0px var(--periwinkle), var(--e2-lg); }
/* watermark: white saluting-guard mascot (transparent PNG cut from the logo), rising from the band's bottom edge */
.cta-band::before { content: ""; position: absolute; right: 32px; bottom: 0; height: 82%; aspect-ratio: 600 / 432; background: url("../img/ksl-mascot.png") right bottom / contain no-repeat; opacity: .07; pointer-events: none; }
.cta-band .body, .cta-band .lead { color: var(--navy-on-dark); }
.cta-band .eyebrow { color: var(--periwinkle-pill); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); flex-shrink: 0; position: relative; }
@media (max-width: 900px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: var(--s-6); gap: var(--s-5); }
  .cta-band::before { height: auto; width: 78%; right: 0; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1; }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--alert-fg); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 104px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231B1F5E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--periwinkle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--periwinkle); box-shadow: 0 0 0 1px var(--periwinkle), 0 0 0 4px rgba(93, 97, 184, .14); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--alert-fg); box-shadow: 0 0 0 3px rgba(153, 27, 27, .08); }
.field .err { display: none; font-size: 12px; color: var(--alert-fg); font-weight: 500; }
.field.invalid .err { display: block; }
.form-note { font-size: 12.5px; color: var(--text-subtle); display: flex; gap: 8px; align-items: flex-start; }
.form-success { display: none; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--ok-bg); color: var(--ok-fg); border: 1px solid var(--ok-bd); font-size: 14px; }
.form-success.show { display: flex; animation: fadeIn .4s var(--ease); }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--e1); transition: border-color .2s, box-shadow .2s; }
.contact-item:hover { border-color: var(--periwinkle); box-shadow: var(--e2); }
.contact-item a:hover { color: var(--periwinkle); text-decoration: underline; }
.map-embed { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); min-height: 320px; background: var(--surface-tint) url('../img/map-uttara.png') center / cover no-repeat; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { position: absolute; left: 12px; right: 12px; bottom: 30px; /* clears Google attribution */ display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-actions .btn { pointer-events: auto; min-height: 44px; box-shadow: var(--e2-lg); }

/* ---------- Hotline cards ---------- */
.hotline { background: var(--navy-900); border: 1px solid var(--periwinkle); border-radius: var(--r-lg); padding: var(--s-5); color: #fff; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.hotline:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(0,0,0,.4); background: var(--navy-800); }
.hotline .num { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hotline .small { color: var(--navy-on-dark); }

/* ---------- "SUBSCRIBE TO GET OUR NEWSLETTER & UPDATES" Strip (From Previous Design) ---------- */
.newsletter-section {
  background: var(--surface-tint);
  padding: 50px 0;
  border-top: 1px solid var(--border);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.newsletter-copy {
  text-align: center;
}
.newsletter-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--navy-800);
  letter-spacing: .03em;
  line-height: 1.1;
}
.newsletter-copy p {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--navy-700);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}
.newsletter-pill {
  flex: 1;
  max-width: 480px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: var(--periwinkle-pill);
  border-radius: 16px;
  padding: 6px 10px 6px 20px;
  box-shadow: inset 0 2px 4px rgba(19, 19, 43, .08);
  border: 1px solid rgba(93, 97, 184, .3);
}
.newsletter-pill input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--navy-900);
  outline: none;
  min-width: 0;
}
.newsletter-pill input::placeholder {
  color: rgba(27, 29, 68, .62);
}
.newsletter-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transition: transform .2s, background .2s;
}
.newsletter-send-btn:hover {
  background: rgba(19, 19, 43, .1);
  transform: translateX(2px);
}
@media (max-width: 767px) {
  .newsletter-inner {
    flex-direction: column;
    gap: 18px;
  }
  .newsletter-pill {
    width: 100%;
    max-width: none;
  }
}

/* ---------- Footer (Matches Previous Design Midnight Navy & Square Crest) ---------- */
.site-footer { background: var(--navy-900); color: #C9CCE6; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1.2fr; gap: var(--s-7); padding: var(--s-9) 0 var(--s-7); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: var(--s-5); padding-top: var(--s-7); } }
.site-footer h3 { font-size: 14px; letter-spacing: .04em; color: #fff; margin-bottom: var(--s-4); font-weight: 700; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: #C9CCE6; transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: #fff; padding-left: 4px; }
.footer-brand-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-crest {
  width: 112px;
  height: 118px;
  background: #fff;
  padding: 3px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.footer-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand p { margin: 0 0 var(--s-3); line-height: 1.68; color: #B8BCE0; font-size: 13.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ms { font-size: 18px; color: var(--periwinkle-pill); margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-cert { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #fff; padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); background: rgba(255,255,255,.05); }
.footer-bottom-bar {
  background: #23255A;
  padding: 16px 0;
  font-size: 13px;
  color: #B4B8E4;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Back to top ---------- */
.fab { position: fixed; right: 18px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px); z-index: 90; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--periwinkle); color: #fff; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; box-shadow: var(--e3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--periwinkle-bright); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.justify-center { justify-content: center; }
.space-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--border); border: 0; margin: var(--s-5) 0; }
.emblem-ring { width: 140px; height: 140px; border-radius: var(--r-full); padding: 6px; background: #fff; border: 2px solid var(--periwinkle); box-shadow: var(--e2); }
.emblem-ring img { width: 100%; height: 100%; border-radius: var(--r-full); }
.quote-mark { font-size: 15px; font-style: italic; line-height: 1.65; }
