/* Creative Transformations Studio — Leadership Command Center */
:root {
  --brand-purple: #a070dd;
  --brand-navy: #6c6bb5;
  --brand-navy-hover: #5a59a0;
  --brand-teal: #68b7ef;
  --brand-gold: #cea04d;
  --brand-gray: #e8e4f8;
  --brand-text: #2d2d3f;
  --brand-muted: #7b7b94;
  --background: #ffffff;
  --brand-rgb: 108, 107, 181;
  --accent: var(--brand-purple);
  --accent-dark: var(--brand-navy);
  --accent-hover: var(--brand-navy-hover);
  --accent-muted: var(--brand-gray);
  --purple: var(--brand-purple);
  --teal: var(--brand-teal);
  --gold: var(--brand-gold);
  --gray-bg: var(--brand-gray);
  --page-bg: var(--background);
  --text: var(--brand-text);
  --muted: var(--brand-muted);
  --white: #fff;
  --footer-bg: var(--brand-navy);
  --footer-link: var(--brand-teal);
  --shadow: 0 8px 32px rgba(var(--brand-rgb), 0.12);
  --shadow-lg: 0 24px 64px rgba(var(--brand-rgb), 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.65;
  font-size: 1.05rem;
}
body.studio { padding-bottom: 5rem; }
h1, h2, h3, h4 { font-family: Montserrat, system-ui, sans-serif; letter-spacing: -0.03em; line-height: 1.15; margin-top: 0; }
a { color: var(--brand-navy); }
a:hover { color: var(--brand-purple); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; z-index: 300; padding: 0.75rem 1rem; background: var(--brand-navy); color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.1);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.logo-link img {
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
}
.footer-brand img,
.footer-logo,
.site-footer .footer-grid img[src*="logo"] {
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.nav-desktop { display: none; list-style: none; margin: 0; padding: 0; gap: 1.5rem; align-items: center; }
.nav-desktop a { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 0.85rem; text-decoration: none; color: var(--text); }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--brand-purple); }
.nav-cta-desktop { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-wrap { display: none; position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 119; overflow-y: auto; }
.nav-mobile-wrap.open { display: block; }
.nav-mobile { list-style: none; margin: 0; padding: 1.25rem; }
.nav-mobile a { display: block; padding: 0.85rem 0; font-family: Montserrat, sans-serif; font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--brand-gray); }
.nav-desktop li, .nav-mobile li { list-style: none; }
@media (min-width: 1100px) { .nav-desktop { display: flex; } .nav-toggle { display: none; } .nav-cta-desktop { display: inline-flex !important; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 0.88rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; }
.btn-primary { background: var(--brand-navy); color: #fff; box-shadow: 0 8px 28px rgba(var(--brand-rgb), 0.35); }
.btn-primary:hover { background: var(--brand-navy-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand-navy); border: 2px solid var(--brand-navy); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--brand-navy); }
.btn-light { background: #fff; color: var(--brand-navy); box-shadow: var(--shadow); }
.btn-gold { background: var(--brand-gold); color: var(--brand-text); }

/* Chapter nav */
.chapter-nav {
  display: none;
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 110;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
}
@media (min-width: 1280px) { .chapter-nav { display: flex; } }
.chapter-nav a {
  font-family: Montserrat, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-left: 2px solid transparent;
}
.chapter-nav a.is-active, .chapter-nav a:hover {
  color: var(--brand-navy);
  border-left-color: var(--brand-gold);
}

/* Hero command */
.command-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding-top: var(--header-h);
  overflow: hidden;
}
.command-hero__media { position: absolute; inset: 0; }
.command-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.command-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,45,63,0.55) 0%, rgba(108,107,181,0.75) 45%, rgba(232,228,248,0.95) 100%);
}
.command-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
}
@media (min-width: 900px) {
  .command-hero__grid { grid-template-columns: 1.2fr 1fr; align-items: end; }
}
.command-hero__badge {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}
.command-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.command-hero__lead { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 34rem; margin-bottom: 1.5rem; }
.command-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.command-hero__panel {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
}
.command-hero__panel h2 { font-size: 1rem; color: var(--brand-navy); margin-bottom: 1rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.metric { text-align: center; padding: 0.75rem 0.5rem; background: var(--brand-gray); border-radius: var(--radius); }
.metric strong { display: block; font-family: Montserrat, sans-serif; font-size: 1.35rem; color: var(--brand-navy); }
.metric span { font-size: 0.72rem; color: var(--muted); line-height: 1.3; }

/* Sections */
.studio-section { padding: clamp(4rem, 9vw, 6rem) 0; scroll-margin-top: var(--header-h); }
.studio-section--lavender { background: var(--brand-gray); }
.studio-section--navy {
  background: linear-gradient(135deg, var(--brand-navy), #5a59a0);
  color: #fff;
}
.studio-section--navy h2, .studio-section--navy h3 { color: #fff; }
.studio-section--navy p { color: rgba(255,255,255,0.88); }
.label {
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-purple);
  display: block;
  margin-bottom: 0.6rem;
}
.studio-section--navy .label { color: var(--brand-gold); }
.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; }

/* Bento */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
}
.bento-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--brand-purple); color: inherit; }
.bento-card--wide { grid-column: span 2; }
@media (min-width: 768px) { .bento-card--hero { grid-column: span 2; grid-row: span 2; } }
.bento-card h3 { font-size: 1rem; color: var(--brand-navy); margin-bottom: 0.35rem; }
.bento-card p { margin: 0; font-size: 0.9rem; color: var(--muted); flex: 1; }
.bento-card__tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-gold); margin-bottom: 0.5rem; }
.bento-card img { border-radius: var(--radius); margin-bottom: 0.75rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* Timeline */
.timeline { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--brand-gold);
}
.timeline-step__num {
  font-family: Montserrat, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-gray);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline-step h3 { color: var(--brand-navy); font-size: 1.1rem; }
