/* TechMorah Solution LTD â€” corporate fintech design system
   Deep navy + brand logo gradient (yellowâ†’orangeâ†’pinkâ†’purpleâ†’cyan). */

:root {
  --navy: #0b1f3a;
  --navy-2: #132a4a;
  --ink-deep: #050a18;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #d8dee6;
  --paper: #f0f3f7;
  --white: #ffffff;
  --brand-y: #fdb913;
  --brand-o: #f37021;
  --brand-p: #c62181;
  --brand-v: #7b278d;
  --brand-c: #00aeef;
  --accent: #00aeef;
  --accent-soft: #4dc8f5;
  --copper: #f37021;
  --copper-soft: #fdb913;
  --emerald: #00aeef;
  --emerald-soft: #4dc8f5;
  --grad: linear-gradient(115deg, #fdb913 0%, #f37021 28%, #c62181 52%, #7b278d 76%, #00aeef 100%);
  --grad-soft: linear-gradient(135deg, rgba(253, 185, 19, 0.2), rgba(198, 33, 129, 0.18), rgba(0, 174, 239, 0.22));
  --ok: #1f6b4a;
  --shadow: 0 16px 48px rgba(5, 10, 24, 0.14);
  --nav-h: 72px;
  --max: 1120px;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-c); text-decoration: none; }
a:hover { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
.container, .tm-container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
:focus-visible {
  outline: 2px solid var(--brand-c);
  outline-offset: 3px;
}

/* Brand text gradient utility */
.tm-grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.tm-grad-bar {
  height: 3px;
  width: 100%;
  background: var(--grad);
  border: 0;
}

/* Spinner */
#spinner {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s, visibility 0.35s;
}
#spinner.hidden, #spinner:not(.show) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.spinner-grow {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--brand-c);
  border-radius: 50%;
  animation: tm-spin 0.8s linear infinite;
  background: transparent !important;
}
@keyframes tm-spin { to { transform: rotate(360deg); } }

/* Fixed navy nav + gradient top edge */
.navbar,
.tm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  height: var(--nav-h);
  background: rgba(5, 10, 24, 0.97);
  /* Avoid backdrop-filter here: it traps position:fixed children (mobile drawer). */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(5, 10, 24, 0.45);
  transition: background 0.25s, box-shadow 0.25s;
  overflow: visible;
}
.navbar::before,
.tm-nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  z-index: 1;
  pointer-events: none;
}
.navbar.is-scrolled,
.tm-nav.is-scrolled {
  background: #050a18;
  box-shadow: 0 8px 28px rgba(5, 10, 24, 0.55);
}
.navbar .container,
.tm-nav .tm-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: visible;
}
.navbar-brand, .tm-nav__brand {
  display: flex;
  align-items: center;
  color: #fff !important;
  text-decoration: none;
  z-index: 2;
  flex-shrink: 0;
}
.navbar-collapse,
.tm-nav__menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
}
.navbar-nav, .tm-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0;
}
.nav-link, .tm-nav__link {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82) !important;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active,
.tm-nav__link:hover, .tm-nav__link.active {
  color: #fff !important;
}
.nav-link.active, .tm-nav__link.active {
  box-shadow: inset 0 -2px 0 transparent;
}
.nav-link.active::after, .tm-nav__link.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 1px;
}
.tm-nav__cta,
.navbar .btn-secondary,
.btn.tm-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 8px 16px;
  background: var(--grad) !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px !important;
  box-shadow: 0 4px 16px rgba(198, 33, 129, 0.35);
  white-space: nowrap;
}
.tm-nav__cta:hover,
.navbar .btn-secondary:hover,
.btn.tm-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}
.menu-toggle, .tm-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  margin-left: auto;
  flex-shrink: 0;
}
.menu-toggle span, .tm-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.25s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Brand mark */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand-mark__icon-slot {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark--lg .brand-mark__icon-slot { width: 44px; height: 44px; }
.brand-mark__logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.brand-mark__wordmark {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
}
.brand-mark__tagline {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Hero â€” brand-first fintech composition */
.tm-hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 12% 85%, rgba(198, 33, 129, 0.2), transparent 50%),
    radial-gradient(ellipse 40% 35% at 55% 40%, rgba(123, 39, 141, 0.15), transparent 50%),
    linear-gradient(165deg, #0b1f3a 0%, #050a18 100%);
  color: #fff;
  padding: 40px 0 48px;
  overflow: hidden;
}
.tm-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 174, 239, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 70%);
  animation: tm-grid-drift 28s linear infinite;
  pointer-events: none;
}
@keyframes tm-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}
.tm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}
.tm-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.tm-hero__brand {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: clamp(2.5rem, 9vw, 3.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  animation: tm-rise 0.8s ease-out both;
}
.tm-hero__lede {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  max-width: 32ch;
  animation: tm-rise 0.8s ease-out 0.08s both;
}
.tm-hero__copy {
  margin: 0 0 24px;
  max-width: 36rem;
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  animation: tm-rise 0.8s ease-out 0.14s both;
}
@keyframes tm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.tm-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  animation: tm-rise 0.8s ease-out 0.2s both;
}
.tm-hero__meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tm-hero__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  animation: tm-rise 0.8s ease-out 0.28s both;
}
.tm-hero__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.tm-hero__channel i { color: var(--brand-c); font-size: 0.85rem; }

