/* ==============================================
   RESET & TOKENS
   ============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:        #FDF1E6;
  --light-grey:   #F2F0ED;
  --white:        #FFFFFF;
  --navy-bar:     #0F1628;
  --orange:       #E8622A;
  --orange-lt:    #FFF3EE;
  --text-dark:    #1A1A2E;
  --text-body:    #4A4A5A;
  --text-muted:   #8A8A9A;
  --text-light:   #ADADBD;
  --border:       #E8E6E3;
  --border-light: #F0EEE9;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --shadow-card: 0 2px 12px rgba(26,26,46,0.07), 0 0 0 1px rgba(26,26,46,0.04);
  --shadow-lg:   0 8px 32px rgba(26,26,46,0.10);
  --t: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] {
  --cream:        #0D0F1A;
  --light-grey:   #161927;
  --white:        #1E2235;
  --navy-bar:     #0A0C14;
  --text-dark:    #F0F0F5;
  --text-body:    #B0B0C0;
  --text-muted:   #7A7A90;
  --text-light:   #555570;
  --border:       #2A2D3E;
  --border-light: #232538;
  --orange-lt:    rgba(232,98,42,0.12);
  --shadow-card:  0 2px 12px rgba(0,0,0,0.3),
                  0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; font-size: 16px; }

/* One source of truth for the fixed header's height. Sub-pages and anchor
   targets both derive their top spacing from it so nothing hides behind it. */
:root { --nav-h: 84px; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); }

/* Reveal animations translate elements up to 60px horizontally before they
   animate in. Without this guard that briefly widens the document and the
   whole page scrolls sideways on tablet and mobile. */
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==============================================
   REVEAL ANIMATION
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-down.visible {
  opacity: 1;
  transform: translate(0);
}

/* ==============================================
   SCROLL PROGRESS BAR
   ============================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(
    90deg, #E8622A, #F5C030
  );
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==============================================
   TYPOGRAPHY UTILITIES
   ============================================== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-title--lg {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.heading-line {
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg, #E8622A, #F5C030
  );
  border-radius: 2px;
  margin-top: 14px;
  margin-bottom: 28px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s
    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.heading-line.visible {
  transform: scaleX(1);
}

.section-header {
  margin-bottom: 56px;
}
.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.7;
}

.text-orange { color: var(--orange); }
.hide-mobile { display: inline; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--lg { padding: 15px 32px; font-size: 0.97rem; }

.btn--orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn--orange::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(0, 0, 0, 0.15);
  transition: height 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}

.btn--orange:hover::before {
  height: 100%;
}

.btn--orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px
    rgba(232,98,42,0.35);
}

.btn--outline-dark {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn--outline-dark:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* Was transparent, which let page content scroll visibly through the gap
     around the floating card and read as the header overlapping the page. */
  background: rgba(253, 241, 230, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  padding: 12px 20px;
  transition: padding 0.3s ease, background 0.3s ease;
  border-bottom: none;
}

.navbar__card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Brand */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: auto;
}
/* Brand lockup ------------------------------------------------------------
   The sprite holds one copy of the artwork; the navbar and footer each <use>
   it. The wordmark paths are fill:currentColor, so setting `color` here is
   what makes the logo track the site's own theme toggle (an <img> would only
   ever follow the OS prefers-color-scheme, which is not the same thing). */
.brand-sprite {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}
.brand-logo {
  flex-shrink: 0;
  height: 34px;
  width: 162px;          /* 898:188 lockup ratio */
  color: var(--text-dark);
  display: block;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name__top {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}
.brand-name__btm {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--t);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--t);
}
.navbar__link:hover { color: var(--text-dark); }
.navbar__link:hover::after { width: 100%; }

.navbar__cta {
  flex-shrink: 0;
  font-size: 0.82rem !important;
  padding: 9px 18px !important;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: rotate(20deg);
}
.theme-toggle__moon {
  display: none;
}
.theme-toggle__sun {
  display: block;
}
[data-theme="dark"] .theme-toggle__moon {
  display: block;
}
[data-theme="dark"] .theme-toggle__sun {
  display: none;
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px; height: 38px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  gap: 5px;
}
.navbar__burger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.navbar__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger--open span:nth-child(2) { opacity: 0; }
.navbar__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================================
   HERO
   ============================================== */
.hero {
  background: #FDF1E6;
  padding: 140px 0 100px;
  text-align: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  padding: 7px 18px;
  margin-bottom: 32px;
}

.hero__headline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 860px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero__sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 40px;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==============================================
   TRUST BAR
   ============================================== */
.trust-bar {
  background: var(--white);
  padding: 0;
}
.trust-bar__divider-top,
.trust-bar__divider-btm {
  height: 1px;
  background: var(--border);
}
.trust-bar__inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.trust-bar__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 0;
}
.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 40px;
  text-align: center;
}
.trust-logo__text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}
.trust-logo__sub {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.trust-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ==============================================
   STATS BAR
   ============================================== */
.stats-section {
  background: var(--white);
  padding: 48px 0;
}
.stats-bar {
  background: var(--navy-bar);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}
.stats-bar::-webkit-scrollbar { display: none; }

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
  padding: 0 24px;
}
.stat__num {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
  white-space: nowrap;
}
.stat-sep {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  align-self: center;
}

/* ==============================================
   AT A GLANCE
   ============================================== */
.at-glance {
  background: white;
  padding: 60px 0;
}