.timeline-step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Transform split */
.transform-split { display: grid; gap: 1rem; }
@media (min-width: 768px) { .transform-split { grid-template-columns: 1fr 1fr; } }
.transform-box { padding: 2rem; border-radius: var(--radius-lg); }
.transform-box--before { background: #fff; border: 2px solid #e8b4b4; }
.transform-box--after { background: linear-gradient(145deg, #fff, #f0faf5); border: 2px solid #9fd4b8; }
.transform-box h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.transform-box ul { margin: 0; padding: 0; list-style: none; }
.transform-box li { padding: 0.4rem 0; font-size: 0.95rem; }

/* Meet Our Experts */
.studio-section--experts {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(160, 112, 221, 0.14), transparent 70%),
    linear-gradient(180deg, var(--brand-gray) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.studio-section--experts::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(108, 107, 181, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.5;
}
.studio-section--experts .container { position: relative; z-index: 1; }
.experts-header { text-align: center; max-width: 42rem; margin-inline: auto; margin-bottom: 2.5rem; }
.experts-header .section-lead { margin-inline: auto; }
.experts-header__lead { margin-bottom: 0; }
.experts-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
.council-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(var(--brand-rgb), 0.2);
  background: #fff;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.council-nav:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
  transform: scale(1.05);
}
.council-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-purple) transparent;
}
.council-track::-webkit-scrollbar { height: 6px; }
.council-track::-webkit-scrollbar-thumb { background: var(--brand-purple); border-radius: 3px; }
.expert-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(var(--brand-rgb), 0.22);
}
.expert-card--featured {
  flex-basis: min(320px, 85vw);
  border: 2px solid var(--brand-gold);
  box-shadow: 0 20px 48px rgba(206, 160, 77, 0.25), var(--shadow-lg);
}
.expert-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-gray), #fff);
}
.expert-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.expert-card:hover .expert-card__visual img { transform: scale(1.04); }
.expert-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(45, 45, 63, 0.55) 100%);
  pointer-events: none;
}
.expert-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: Montserrat, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.expert-card__badge--teal { background: var(--brand-teal); }
.expert-card__badge--gold { background: linear-gradient(135deg, var(--brand-purple), var(--brand-navy)); }
.expert-card__content {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.expert-card__content h3 {
  font-size: 1.08rem;
  color: var(--brand-navy);
  margin-bottom: 0.3rem;
}
.expert-card__role {
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.65rem;
}
.expert-card__bio {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.expert-card__link {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s, gap 0.2s;
}
.expert-card__link:hover { color: var(--brand-purple); gap: 0.45rem; }
.experts-footer { text-align: center; margin-top: 2.25rem; }
@media (min-width: 1100px) {
  .council-nav { display: none; }
  .experts-carousel { display: block; }
  .council-track {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, 1fr);
    gap: 1.25rem;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .expert-card, .expert-card--featured { flex: unset; min-width: 0; }
  .expert-card--featured { grid-row: span 1; }
}
@media (max-width: 1099px) {
  .experts-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
  }
  .council-track { grid-column: 1 / -1; }
  .council-nav--prev { justify-self: end; }
  .council-nav--next { justify-self: start; }
}
@media (max-width: 520px) {
  .council-nav { width: 38px; height: 38px; }
}

/* About page experts grid */
.experts-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (min-width: 900px) {
  .experts-grid { grid-template-columns: repeat(5, 1fr); }
}
.experts-grid .expert-card { flex: unset; }
.experts-grid .expert-card__visual { aspect-ratio: 1; }
.experts-grid .expert-card__bio { display: none; }
.experts-grid .expert-card__content { padding: 1rem; text-align: center; }
.experts-grid .expert-card__content h3 { font-size: 0.92rem; }
.experts-grid .expert-card__link { justify-content: center; font-size: 0.75rem; }

/* Results mosaic */
.mosaic { display: grid; gap: 1rem; }
@media (min-width: 768px) { .mosaic { grid-template-columns: 1.2fr 1fr 1fr; } }
.mosaic-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.mosaic-card img { width: 100%; height: 200px; object-fit: cover; }
.mosaic-card__body { padding: 1.25rem; }
.mosaic-card--stat {
  background: linear-gradient(145deg, var(--brand-purple), var(--brand-navy));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  min-height: 200px;
}
.mosaic-card--stat strong { font-family: Montserrat, sans-serif; font-size: 3rem; }
.mosaic-card--stat span { opacity: 0.9; }

/* RAS Hub studio */
.ras-spotlight {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-gold);
}
@media (min-width: 900px) { .ras-spotlight { grid-template-columns: 1fr 1.1fr; } }
.ras-spotlight img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Trust marquee */
.trust-strip { padding: 2rem 0; background: #fff; border-bottom: 1px solid rgba(var(--brand-rgb), 0.08); }
.trust-strip p { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.marquee-wrap { mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); overflow: hidden; }
.logo-marquee { display: flex; gap: 3rem; animation: marquee 38s linear infinite; width: max-content; }
.logo-marquee img { height: 40px; width: auto; max-width: 130px; object-fit: contain; opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Testimonials */
.testimonial-wall { display: grid; gap: 1rem; }
@media (min-width: 768px) { .testimonial-wall { grid-template-columns: repeat(2, 1fr); } }
.testimonial-tile {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-purple);
  box-shadow: var(--shadow);
}
.testimonial-tile img { height: 36px; margin-bottom: 0.75rem; object-fit: contain; }
.testimonial-tile blockquote { margin: 0 0 1rem; font-size: 0.95rem; }
.testimonial-tile footer strong { display: block; font-size: 0.88rem; }
.testimonial-tile footer span { font-size: 0.82rem; color: var(--muted); }

/* Contact */
.contact-studio { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-studio { grid-template-columns: 1fr 1.3fr; } }
.contact-form, .contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form label { display: block; font-weight: 600; font-size: 0.82rem; margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem 1rem; margin-bottom: 1rem;
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: var(--radius);
  font-family: inherit;
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--footer-bg); color: #fff; padding: 3rem 0 1rem; }
.site-footer a { color: var(--footer-link); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; text-align: center; font-size: 0.85rem; }

/* Chatbot */
.ct-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.ct-chat__toggle {
  position: relative;
  z-index: 3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-purple));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.ct-chat__toggle:hover { transform: scale(1.06); }