.tm-hero__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.14);
  background: #050a18;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.tm-hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.tm-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 10, 24, 0.15), rgba(5, 10, 24, 0.55));
  pointer-events: none;
  z-index: 1;
}
.tm-hero__visual-glow {
  position: absolute;
  width: 60%; height: 60%;
  top: 12%; right: 8%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.25), transparent 70%);
  animation: tm-pulse 5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes tm-pulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.14); opacity: 1; }
}
.tm-hero__visual-lines {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  z-index: 3;
  pointer-events: none;
}
.tm-hero__visual-orb {
  display: none;
}
.tm-hero__visual-label {
  position: absolute;
  left: 20px; bottom: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  z-index: 4;
}

/* Values strip */
.tm-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.tm-values__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.tm-values__item::before {
  content: "â€º";
  color: var(--brand-c);
  font-size: 1.1rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 2px !important;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary, .btn-secondary {
  background: var(--grad) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(198, 33, 129, 0.3);
}
.btn-primary:hover, .btn-secondary:hover {
  filter: brightness(1.08);
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-outline-light, .btn-outline-secondary {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.btn-outline-secondary {
  color: var(--navy) !important;
  border-color: var(--line) !important;
}
.btn-outline-secondary:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}
.btn-outline-light:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}
.btn-light {
  background: #fff !important;
  color: var(--navy) !important;
}
.btn-link {
  background: none !important;
  border: 0 !important;
  color: var(--brand-c) !important;
  min-height: auto;
  padding: 8px 0;
  box-shadow: none !important;
}
.rounded-pill { border-radius: 2px !important; }

/* Trust bar */
.tm-trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  position: relative;
}
.tm-trust::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.tm-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}
.tm-trust__value {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.tm-trust__label {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Sections */
section, .tm-section { position: relative; z-index: 1; }
.tm-section { padding: 56px 0; }
.tm-section--paper { background: var(--paper); }
.tm-section--navy {
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(0, 174, 239, 0.18), transparent 50%),
    var(--navy);
  color: #fff;
}
.tm-section-label, .tm-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-c);
  font-weight: 600;
}
.tm-section--navy .tm-section-label { color: var(--brand-y); }
.tm-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tm-section--navy .tm-title { color: #fff; }
.tm-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 640px;
}
.tm-section--navy .tm-lead { color: rgba(255,255,255,0.7); }
.tm-header { margin-bottom: 32px; }