.at-glance__card {
  background: #EEECEA;
  border-radius: 20px;
  padding: 80px 72px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.at-glance__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.at-glance__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.at-glance__left { padding-right: 16px; }
.at-glance__bold {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.at-glance__body {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}
.at-glance__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 0;
}
.at-glance__right .info-card {
  width: 100%;
  position: static;
  margin: 0;
  align-self: auto;
}

.info-card {
  background: #FFFFFF;
  border-radius: var(--r-lg);
  padding: 28px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.info-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.info-card__body {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==============================================
   DELIVERY FOOTPRINT
   ============================================== */
.footprint {
  background: #FDF1E6;
  padding: 100px 0;
}
.footprint__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.footprint__left { padding-right: 16px; }

.footprint__highlight {
  background: var(--orange-lt);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 26px;
  margin-top: 4px;
}
.footprint__highlight-bold {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 12px;
}
.footprint__highlight-body {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}
.footprint__right {
  display: flex;
  gap: 20px;
}

.location-card {
  flex: 1;
  background: #FFFFFF;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}
.location-card__flag { font-size: 1.7rem; margin-bottom: 12px; }
.location-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.location-card__body {
  font-size: 0.855rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==============================================
   SERVICES
   ============================================== */
.services {
  background: var(--cream);
  padding: 100px 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.svc-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.svc-badge {
  width: 32px; height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.svc-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.svc-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.svc-card__italic {
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.svc-items {
  flex-grow: 1;
  margin-bottom: 24px;
}
.svc-item {
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
}
.svc-item:last-child { border-bottom: 1px solid var(--border-light); }
.svc-item__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.svc-item__desc {
  font-size: 0.825rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.svc-proof {
  background: #F5E8D8;
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-top: 20px;
}
.svc-proof__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 7px;
}
.svc-proof__text {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==============================================
   PLATFORM / DIFFERENTIATORS
   ============================================== */
.platform {
  background: var(--cream);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}
.platform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.plat-card {
  background: #FFFFFF;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--t), transform var(--t);
}
.plat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.plat-card__icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.plat-card__icon-wrap--beige  { background: #FDF0E6; }
.plat-card__icon-wrap--green  { background: #E8F5EE; }
.plat-card__icon-wrap--purple { background: #F0EAFF; }
.plat-card__icon-wrap--teal   { background: #E4F5F5; }

.plat-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.plat-list {
  list-style: none;
}
.plat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
}
.plat-list li:last-child { border-bottom: 1px solid var(--border-light); }
.plat-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==============================================
   CASE STUDIES
   ============================================== */
.case-studies {
  background: var(--white);
  padding: 100px 0;
}

.cs-card {
  background: var(--light-grey);
  border-radius: var(--r-2xl);
  padding: 48px 32px;
}

.cs-card__meta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.cs-card__heading {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 680px;
}

.cs-card__cols {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.cs-card__arrow {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange);
  align-self: center;
  padding-top: 24px;
  letter-spacing: -0.04em;
}

/* Column header labels — orange text, no background */
.cs-col-bar {
  display: block;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Bullets */
.cs-bullets {
  list-style: none;
  margin-bottom: 22px;
}
.cs-bullets li {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.7;
  padding: 6px 0 6px 18px;
  position: relative;
}
.cs-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* Right column metrics */
.cs-metrics-group { margin-bottom: 22px; }
.cs-metrics-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cs-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cs-metric {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cs-metric__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
  text-align: center;
  width: 100%;
}
.cs-metric__label {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* Quote */
.cs-quote {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}
.cs-quote__text {
  font-size: 0.93rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.cs-quote__attr {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.01em;
}

/* ==============================================
   TEAM SECTION
   ============================================== */
.team-section {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}
.team-header {
  margin-bottom: 72px;
  max-width: 640px;
}

/* Founder block */
.founder-block {
  margin-bottom: 80px;
}
.founder-block__label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.founder-block__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.founder-photo-placeholder {
  width: 320px;
  height: 380px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D4E 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.founder-photo-img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}
.founder-initials {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  opacity: 0.4;
}
.founder-name-tag {
  background: var(--text-dark);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  width: 320px;
}
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.founder-bio p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
}
.founder-bio strong {
  font-weight: 700;
  color: var(--text-dark);
}
.founder-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.founder-socials__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.founder-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--t);
  cursor: pointer;
}
.founder-social-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.social-icon {
  font-size: 0.9rem;
}

/* Team grid */
.team-grid-header {
  text-align: center;
  margin-bottom: 40px;
}
.team-grid-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.team-grid-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.team-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 220px;
  height: 100%;
  box-sizing: border-box;
  transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.team-card__photo-wrap { flex-shrink: 0; }
.team-card__photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A1A2E 0%, #E8622A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
}
.team-card__photo-img {
  width: 120px;
  height: 130px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}
.team-card__info {
  flex: 1;
  min-width: 0;
}
.team-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.team-card__role {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.team-card__bio {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==============================================
   FOOTER (new)
   ============================================== */
.footer-new {
  background: var(--white);
}

/* CTA Band */
.footer-cta {
  background: #2D2D2D;
  padding: 80px 0;
  text-align: center;
}
.footer-cta__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-cta__heading {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.footer-cta__sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
}
.footer-cta__form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}
.footer-cta__input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--t);
}
.footer-cta__input::placeholder { color: rgba(255,255,255,0.4); }
.footer-cta__input:focus { border-color: var(--orange); }
.footer-cta__btn {
  flex-shrink: 0;
  padding: 13px 24px;
  font-size: 0.88rem;
  border-radius: 8px;
}

/* Contact row */
.footer-contact {
  background: #FDF1E6;
  padding: 60px 0;
}
.footer-contact__inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.footer-contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.footer-contact__icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.footer-contact__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-contact__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color var(--t);
}
.footer-contact__value:hover { color: var(--orange); }
.footer-contact__city {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* Bottom bar */
.footer-bottom {
  background: #1A1A2E;
  padding: 20px 0;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo {
  height: 26px;
  width: 124px;
  color: #FFFFFF;        /* footer bar is always dark */
  display: block;
}
.footer-bottom__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
}
.footer-bottom__copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.footer-bottom__links {
  display: flex;
  gap: 24px;
}
.footer-bottom__link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--t);
}
.footer-bottom__link:hover { color: var(--orange); }

/* ==============================================
   RESPONSIVE — 1024px
   ============================================== */


/* ==============================================
   RESPONSIVE — 768px
   ============================================== */


/* ==============================================
   RESPONSIVE — 520px
   ============================================== */


/* ==============================================
   RESPONSIVE — 375px
   ============================================== */


/* ==============================================
   CASE STUDY: spacing between cards
   ============================================== */
.cs-card + .cs-card { margin-top: 32px; }

/* CS2 orange header block */
.cs-card__header-block {
  background: var(--orange);
  color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin: -48px -52px 32px;
  padding: 28px 52px;
}
.cs-card__header-block .cs-card__meta {
  background: rgba(255,255,255,0.25);
  color: #fff;
  margin-bottom: 10px;
}
.cs-card__header-block h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* CS2 metrics: 3-col grid */
.cs-metrics-row--3col {
  grid-template-columns: 1fr 1fr;
}
.cs-metric--cream {
  background: var(--white);
  border: 1px solid var(--border-light);
}
.cs-metric--cream .cs-metric__num { color: var(--text-dark); }

/* ==============================================
   PRODUCTIVITY TABLE (Section D)
   ============================================== */
.prod-table-wrap {
  margin: 32px 0 28px;
}
.prod-table__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.prod-table {
  width: 100%;
  overflow: hidden;
}
.prod-table__header {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.65fr 1.3fr 2.4fr;
  background: var(--orange);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.prod-th {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 16px;
  color: #fff;
  background: transparent;
}
.prod-th--dark  { background: transparent; color: #fff; }
.prod-th--orange { background: transparent; color: #fff; }

.prod-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.65fr 1.3fr 2.4fr;
  border-top: 1px solid var(--border);
  background: var(--white);
  transition: background var(--t);
  padding: 20px 0;
  align-items: center;
}
.prod-table__row:hover { background: #FAFAF8; }
.prod-td {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-body);
  padding: 0 16px;
  line-height: 1.5;
}
.prod-td--bold {
  font-weight: 600;
  color: var(--text-dark);
}
.prod-td--time {
  font-size: 0.78rem;
  color: var(--text-dark);
  font-weight: 400;
}
.impact-badge {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Workflow flow — two-row layout */
.workflow-flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.wf-circles-row {
  display: flex;
  align-items: center;
  width: 100%;
}
.wf-labels-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.wf-step-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.wf-step-label {
  flex: 1;
  font-size: 0.52rem;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  padding: 0 2px;
}
.wf-circle {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wf-connector-top {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.wf-line {
  height: 1.5px;
  background: #CCCCCC;
  width: 96px;
}
.wf-line--short {
  width: 48px;
}
.wf-arr {
  color: #CCCCCC;
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ==============================================
   PARTNERSHIP MODELS
   ============================================== */
.partnership {
  background: var(--cream);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
  box-shadow: none;
  border-radius: 0;
}
.partnership__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.partner-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}
@keyframes cardPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.partner-card--featured {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232,98,42,0.15);
  animation: cardPulse 2.5s ease-in-out 1.5s 2;
}

.partner-card--featured:hover {
  animation: none;
  transform: translateY(-6px);
}
.partner-card__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border-light);
}
.partner-card__header--orange {
  background: var(--orange);
  border-bottom: none;
}
.partner-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.partner-card__title--white { color: white; }
.partner-card__timeline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.partner-card__timeline--white {
  color: rgba(255,255,255,0.85);
}
.partner-card__body {
  padding: 24px 28px;
  flex: 1;
}
.partner-card__section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  margin-top: 18px;
}
.partner-card__section-label:first-child {
  margin-top: 0;
}
.partner-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner-card__list li {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}
.partner-card__list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.45rem;
  color: var(--orange);
}

/* ==============================================
   LATEST BLOGS (Section F)
   ============================================== */
.blogs {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}
.blogs .section-header { text-align: center; }
.blogs .section-sub {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
}
.blogs .heading-line {
  margin-left: auto;
  margin-right: auto;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img {
  height: 200px;
  width: 100%;
}
.blog-card__img--1 { background: linear-gradient(135deg, #FF6B9D 0%, #9B59B6 50%, #3498DB 100%); }
.blog-card__img--2 { background: linear-gradient(135deg, #1a1a6e 0%, #6C3483 100%); }
.blog-card__img--3 { background: linear-gradient(135deg, #0F1628 0%, #1a6e6e 100%); }
.blog-card__body { padding: 24px 24px 20px; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.blog-card__tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--light-grey);
  padding: 4px 10px;
  border-radius: 100px;
}
.blog-card__date {
  font-size: 0.72rem;
  color: var(--text-light);
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.blog-card__excerpt {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.blog-card__link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--t);
}
.blog-card__link:hover { opacity: 0.75; }

/* ==============================================
   SEARCH FEATURE (Section A)
   ============================================== */
.search-feat {
  background: var(--light-grey);
  padding: 100px 0;
}
.search-feat__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}

/* pill badge (outlined, no fill) */
.pill-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  border-radius: 8px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.pill-badge--orange {
  color: var(--orange);
  border-color: var(--orange);
  border-radius: 8px;
}

.search-feat__heading {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.search-feat__body {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.feat-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.feat-card__play {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
}
.feat-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.feat-card__body {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.feat-card__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feat-card__bullets li {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
}
.feat-card__bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* App mockup */
.app-mockup {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(1.15);
  transform-origin: top left;
  width: 87%;
}
.app-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-topbar__btn {
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.app-topbar__link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.app-topbar__user {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--light-grey);
  padding: 5px 12px;
  border-radius: 6px;
}
.app-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.app-tab {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 14px 9px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  color: var(--text-muted);
  cursor: default;
}
.app-tab--active {
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  padding: 7px 14px;
  margin-bottom: 2px;
}
.app-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.app-sidebar {
  width: 48px;
  background: var(--light-grey);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 18px;
}
.app-sidebar__icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: default;
  border-radius: var(--r-sm);
}
.app-sidebar__icon--active {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--shadow-card);
}
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 20px;
  min-height: 280px;
}
.app-infinity {
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  font-weight: 300;
}
.app-search-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}
.app-search-box {
  width: 100%;
  max-width: 480px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
}
.app-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text-dark);
  background: transparent;
}
.app-search-box input::placeholder { color: var(--text-light); }
.app-search-dropdown {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--light-grey);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  cursor: default;
}
.app-note {
  font-size: 0.73rem;
  color: var(--text-light);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==============================================
   GEN AI BUILDING BLOCKS (Section B)
   ============================================== */
.gen-ai {
  background: #fefefe;
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
  position: relative;
}
.gen-ai::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.gen-ai__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.gen-ai__heading {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.read-more-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  margin-top: 10px;
  transition: opacity var(--t);
}
.read-more-link:hover { opacity: 0.75; }

/* RAG diagram */
.rag-diagram {
  background: #E8E6E3;
  border-radius: var(--r-xl);
  padding: 24px 20px 20px;
  position: relative;
}
.rag-diagram__env {
  text-align: center;
  margin-bottom: 20px;
}
.rag-env-pill {
  display: inline-block;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.rag-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  grid-template-rows: auto 40px auto 40px auto;
  gap: 0;
  align-items: center;
}
.rag-node {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.rag-node--orange {
  border-color: var(--orange);
  border-width: 2px;
}
.rag-node__icon { font-size: 1.3rem; display: block; margin-bottom: 6px; }
.rag-node__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.rag-node__desc {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Connectors */
.rag-connector-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.rag-connector-h__line {
  width: 100%;
  height: 2px;
  border-top: 2px dashed #C0BDB8;
  position: relative;
}
.rag-connector-h__line::after {
  content: '›';
  position: absolute;
  right: -4px;
  top: -10px;
  color: #C0BDB8;
  font-size: 1rem;
  font-weight: 700;
}
.rag-connector-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  grid-column: 2;
}
.rag-connector-v__line {
  width: 2px;
  flex: 1;
  border-left: 2px dashed #C0BDB8;
  min-height: 24px;
  position: relative;
}
.rag-connector-v__line--arrow::after {
  content: '›';
  position: absolute;
  bottom: -8px;
  left: -6px;
  color: #C0BDB8;
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(90deg);
}
.rag-connector-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.rag-io-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.rag-io-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px dashed #C0BDB8;
  padding: 5px 14px;
  border-radius: 100px;
}
.rag-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.rag-legend span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==============================================
   CUSTOM AI AGENTS (Section C)
   ============================================== */
.agents-section {
  background: var(--cream);
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}
.agents-section__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}
.agents-section__num {
  width: 42px; height: 42px;
  border: 2.5px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.agents-section__heading {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.agents-section__body {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.pagination-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.pagination-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.pagination-dot--active { background: var(--orange); }

#tab-agents .agents-section__right,
#tab-search .search-feat__right {
  min-height: 700px;
  overflow: visible;
}

/* Agents Manager UI */
.agents-ui {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: scale(1.15);
  transform-origin: top left;
  width: 87%;
}
.agents-ui__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.agents-ui__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
}
.agents-ui__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.agents-ui__tab {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 16px;
  cursor: default;
  border-bottom: 2px solid transparent;
}
.agents-ui__tab--active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 600;
}
.agents-ui__body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 320px;
}
.agents-sidebar {
  border-right: 1px solid var(--border);
  padding: 14px 0;
}
.agents-sidebar__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agents-sidebar__item {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-body);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}
.agents-sidebar__item:hover { background: var(--light-grey); }
.agents-sidebar__badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 100px;
}
.agents-sidebar__badge--orange {
  background: var(--orange);
  color: #fff;
}
.agents-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
  overflow-y: auto;
  max-height: 320px;
}
.agent-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.agent-card__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,98,42,0.08);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 7px;
}
.agent-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}
.agent-card__desc {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.agent-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.agent-card__run-btn {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: default;
  transition: background var(--t);
}
.agent-card__run-btn:hover { background: var(--light-grey); }
.agent-card__contrib {
  font-size: 0.65rem;
  color: var(--text-light);
  flex: 1;
  text-align: right;
}

/* ==============================================
   NEW SECTIONS RESPONSIVE
   ============================================== */






/* ==============================================
   RAG DIAGRAM V3 (2-col CSS grid + SVG arrows)
   ============================================== */
/* ==============================================
   RAG PIPELINE DIAGRAM (inline SVG)
   Replaces the former diagram.png, which was never committed.
   Colours are driven by theme tokens so it tracks dark mode.
   ============================================== */
.rag-dia {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.rag-dia__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Customer-cloud boundary */
.rag-dia__env {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}
.rag-dia__envlabel rect {
  fill: var(--cream);
  stroke: var(--border);
  stroke-width: 1;
}
.rag-dia__envlabel text {
  fill: var(--text-muted);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

/* Stage cards */
.rag-dia__stage rect {
  fill: var(--light-grey);
  stroke: var(--border);
  stroke-width: 1;
}
.rag-dia__stage--accent rect { fill: var(--orange-lt); stroke: var(--orange); }
.rag-dia__stage--out    rect { fill: var(--orange);    stroke: var(--orange); }

.rag-dia__num {
  fill: var(--orange);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.rag-dia__title {
  fill: var(--text-dark);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
}
.rag-dia__sub {
  fill: var(--text-body);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
}
.rag-dia__title--out,
.rag-dia__sub--out { fill: #FFFFFF; }

/* Chips inside the data-sources stage */
.rag-dia__chip rect {
  fill: var(--white);
  stroke: var(--border);
  stroke-width: 1;
}
.rag-dia__chip text {
  fill: var(--text-body);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  text-anchor: middle;
}

/* Connectors */
.rag-dia__arrow {
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  marker-end: url(#ragArrowHead);
}


/* Remove the old cs-card__header-block styles */
.cs-card__header-block { display: none; }

/* ==============================================
   CASE STUDIES SLIDER (new layout)
   ============================================== */
.cs-slider-track {
  width: 100%;
}
.cs-slide {
  display: none;
}
.cs-slide.active {
  display: block;
}
.cs-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.cs-header-left { flex: 1; }
.cs-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}
.cs-nav-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms;
}
.cs-nav-btn:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.cs-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cs-nav-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  min-width: 60px;
  text-align: center;
}
.cs-industry-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cs-card__heading {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 820px;
  margin-bottom: 6px;
}
.cs-col-bar--orange {
  display: block;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 14px;
  margin-top: 18px;
}
.cs-col-bar--orange:first-child { margin-top: 0; }
.cs-col-bar--dark {
  display: block;
  background: #1A1A2E;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.cs-double-arrow {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 800;
  align-self: center;
  padding: 0 8px;
  letter-spacing: -0.06em;
}
.cs-metrics-label--orange {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  margin-top: 16px;
}

/* ==============================================
   FEATURES SECTION (Agents + Search Tabs)
   ============================================== */
.features-section {
  background: #FAF7F4;
  padding: 100px 0;
  border-top: 1px solid var(--border-light);
}
.features-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 2px solid #eee;
}
.features-tab {
  padding: 12px 32px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 200ms, border-color 200ms;
}
.features-tab.active {
  color: var(--orange);
  border-bottom: 3px solid var(--orange);
  font-weight: 600;
}
.features-tab:hover:not(.active) {
  color: var(--text-dark);
}
.features-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.features-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  animation: tabFadeIn 0.3s ease forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================================
   WORLD MAP
   ============================================== */
.world-map-container {
  width: 100%;
}
.world-map-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.world-map-svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.map-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.map-info-box {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
}

/* Responsive for new components */



/* ==============================================
   LLM SWITCHER
   ============================================== */
#llm-model-label {
  transition: opacity 0.3s ease;
}


/* ==============================================
   USE CASE SLIDER
   ============================================== */
.usecase-slider {
  margin: 32px 0;
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.usecase-card { display: none; }
.usecase-card.active { display: block; }
.usecase-feature {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}
.usecase-case {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}
.usecase-impact {
  font-size: 48px;
  font-weight: 800;
  color: #E8622A;
  margin-bottom: 8px;
}
.usecase-time {
  font-size: 14px;
  color: #888;
  background: white;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
}
.usecase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.usecase-prev,
.usecase-next {
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  transition: all 200ms;
  display: flex;
  align-items: center;
  justify-content: center;
}
.usecase-prev:hover,
.usecase-next:hover {
  background: #E8622A;
  color: white;
  border-color: #E8622A;
}
.usecase-counter {
  font-size: 14px;
  color: #888;
}

/* ==============================================
   ANIMATION: SECTION HEADINGS — SLIDE UP
   ============================================== */
.animate-heading {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   ANIMATION: SERVICE CARDS — STAGGERED FADE IN
   ============================================== */
.service-card-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card-animate:nth-child(1) { transition-delay: 0ms; }
.service-card-animate:nth-child(2) { transition-delay: 150ms; }
.service-card-animate:nth-child(3) { transition-delay: 300ms; }

/* ==============================================
   ANIMATION: NAVBAR CARD SHADOW ON SCROLL
   ============================================== */
.navbar__card {
  transition: box-shadow 0.3s ease;
}

/* ==============================================
   ANIMATION: PARTNERSHIP CARDS — HOVER LIFT
   ============================================== */
.partnership-card,
[class*="partnership"] > div,
[class*="model-card"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.partnership-card:hover,
[class*="model-card"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* ==============================================
   ANIMATION: SVG LOGO DRAW
   ============================================== */
@keyframes drawLogo {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==============================================
   ANIMATION: HERO TEXT GLOW
   ============================================== */
@keyframes glowPulse {
  0% {
    text-shadow: none;
  }
  40% {
    text-shadow:
      0 0 20px rgba(232, 98, 42, 0.6),
      0 0 40px rgba(232, 98, 42, 0.3),
      0 0 60px rgba(232, 98, 42, 0.15);
  }
  100% {
    text-shadow: none;
  }
}

.hero__headline .text-orange {
  animation: glowPulse 2.5s ease-out 0.8s forwards;
}

/* ==============================================
   PREFERS-REDUCED-MOTION
   ============================================== */


/* ==============================================
   ANIMATION: FOOTER ZOOM IN
   ============================================== */
.zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease,
    transform 0.7s
    cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.zoom-in:nth-child(2) {
  transition-delay: 0.1s;
}

.zoom-in:nth-child(3) {
  transition-delay: 0.2s;
}

/* ==============================================
   DARK MODE OVERRIDES
   ============================================== */
[data-theme="dark"] .navbar {
  background: rgba(13, 15, 26, 0.82);
  border-bottom-color: #2A2D3E;
}
[data-theme="dark"] .stats-bar {
  background: #0A0C14;
}
[data-theme="dark"] .hero {
  background: #0D0F1A;
}
[data-theme="dark"] .at-glance {
  background: #0D0F1A;
}
[data-theme="dark"] .gen-ai {
  background: #0D0F1A;
}
[data-theme="dark"] .services {
  background: #111320;
}
[data-theme="dark"] .platform {
  background: #111320;
}
[data-theme="dark"] .case-studies {
  background: #0D0F1A;
}
[data-theme="dark"] .cs-card {
  background: #161927;
}
[data-theme="dark"] .features-section {
  background: #0D0F1A;
}
[data-theme="dark"] .partnership {
  background: #0D0F1A;
}
[data-theme="dark"] .blogs {
  background: #0D0F1A;
}
[data-theme="dark"] .footprint {
  background: #0D0F1A;
}
[data-theme="dark"] .footer {
  background: #080A12;
  border-top-color: #2A2D3E;
}
[data-theme="dark"] .footer__top {
  border-bottom-color: #2A2D3E;
}
[data-theme="dark"] .footer__mid {
  border-bottom-color: #2A2D3E;
}
[data-theme="dark"] .footer__entity-card {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .info-card {
  background: #161927;
}
[data-theme="dark"] .svc-card {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .plat-card {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .blog-card {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .world-map-card {
  background: #161927;
}
[data-theme="dark"] .map-info-box {
  background: #1E2235;
  color: var(--text-body);
}
[data-theme="dark"] .trust-bar {
  background: #0D0F1A;
}
[data-theme="dark"] .agent-card {
  background: #1E2235;
  border-color: #2A2D3E;
}
[data-theme="dark"] .agents-ui {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .app-mockup {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .cs-quote {
  background: #161927;
}
[data-theme="dark"] .usecase-slider {
  background: #161927;
}
[data-theme="dark"] .usecase-time {
  background: #1E2235;
}
[data-theme="dark"] .partner-card {
  background: #161927;
  border-color: #2A2D3E;
}
[data-theme="dark"] .feat-card {
  background: #161927;
}
[data-theme="dark"] .rag-dia {
  background: #161927;
}


/* ==============================================
   RESPONSIVE & FEATURE QUERIES
   Ordered widest -> narrowest so the cascade resolves correctly.
   (Previously interleaved: a 1024px block sat after the 768px block
    and re-applied desktop grids on phones.)
   ============================================== */

@media (max-width: 1024px) {
  .at-glance__grid    { grid-template-columns: 1fr; gap: 40px; }
  .footprint__grid    { grid-template-columns: 1fr; gap: 48px; }
  .footprint__right   { flex-direction: row; }
  .platform__grid     { grid-template-columns: 1fr; }
  .footer__mid-inner  { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer__entity-card { grid-column: span 1; }
  .cs-card__cols      { grid-template-columns: 1fr 1fr; }
  .cs-card__arrow     { display: none; }
  .search-feat__grid { grid-template-columns: 1fr; gap: 40px; }
  .gen-ai__grid      { grid-template-columns: 1fr; gap: 40px; }
  .agents-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-block__inner { grid-template-columns: 240px 1fr; gap: 40px; }
  .founder-photo-placeholder { width: 240px; height: 300px; }
  .founder-name-tag { width: 240px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid        { grid-template-columns: 1fr 1fr; }
  .agents-ui__body   { grid-template-columns: 1fr; }
  .agents-sidebar    { display: none; }
  .cs-metrics-row--3col { grid-template-columns: repeat(2, 1fr); }
  .partnership__grid { grid-template-columns: 1fr 1fr; }
  .at-glance__card   { padding: 60px 40px; }
  .features-panel.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .navbar__nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.28s ease;
    pointer-events: none;
    display: flex !important;
  }
  .navbar__nav--open {
    max-height: 300px;
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 8px 0 16px;
  }
  .navbar__link {
    width: 100%;
    padding: 13px 28px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
  }
  .navbar__link::after { display: none; }
  .navbar__cta {
    display: none;
  }
  .navbar__burger { display: flex; }

  /* Hero */
  .hero { padding: 120px 0 80px; }
  .hero__headline { white-space: normal; font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .hide-mobile { display: none; }

  /* Sections */
  .at-glance { padding: 72px 0; }
  .footprint  { padding: 72px 0; }
  .footprint__right { flex-direction: column; }
  .services   { padding: 72px 0; }
  .platform   { padding: 72px 0; }
  .case-studies { padding: 72px 0; }

  .services__grid { grid-template-columns: 1fr; }
  .platform__grid { grid-template-columns: 1fr; }
  .cs-card { padding: 32px 28px; }
  .cs-card__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cs-card__arrow { display: none; }
  .cs-metrics-row { grid-template-columns: 1fr 1fr; }

  /* Trust logos scroll */
  .trust-logos {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }
  .trust-logos::-webkit-scrollbar { display: none; }
  .trust-logo { min-width: 110px; }

  /* Stats bar */
  /* The bar itself must stay within the viewport; the ITEMS overflow and scroll.
     min-width:max-content here made the container grow instead of scrolling. */
  .stats-bar { justify-content: flex-start; max-width: 100%; }
  .stat      { flex: 0 0 auto; min-width: 128px; }

  /* Footer new */
  .footer-cta { padding: 60px 0; }
  .footer-cta__heading { white-space: normal; font-size: 1.6rem; }
  .footer-cta__form { flex-direction: column; }
  .footer-contact__inner { gap: 40px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Team */
  .founder-block__inner { grid-template-columns: 1fr; }
  .founder-photo-placeholder { width: 100%; height: 280px; }
  .founder-name-tag { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .blogs       { padding: 72px 0; }
  .search-feat { padding: 72px 0; }
  .gen-ai      { padding: 72px 0; }
  .agents-section { padding: 72px 0; }
  .partnership { padding: 72px 0; }
  .partnership__grid { grid-template-columns: 1fr; }
  .at-glance__card { padding: 40px 24px; }
  .blog__grid  { grid-template-columns: 1fr; }
  .prod-table__header,
  .prod-table__row { grid-template-columns: 1fr 1fr; }
  .prod-th:nth-child(n+3),
  .prod-td:nth-child(n+3) { display: none; }
  .workflow-flow { display: none; }
  .app-mockup { display: none; }
  .agents-grid { grid-template-columns: 1fr; max-height: none; }
  .cs-metrics-row--3col { grid-template-columns: 1fr 1fr; }
  .features-section { padding: 72px 0; }
  .features-tabs    { flex-wrap: wrap; }
  .features-tab     { padding: 10px 20px; font-size: 0.9rem; }
  .cs-arrow         { width: 38px; height: 38px; font-size: 16px; margin-top: 40px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }

  .hero__sub      { font-size: 0.95rem; }
  .hero__btns     { flex-direction: column; align-items: center; }

  .section-title  { font-size: 1.55rem; }

  .at-glance__grid,
  .footprint__grid { grid-template-columns: 1fr; gap: 32px; }
  .footprint__right { flex-direction: column; }

  .cs-card { padding: 24px 20px; }
  .cs-metrics-row { grid-template-columns: 1fr; }

  .trust-logos {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .stats-bar {
    padding: 28px 20px;
  }
  .stat { min-width: 110px; padding: 0 14px; }
  .stat__num { font-size: 1.8rem; }

  .svc-card { padding: 28px 22px; }
  .plat-card { padding: 28px 22px; }
  .blog__grid   { grid-template-columns: 1fr; }
  .prod-table__header,
  .prod-table__row { grid-template-columns: 1fr 1fr; }
  .rag-dia { padding: 12px; }
  .rag-dia__sub { font-size: 10px; }
}

@media (max-width: 375px) {
  .navbar__card { height: 52px; }
  .navbar__nav { top: 64px; }
  .hero { padding-top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Show everything immediately; never gate content behind an animation. */
  .animate-heading,
  .service-card-animate,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-down,
  .zoom-in,
  .heading-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==============================================
   FORM FEEDBACK + SCREEN-READER-ONLY TEXT
   ============================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.footer-cta__msg {
  min-height: 1.25em;
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
}
.footer-cta__msg--ok    { color: var(--orange); }
.footer-cta__msg--error { color: #D93025; }
[data-theme="dark"] .footer-cta__msg--error { color: #FF8A80; }


/* ==============================================
   BRAND LOCKUP — THEME + RESPONSIVE
   ============================================== */
[data-theme="dark"] .brand-logo { color: var(--text-dark); }

@media (max-width: 768px) {
  .brand-logo  { height: 30px; width: 143px; }
  .footer-logo { height: 24px; width: 115px; }
}
@media (max-width: 375px) {
  .brand-logo  { height: 26px; width: 124px; }
}

/* ==============================================
   DARK MODE — SURFACES THAT HAD NO DARK COUNTERPART

   These were hard-coded light values (or used var(--text-dark) as a
   BACKGROUND, which inverts in dark theme). Each rendered light-on-light
   once dark mode was on — the navbar card was white with near-white text.
   ============================================== */
[data-theme="dark"] .navbar__card {
  background: #1E2235;
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
[data-theme="dark"] .btn--outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
[data-theme="dark"] .btn--outline-dark:hover {
  background: var(--text-dark);
  color: #0D0F1A;
}
/* background was var(--text-dark), which flips to near-white in dark theme */
[data-theme="dark"] .founder-name-tag {
  background: #2A2D3E;
  color: var(--text-dark);
}
[data-theme="dark"] .at-glance__card { background: #161927; }
[data-theme="dark"] .svc-proof       { background: #23283B; }
[data-theme="dark"] .footer-contact  { background: #0D0F1A; }

[data-theme="dark"] .cs-nav-btn {
  background: #1E2235;
  border-color: #2A2D3E;
  color: var(--text-dark);
}

/* Pastel icon chips, re-tinted for a dark surface */
[data-theme="dark"] .plat-card__icon-wrap--beige  { background: #33261C; }
[data-theme="dark"] .plat-card__icon-wrap--green  { background: #16301F; }
[data-theme="dark"] .plat-card__icon-wrap--purple { background: #241D3B; }
[data-theme="dark"] .plat-card__icon-wrap--teal   { background: #14302F; }

/* ==============================================
   SUB-PAGE SHELL — shared standard for /team and /resources

   Every sub-page opens with .page-hero. Its top padding is derived from
   --nav-h so content can never start underneath the fixed header.
   ============================================== */
.page-hero {
  background: var(--cream);
  padding: calc(var(--nav-h) + 60px) 0 68px;
  border-bottom: 1px solid var(--border);
}
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.page-hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 14px 0 20px;
}
.page-hero__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
}
.navbar__link--current { color: var(--orange); }
.navbar__link--current::after { width: 100%; }

/* ==============================================
   TEAM PAGE — founder block
   Photo boxed on the left, credentials to the right (Obin pattern).
   ============================================== */
.founder-section { background: var(--white); padding: 78px 0; }
.founder-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 52px;
  align-items: start;
  margin-top: 30px;
}
.founder-portrait {
  background: linear-gradient(165deg, var(--cream) 0%, var(--orange-lt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}
.founder-detail { padding-top: 4px; }
.founder-detail__name {
  font-size: 1.9rem; font-weight: 800; color: var(--text-dark);
  letter-spacing: -0.015em; line-height: 1.2;
}
.founder-detail__role {
  color: var(--orange); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 8px 0 22px;
}
.founder-detail p { color: var(--text-body); line-height: 1.75; margin-bottom: 15px; }
.founder-detail strong { color: var(--text-dark); font-weight: 700; }
.founder-detail .founder-socials { margin-top: 26px; }

/* ==============================================
   TEAM PAGE — delivery pod roles (two columns, acronym badges)
   ============================================== */
.roles-section { background: var(--light-grey); padding: 78px 0; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.role-badge {
  flex: 0 0 auto;
  width: 62px; height: 62px;
  border-radius: 12px;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.03em;
  background: var(--orange-lt);
  color: var(--orange);
}
.role-badge--teal   { background: #E4F5F5; color: #14807F; }
.role-badge--pink   { background: #FFECF1; color: #C7204B; }
.role-badge--amber  { background: #FFF4E0; color: #B4740B; }
.role-card__role {
  font-weight: 800; color: var(--text-dark); font-size: 1.02rem;
  margin-bottom: 7px; line-height: 1.3;
}
.role-card__desc { color: var(--text-body); font-size: 0.9rem; line-height: 1.62; }
.roles-note {
  margin-top: 32px; text-align: center; color: var(--text-muted);
  font-size: 0.9rem; font-style: italic;
}

/* ==============================================
   RESOURCES PAGE — modelled on agenticprivatemarkets.ai/blogs
   Centred hero, pill tab toggle, featured card, search + sort, card grid.
   ============================================== */
.resources { background: var(--white); padding: 52px 0 96px; }

.res-tabswrap { display: flex; justify-content: center; margin-bottom: 44px; }
.res-tabs {
  display: inline-flex; gap: 4px;
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
}
.res-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 0.95rem; font-weight: 700;
  color: var(--text-body); padding: 9px 30px; border-radius: 100px;
  transition: background var(--t), color var(--t);
}
.res-tab:hover { color: var(--text-dark); }
.res-tab.active { background: var(--orange); color: #fff; }
.res-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---- featured ---- */
.feat-post {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; text-decoration: none; background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t);
  margin-bottom: 52px;
}
.feat-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-post__art {
  background: linear-gradient(150deg, #10162B 0%, #1E2A4A 60%, #2A1B3D 100%);
  min-height: 330px; position: relative;
  display: flex; align-items: center; justify-content: center; padding: 34px;
}
.feat-post__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(232,98,42,0.30), transparent 62%);
}
.feat-post__artkicker {
  position: relative; z-index: 1; color: rgba(255,255,255,0.95);
  font-size: 1.05rem; font-weight: 800; line-height: 1.6; text-align: center;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.feat-post__body { padding: 44px 42px; align-self: center; }
.feat-post__label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.feat-post__title {
  font-size: 1.72rem; font-weight: 800; color: var(--text-dark);
  line-height: 1.24; letter-spacing: -0.015em;
}
.feat-post__excerpt { color: var(--text-body); line-height: 1.7; margin: 16px 0 18px; }
.feat-post__meta { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 22px; }
.feat-post__cta {
  display: inline-block; background: var(--orange); color: #fff;
  font-weight: 700; font-size: 0.9rem; padding: 11px 24px; border-radius: 8px;
}

/* ---- controls ---- */
.res-controls { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.res-searchwrap { flex: 1; min-width: 220px; position: relative; }
.res-searchwrap::before {
  content: "\1F50D"; position: absolute; left: 15px; top: 50%;
  transform: translateY(-50%); font-size: 0.86rem; opacity: 0.45; pointer-events: none;
}
.res-search, .res-sort {
  font-family: var(--font); font-size: 0.94rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 13px 16px; background: var(--white); color: var(--text-dark);
}
.res-search { width: 100%; padding-left: 42px; }
.res-sort { min-width: 170px; cursor: pointer; }
.res-search:focus, .res-sort:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.res-count { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 22px; }
.res-empty { color: var(--text-muted); padding: 40px 0; text-align: center; }

/* ---- article grid ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); transition: transform var(--t), box-shadow var(--t);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__art {
  height: 152px; position: relative; display: flex;
  align-items: center; justify-content: center; padding: 18px;
}
.post-card__art span {
  position: relative; z-index: 1; color: rgba(255,255,255,0.95);
  font-size: 0.82rem; font-weight: 700; text-align: center; line-height: 1.4;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.post-card__art--0 { background: linear-gradient(145deg,#10162B,#26314F); }
.post-card__art--1 { background: linear-gradient(145deg,#2A1B3D,#4A2340); }
.post-card__art--2 { background: linear-gradient(145deg,#12302E,#1C4A46); }
.post-card__art--3 { background: linear-gradient(145deg,#3A2412,#6B3C17); }
.post-card__inner { padding: 22px 22px 0; flex: 1; }
.post-card__title { font-size: 1.02rem; font-weight: 800; color: var(--text-dark); line-height: 1.36; }
.post-card__excerpt { color: var(--text-body); font-size: 0.88rem; line-height: 1.62; margin-top: 10px; }
.post-card__foot { padding: 16px 22px 22px; }
.post-card__meta { color: var(--text-muted); font-size: 0.79rem; margin-bottom: 9px; }
.post-src {
  display: inline-block; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; margin-right: 8px;
  background: var(--orange-lt); color: var(--orange);
  border: 1px solid rgba(232,98,42,0.28); vertical-align: 1px;
}
.post-src--apm { background: #E4F5F5; color: #14807F; border-color: rgba(20,128,127,0.3); }
[data-theme="dark"] .post-src     { background: rgba(232,98,42,0.16); }
[data-theme="dark"] .post-src--apm{ background: rgba(20,128,127,0.18); color: #4FC3C2; }
.post-card__link { color: var(--orange); font-weight: 700; font-size: 0.87rem; text-decoration: none; }
.post-card__link:hover { text-decoration: underline; }

/* ---- videos ---- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* With only one or two videos a three-column track leaves the row stranded;
   these centre a smaller set at a readable size instead. */
.video-grid--one { grid-template-columns: minmax(0, 760px); justify-content: center; }
.video-grid--two { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.video-card__frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: var(--r-md); overflow: hidden; background: #000;
  border: 1px solid var(--border);
}
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__title { font-weight: 700; color: var(--text-dark); margin-top: 13px; font-size: 1rem; line-height: 1.4; }
.video-card__meta { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }
.video-more { margin-top: 40px; text-align: center; }

/* ---- dark theme for the resources + team surfaces ---- */
[data-theme="dark"] .page-hero       { background: #0D0F1A; border-bottom-color: #2A2D3E; }
[data-theme="dark"] .founder-section { background: #0D0F1A; }
[data-theme="dark"] .roles-section   { background: #161927; }
[data-theme="dark"] .resources       { background: #0D0F1A; }
[data-theme="dark"] .role-card,
[data-theme="dark"] .post-card,
[data-theme="dark"] .feat-post       { background: #1E2235; border-color: #2A2D3E; }
[data-theme="dark"] .res-tabs        { background: #161927; border-color: #2A2D3E; }
[data-theme="dark"] .founder-portrait{ background: linear-gradient(165deg,#161927,#23283B); border-color: #2A2D3E; }
[data-theme="dark"] .res-search,
[data-theme="dark"] .res-sort        { background: #1E2235; border-color: #2A2D3E; color: var(--text-dark); }
[data-theme="dark"] .role-badge      { background: rgba(232,98,42,0.14); }
[data-theme="dark"] .role-badge--teal  { background: rgba(26,140,140,0.16); color: #4FC3C2; }
[data-theme="dark"] .role-badge--pink  { background: rgba(224,50,95,0.16);  color: #F2718F; }
[data-theme="dark"] .role-badge--amber { background: rgba(226,149,27,0.16); color: #E9A93C; }

/* ==============================================
   HOME TEASERS -> /team and /resources
   ============================================== */
.team-teaser { background: var(--white); padding: 84px 0; }
.team-teaser__inner {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center;
}
.team-teaser__art {
  background: linear-gradient(160deg, var(--cream), var(--orange-lt));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
}
.team-teaser__art img { width: 100%; height: auto; display: block; }

.res-teaser { background: var(--light-grey); padding: 84px 0; }
.mini-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.mini-post {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 22px; text-decoration: none; display: block;
  box-shadow: var(--shadow-card); transition: transform var(--t), box-shadow var(--t);
}
.mini-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mini-post__title { font-weight: 800; color: var(--text-dark); line-height: 1.38; font-size: 1rem; }
.mini-post__meta { color: var(--text-muted); font-size: 0.82rem; margin-top: 10px; }
.res-teaser__cta { text-align: center; margin-top: 34px; }

[data-theme="dark"] .team-teaser { background: #0D0F1A; }
[data-theme="dark"] .res-teaser  { background: #161927; }
[data-theme="dark"] .mini-post   { background: #1E2235; border-color: #2A2D3E; }
[data-theme="dark"] .team-teaser__art { background: linear-gradient(160deg,#161927,#23283B); border-color: #2A2D3E; }

@media (max-width: 768px) {
  .team-teaser__inner { grid-template-columns: 1fr; gap: 32px; }
  .team-teaser__art { max-width: 280px; }
  .mini-post-grid { grid-template-columns: 1fr; }
}

/* Sub-page responsive. Emitted 1024 then 768 so the narrower query wins. */
@media (max-width: 1024px) {
  .post-grid  { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-layout { grid-template-columns: 280px 1fr; gap: 38px; }
  .feat-post__title { font-size: 1.5rem; }
  .feat-post__body { padding: 34px 30px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .founder-layout { grid-template-columns: 1fr; gap: 28px; }
  .founder-portrait { max-width: 300px; position: static; aspect-ratio: 4 / 5; }
  .roles-grid, .post-grid, .video-grid { grid-template-columns: 1fr; }
  .feat-post { grid-template-columns: 1fr; }
  .feat-post__art { min-height: 190px; order: -1; }
  .feat-post__body { padding: 28px 24px; }
  .res-tab { padding: 9px 22px; font-size: 0.9rem; }
  .res-controls { flex-direction: column; }
  .res-sort { width: 100%; }
}

/* ==============================================
   GET IN TOUCH FORM (footer CTA)
   Sits on the dark CTA band, so fields are translucent white.
   ============================================== */
.cta-form { max-width: 640px; margin: 30px auto 0; text-align: left; }
.cta-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-field { margin-bottom: 16px; }
.cta-field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.82); margin-bottom: 7px;
}
.cta-optional { font-weight: 400; color: rgba(255,255,255,0.5); }
.cta-field input,
.cta-field textarea {
  width: 100%;
  font-family: var(--font); font-size: 0.95rem;
  padding: 12px 15px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  transition: border-color var(--t), background var(--t);
}
.cta-field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.cta-field input::placeholder,
.cta-field textarea::placeholder { color: rgba(255,255,255,0.38); }
.cta-field input:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.11);
}
.cta-form__btn { margin-top: 6px; }
.cta-form__btn[disabled] { opacity: 0.65; cursor: not-allowed; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.cta-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.footer-cta__msg a { color: inherit; text-decoration: underline; }

@media (max-width: 640px) {
  .cta-form__row { grid-template-columns: 1fr; gap: 0; }
}