.ct-chat.is-open .ct-chat__toggle {
  background: var(--brand-navy);
  font-size: 1.75rem;
  line-height: 1;
}
.ct-chat__panel {
  display: none;
  width: min(360px, calc(100vw - 2rem));
  height: min(480px, calc(100vh - 8rem));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  flex-direction: column;
  overflow: hidden;
  order: -1;
}
.ct-chat__panel.is-open {
  display: flex;
}
.ct-chat__head {
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-purple));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ct-chat__head h3 { font-size: 0.95rem; margin: 0 0 0.15rem; color: #fff; }
.ct-chat__head p { margin: 0; font-size: 0.75rem; opacity: 0.9; }
.ct-chat__close {
  flex-shrink: 0;
  min-width: 36px;
  min-height: 36px;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.ct-chat__close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.ct-chat__messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  background: var(--brand-gray);
}
.ct-chat__msg { max-width: 92%; padding: 0.65rem 0.85rem; border-radius: 12px; font-size: 0.88rem; }
.ct-chat__msg p { margin: 0; white-space: pre-line; }
.ct-chat__msg--bot { align-self: flex-start; background: #fff; border: 1px solid rgba(var(--brand-rgb), 0.1); }
.ct-chat__msg--user { align-self: flex-end; background: var(--brand-navy); color: #fff; }
.ct-chat__link { display: inline-block; margin-top: 0.5rem; font-weight: 700; font-size: 0.8rem; }
.ct-chat__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0 1rem 0.5rem; }
.ct-chat__chip {
  font-size: 0.72rem; padding: 0.35rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--brand-navy); background: #fff; color: var(--brand-navy);
  cursor: pointer; font-weight: 600;
}
.ct-chat__chip:hover { background: var(--brand-gray); }
.ct-chat__form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid rgba(var(--brand-rgb), 0.1); }
.ct-chat__input { flex: 1; border: 1px solid rgba(var(--brand-rgb), 0.2); border-radius: 999px; padding: 0.6rem 1rem; font-size: 0.88rem; }
.ct-chat__send {
  border: none; background: var(--brand-navy); color: #fff;
  border-radius: 999px; padding: 0.6rem 1rem; font-weight: 700; cursor: pointer;
}