/* Cards / grids */
.tm-grid {
  display: grid;
  gap: 14px;
}
.tm-card, .tm-client-card, .service-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 18px;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.tm-card::before, .tm-client-card::before, .service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.tm-card:hover, .tm-client-card:hover, .service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(0, 174, 239, 0.35);
}
.tm-card:hover::before, .tm-client-card:hover::before, .service-card:hover::before {
  opacity: 1;
}
@media (hover: none) {
  .tm-card:hover, .tm-client-card:hover, .service-card:hover {
    transform: none; box-shadow: none;
  }
}
.tm-card h3, .tm-card h4, .tm-client-card h4, .service-card h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}
.tm-card p, .tm-client-card p, .service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.tm-card__icon, .service-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
  border-radius: 0;
  box-shadow: 0 6px 16px rgba(123, 39, 141, 0.25);
}
.tm-badge, .badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 2px !important;
  margin-bottom: 8px;
}
.badge.bg-light, .tm-stack-badge {
  background: var(--paper) !important;
  color: var(--navy) !important;
  border: 1px solid var(--line);
  margin: 2px 4px 2px 0;
}
.tm-stack-pill {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.2s, color 0.2s;
}
.tm-stack-pill:hover {
  border-color: var(--brand-c);
  color: var(--brand-v);
}

/* Workflow */
.tm-workflow {
  display: grid;
  gap: 12px;
}
.tm-workflow-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tm-workflow-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tm-workflow-step__num {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Reveal */
.tm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tm-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.tm-reveal[data-delay="1"] { transition-delay: 0.08s; }
.tm-reveal[data-delay="2"] { transition-delay: 0.16s; }
.tm-reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .tm-reveal { opacity: 1; transform: none; transition: none; }
  .tm-hero__grid, .tm-hero__visual-glow, .tm-hero__visual-orb { animation: none; }
}

/* Footer */
.footer, .tm-footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
  font-size: 0.9rem;
}
.footer a, .tm-footer a { color: rgba(255,255,255,0.78); }
.footer a:hover, .tm-footer a:hover { color: #fff; }
.footer h5, .tm-footer h5 {
  color: var(--brand-y) !important;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-legal {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tm-footer__band {
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-to-top {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 44px; height: 44px;
  border-radius: 2px !important;
  background: var(--grad) !important;
  opacity: 0;
  visibility: hidden;
  z-index: 50;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* Page headers */
.page-header, .services-hero, .tm-page-hero {
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%, rgba(0, 174, 239, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(198, 33, 129, 0.2), transparent 50%),
    linear-gradient(165deg, #0b1f3a, #050a18) !important;
  color: #fff !important;
  padding: 48px 0 !important;
}
.stats-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.stats-card h3 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.consult-section { background: var(--paper); }
.consult-card, .approach-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
}
.form-control, .consult-card select, .consult-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  font-family: inherit;
  background: var(--paper);
  border-radius: 2px !important;
}
.form-control:focus {
  outline: 2px solid rgba(0, 174, 239, 0.35);
  border-color: var(--brand-c);
}
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Bootstrap utility bridges */
.bg-dark { background: var(--ink-deep) !important; }
.bg-white { background: #fff !important; }
.bg-light { background: var(--paper) !important; }
.bg-secondary { background: var(--navy) !important; }
.bg-primary { background: var(--navy) !important; }
.text-primary { color: var(--brand-c) !important; }
.text-secondary { color: var(--brand-y) !important; }
.text-muted { color: var(--muted) !important; }
.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255,255,255,0.65) !important; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.text-center { text-align: center !important; }
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.row > [class*="col"] { padding: 8px; }
.g-3 { --bs-gutter-x: 0.75rem; }
.g-4 > * { margin-bottom: 0; }
.col-6 { width: 50%; }
.col-12 { width: 100%; }
.col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 { width: 100%; }
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.shadow-sm { box-shadow: none; }
.rounded-4, .rounded-circle { border-radius: 2px !important; }
.object-fit-cover { object-fit: cover; }
.ratio { position: relative; width: 100%; }
.ratio-4x3 { padding-bottom: 75%; }
.ratio > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.list-unstyled { list-style: none; padding: 0; }
.list-unstyled li { margin-bottom: 8px; }
.lead { font-size: 1.1rem; }
.display-4, .display-5, .display-2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.h-100 { height: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.border { border: 1px solid var(--line) !important; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; }
.alert { padding: 12px; margin-bottom: 12px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.78rem; }
.small { font-size: 0.875rem; }
.ms-2 { margin-left: 0.5rem; }

@media (min-width: 576px) {
  .tm-hero__actions { flex-direction: row; flex-wrap: wrap; }
  .tm-hero__actions .btn { width: auto; min-width: 160px; }
  .tm-values { grid-template-columns: repeat(4, 1fr); }
  .d-sm-inline { display: inline !important; }
  .d-none.d-sm-inline { display: inline !important; }
}

@media (min-width: 768px) {
  .container, .tm-container { width: min(var(--max), calc(100% - 48px)); }
  .tm-hero { padding: 56px 0 64px; }
  .tm-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
  .tm-trust__grid { grid-template-columns: repeat(4, 1fr); }
  .tm-grid--2, .tm-grid--3, .tm-grid--4 { grid-template-columns: 1fr 1fr; }
  .tm-workflow { grid-template-columns: 1fr 1fr; }
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
  .d-md-flex { display: flex !important; }
  .tm-nav__cta, .navbar .btn-secondary.d-none.d-xl-inline-block { display: inline-flex !important; }
}

@media (min-width: 992px) {
  .menu-toggle, .tm-nav__toggle { display: none !important; }
  .navbar-collapse,
  .tm-nav__menu {
    display: flex !important;
    align-items: center;
    position: static !important;
    transform: none !important;
    inset: auto !important;
    height: auto !important;
    width: auto !important;
    margin-left: auto;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }
  .navbar-collapse .navbar-nav,
  .tm-nav__menu .tm-nav__links {
    flex-direction: row;
    align-items: center;
    margin: 0;
  }
  .navbar-collapse .nav-link,
  .tm-nav__menu .tm-nav__link {
    padding: 8px 12px;
    font-size: 0.88rem;
    border-bottom: 0;
  }
  .tm-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tm-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .tm-workflow { grid-template-columns: repeat(4, 1fr); }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
  .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
  .d-xl-inline-block, .d-xl-flex { display: inline-flex !important; }
  .d-none.d-xl-inline-block { display: inline-flex !important; }
}

@media (max-width: 991px) {
  .menu-toggle, .tm-nav__toggle { display: flex !important; }
  .tm-nav__cta { display: none; }
  .navbar-collapse, .tm-nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: #050a18;
    padding: 24px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10001;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 0;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar-collapse.show, .tm-nav__menu.is-open {
    transform: translateX(0);
  }
  .navbar-collapse .navbar-nav,
  .tm-nav__menu .tm-nav__links {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    width: 100%;
  }
  .navbar-collapse .nav-link,
  .tm-nav__menu .tm-nav__link {
    padding: 16px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: normal;
  }
  .navbar-collapse .tm-nav__cta,
  .navbar-collapse .btn-secondary {
    display: flex !important;
    margin: 16px 0 0;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .tm-hero__actions .btn { width: 100%; }
  .col-6 { width: 100%; }
}

/* Case studies */
.tm-case {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.tm-case:hover {
  box-shadow: var(--shadow);
  border-color: rgba(0, 174, 239, 0.35);
}
.tm-case__media {
  aspect-ratio: 16 / 10;
  background: var(--paper);
  overflow: hidden;
}
.tm-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.tm-case__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tm-case__title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
}
.tm-case__meta {
  margin: 0;
  display: grid;
  gap: 10px;
}
.tm-case__meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-c);
  font-weight: 700;
  margin: 0 0 2px;
}
.tm-case__meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.tm-case__tags { margin-top: 4px; }
.tm-case__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

/* Contact layout */
.tm-contact-layout {
  display: grid;
  gap: 32px;
}
.tm-contact-main { min-width: 0; }
.tm-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.tm-form__row {
  display: grid;
  gap: 16px;
}
.tm-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.tm-form .form-control {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-family: inherit;
  background: var(--paper);
  border-radius: 2px !important;
  min-height: 48px;
}
.tm-form textarea.form-control { min-height: 140px; }
.tm-form .form-control:focus {
  outline: 2px solid rgba(0, 174, 239, 0.35);
  border-color: var(--brand-c);
}
.tm-contact-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}
.tm-aside-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 18px;
}
.tm-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tm-aside-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.tm-aside-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tm-aside-list span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.tm-aside-list a,
.tm-aside-list strong {
  color: var(--navy);
  font-weight: 600;
  word-break: break-word;
}
.tm-map {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 260px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.tm-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.w-100 { width: 100% !important; }

/* Chat layout */
.tm-chat-section { padding-top: 40px; }
.tm-chat-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}
.tm-chat-prompts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-chat-prompts .quick-reply {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tm-chat-prompts .quick-reply:hover {
  border-color: var(--brand-c);
  color: var(--brand-v);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(5, 10, 24, 0.08);
}
.chat-shell {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: min(70vh, 640px);
}
.chat-shell.dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.1);
  color: #f7f9fb;
}
.chat-header {
  background: var(--ink-deep);
  color: #fff;
  padding: 16px 18px;
  position: relative;
  flex-shrink: 0;
}
.chat-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.tm-chat-header__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.tm-chat-header__sub {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.tm-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.tm-chat-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2);
  animation: tm-pulse 2.4s ease-in-out infinite;
}
.message-area {
  flex: 1;
  height: min(52vh, 440px);
  min-height: 280px;
  overflow-y: auto;
  padding: 18px 16px;
  background: #071525;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.message-bubble,
.chat-bubble {
  border-radius: 2px;
  padding: 0.85rem 1rem;
  max-width: min(92%, 520px);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  animation: tm-rise 0.35s ease-out both;
}
.message-bubble.user,
.chat-bubble--user {
  margin-left: auto;
  background: var(--grad);
  color: #fff;
}
.message-bubble.bot,
.chat-bubble--bot {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f0f7ff;
}
.message-bubble.error {
  background: rgba(220, 53, 69, 0.12);
  color: #ff8a96;
  border: 1px solid rgba(220, 53, 69, 0.35);
}
.message-bubble.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 14px 16px;
  min-width: 64px;
}
.tm-chat-footer {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--ink-deep);
  flex-shrink: 0;
}
.tm-chat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-input {
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-family: inherit;
  min-height: 48px;
  resize: vertical;
}
.chat-input--area {
  min-height: 64px;
  max-height: 140px;
  line-height: 1.4;
}
.chat-input:focus {
  outline: 2px solid rgba(0, 174, 239, 0.35);
  border-color: var(--brand-c);
}
.tm-chat-hint {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.42);
}
.typing-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  display: inline-block;
  margin-right: 4px;
  animation: typing 1s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 80%, 100% { opacity: 0.2; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

@media (min-width: 768px) {
  .tm-form__row { grid-template-columns: 1fr 1fr; }
  .tm-chat-form { flex-direction: row; align-items: stretch; }
  .tm-chat-form .btn { flex-shrink: 0; }
}

@media (min-width: 992px) {
  .tm-contact-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
    gap: 40px;
    align-items: start;
  }
  .tm-chat-layout {
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.4fr);
    gap: 32px;
  }
  .tm-map { aspect-ratio: 21 / 8; }
}