/* Inner pages compat */
.page-hero { padding: clamp(4rem, 8vw, 5rem) 0 3rem; margin-top: var(--header-h); background: linear-gradient(160deg, var(--brand-gray), #fff); }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.page-hero .lead { color: var(--muted); max-width: 40rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: Montserrat, sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-purple); }
.content-section { padding: 3rem 0 4rem; }
.section-heading { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.card, .vision-mission .card, .team-card, .team-detail, .ai-card, .solution-block { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem; margin-bottom: 1.5rem; }
.team-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--brand-gray); }
.team-photo-lg { width: 120px; height: 120px; border-radius: 50%; float: left; margin: 0 1.25rem 0.75rem 0; object-fit: cover; border: 3px solid var(--brand-purple); }
.team-preview { display: grid; gap: 1rem; }
@media (min-width: 640px) { .team-preview { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team-preview { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.solutions-layout { display: grid; gap: 2rem; padding: 2rem 0 4rem; }
@media (min-width: 960px) { .solutions-layout { grid-template-columns: 200px 1fr; } }
.solutions-nav { position: sticky; top: calc(var(--header-h) + 1rem); display: none; background: #fff; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 960px) { .solutions-nav { display: block; } }
.solutions-nav a { display: block; padding: 0.35rem 0; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.cta-band { padding: 4rem 0; background: var(--brand-navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .logo-marquee { animation: none; }
}