/* —— About page (corporate editorial) —— */
.tm-about-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 50% 55% at 90% 10%, rgba(253, 185, 19, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 50% at 8% 90%, rgba(198, 33, 129, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 60% 40%, rgba(0, 174, 239, 0.12), transparent 60%),
    linear-gradient(165deg, #0b1f3a 0%, #050a18 100%);
}
.tm-about-hero__glow {
  position: absolute;
  width: 55%;
  height: 70%;
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.28), transparent 68%);
  animation: tm-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
.tm-about-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 70% 35%, #000 15%, transparent 75%);
  pointer-events: none;
  animation: tm-grid-drift 32s linear infinite;
}
.tm-about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}
.tm-about-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-y);
}
.tm-about-hero__brand {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  animation: tm-rise 0.85s ease-out both;
}
.tm-about-hero__tag {
  margin: 8px 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  animation: tm-rise 0.85s ease-out 0.06s both;
}
.tm-about-hero__lede {
  margin: 0 0 28px;
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  animation: tm-rise 0.85s ease-out 0.12s both;
}
.tm-about-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: tm-rise 0.85s ease-out 0.18s both;
}
.tm-about-hero__panel {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  animation: tm-rise 0.9s ease-out 0.2s both;
}
.tm-about-hero__panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(253, 185, 19, 0.22);
  pointer-events: none;
}
.tm-about-hero__mark {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  background: var(--grad);
  padding: 2px;
  box-shadow: 0 20px 50px rgba(198, 33, 129, 0.35);
}
.tm-about-hero__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #050a18;
  display: block;
}
.tm-about-hero__panel-line {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.tm-about-story {
  padding: 64px 0;
  background:
    linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
}
.tm-about-story__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.tm-about-story__visual {
  position: relative;
}
.tm-about-story__visual-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tm-about-story__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}
.tm-about-story__visual:hover .tm-about-story__visual-frame img {
  transform: scale(1.06);
}
.tm-about-story__visual-accent {
  position: absolute;
  left: -10px;
  bottom: -10px;
  width: 42%;
  height: 8px;
  background: var(--grad);
  z-index: 1;
}
.tm-about-story__copy .tm-title { margin-bottom: 14px; }
.tm-about-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.tm-about-checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.tm-about-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}
.tm-about-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tm-about-focus {
  padding: 64px 0;
  background: #050a18;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tm-about-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(0, 174, 239, 0.16), transparent 60%),
    radial-gradient(ellipse 35% 35% at 0% 100%, rgba(198, 33, 129, 0.14), transparent 55%);
  pointer-events: none;
}
.tm-about-focus .container { position: relative; z-index: 1; }
.tm-about-focus .tm-title { color: #fff; }
.tm-about-focus .tm-lead { color: rgba(255,255,255,0.68); }
.tm-about-focus .tm-section-label { color: var(--brand-y); }
.tm-about-focus__list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tm-about-focus__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.tm-about-focus__item:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 10px;
}
.tm-about-focus__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
}
.tm-about-focus__item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.tm-about-focus__item p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tm-about-principles {
  padding: 64px 0;
  background: #fff;
}
.tm-about-principles__row {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.tm-about-principle {
  padding: 8px 0 8px 20px;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
}
.tm-about-principle__label {
  margin: 0 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-o);
}
.tm-about-principle h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
}
.tm-about-principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tm-about-leader {
  padding: 64px 0;
  background:
    linear-gradient(135deg, #f0f3f7 0%, #e8eef5 50%, #f7f5f8 100%);
}
.tm-about-leader__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
.tm-about-leader__role {
  margin: -4px 0 16px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
}
.tm-about-leader__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tm-about-leader__aside {
  padding: 28px 24px;
  background: #050a18;
  color: #fff;
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
}
.tm-about-leader__aside-label {
  margin: 14px 0 4px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.tm-about-leader__aside-label:first-child { margin-top: 0; }
.tm-about-leader__aside-value {
  margin: 0;
  font-weight: 600;
  color: #fff;
}
.tm-about-leader__aside-value a {
  color: #fff;
  text-decoration: none;
}
.tm-about-leader__aside-value a:hover {
  color: var(--brand-c);
}

.tm-about-cta {
  padding: 72px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(123, 39, 141, 0.35), transparent 60%),
    linear-gradient(165deg, #0b1f3a 0%, #050a18 100%);
}
.tm-about-cta .tm-title { color: #fff; }
.tm-about-cta .tm-lead { color: rgba(255,255,255,0.7); }
.tm-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

@media (min-width: 576px) {
  .tm-about-hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 768px) {
  .tm-about-focus__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    border-top: 0;
  }
  .tm-about-focus__item {
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .tm-about-principles__row {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
@media (min-width: 992px) {
  .tm-about-hero {
    padding: 64px 0 80px;
    min-height: calc(100vh - var(--nav-h) - 40px);
    display: flex;
    align-items: center;
  }
  .tm-about-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
  .tm-about-story__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
  }
  .tm-about-leader__grid {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 40px;
  }
  .tm-about-focus__list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Chat question-script categories */
.tm-chat-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tm-chat-cat {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.tm-chat-cat:hover {
  border-color: var(--brand-c);
  color: var(--brand-v);
}
.tm-chat-cat.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--grad);
}
.tm-chat-aside .tm-chat-prompts {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
}
