/* ============================================================
   ChainFoundry — McKinsey-Style Homepage Build
   No React. No hashed classes. Normal HTML + CSS + JS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300..700;1,300..700&display=swap');

@font-face {
  font-family: 'McKinsey Sans';
  src: url('../fonts/McKinseySans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'McKinsey Sans';
  src: url('../fonts/McKinseySans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'McKinsey Sans';
  src: url('../fonts/McKinseySans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- Page Load Entrance ---- */
body {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.3s ease;
}
body.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Design Tokens ---- */
:root {
  --navy: #051c2c;
  --navy-light: #0a2540;
  --navy-lighter: #0f3a5c;
  --blue: #2251ff;
  --blue-light: #4d7fff;
  --blue-hover: #4d7fff;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray-text: #666f7b;
  --gray-muted: #9aa6b6;
  --gray-dark: #3a4a5c;
  --border-light: #e6e9ed;
  --border-dark: #1a2f47;
  --footer-bg: #ffffff;
  --footer-legal-bg: #f5f5f5;
  --max-width: 1280px;
  --header-height: 80px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================================================
   HEADER — DO NOT TOUCH. PERFECT AS-IS.
   ============================================================ */
.site-header {
  position: relative;
  height: var(--header-height);
  background: var(--navy);
  color: var(--white);
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
}
.site-header.header--hero.is-scrolled {
  background: rgba(5, 28, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; padding: 0;
  background: transparent; border: none;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, width 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-logo {
  display: block;
  width: 180px; height: 40px;
  background: url('../cf_logo.svg') left center / contain no-repeat;
  filter: invert(1) brightness(2);
  text-indent: -9999px; overflow: hidden;
  flex-shrink: 0;
}
.desktop-nav {
  display: flex; align-items: center;
  height: 100%;
  margin-left: 24px;
}
.desktop-nav__list {
  display: flex; align-items: center;
  gap: 6px; height: 100%;
}
.desktop-nav__item {
  position: relative; height: 100%;
  display: flex; align-items: center;
}
.desktop-nav__item::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -20px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
  z-index: 998;
}
.desktop-nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-size: 15px; font-weight: 600;
  color: var(--white);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  height: 100%;
}
.desktop-nav__link:hover,
.desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: var(--blue-light);
}
.desktop-nav__chevron {
  width: 10px; height: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.desktop-nav__item:hover .desktop-nav__chevron {
  transform: rotate(180deg);
}
.desktop-nav__dropdown {
  position: fixed;
  left: 0; right: 0; top: var(--header-height);
  background: var(--white);
  color: var(--navy);
  padding: 40px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-top: 3px solid var(--blue);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 999;
}
.desktop-nav__item:hover > .desktop-nav__dropdown,
.desktop-nav__item:focus-within > .desktop-nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.dropdown__header {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.dropdown__header:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.dropdown__header svg {
  width: 20px; height: 20px;
  color: var(--blue);
  transition: transform 0.15s ease;
}
.dropdown__header:hover svg {
  transform: translateX(3px);
}
.dropdown__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 40px;
}
.dropdown__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.dropdown__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.dropdown__link {
  display: block;
  padding: 8px 0;
  font-size: 15px; color: var(--gray-dark);
  transition: color 0.15s ease, padding-left 0.15s ease;
  border-bottom: 1px solid transparent;
}
.dropdown__link:hover {
  color: var(--blue);
  padding-left: 4px;
}
.site-header__right {
  display: flex; align-items: center;
  gap: 20px; flex-shrink: 0;
  margin-left: 24px;
}
.header-auth {
  font-size: 15px; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.header-auth a {
  color: var(--white);
  transition: opacity 0.15s;
}
.header-auth a:hover { opacity: 0.8; text-decoration: underline; }
.header-auth__divider { opacity: 0.4; }
.header-search-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  background: transparent; border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.header-search-btn:hover { opacity: 0.7; }
.header-search-btn svg {
  width: 22px; height: 22px;
}
/* Light header variant (non-home pages) */
.site-header.header--light {
  background: var(--white);
  color: var(--navy);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header.header--light .site-logo {
  filter: none;
}
.site-header.header--light .desktop-nav__link {
  color: var(--navy);
}
.site-header.header--light .desktop-nav__link:hover,
.site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: var(--blue);
}
.site-header.header--light .header-auth,
.site-header.header--light .header-auth a {
  color: var(--navy);
}
.site-header.header--light .header-search-btn {
  color: var(--navy);
}
.site-header.header--light .hamburger span {
  background: var(--navy);
}
/* Dark dropdown for light header pages */
.site-header.header--light .desktop-nav__dropdown {
  background: var(--navy);
  color: var(--white);
  border-top-color: var(--blue-light);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.site-header.header--light .dropdown__header {
  color: var(--white);
}
.site-header.header--light .dropdown__header:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}
.site-header.header--light .dropdown__link {
  color: rgba(255,255,255,0.7);
}
.site-header.header--light .dropdown__link:hover {
  color: var(--white);
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-auth span { display: none; }
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 28, 44, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 1998;
}
.mega-menu-backdrop.is-open { opacity: 1; visibility: visible; }
.mega-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(100vh - 48px);
  max-height: 800px;
  background: var(--navy);
  z-index: 1999;
  transform: translateY(-110%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mega-menu.is-open { transform: translateY(0); }
.mega-menu__inner {
  display: flex;
  height: 100%;
}
.mega-menu__sidebar {
  width: 340px;
  min-width: 280px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.mega-menu__top {
  display: flex;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 0;
  flex-shrink: 0;
}
.mega-menu__close {
  width: 44px; height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.mega-menu__close span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  position: absolute;
  transition: background 0.2s ease;
}
.mega-menu__close span:nth-child(1) { transform: rotate(45deg); }
.mega-menu__close span:nth-child(2) { transform: rotate(-45deg); }
.mega-menu__close:hover span { background: var(--blue-light); }
.mega-menu__top-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin: 0 16px;
}
.mega-menu__logo {
  display: block; width: 160px; height: 36px;
  background: url('../cf_logo.svg') left center / contain no-repeat;
  filter: invert(1) brightness(2);
  text-indent: -9999px; overflow: hidden;
}
.mega-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mega-menu__item {
  width: 100%;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-right: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.mega-menu__item:hover {
  background: rgba(34,81,255,0.12);
}
.mega-menu__item.is-active {
  background: rgba(34,81,255,0.15);
  border-right-color: var(--blue);
}
.mega-menu__arrow {
  width: 16px; height: 16px;
  color: var(--blue-light);
  flex-shrink: 0;
}
.mega-menu__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mega-menu__footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-muted);
  transition: color 0.15s;
}
.mega-menu__footer a:hover { color: var(--white); }
.mega-menu__footer svg {
  width: 18px; height: 18px;
}
.mega-menu__panel {
  flex: 1;
  background: var(--white);
  color: var(--navy);
  padding: 48px;
  overflow-y: auto;
}
.mega-panel { display: none; animation: panelFadeIn 0.25s ease; }
.mega-panel.is-active { display: block; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-panel__header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 40px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.mega-panel__header:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.mega-panel__header svg {
  width: 24px; height: 24px;
  color: var(--blue);
  transition: transform 0.15s ease;
}
.mega-panel__header:hover svg {
  transform: translateX(4px);
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 48px;
}
.mega-panel__link {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--gray-dark);
  transition: color 0.15s ease, padding-left 0.15s ease;
  border-bottom: 1px solid transparent;
}
.mega-panel__link:hover {
  color: var(--blue);
  padding-left: 4px;
}
.mega-panel__desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 1024px) {
  .mega-menu__sidebar { width: 280px; min-width: 240px; }
  .mega-menu__panel { padding: 32px; }
  .mega-panel__grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   MEGA MENU — MOBILE FULL-SCREEN REDESIGN
   ============================================================ */
@media (max-width: 768px) {
  .mega-menu {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    background: var(--navy);
    overflow: hidden;
  }
  .mega-menu__inner {
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega-menu__sidebar {
    width: 100%;
    min-width: auto;
    border-right: none;
    border-bottom: none;
    height: auto;
    flex-shrink: 0;
  }
  .mega-menu__top {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mega-menu__close {
    width: 48px;
    height: 48px;
  }
  .mega-menu__close span {
    width: 24px;
    height: 2.5px;
  }
  .mega-menu__logo {
    width: 150px;
    height: 32px;
  }
  .mega-menu__nav {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding: 8px 0;
  }
  .mega-menu__item {
    width: 100%;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 600;
    white-space: normal;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
    min-height: 60px;
  }
  .mega-menu__item.is-active {
    border-right-color: transparent;
    border-bottom-color: rgba(255,255,255,0.06);
    background: rgba(34,81,255,0.12);
  }
  .mega-menu__item.is-open .mega-menu__arrow {
    transform: rotate(90deg);
  }
  .mega-menu__arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Inline mobile dropdown (accordion) */
  .mega-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--white);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.35s ease;
    padding: 0 20px;
  }
  .mega-dropdown.is-open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 20px;
    overflow: visible;
  }
  .mega-dropdown__link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--border-light);
    transition: color 0.15s, padding-left 0.2s ease, background 0.15s;
    text-decoration: none;
  }
  .mega-dropdown__link:hover {
    color: var(--blue);
    padding-left: 20px;
    background: rgba(34,81,255,0.04);
  }
  .mega-dropdown__link:last-child {
    border-bottom: none;
  }
  .mega-dropdown__link--highlight {
    color: var(--blue);
    font-weight: 600;
  }
  .mega-dropdown__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-text);
    padding: 8px 16px;
    margin: 0;
  }

  /* Hide the old panel container on mobile — we use inline dropdowns instead */
  .mega-menu__panel {
    display: none;
  }
  .mega-panel {
    display: none;
    padding: 0 20px 20px;
    background: rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    animation: panelSlideDown 0.3s ease;
  }
  .mega-panel.is-active {
    display: block;
  }
  @keyframes panelSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mega-panel__header {
    display: none;
  }
  .mega-panel__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .mega-panel__link {
    padding: 14px 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.15s, padding-left 0.15s;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .mega-panel__link:hover {
    color: var(--white);
    padding-left: 20px;
  }
  .mega-panel__link:last-child {
    border-bottom: none;
  }
  .mega-panel__desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    padding: 12px 16px;
  }

  .mega-menu__footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 14px;
  }
  .mega-menu__footer a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mega-menu__footer a:hover {
    color: var(--white);
  }
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 28, 44, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 1998;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; left: 0;
  width: 380px; max-width: 85vw;
  height: 100vh;
  background: var(--navy);
  color: var(--white);
  z-index: 1999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer__logo {
  display: block; width: 160px; height: 36px;
  background: url('../cf_logo.svg') left center / contain no-repeat;
  filter: invert(1) brightness(2);
  text-indent: -9999px; overflow: hidden;
}
.drawer__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 28px; line-height: 1;
  background: transparent; border: none; cursor: pointer;
}
.drawer__nav { padding: 8px 0; }
.drawer__item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.drawer__trigger {
  width: 100%; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white); font-size: 18px; font-weight: 600;
  background: transparent; border: none; cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.drawer__trigger:hover { background: rgba(34,81,255,0.12); }
.drawer__trigger svg {
  width: 16px; height: 16px;
  color: var(--blue-light);
  transition: transform 0.2s ease;
}
.drawer__item.is-open .drawer__trigger svg {
  transform: rotate(90deg);
}
.drawer__panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.drawer__item.is-open .drawer__panel {
  max-height: 600px;
}
.drawer__sublinks {
  padding: 0 24px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.drawer__sublinks a {
  padding: 8px 0 8px 16px;
  font-size: 15px; color: var(--gray-muted);
  transition: color 0.15s, padding-left 0.15s;
  border-left: 2px solid var(--border-dark);
}
.drawer__sublinks a:hover {
  color: var(--white); padding-left: 20px;
  border-left-color: var(--blue);
}
.drawer__footer {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 20px;
}
.drawer__footer a {
  font-size: 15px; color: var(--gray-muted);
  transition: color 0.15s;
}
.drawer__footer a:hover { color: var(--white); }

/* ============================================================
   HERO — Full-width video background
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.hero__video.is-ready {
  opacity: 1;
}
.hero__video-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  z-index: 1;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,28,44,0.55) 0%, rgba(5,28,44,0.70) 50%, rgba(5,28,44,0.85) 100%);
  z-index: 2;
}
.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 40px 80px;
  text-align: center;
  width: 100%;
}
.hero__content {
  max-width: 760px;
  margin: 0 auto;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue-light);
  margin-bottom: 70px;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__subheadline {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
  color: #b8c4d0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero__play-btn {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
}
.hero__play-btn:hover {
  transform: scale(1.1);
  background: var(--white);
}
.hero__play-btn svg {
  width: 28px; height: 28px;
  color: var(--navy);
  margin-left: 4px;
}
.hero__play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  animation: pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================================
   MCKINSEY-STYLE HERO — Bento grid layout
   ============================================================ */
.mckinsey-hero {
  background: var(--navy);
  padding: 156px 80px 64px;
  position: relative;
  z-index: 1;
}
.mckinsey-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "text text text text report report report"
    "manuf manuf article article report report report"
    "interactive interactive blog blog subscribe subscribe subscribe";
  gap: 16px;
}

/* Text block */
.mckinsey-hero__text {
  grid-area: text;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 4.5rem);
  grid-template-rows: min-content min-content;
  gap: 16px 40px;
  margin: 0 64px 40px 0;
  padding: 0;
  align-self: start;
}
.mckinsey-hero__headline {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-bottom: 4px;
  margin: 0;
}
.mckinsey-hero__headline img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.mckinsey-hero__subheadline {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  font-family: 'McKinsey Sans', 'Helvetica Neue', Calibri, Corbel, Helvetica, Roboto, Droid, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: var(--white);
}
.mckinsey-hero__arrow-btn {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 72px;
  height: 72px;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  margin-top: -10px;
}
.mckinsey-hero__arrow-btn:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.25);
}
.mckinsey-hero__arrow-btn svg {
  width: 44px;
  height: 44px;
}

/* Cards base */
.mckinsey-hero__card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
.mckinsey-hero__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.mckinsey-hero__card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mckinsey-hero__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mckinsey-hero__card:hover .mckinsey-hero__card-bg img {
  transform: scale(1.06);
}
.mckinsey-hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,28,44,0.1) 0%, rgba(5,28,44,0.55) 60%, rgba(5,28,44,0.82) 100%);
  z-index: 2;
  transition: background 0.35s ease;
}
.mckinsey-hero__card:hover .mckinsey-hero__card-overlay {
  background: linear-gradient(180deg, rgba(5,28,44,0.2) 0%, rgba(5,28,44,0.6) 60%, rgba(5,28,44,0.88) 100%);
}
.mckinsey-hero__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
}

/* Card labels & headings */
.mckinsey-hero__card-label {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.mckinsey-hero__card-heading {
  font-family: 'McKinsey Sans', 'Helvetica Neue', Calibri, Corbel, Helvetica, Roboto, Droid, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: normal;
  color: var(--white);
}
.mckinsey-hero__card-arrow {
  color: var(--white);
  margin-left: 2px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.mckinsey-hero__card:hover .mckinsey-hero__card-arrow {
  transform: translateX(4px);
}

/* Report card (large, top right) */
.mckinsey-hero__card--report {
  grid-area: report;
  min-height: 764px;
}
.mckinsey-hero__card--report .mckinsey-hero__card-overlay {
  background: linear-gradient(180deg, rgba(5,28,44,0.25) 0%, rgba(5,28,44,0.4) 40%, rgba(5,28,44,0.7) 100%);
}
.mckinsey-hero__card-year {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.mckinsey-hero__card--report .mckinsey-hero__card-title {
  font-family: 'McKinsey Sans', 'Helvetica Neue', Calibri, Corbel, Helvetica, Roboto, Droid, sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 52px;
  letter-spacing: normal;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 480px;
}
.mckinsey-hero__card--report .mckinsey-hero__card-content {
  padding: 32px;
}
.mckinsey-hero__card-cta {
  display: inline-block;
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

/* Manufacturing card */
.mckinsey-hero__card--manuf {
  grid-area: manuf;
  min-height: 511px;
}

/* Article card */
.mckinsey-hero__card--article {
  grid-area: article;
  min-height: 399px;
  margin-top: 56px;
  margin-bottom: 56px;
}

/* Interactive card */
.mckinsey-hero__card--interactive {
  grid-area: interactive;
  min-height: 341px;
  margin-bottom: 48px;
}

/* Blog card */
.mckinsey-hero__card--blog {
  grid-area: blog;
  min-height: 445px;
  margin-top: -56px;
}

/* Subscribe card */
.mckinsey-hero__card--subscribe {
  grid-area: subscribe;
  background: transparent;
  padding: 0;
  min-height: 389px;
}

/* Bottom row cards share the generic .mckinsey-hero__card:hover float */
.mckinsey-hero__subscribe-content {
  background: rgba(255,255,255,0.15);
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.mckinsey-hero__subscribe-text {
  font-family: 'McKinsey Sans', 'Helvetica Neue', Calibri, Corbel, Helvetica, Roboto, Droid, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 36px;
  color: var(--white);
}
.mckinsey-hero__subscribe-form {
  display: flex;
  height: 48px;
}
.mckinsey-hero__subscribe-form input {
  flex: 1;
  padding: 0 16px;
  border: none;
  background: var(--white);
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.mckinsey-hero__subscribe-form input::placeholder {
  color: var(--gray-text);
}
.mckinsey-hero__subscribe-form button {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.mckinsey-hero__subscribe-form button:hover {
  background: var(--blue-light);
}
.mckinsey-hero__subscribe-form button svg {
  width: 18px;
  height: 18px;
}
.mckinsey-hero__subscribe-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.mckinsey-hero__subscribe-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.mckinsey-hero__subscribe-divider p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.mckinsey-hero__subscribe-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mckinsey-hero__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.mckinsey-hero__social-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}
.mckinsey-hero__social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .mckinsey-hero {
    padding: calc(var(--header-height) + 32px) 24px 48px;
  }
  .mckinsey-hero__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "text    text"
      "report  report"
      "manuf   article"
      "interactive blog"
      "subscribe subscribe";
    min-height: auto;
  }
  .mckinsey-hero__text {
    margin: 0 0 24px 0;
    grid-template-columns: 1fr auto;
  }
  .mckinsey-hero__card--report {
    min-height: 360px;
  }
  .mckinsey-hero__card--subscribe {
    min-height: auto;
    padding: 0;
  }
  .mckinsey-hero__subscribe-content {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .mckinsey-hero {
    padding: calc(var(--header-height) + 24px) 16px 40px;
  }
  .mckinsey-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "report"
      "manuf"
      "article"
      "interactive"
      "blog"
      "subscribe";
    gap: 16px;
  }
  .mckinsey-hero__card-content {
    padding: 20px;
  }
  .mckinsey-hero__card--report {
    min-height: 320px;
  }
  .mckinsey-hero__card--manuf,
  .mckinsey-hero__card--article,
  .mckinsey-hero__card--interactive,
  .mckinsey-hero__card--blog {
    min-height: 220px;
    align-self: stretch;
  }
  .mckinsey-hero__subscribe-socials {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gray-text);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto;
  color: var(--navy);
}

/* ============================================================
   FEATURED CONTENT — Asymmetric Grid
   ============================================================ */
.featured-section {
  padding: 100px 0;
  background: var(--white);
}
.featured-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 24px;
  align-items: start;
}

/* Left column: stacked smaller cards */
.featured-asymmetric__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.featured-card-sm {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.featured-card-sm:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(34,81,255,0.08);
}
.featured-card-sm__link {
  display: block;
}
.featured-card-sm__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.featured-card-sm__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
.featured-card-sm:hover .featured-card-sm__bg {
  filter: brightness(1.05);
}
.featured-card-sm:hover .featured-card-sm__bg {
  transform: scale(1.05);
}
.featured-card-sm__content {
  padding: 20px 24px 24px;
}
.featured-card-sm__eyebrow {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}
.featured-card-sm__title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Right column: large featured */
.featured-card-lg {
  position: relative;
  overflow: hidden;
  background: var(--navy-light);
  transition: box-shadow 0.3s ease;
}
.featured-card-lg:hover {
  box-shadow: 0 8px 32px rgba(5,28,44,0.15);
}
.featured-card-lg__link {
  display: block;
  position: relative;
  min-height: 100%;
}
.featured-card-lg__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.featured-card-lg__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
.featured-card-lg:hover .featured-card-lg__bg {
  filter: brightness(1.05);
}
.featured-card-lg:hover .featured-card-lg__bg {
  transform: scale(1.04);
}
.featured-card-lg__overlay {
  position: absolute; inset: 0;
  background: rgba(5,28,44,0.45);
}
.featured-card-lg__content {
  padding: 32px;
}
.featured-card-lg__eyebrow {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.featured-card-lg__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.featured-card-lg__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--blue); letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.featured-card-lg__cta svg {
  width: 14px; height: 14px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-card-lg:hover .featured-card-lg__cta svg {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .featured-asymmetric { grid-template-columns: 1fr; }
  .featured-card-lg__media { aspect-ratio: 16 / 9; }
}

/* ============================================================
   ASK CHAINFOUNDRY — AI Chatbot
   ============================================================ */
/* ============================================================
   PODCAST HERO — Blue gradient section after video
   ============================================================ */
.podcast-hero {
  position: relative;
  min-height: 110vh;
  padding: 40px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.podcast-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, #0b1c32 0%, #0d2048 33%, #183395 66%, #2251ff 100%);
  z-index: 1;
}
.podcast-hero .container {
  position: relative;
  z-index: 2;
}

/* Top header area */
.podcast-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  padding-top: 12px;
}
.podcast-hero__text {
  max-width: 860px;
}
.podcast-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--white);
  margin-bottom: 20px;
}
.podcast-hero__desc {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.6;
  max-width: 860px;
}
.podcast-hero__platforms {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.podcast-hero__platform {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: transform 0.2s, background 0.2s;
}
.podcast-hero__platform:hover {
  transform: translateY(-3px);
  background: var(--off-white);
}
.podcast-hero__platform svg {
  width: 18px; height: 18px;
}
.podcast-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.podcast-hero__cta-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.podcast-hero__cta-btn svg {
  width: 16px; height: 16px;
}

/* Episode Card */
.episode-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  overflow: hidden;
}
.episode-card__info {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.episode-card__date {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 12px;
  display: block;
}
.episode-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}
.episode-card__title a {
  display: inline;
  transition: color 0.2s;
}
.episode-card__title a:hover {
  color: var(--blue);
}
.episode-card__arrow {
  color: var(--blue);
  font-size: 1.4em;
  line-height: 1;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.2s;
}
.episode-card__title a:hover .episode-card__arrow {
  transform: translateX(4px);
}
.episode-card__desc {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 420px;
}

/* Episode Player */
.episode-card__player {
  position: relative;
  background: #a8b5c4;
  min-height: 520px;
}
.episode-player {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.episode-player__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.episode-player__more {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  z-index: 3;
  transition: background 0.2s;
}
.episode-player__more:hover {
  background: var(--white);
}
.episode-player__more svg {
  width: 18px; height: 18px;
}
.episode-player__controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}
.episode-player__skip {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.episode-player__skip:hover {
  opacity: 1;
  transform: scale(1.1);
}
.episode-player__skip svg {
  width: 28px; height: 28px;
}
.episode-player__play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.episode-player__play:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}
.episode-player__play svg {
  width: 24px; height: 24px;
  margin-left: 3px;
}
.episode-player__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  z-index: 3;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.episode-player__time {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-player__progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.3);
  position: relative;
  cursor: pointer;
}
.episode-player__progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--white);
}
.episode-player__mute {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.episode-player__mute:hover {
  opacity: 1;
}
.episode-player__mute svg {
  width: 18px; height: 18px;
}

@media (max-width: 1024px) {
  .podcast-hero__top {
    flex-direction: column;
    gap: 24px;
  }
  .podcast-hero__cta-btn {
    align-self: flex-start;
  }
  .episode-card {
    grid-template-columns: 1fr;
  }
  .episode-card__player {
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  .podcast-hero {
    padding: 48px 0 0;
  }
  .episode-card__info {
    padding: 28px 24px;
  }
  .episode-player__controls {
    gap: 12px;
  }
  .episode-player__play {
    width: 52px; height: 52px;
  }
  .episode-player__play svg {
    width: 20px; height: 20px;
  }
}

/* ============================================================
   CAREERS
   ============================================================ */
.careers-section {
  background: var(--white);
  padding: 100px 0;
}
.careers-section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 56px;
}
.careers-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.careers-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 24px;
}
.careers-section__desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 32px;
  max-width: 520px;
}
.careers-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.careers-section__cta:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
.careers-section__media {
  display: flex;
  justify-content: flex-end;
}
.careers-section__media-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.careers-section__media-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 80px;
  background: var(--blue);
  z-index: 0;
}
.careers-section__media-image {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.careers-section__media-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.careers-section__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
  cursor: pointer;
}
.careers-section__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}
.careers-section__play svg {
  width: 22px; height: 22px;
  color: var(--navy);
  margin-left: 3px;
}

@media (max-width: 900px) {
  .careers-section__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .careers-section__media {
    justify-content: center;
  }
  .careers-section__media-inner {
    max-width: 420px;
  }
}

/* ============================================================
   HOW WE HELP CLIENTS
   ============================================================ */
.capabilities-section {
  background: var(--navy);
  padding: 100px 0;
}
.capabilities-section__header {
  text-align: center;
  margin-bottom: 56px;
}
.capabilities-section__eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0.9;
}
.capabilities-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 860px;
  margin: 0 auto;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capabilities-grid {
  perspective: 1200px;
}
.capability-card {
  display: block;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-20px);
  transition: background 0.35s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 2px;
}
.capability-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
}
.capabilities-section.is-visible .capability-card--1 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0ms forwards;
}
.capabilities-section.is-visible .capability-card--2 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 150ms forwards;
}
.capabilities-section.is-visible .capability-card--3 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 300ms forwards;
}
.capability-card:hover {
  background: var(--white);
}
.capability-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 0;
  transition: padding 0.3s ease;
}
.capability-card:hover .capability-card__image {
  padding: 8px;
  background: var(--white);
}
.capability-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.capability-card:hover .capability-card__image img {
  transform: scale(1.03);
}
.capability-card__body {
  padding: 24px 0 16px;
  transition: padding 0.3s ease;
}
.capability-card:hover .capability-card__body {
  padding: 24px 20px 28px;
}
.capability-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.capability-card:hover .capability-card__title {
  color: var(--navy);
}
.capability-card__arrow {
  color: var(--blue-light);
  font-size: 1.3em;
  line-height: 1;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.25s ease, color 0.3s ease;
}
.capability-card:hover .capability-card__arrow {
  color: var(--blue);
}
.capability-card__title:hover .capability-card__arrow,
.capability-card:hover .capability-card__arrow {
  transform: translateX(4px);
}
.capability-card__desc {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.6;
  transition: color 0.3s ease;
}
.capability-card:hover .capability-card__desc {
  color: var(--gray-dark);
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INSIGHTS SECTION
   ============================================================ */
.insights-section {
  background: var(--off-white);
  padding: 100px 0;
}
.insights-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.insights-section__text {
  max-width: 560px;
}
.insights-section .section__eyebrow {
  text-align: left;
  margin-bottom: 16px;
}
.insights-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}
.insights-section__desc {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 14px;
}
.insights-section__desc:last-of-type {
  margin-bottom: 28px;
}
.insights-section__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--blue); letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.insights-section__cta:hover { color: var(--navy); }
.insights-section__cta svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.insights-section__cta:hover svg {
  transform: translateX(4px);
}
.insights-section__media {
  overflow: hidden;
}
.insights-section__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
.insights-section__media:hover img {
  filter: brightness(1.05);
}
.insights-section__media:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .insights-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .insights-section__text { max-width: 100%; }
}

/* ============================================================
   SOCIETAL IMPACT SECTION
   ============================================================ */
.impact-section {
  background: #0451FF;
  color: var(--white);
  padding: 85px 0 100px;
}
.impact-section__header {
  text-align: center;
  margin-bottom: 56px;
}
.impact-section__eyebrow {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0.9;
}
.impact-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 1000px;
  margin: 0 auto;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Staggered entrance animation ---- */
@keyframes impact-card-drop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-card {
  display: block;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-20px);
  transition: background 0.3s ease;
}
.impact-section.is-visible .impact-card--1 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0ms forwards;
}
.impact-section.is-visible .impact-card--2 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 150ms forwards;
}
.impact-section.is-visible .impact-card--3 {
  animation: impact-card-drop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 300ms forwards;
}
.impact-card:hover {
  background: var(--white);
}
.impact-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 0;
  transition: padding 0.3s ease;
}
.impact-card:hover .impact-card__image {
  padding: 8px;
  background: var(--white);
}
.impact-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.impact-card:hover .impact-card__image img {
  transform: scale(1.03);
}
.impact-card__body {
  padding: 24px 0 16px;
  transition: padding 0.3s ease;
}
.impact-card:hover .impact-card__body {
  padding: 24px 20px 28px;
}
.impact-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.impact-card:hover .impact-card__title {
  color: var(--navy);
}
.impact-card__arrow {
  color: var(--white);
  font-size: 1.3em;
  line-height: 1;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.25s ease, color 0.3s ease;
}
.impact-card:hover .impact-card__arrow {
  color: var(--blue);
  transform: translateX(4px);
}
.impact-card__desc {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.6;
  transition: color 0.3s ease;
}
.impact-card:hover .impact-card__desc {
  color: var(--gray-dark);
}

@media (max-width: 900px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY SUBSCRIBE
   ============================================================ */
.sticky-subscribe {
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
}
.sticky-subscribe__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sticky-subscribe__text {
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}
.sticky-subscribe__form {
  display: flex;
  gap: 0;
}
.sticky-subscribe__form input {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-right: none;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  outline: none;
  width: 260px;
  transition: border-color 0.2s;
}
.sticky-subscribe__form input::placeholder { color: var(--gray-muted); }
.sticky-subscribe__form input:focus { border-color: var(--blue); }
.sticky-subscribe__form button {
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.sticky-subscribe__form button:hover { background: var(--blue-light); }

@media (max-width: 640px) {
  .sticky-subscribe__inner { flex-direction: column; align-items: stretch; }
  .sticky-subscribe__form { width: 100%; }
  .sticky-subscribe__form input { flex: 1; width: auto; }
}

/* ============================================================
   FOOTER — DO NOT TOUCH. PERFECT AS-IS.
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--navy);
}
.footer-main {
  max-width: var(--max-width);
  margin: 0 auto; padding: 64px 40px 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-brand__logo {
  display: block; width: 240px; height: 50px;
  background: url('../cf_logo.svg') left center / contain no-repeat;
  text-indent: -9999px; overflow: hidden;
}
.footer-links {
  display: flex;
  gap: 100px;
}
.footer-links__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-links__col a {
  font-size: 16px;
  color: var(--navy);
  transition: color 0.15s;
}
.footer-links__col a:hover {
  color: var(--blue);
}
.footer-subscribe {
  max-width: 420px;
  flex-shrink: 0;
}
.footer-subscribe h4 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-subscribe p {
  font-size: 15px; color: var(--gray-text);
  margin-bottom: 20px;
}
.footer-subscribe__form {
  display: flex; gap: 0;
}
.footer-subscribe__form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-right: none;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.footer-subscribe__form input:focus { border-color: var(--blue); }
.footer-subscribe__form button {
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.footer-subscribe__form button:hover { background: var(--blue-light); }
.footer-divider {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 40px;
}
.footer-divider__line {
  height: 1px;
  background: var(--border-light);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto; padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-bottom__left {
  display: flex; flex-direction: column; gap: 24px;
}
.footer-social {
  display: flex; gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--blue);
  transform: translateY(-3px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-app-text {
  font-size: 15px; color: var(--gray-text);
  max-width: 420px;
}
.footer-app-badges {
  display: flex; gap: 12px;
}
.footer-app-badges img {
  height: 40px; width: auto;
}
.footer-bottom__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: flex-end;
}
.footer-legal a {
  font-size: 14px; color: var(--navy);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--blue); }
.footer-copyright {
  font-size: 14px; color: var(--gray-text);
}
@media (max-width: 1024px) {
  .footer-main { flex-direction: column; gap: 40px; }
  .footer-subscribe { max-width: 100%; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom__right { align-items: flex-start; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .footer-links { gap: 48px; }
  .footer-bottom { padding: 24px 20px; }
  .footer-main { padding: 40px 20px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   PORTFOLIO PAGES (preserved)
   ============================================================ */
.cf-pp-banner{position:relative;overflow:hidden;background-color:var(--navy);}
.cf-pp-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,28,44,0.86) 0%,rgba(5,28,44,0.72) 35%,rgba(5,28,44,0.40) 60%,rgba(5,28,44,0.10) 85%,rgba(5,28,44,0.0) 100%);z-index:1;}
.cf-pp-banner > .padding-global{position:relative;z-index:2;max-width:var(--max-width);margin:0 auto;padding:0 40px;}
@media (max-width:767px){.cf-pp-banner > .padding-global{padding:0 20px;}}
.cf-pp-banner-text{position:relative;z-index:3;padding:0 4px;}
.cf-pp-banner-text h1, .cf-pp-banner-text p{text-shadow:none;}
@media (max-width:767px){.cf-pp-banner-text{display:none !important;}}
.cf-pp-banner-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:64px;align-items:center;padding-top:160px;padding-bottom:80px;}
@media (max-width:991px){.cf-pp-banner-grid{grid-template-columns:1fr;gap:48px;text-align:center;padding-top:140px;padding-bottom:64px;}}
@media (max-width:767px){.cf-pp-banner-grid{display:flex;justify-content:center;align-items:center;padding-top:100px;padding-bottom:40px;}.cf-pp-banner-logo{display:flex;justify-content:center;align-items:center;width:100%;}}
.cf-portfolio-eyebrow{color:var(--blue-light);font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0;}
.cf-pp-banner-logo{display:flex;justify-content:flex-end;}
@media (max-width:991px){.cf-pp-banner-logo{justify-content:center;}}
.cf-pp-circle{width:340px;height:340px;border-radius:50%;overflow:hidden;background:#fff;box-shadow:0 30px 60px -20px rgba(5,28,44,0.25);display:flex;align-items:center;justify-content:center;border:1px solid rgba(34,81,255,0.15);flex:0 0 auto;}
.cf-pp-circle img{width:100%;height:100%;object-fit:cover;display:block;}
@media (max-width:991px){.cf-pp-circle{width:240px;height:240px;}}
.cf-pp-logo-rounded{width:100%;max-width:380px;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -20px rgba(5,28,44,0.25);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.cf-pp-logo-rounded img{width:100%;height:100%;object-fit:contain;display:block;}
@media (max-width:991px){.cf-pp-logo-rounded{max-width:280px;}}
@media (max-width:767px){.cf-pp-logo-rounded{max-width:220px;}}
.cf-pp-back-top{position:absolute;top:100px;left:40px;z-index:6;display:inline-flex;align-items:center;gap:10px;color:var(--white) !important;text-decoration:none;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;background:rgba(5,28,44,0.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:10px 18px;border-radius:999px;border:1px solid rgba(255,255,255,0.3);box-shadow:0 4px 18px rgba(0,0,0,0.22);transition:all .2s ease;}
.cf-pp-back-top:hover{background:var(--white) !important;color:var(--navy) !important;border-color:var(--white);transform:translateX(-3px);box-shadow:0 6px 22px rgba(0,0,0,0.32);}
.cf-pp-back-top .arrow{display:inline-block;transition:transform .2s ease;}
.cf-pp-back-top:hover .arrow{transform:translateX(-2px);}
@media (max-width:767px){.cf-pp-back-top{top:84px;left:20px;font-size:11px;padding:8px 14px;}}
.cf-pp-intro{max-width:760px;padding:0 4px;}
@media (max-width:767px){.cf-pp-intro{padding:0;}}
.cf-pp-stats-rail{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;padding:36px 0;border-top:1px solid rgba(5,28,44,0.15);border-bottom:1px solid rgba(5,28,44,0.15);margin-top:56px;}
@media (min-width:768px){.cf-pp-stats-rail{grid-template-columns:repeat(4,1fr);gap:40px;}}
.cf-pp-stat-v{font-size:40px;line-height:1.05;color:var(--navy);font-weight:600;letter-spacing:-0.02em;font-family:var(--font-serif);}
.cf-pp-stat-l{font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--blue);margin-top:12px;font-weight:600;}
.cf-eyebrow{color:var(--blue);font-size:12px;letter-spacing:0.22em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-pp-pillars{display:grid;grid-template-columns:1fr;gap:1px;background:rgba(5,28,44,0.15);margin-top:48px;border:1px solid rgba(5,28,44,0.15);}
@media (min-width:768px){.cf-pp-pillars{grid-template-columns:repeat(2,1fr);}}
.cf-pp-pillar-cell{background:#fff;padding:40px 36px 44px;}
.cf-pp-pillar-head{display:flex;align-items:baseline;gap:14px;}
.cf-pp-pillar-n{font-family:var(--font-serif);font-style:italic;font-size:15px;color:var(--blue);letter-spacing:0.04em;}
.cf-pp-pillar-t{font-family:var(--font-serif);font-size:24px;line-height:1.2;color:var(--navy);letter-spacing:-0.005em;margin:0;}
.cf-pp-pillar-b{font-size:15px;line-height:1.7;color:var(--gray-text);margin-top:18px;}
.section{padding:80px 0;}
.section--gray{background:var(--off-white);}
@media (max-width:767px){.section{padding:60px 0;}}
.cf-bs-section{background:linear-gradient(180deg,var(--off-white) 0%,#fff 100%);}
.cf-bs-stack{display:flex;flex-direction:column;gap:8px;margin-top:48px;}
.cf-bs-layer{display:grid;grid-template-columns:80px 1fr;align-items:center;background:#fff;border:1px solid rgba(5,28,44,0.12);border-left:4px solid var(--accent);border-radius:8px;padding:24px 28px;transition:all .25s ease;}
.cf-bs-layer:hover{transform:translateX(8px);box-shadow:0 12px 32px -12px rgba(34,81,255,0.18);}
.cf-bs-layer-n{font-family:var(--font-serif);font-size:32px;color:var(--accent);font-weight:600;}
.cf-bs-layer-body h4{font-family:var(--font-serif);font-size:22px;color:var(--navy);margin:0 0 6px;letter-spacing:-0.005em;}
.cf-bs-layer-body p{font-size:15px;line-height:1.6;color:var(--gray-text);margin:0;}
@media (max-width:767px){.cf-bs-layer{grid-template-columns:60px 1fr;padding:20px;}.cf-bs-layer-n{font-size:24px;}}

/* ---- Warm dark-theme banner (Bullshot) ---- */
.cf-pp-banner--light{background:#0a0503;min-height:520px;display:flex;align-items:center;}
.cf-pp-banner--light::before{display:none;}
.cf-pp-banner--light .cf-pp-banner-grid{padding-top:150px;padding-bottom:80px;}
.cf-pp-banner--light .cf-portfolio-eyebrow{color:#ffb347;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0;}
.cf-pp-banner--light h1{color:var(--white) !important;}
.cf-pp-banner--light .cf-pp-banner-text p{color:rgba(255,255,255,0.92) !important;font-size:1.15rem;line-height:1.65;max-width:520px;}
.cf-pp-banner--light .cf-pp-circle{background:var(--white);border:none;box-shadow:0 30px 70px -15px rgba(0,0,0,0.35);}
.cf-pp-banner--light .cf-pp-back-top{background:rgba(255,255,255,0.12);border-color:rgba(255,255,255,0.35);color:var(--white) !important;}
.cf-pp-banner--light .cf-pp-back-top:hover{background:var(--white) !important;color:#1a0a05 !important;border-color:var(--white);}
.cf-pp-section--white{background:var(--white);}
.cf-pp-section--tint{background:linear-gradient(180deg,#f0f5ff 0%,var(--white) 100%);}
.cf-pp-section--blue{background:#2563eb;color:var(--white);}
.cf-pp-section--blue .cf-eyebrow{color:rgba(255,255,255,0.8);}
.cf-pp-section--blue h2{color:var(--white);}
.cf-pp-section--blue p{color:rgba(255,255,255,0.9);}
.cf-pp-cta-btn{display:inline-block;background:var(--white);color:#2563eb;padding:14px 32px;font-size:15px;font-weight:600;border-radius:4px;border:none;cursor:pointer;transition:all .2s ease;text-decoration:none;}
.cf-pp-cta-btn:hover{background:var(--off-white);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.15);}
.cf-bd-section{background:var(--navy);color:var(--white);}
.cf-bd-section .cf-eyebrow{color:#FFD93D;}
.cf-bd-section h2{color:var(--white);}
.cf-bd-grid{display:grid;grid-template-columns:1fr;gap:0;margin-top:48px;border-top:1px solid rgba(255,255,255,0.18);}
@media (min-width:768px){.cf-bd-grid{grid-template-columns:repeat(2,1fr);border-right:1px solid rgba(255,255,255,0.18);}}
.cf-bd-cell{padding:48px 0;border-bottom:1px solid rgba(255,255,255,0.18);}
@media (min-width:768px){.cf-bd-cell{padding:60px 40px;border-left:1px solid rgba(255,255,255,0.18);}}
.cf-bd-num{font-family:var(--font-serif);font-size:88px;line-height:0.95;color:#FFD93D;letter-spacing:-0.04em;}
@media (min-width:768px){.cf-bd-num{font-size:120px;}}
.cf-bd-label{font-size:13px;letter-spacing:0.18em;text-transform:uppercase;color:rgba(255,255,255,0.6);margin-top:18px;font-weight:600;}
.cf-bd-note{font-size:16px;line-height:1.65;color:rgba(255,255,255,0.78);margin-top:18px;max-width:42ch;}

/* ---- Responsive Project Grid Helpers ---- */
.cf-bs-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 767px) {
  .cf-bs-badges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cf-bs-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cf-bs-highlight-item {
  text-align: center;
  padding: 24px;
}
.cf-bs-highlight-item.middle {
  border-left: 1px solid rgba(0,0,0,0.06);
  border-right: 1px solid rgba(0,0,0,0.06);
}
@media (max-width: 767px) {
  .cf-bs-highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cf-bs-highlight-item {
    padding: 16px 0;
  }
  .cf-bs-highlight-item.middle {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 24px 0;
  }
}

.cf-bs-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 991px) {
  .cf-bs-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .cf-bs-partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cf-bs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .cf-bs-features-grid {
    grid-template-columns: 1fr;
  }
}

.bd-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 767px) {
  .bd-screenshots-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.wb-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 767px) {
  .wb-properties-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cf-article-cards--2cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 767px) {
  .cf-article-cards--2cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   FOUNDER SECTION — Matthew Moore
   ============================================================ */
.cf-founder-section{background:linear-gradient(180deg,#f0f5ff 0%,#e8f0ff 40%,#f0f5ff 100%);position:relative;overflow:hidden;padding:100px 0 120px;}
@media (max-width:767px){.cf-founder-section{padding:64px 0 80px;}}
.cf-founder-section::before{content:"";position:absolute;top:-200px;right:-200px;width:600px;height:600px;background:radial-gradient(circle,rgba(77,127,255,0.08) 0%,transparent 70%);border-radius:50%;pointer-events:none;}
.cf-founder-section::after{content:"";position:absolute;bottom:-150px;left:-100px;width:500px;height:500px;background:radial-gradient(circle,rgba(34,81,255,0.06) 0%,transparent 70%);border-radius:50%;pointer-events:none;}
.cf-founder-inner{position:relative;z-index:1;max-width:var(--max-width);margin:0 auto;padding:0 40px;}
@media (max-width:767px){.cf-founder-inner{padding:0 20px;}}
.cf-founder-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center;}
@media (max-width:991px){.cf-founder-grid{grid-template-columns:1fr;gap:56px;text-align:center;}}
@media (max-width:767px){.cf-founder-grid{gap:40px;}}

/* Founder image area */
.cf-founder-visual{position:relative;display:flex;justify-content:center;}
.cf-founder-frame{position:relative;width:420px;height:520px;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#e8f0ff 0%,#d4e4ff 50%,#c8daff 100%);box-shadow:0 40px 80px -20px rgba(34,81,255,0.18),0 0 0 1px rgba(34,81,255,0.08);display:flex;align-items:center;justify-content:center;}
@media (max-width:767px){.cf-founder-frame{width:280px;height:360px;border-radius:20px;}}
.cf-founder-frame::before{content:"";position:absolute;inset:12px;border:2px dashed rgba(34,81,255,0.25);border-radius:16px;pointer-events:none;}
.cf-founder-frame::after{content:"";position:absolute;top:-30px;right:-30px;width:120px;height:120px;background:radial-gradient(circle,rgba(77,127,255,0.15) 0%,transparent 70%);border-radius:50%;pointer-events:none;}
.cf-founder-placeholder{display:flex;flex-direction:column;align-items:center;gap:16px;color:rgba(34,81,255,0.45);}
.cf-founder-placeholder svg{width:64px;height:64px;opacity:0.5;}
.cf-founder-placeholder span{font-size:13px;letter-spacing:0.12em;text-transform:uppercase;font-weight:600;}

/* Decorative accent ring behind image */
.cf-founder-accent-ring{position:absolute;top:-24px;left:-24px;width:468px;height:568px;border:2px solid rgba(34,81,255,0.12);border-radius:32px;pointer-events:none;z-index:-1;}
@media (max-width:767px){.cf-founder-accent-ring{width:316px;height:396px;border-radius:28px;top:-16px;left:-16px;}}
.cf-founder-accent-ring::before{content:"";position:absolute;top:40px;right:-20px;width:40px;height:40px;background:linear-gradient(135deg,#4d7fff,#82b1ff);border-radius:50%;opacity:0.6;box-shadow:0 8px 24px rgba(77,127,255,0.3);}
.cf-founder-accent-ring::after{content:"";position:absolute;bottom:60px;left:-16px;width:24px;height:24px;background:linear-gradient(135deg,#ffb347,#ff8c00);border-radius:50%;opacity:0.5;box-shadow:0 6px 18px rgba(255,140,0,0.25);}

/* Founder text content */
.cf-founder-content{position:relative;}
.cf-founder-eyebrow{color:var(--blue);font-size:12px;letter-spacing:0.22em;text-transform:uppercase;font-weight:600;margin:0 0 20px;display:inline-flex;align-items:center;gap:12px;}
.cf-founder-eyebrow::before{content:"";display:block;width:32px;height:2px;background:linear-gradient(90deg,var(--blue),#82b1ff);}
@media (max-width:991px){.cf-founder-eyebrow{justify-content:center;}}
.cf-founder-name{font-family:var(--font-serif);font-size:52px;line-height:1.1;color:var(--navy);letter-spacing:-0.02em;margin:0 0 8px;font-weight:600;}
@media (max-width:767px){.cf-founder-name{font-size:38px;}}
.cf-founder-title{font-size:18px;color:var(--blue);font-weight:500;margin:0 0 32px;}
@media (max-width:767px){.cf-founder-title{font-size:16px;margin-bottom:24px;}}

/* Quote block */
.cf-founder-quote{position:relative;padding:24px 36px 20px;background:rgba(255,255,255,0.7);border-left:4px solid var(--blue);border-radius:0 12px 12px 0;margin:24px 0 32px;box-shadow:0 4px 20px rgba(34,81,255,0.06);}
@media (max-width:767px){.cf-founder-quote{padding:20px 28px 16px;margin:20px 0 24px;}}
.cf-founder-quote::before{content:"";position:absolute;top:12px;left:32px;width:32px;height:32px;background:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"%232251ff\"><path d=\"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z\" opacity=\"0.15\"/></svg>') no-repeat center;background-size:contain;}
.cf-founder-quote p{font-family:var(--font-serif);font-size:20px;line-height:1.55;color:var(--navy);font-style:italic;margin:32px 0 0;}
@media (max-width:767px){.cf-founder-quote p{font-size:17px;margin-top:24px;}}

/* Founder bio */
.cf-founder-bio{font-size:15px;line-height:1.75;color:var(--gray-text);margin:0 0 36px;max-width:48ch;}
@media (max-width:991px){.cf-founder-bio{max-width:60ch;margin-left:auto;margin-right:auto;}}

/* Founder stats row */
.cf-founder-stats{display:flex;gap:40px;}
@media (max-width:991px){.cf-founder-stats{justify-content:center;}}
@media (max-width:767px){.cf-founder-stats{gap:20px;flex-wrap:wrap;}}
.cf-founder-stat{text-align:left;}
@media (max-width:991px){.cf-founder-stat{text-align:center;}}
.cf-founder-stat-v{font-family:var(--font-serif);font-size:36px;line-height:1;color:var(--navy);font-weight:600;letter-spacing:-0.02em;}
@media (max-width:767px){.cf-founder-stat-v{font-size:26px;}}
.cf-founder-stat-l{font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--blue);margin-top:8px;font-weight:600;}
@media (max-width:767px){.cf-founder-stat-l{font-size:10px;letter-spacing:0.12em;}}

/* Decorative bottom accent line */
.cf-founder-accent-line{width:80px;height:3px;background:linear-gradient(90deg,var(--blue),#82b1ff,#4d7fff);border-radius:2px;margin-top:40px;}
@media (max-width:991px){.cf-founder-accent-line{margin:40px auto 0;}}

/* ---- Founder Slider Carousel ---- */
.cf-founder-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 24px;
}
.cf-founder-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 200%;
}
.cf-founder-slide {
  width: 50%;
  flex-shrink: 0;
  padding: 0 60px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .cf-founder-slide {
    padding: 0 20px;
  }
}
/* Slider arrows */
.cf-slider-nav {
  position: absolute;
  top: 50%;
  left: -90px;
  right: -90px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}
.cf-slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(176, 158, 255, 0.2);
  color: #b09eff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0;
}
.cf-slider-nav-btn:hover {
  background: #b09eff;
  color: #0e0d1d;
  border-color: #b09eff;
  box-shadow: 0 0 15px rgba(176, 158, 255, 0.4);
}
.cf-slider-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Pagination Dots */
.cf-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  position: relative;
  z-index: 5;
}
.cf-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(176, 158, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
}
.cf-slider-dot:hover {
  background: rgba(176, 158, 255, 0.4);
}
.cf-slider-dot.is-active {
  background: #b09eff;
  transform: scale(1.15);
  border-color: #b09eff;
  box-shadow: 0 0 10px rgba(176, 158, 255, 0.6);
}

@media (max-width: 1400px) {
  .cf-slider-nav {
    left: -60px;
    right: -60px;
  }
}
@media (max-width: 1200px) {
  .cf-slider-nav {
    left: -20px;
    right: -20px;
  }
}
@media (max-width: 991px) {
  .cf-slider-nav {
    position: static;
    transform: none;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    pointer-events: auto;
  }
}

.cf-zp-section{background:var(--off-white);}
.cf-zp-flow{display:grid;grid-template-columns:1fr;gap:12px;margin-top:48px;}
@media (min-width:768px){.cf-zp-flow{grid-template-columns:repeat(5,1fr);gap:0;position:relative;}}
.cf-zp-step{background:#fff;border:1px solid rgba(5,28,44,0.12);padding:28px 22px 32px;position:relative;transition:transform .2s ease;}
.cf-zp-step:hover{transform:translateY(-4px);box-shadow:0 16px 40px -16px rgba(34,81,255,0.2);}
@media (min-width:768px){
  .cf-zp-step:not(:last-child)::after{content:"\2192";position:absolute;right:-12px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border-radius:50%;font-size:13px;z-index:2;}
}
.cf-zp-step-n{font-family:var(--font-serif);font-size:13px;font-style:italic;color:var(--blue);}
.cf-zp-step-name{font-family:var(--font-serif);font-size:22px;color:var(--navy);margin:10px 0 12px;}
.cf-zp-step-body{font-size:14px;line-height:1.6;color:var(--gray-text);margin:0;}
.cf-hp-vs{display:grid;grid-template-columns:1fr;gap:1px;background:rgba(5,28,44,0.15);margin-top:64px;border:1px solid rgba(5,28,44,0.15);}
@media (min-width:768px){.cf-hp-vs{grid-template-columns:1fr 1fr;}}
.cf-hp-vs-col{background:#fff;padding:36px;}
.cf-hp-vs-col.is-happy{background:var(--blue);color:#fff;}
.cf-hp-vs-col h4{font-family:var(--font-serif);font-size:24px;margin:0 0 24px;}
.cf-hp-vs-col.is-happy h4{color:#fff;}
.cf-hp-vs-list{list-style:none;padding:0;margin:0;}
.cf-hp-vs-list li{padding:12px 0;border-bottom:1px solid rgba(5,28,44,0.08);font-size:15px;line-height:1.5;display:flex;align-items:flex-start;gap:12px;}
.cf-hp-vs-col.is-happy .cf-hp-vs-list li{border-bottom-color:rgba(255,255,255,0.18);color:rgba(255,255,255,0.92);}
.cf-hp-vs-list li:last-child{border-bottom:none;}
.cf-hp-vs-list .mark{flex-shrink:0;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;margin-top:2px;}
.cf-hp-vs-col:not(.is-happy) .mark{background:rgba(220,38,38,0.12);color:#DC2626;}
.cf-hp-vs-col.is-happy .mark{background:rgba(255,255,255,0.2);color:#fff;}
.cf-ox-section{background:var(--navy);color:var(--white);position:relative;overflow:hidden;}
.cf-ox-section::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center top,rgba(34,81,255,0.18) 0%,transparent 70%);pointer-events:none;}
.cf-ox-section > .container{position:relative;z-index:1;}
.cf-ox-section .cf-eyebrow{color:var(--blue-light);}
.cf-ox-section h2{color:var(--white);}
.cf-ox-arch{margin-top:48px;}
.cf-ox-verticals{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:32px;position:relative;}
@media (min-width:768px){.cf-ox-verticals{grid-template-columns:repeat(3,1fr);gap:24px;}}
.cf-ox-vert{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.15);border-top:3px solid var(--accent);padding:32px 28px;border-radius:8px;position:relative;}
.cf-ox-vert::after{content:"";display:none;position:absolute;bottom:-32px;left:50%;width:1px;height:32px;background:linear-gradient(180deg,var(--accent) 0%,rgba(255,255,255,0.2) 100%);}
@media (min-width:768px){.cf-ox-vert::after{display:block;}}
.cf-ox-vert-tag{font-size:11px;letter-spacing:0.22em;text-transform:uppercase;color:var(--accent);font-weight:600;}
.cf-ox-vert-name{font-family:var(--font-serif);font-size:26px;color:#fff;margin:14px 0 16px;}
.cf-ox-vert-body{font-size:15px;line-height:1.65;color:rgba(255,255,255,0.75);margin:0 0 18px;}
.cf-ox-vert-eg{font-size:13px;letter-spacing:0.04em;color:rgba(255,255,255,0.55);font-style:italic;}
.cf-ox-settlement{background:linear-gradient(90deg,var(--blue) 0%,var(--blue-light) 100%);padding:40px 36px;border-radius:8px;margin-top:32px;display:flex;flex-direction:column;align-items:center;text-align:center;}
@media (min-width:768px){.cf-ox-settlement{padding:48px 40px;}}
.cf-ox-settlement-tag{font-size:11px;letter-spacing:0.28em;text-transform:uppercase;color:rgba(255,255,255,0.7);font-weight:600;}
.cf-ox-settlement-h{font-family:var(--font-serif);font-size:32px;color:#fff;margin:14px 0 12px;letter-spacing:-0.01em;}
@media (min-width:768px){.cf-ox-settlement-h{font-size:42px;}}
.cf-ox-settlement-b{font-size:16px;line-height:1.65;color:rgba(255,255,255,0.85);max-width:56ch;margin:0;}

/* ---- OracleX: light-theme overrides ---- */
.cf-ox-section--light{background:transparent;color:var(--navy);}
.cf-ox-section--light::before{display:none;}
.cf-ox-section--light .cf-eyebrow{color:var(--blue);}
.cf-ox-section--light h2{color:var(--navy);}
.cf-ox-section--light .cf-ox-vert{background:var(--white);border:1px solid rgba(5,28,44,0.12);border-top:3px solid var(--accent);}
.cf-ox-section--light .cf-ox-vert-name{color:var(--navy);}
.cf-ox-section--light .cf-ox-vert-body{color:var(--gray-text);}
.cf-ox-section--light .cf-ox-vert-eg{color:rgba(5,28,44,0.55);border-top:1px solid rgba(5,28,44,0.08);padding-top:12px;margin-top:12px;}
.cf-section-head{margin-bottom:8px;}
.cf-section-head h2{font-family:var(--font-serif);font-size:48px;line-height:1.05;color:var(--navy);margin:0;letter-spacing:-0.015em;}
@media (min-width:768px){.cf-section-head h2{font-size:60px;}}
.cf-section-sub{font-size:17px;line-height:1.6;color:var(--gray-text);max-width:60ch;margin:20px 0 0;}
.cf-bd-section .cf-section-head h2,.cf-ox-section .cf-section-head h2{color:var(--white);}
.cf-bd-section .cf-section-sub{color:rgba(255,255,255,0.78);}
.cf-ox-section .cf-section-sub{color:rgba(255,255,255,0.78);}

/* ---- B.Duck Digital: light-theme stats & phases ---- */
.cf-bd-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-top:1px solid rgba(5,28,44,0.12);border-left:1px solid rgba(5,28,44,0.12);}
@media (min-width:1100px){.cf-bd-stats{grid-template-columns:repeat(4,1fr);}}
.cf-bd-stat{padding:32px 28px;border-right:1px solid rgba(5,28,44,0.12);border-bottom:1px solid rgba(5,28,44,0.12);background:rgba(255,255,255,0.7);}
.cf-bd-stat-v{font-family:var(--font-serif);font-size:48px;line-height:1;color:var(--navy);letter-spacing:-0.02em;font-weight:600;}
@media (min-width:768px){.cf-bd-stat-v{font-size:56px;}}
.cf-bd-stat-l{font-size:13px;letter-spacing:0.18em;text-transform:uppercase;color:rgba(5,28,44,0.65);margin-top:16px;font-weight:600;line-height:1.4;}
.cf-bd-phases{display:flex;flex-direction:column;gap:14px;}
@media (min-width:768px){.cf-bd-phases{flex-direction:row;gap:0;border:1px solid rgba(5,28,44,0.12);background:var(--white);}}
.cf-bd-phase{padding:18px 20px;background:var(--white);border:1px solid rgba(5,28,44,0.12);position:relative;flex:1;}
@media (min-width:768px){.cf-bd-phase{border:none;border-right:1px solid rgba(5,28,44,0.12);}.cf-bd-phase:last-child{border-right:none;}}
.cf-bd-phase-tag{font-family:var(--font-serif);font-style:italic;font-size:13px;color:var(--blue);letter-spacing:0.02em;}
.cf-bd-phase-title{font-family:var(--font-serif);font-size:18px;color:var(--navy);margin:6px 0 0;font-weight:600;letter-spacing:-0.005em;line-height:1.3;}

/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */
.cf-lead-banner{position:relative;overflow:hidden;background:#020510;min-height:520px;display:flex;align-items:center;}
.cf-lead-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-lead-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-lead-banner > .container{position:relative;z-index:2;padding:0;}
@media (max-width:767px){.cf-lead-banner > .container{padding:0;}}
.cf-lead-banner__eyebrow{color:#00d2ff;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-lead-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-lead-banner__title em{color:#00d2ff;font-style:italic;}
.cf-lead-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:600px;margin:0;}
/* Removed lead banner after gradient */
/* Blend into founder section (light blue) below */

.cf-lead-cards{display:grid;grid-template-columns:1fr;gap:24px;margin-top:56px;}
@media (min-width:768px){.cf-lead-cards{grid-template-columns:repeat(3,1fr);gap:32px;}}
.cf-lead-card{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;}
.cf-lead-card:hover{transform:translateY(-6px);box-shadow:0 20px 48px -16px rgba(34,81,255,0.18);}
.cf-lead-card__img{width:100%;height:220px;object-fit:cover;display:block;}
.cf-lead-card__body{padding:28px 24px 32px;}
.cf-lead-card__body h3{font-family:var(--font-serif);font-size:22px;color:var(--navy);margin:0 0 10px;letter-spacing:-0.005em;}
.cf-lead-card__body p{font-size:15px;line-height:1.6;color:var(--gray-text);margin:0;}
.cf-engage-wrap{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;margin-top:48px;}
@media (min-width:768px){.cf-engage-wrap{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-engage-list{display:flex;flex-direction:column;gap:28px;}
.cf-engage-item{display:flex;align-items:flex-start;gap:18px;}
.cf-engage-icon{width:48px;height:48px;border-radius:12px;background:var(--white);border:1px solid var(--border-light);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cf-engage-icon img{width:28px;height:28px;object-fit:contain;}
.cf-engage-text h4{font-family:var(--font-serif);font-size:18px;color:var(--navy);margin:0 0 6px;}
.cf-engage-text p{font-size:15px;line-height:1.6;color:var(--gray-text);margin:0;}
.cf-engage-img{width:100%;border-radius:10px;overflow:hidden;}
.cf-engage-img img{width:100%;height:auto;object-fit:cover;display:block;}
.cf-insight-grid{display:grid;grid-template-columns:1fr;gap:24px;margin-top:56px;}
@media (min-width:768px){.cf-insight-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.cf-insight-grid{grid-template-columns:repeat(4,1fr);}}
.cf-insight-card{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;}
.cf-insight-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px -12px rgba(34,81,255,0.15);}
.cf-insight-card__img{width:100%;height:180px;object-fit:cover;display:block;}
.cf-insight-card__body{padding:20px 20px 24px;flex:1;display:flex;flex-direction:column;}
.cf-insight-card__body h4{font-family:var(--font-serif);font-size:16px;color:var(--navy);margin:0 0 10px;line-height:1.3;letter-spacing:-0.005em;}
.cf-insight-card__body p{font-size:14px;line-height:1.55;color:var(--gray-text);margin:0;flex:1;}

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.cf-insights-banner{position:relative;overflow:hidden;background:#02040a;min-height:420px;display:flex;align-items:center;}
.cf-insights-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-insights-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-insights-banner > .container{position:relative;z-index:2;padding:0;}
@media (max-width:767px){.cf-insights-banner > .container{padding:0;}}
.cf-insights-banner__eyebrow{color:#00d2ff;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-insights-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-insights-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:600px;margin:0;}
/* Blend into dark section below */
/* Removed insights banner after gradient */
.cf-articles-grid{display:grid;grid-template-columns:1fr;gap:24px;margin-top:56px;}
@media (min-width:768px){.cf-articles-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.cf-articles-grid{grid-template-columns:repeat(3,1fr);}}
.cf-article-card{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;}
.cf-article-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px -12px rgba(34,81,255,0.15);}
.cf-article-card__img{width:100%;height:200px;object-fit:cover;display:block;}
.cf-article-card__body{padding:20px 20px 24px;flex:1;display:flex;flex-direction:column;}
.cf-article-card__body h4{font-family:var(--font-serif);font-size:17px;color:var(--navy);margin:0 0 10px;line-height:1.3;letter-spacing:-0.005em;}
.cf-article-card__body p{font-size:14px;line-height:1.55;color:var(--gray-text);margin:0;flex:1;}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

/* ---- Portfolio Hero ---- */
.portfolio-hero {
  position: relative;
  background: linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%);
  padding: 0;
  overflow: hidden;
  text-align: left;
  min-height: 480px;
}
/* Blend into white projects section below */
/* Removed portfolio hero after gradient */
.portfolio-hero__inner {
  position: relative;
  z-index: 2;
}
.portfolio-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #a880ff;
  margin-bottom: 24px;
}
.portfolio-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.portfolio-hero__desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Portfolio Projects ---- */
.portfolio-projects {
  background: var(--white);
  padding: 80px 0 120px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.portfolio-grid .project-card {
  grid-column: span 2;
}
.portfolio-grid .project-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.portfolio-grid .project-card:nth-child(5) {
  grid-column: 4 / span 2;
}
@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .portfolio-grid .project-card {
    grid-column: span 2;
  }
  .portfolio-grid .project-card:nth-child(4) {
    grid-column: span 2;
  }
  .portfolio-grid .project-card:nth-child(5) {
    grid-column: 2 / span 2;
  }
}
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-grid .project-card {
    grid-column: span 1 !important;
  }
  .portfolio-grid .project-card:nth-child(4),
  .portfolio-grid .project-card:nth-child(5) {
    grid-column: span 1 !important;
  }
}

.project-card {
  display: block;
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.project-card:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.project-card__visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.project-card__logo-wrap {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
}
.project-card__logo-wrap--wide {
  width: 360px;
  height: 220px;
}
.project-card__logo-wrap--xl {
  width: 440px;
  height: 300px;
}
.project-card__logo-wrap--happy {
  width: 540px;
  max-width: 100%;
  height: 260px;
}
.project-card__logo-wrap--meme {
  width: 540px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1206 / 431;
}
.project-card__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card__logo-wrap img {
  transform: scale(1.05);
}
.project-card__body {
  padding: 28px 28px 32px;
}
.project-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-card__arrow {
  color: var(--blue);
  font-size: 1.3em;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card__arrow {
  transform: translateX(5px);
}
.project-card__tagline {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-hero { padding: 0; }
}

/* ============================================================
   FOUNDRY PAGE
   ============================================================ */

/* ---- Banner ---- */
.cf-foundry-banner{position:relative;overflow:hidden;background:linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%);min-height:520px;display:flex;align-items:center;}
.cf-foundry-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-foundry-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-foundry-banner > .container{position:relative;z-index:2;padding:0;}
@media (max-width:767px){.cf-foundry-banner > .container{padding:0;}}
.cf-foundry-banner__eyebrow{color:#00d2ff;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-foundry-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-foundry-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:600px;margin:0;}
/* Blend into white intro section below */
/* Removed foundry banner after gradient */

/* ---- Introduction ---- */
.cf-foundry-intro{display:grid;grid-template-columns:1fr;gap:48px;align-items:start;margin-top:16px;}
@media (min-width:768px){.cf-foundry-intro{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-foundry-intro__left .cf-eyebrow{color:#4d7fff;}
.cf-foundry-intro__left h2{font-family:var(--font-serif);font-size:clamp(1.75rem,3vw,2.5rem);color:var(--navy);line-height:1.2;margin:8px 0 0;}
.cf-foundry-stat{border-left:3px solid #4d7fff;padding-left:24px;margin-top:32px;}
.cf-foundry-stat__num{font-family:var(--font-serif);font-size:3rem;font-weight:600;color:var(--navy);line-height:1;margin:0 0 8px;}
.cf-foundry-stat__label{font-size:0.875rem;color:var(--gray-text);}
.cf-foundry-intro__right p{font-size:1.05rem;line-height:1.8;color:var(--gray-text);margin:0 0 20px;}
.cf-foundry-intro__right p:last-child{margin-bottom:0;}

/* ---- Capability Cards ---- */
.cf-foundry-cards{display:grid;grid-template-columns:1fr;gap:24px;margin-top:56px;}
@media (min-width:768px){.cf-foundry-cards{grid-template-columns:repeat(3,1fr);gap:32px;}}
.cf-foundry-card{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;}
.cf-foundry-card:hover{transform:translateY(-6px);box-shadow:0 20px 48px -16px rgba(34,81,255,0.15);}
.cf-foundry-card__img{width:100%;height:220px;object-fit:cover;display:block;}
.cf-foundry-card__body{padding:28px 24px 32px;flex:1;display:flex;flex-direction:column;}
.cf-foundry-card__tag{display:inline-block;color:#4d7fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:10px;}
.cf-foundry-card__body h3{font-family:var(--font-serif);font-size:22px;color:var(--navy);margin:0 0 10px;letter-spacing:-0.005em;line-height:1.25;}
.cf-foundry-card__body p{font-size:15px;line-height:1.7;color:var(--gray-text);margin:0;flex:1;}
.cf-foundry-card__link{display:inline-flex;align-items:center;margin-top:18px;color:var(--navy);text-decoration:none;font-size:13px;font-weight:600;transition:color .2s ease;}
.cf-foundry-card__link svg{width:14px;height:14px;margin-left:6px;transition:transform .2s ease;}
.cf-foundry-card:hover .cf-foundry-card__link{color:#4d7fff;}
.cf-foundry-card:hover .cf-foundry-card__link svg{transform:translateX(4px);}

/* ---- Feature / Methodology ---- */
.cf-foundry-feature{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;margin-top:16px;}
@media (min-width:768px){.cf-foundry-feature{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-foundry-feature__img{width:100%;border-radius:10px;overflow:hidden;}
.cf-foundry-feature__img img{width:100%;height:auto;object-fit:cover;display:block;}
.cf-foundry-feature__text .cf-eyebrow{color:#4d7fff;}
.cf-foundry-feature__text h2{font-family:var(--font-serif);font-size:clamp(1.75rem,3vw,2.5rem);color:var(--navy);line-height:1.2;margin:8px 0 20px;}
.cf-foundry-feature__text > p{font-size:1.05rem;line-height:1.8;color:var(--gray-text);margin:0 0 24px;}
.cf-foundry-list{list-style:none;padding:0;margin:0;}
.cf-foundry-list li{padding:12px 0 12px 28px;position:relative;font-size:0.95rem;color:var(--navy);border-bottom:1px solid var(--border-light);line-height:1.5;}
.cf-foundry-list li:last-child{border-bottom:none;}
.cf-foundry-list li::before{content:'';position:absolute;left:0;top:1.15rem;width:8px;height:8px;background:#4d7fff;border-radius:50%;}

/* ---- Metrics Strip ---- */
.cf-foundry-metrics{background:#0d1b2a;padding:64px 0;}
.cf-foundry-metrics__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 24px;text-align:center;}
@media (min-width:768px){.cf-foundry-metrics__grid{grid-template-columns:repeat(4,1fr);gap:24px;}}
.cf-foundry-metric__num{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);font-weight:600;color:#2251ff;line-height:1;margin:0 0 8px;}
.cf-foundry-metric__label{font-size:0.875rem;color:rgba(255,255,255,0.85);}

/* ---- Insights Grid ---- */
.cf-foundry-insights{display:grid;grid-template-columns:1fr;gap:24px;margin-top:48px;align-items:stretch;}
@media (min-width:768px){.cf-foundry-insights{grid-template-columns:repeat(2,1fr);}}
.cf-foundry-insight{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;text-decoration:none;color:inherit;height:100%;}
.cf-foundry-insight:hover{transform:translateY(-3px);box-shadow:0 12px 32px -8px rgba(34,81,255,0.12);}
.cf-foundry-insight__img{width:100%;height:280px;object-fit:cover;display:block;}
.cf-foundry-insight__body{padding:24px;display:flex;flex-direction:column;justify-content:center;flex:1;}
.cf-foundry-insight__tag{color:#4d7fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:6px;}
.cf-foundry-insight__body h4{font-family:var(--font-serif);font-size:16px;color:var(--navy);margin:0 0 8px;line-height:1.35;letter-spacing:-0.005em;transition:color .2s ease;}
.cf-foundry-insight:hover .cf-foundry-insight__body h4{color:#4d7fff;}
.cf-foundry-insight__date{font-size:13px;color:var(--gray-text);}
@media (max-width:767px){.cf-foundry-insight__img{height:240px;}.cf-foundry-insight__body{padding:20px;}}

/* ---- CTA Section ---- */
.cf-foundry-cta{background:#0d1b2a;padding:80px 0;text-align:center;position:relative;overflow:hidden;}
.cf-foundry-cta__content{position:relative;z-index:1;max-width:700px;margin:0 auto;}
.cf-foundry-cta__content h2{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);color:var(--white);margin:0 0 20px;line-height:1.2;}
.cf-foundry-cta__content p{font-size:1.1rem;color:rgba(255,255,255,0.7);margin:0 0 36px;}
.cf-foundry-cta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.cf-btn-primary{display:inline-flex;align-items:center;padding:14px 32px;background:#2251ff;color:#fff;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;transition:all .3s ease;border:none;cursor:pointer;}
.cf-btn-primary:hover{background:#1a47e0;transform:translateY(-2px);box-shadow:0 8px 24px rgba(34,81,255,0.35);}
.cf-btn-secondary{display:inline-flex;align-items:center;padding:14px 32px;background:transparent;color:var(--navy);text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;border:1px solid var(--navy);transition:all .3s ease;cursor:pointer;}
.cf-btn-secondary:hover{background:var(--navy);color:#fff;border-color:var(--navy);transform:translateY(-2px);box-shadow:0 8px 24px rgba(5,28,44,0.2);}

/* ============================================================
   VENTURE & GROWTH PAGE
   ============================================================ */

/* ---- Banner ---- */
.cf-vg-banner{position:relative;overflow:hidden;background:#031215;min-height:480px;display:flex;align-items:center;}
.cf-vg-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-vg-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-vg-banner > .container{position:relative;z-index:2;padding:0;}
@media (max-width:767px){.cf-vg-banner > .container{padding:0;}}
.cf-vg-banner__eyebrow{color:#2de2d6;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-vg-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-vg-banner__title em{color:#2de2d6;font-style:italic;}
.cf-vg-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:600px;margin:0;}
/* Blend into white section below */
/* Removed venture growth banner after gradient */

/* ============================================================
   SPLIT-LAYOUT HERO SYSTEM (v2 banners)
   ============================================================ */

/* Base split layout */
.cf-hero-split{display:grid;grid-template-columns:1fr;gap:0;align-items:center;min-height:inherit;}
@media (min-width:768px){.cf-hero-split{grid-template-columns:1fr 1fr;}}

/* Liquid glassmorphism card for subpage banner text */
.cf-hero-split__text {
  position: relative;
  z-index: 3;
  padding: 32px 24px;
  background: rgba(2, 5, 15, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.35),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  margin: 0 0 40px;
}

@media (min-width: 768px) {
  .cf-hero-split__text {
    padding: 48px 40px;
    margin: 40px 0;
  }
  .cf-hero-split__text--left {
    margin-right: 32px;
  }
  .cf-hero-split__text--right {
    margin-left: 32px;
  }
}

.cf-hero-split__text > * {
  position: relative;
  z-index: 2;
}
.cf-hero-split__visual{display:none;}
@media (min-width:768px){.cf-hero-split__visual{display:block;}}

/* ---- About banner adjustments ---- */
.cf-about-banner{position:relative;overflow:hidden;background:#1a1f26;min-height:520px;display:flex;align-items:center;}
.cf-about-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-about-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-about-banner > .container{position:relative;z-index:2;}
.cf-about-banner__eyebrow{color:#e07a5f;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-about-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-about-banner__title em{color:#e07a5f;font-style:italic;}
.cf-about-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:560px;margin:0;}

/* ---- Animations ---- */
@keyframes hero-float{
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-12px) scale(1.02);}
}
@keyframes hero-pulse{
  0%,100%{opacity:0.6;transform:scale(1);}
  50%{opacity:1;transform:scale(1.08);}
}
@keyframes hero-drift{
  0%{transform:translateX(0);}
  50%{transform:translateX(20px);}
  100%{transform:translateX(0);}
}
@keyframes hero-rotate{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}
@keyframes hero-glow{
  0%,100%{filter:blur(30px) brightness(1);}
  50%{filter:blur(40px) brightness(1.2);}
}

/* Animation utility classes */
.animate-float{animation:hero-float 8s ease-in-out infinite;}
.animate-pulse{animation:hero-pulse 4s ease-in-out infinite;}
.animate-drift{animation:hero-drift 15s ease-in-out infinite;}
.animate-rotate{animation:hero-rotate 60s linear infinite;}
.animate-glow{animation:hero-glow 6s ease-in-out infinite;}

/* Liquid Glass helper classes */
.glass-panel{background:rgba(255,255,255,0.06);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,0.15),inset 0 1px 0 rgba(255,255,255,0.08);}
.glass-edge{position:relative;}
.glass-edge::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,0.2),rgba(255,255,255,0.05));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;}
.glass-refraction{background:linear-gradient(135deg,rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.02) 50%,rgba(255,255,255,0.05) 100%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}

/* Stagger delays for grouped animations */
.delay-1{animation-delay:0.5s;}
.delay-2{animation-delay:1s;}
.delay-3{animation-delay:1.5s;}
.delay-4{animation-delay:2s;}
.delay-5{animation-delay:2.5s;}

/* ---- Introduction ---- */
.cf-vg-intro{display:grid;grid-template-columns:1fr;gap:48px;align-items:start;margin-top:16px;}
@media (min-width:768px){.cf-vg-intro{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-vg-intro__left .cf-eyebrow{color:#2251ff;}
.cf-vg-intro__left h2{font-family:var(--font-serif);font-size:clamp(1.75rem,3vw,2.5rem);color:var(--navy);line-height:1.2;margin:8px 0 0;}
.cf-vg-stat{border-left:3px solid #2251ff;padding-left:24px;margin-top:32px;}
.cf-vg-stat__num{font-family:var(--font-serif);font-size:3rem;font-weight:600;color:var(--navy);line-height:1;margin:0 0 8px;}
.cf-vg-stat__label{font-size:0.875rem;color:var(--gray-text);}
.cf-vg-intro__right p{font-size:1.05rem;line-height:1.8;color:var(--gray-text);margin:0 0 20px;}
.cf-vg-intro__right p:last-child{margin-bottom:0;}

/* ---- Service Cards ---- */
.cf-vg-cards{display:grid;grid-template-columns:1fr;gap:24px;margin-top:56px;}
@media (min-width:768px){.cf-vg-cards{grid-template-columns:repeat(3,1fr);gap:32px;}}
.cf-vg-card{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;}
.cf-vg-card:hover{transform:translateY(-6px);box-shadow:0 20px 48px -16px rgba(34,81,255,0.15);}
.cf-vg-card__icon{height:120px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef4ff 0%,#e8f0ff 100%);border-bottom:1px solid var(--border-light);}
.cf-vg-card__icon svg{width:48px;height:48px;}
.cf-vg-card__body{padding:28px 24px 32px;flex:1;display:flex;flex-direction:column;}
.cf-vg-card__tag{display:inline-block;color:#2251ff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:10px;}
.cf-vg-card__body h3{font-family:var(--font-serif);font-size:22px;color:var(--navy);margin:0 0 10px;letter-spacing:-0.005em;line-height:1.25;}
.cf-vg-card__body p{font-size:15px;line-height:1.7;color:var(--gray-text);margin:0;flex:1;}
.cf-vg-card__link{display:inline-flex;align-items:center;margin-top:18px;color:var(--navy);text-decoration:none;font-size:13px;font-weight:600;transition:color .2s ease;}
.cf-vg-card__link svg{width:14px;height:14px;margin-left:6px;transition:transform .2s ease;}
.cf-vg-card:hover .cf-vg-card__link{color:#2251ff;}
.cf-vg-card:hover .cf-vg-card__link svg{transform:translateX(4px);}

/* ---- Feature / Methodology ---- */
.cf-vg-feature{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;margin-top:16px;}
@media (min-width:768px){.cf-vg-feature{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-vg-feature__img{width:100%;border-radius:10px;overflow:hidden;}
.cf-vg-feature__img img{width:100%;height:auto;object-fit:cover;display:block;}
.cf-vg-feature__text .cf-eyebrow{color:#2251ff;}
.cf-vg-feature__text h2{font-family:var(--font-serif);font-size:clamp(1.75rem,3vw,2.5rem);color:var(--navy);line-height:1.2;margin:8px 0 20px;}
.cf-vg-feature__text > p{font-size:1.05rem;line-height:1.8;color:var(--gray-text);margin:0 0 24px;}
.cf-vg-list{list-style:none;padding:0;margin:0;}
.cf-vg-list li{padding:14px 0 14px 28px;position:relative;font-size:0.95rem;color:var(--navy);border-bottom:1px solid var(--border-light);line-height:1.5;}
.cf-vg-list li:last-child{border-bottom:none;}
.cf-vg-list li::before{content:'';position:absolute;left:0;top:1.25rem;width:8px;height:8px;background:#2251ff;border-radius:50%;}
.cf-vg-list li strong{color:var(--navy);font-weight:600;}

/* ---- Metrics Strip ---- */
.cf-vg-metrics{background:#0f172a;padding:64px 0;}
.cf-vg-metrics__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 24px;text-align:center;}
@media (min-width:768px){.cf-vg-metrics__grid{grid-template-columns:repeat(4,1fr);gap:24px;}}
.cf-vg-metric__num{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);font-weight:600;color:#2251ff;line-height:1;margin:0 0 8px;}
.cf-vg-metric__label{font-size:0.875rem;color:rgba(255,255,255,0.65);}

/* ---- Growth Stories ---- */
.cf-vg-stories{display:grid;grid-template-columns:1fr;gap:24px;margin-top:48px;}
@media (min-width:768px){.cf-vg-stories{grid-template-columns:repeat(3,1fr);}}
.cf-vg-story{background:var(--white);border:1px solid var(--border-light);border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;}
.cf-vg-story:hover{transform:translateY(-4px);box-shadow:0 16px 40px -12px rgba(34,81,255,0.12);}
.cf-vg-story__img{width:100%;height:200px;object-fit:cover;display:block;}
.cf-vg-story__body{padding:24px;flex:1;display:flex;flex-direction:column;}
.cf-vg-story__tag{display:inline-block;color:#2251ff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:10px;}
.cf-vg-story__body h4{font-family:var(--font-serif);font-size:17px;color:var(--navy);margin:0 0 10px;line-height:1.3;letter-spacing:-0.005em;}
.cf-vg-story__body p{font-size:14px;line-height:1.6;color:var(--gray-text);margin:0;flex:1;}

/* ---- CTA Section ---- */
.cf-vg-cta{background:#0f172a;padding:80px 0;text-align:center;position:relative;overflow:hidden;}
.cf-vg-cta__content{position:relative;z-index:1;max-width:700px;margin:0 auto;}
.cf-vg-cta__content h2{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);color:var(--white);margin:0 0 20px;line-height:1.2;}
.cf-vg-cta__content p{font-size:1.1rem;color:rgba(255,255,255,0.7);margin:0 0 36px;}
.cf-vg-cta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.cf-vg-btn-primary{display:inline-flex;align-items:center;padding:14px 32px;background:#2251ff;color:#fff;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;transition:all .3s ease;border:none;cursor:pointer;}
.cf-vg-btn-primary:hover{background:#1a47e0;transform:translateY(-2px);box-shadow:0 8px 24px rgba(34,81,255,0.3);}
.cf-vg-btn-secondary{display:inline-flex;align-items:center;padding:14px 32px;background:transparent;color:#fff;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;border:1px solid rgba(255,255,255,0.25);transition:all .3s ease;cursor:pointer;}
.cf-vg-btn-secondary:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.4);}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ---- Banner ---- */
.cf-about-banner{position:relative;overflow:hidden;background:#051c2c;min-height:520px;display:flex;align-items:center;}
.cf-about-banner__svg{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
.cf-about-banner__svg img{width:100%;height:100%;object-fit:cover;display:block;}
.cf-about-banner > .container{position:relative;z-index:2;padding:0;}
@media (max-width:767px){.cf-about-banner > .container{padding:0;}}
/* Blend into deep navy story section below */
/* Removed about banner after gradient */
.cf-about-banner__eyebrow{color:#c9a96e;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin:0 0 16px;}
.cf-about-banner__title{font-family:var(--font-serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;color:var(--white);margin:0 0 20px;}
.cf-about-banner__title em{color:#c9a96e;font-style:italic;}
.cf-about-banner__sub{font-size:1.15rem;line-height:1.65;color:rgba(255,255,255,0.75);max-width:600px;margin:0;}

/* ---- Our Story ---- */
.cf-about-story{display:grid;grid-template-columns:1fr;gap:48px;align-items:center;margin-top:16px;}
@media (min-width:768px){.cf-about-story{grid-template-columns:1fr 1fr;gap:64px;}}
.cf-about-story__text .cf-eyebrow{color:#2251ff;}
.cf-about-story__text h2{font-family:var(--font-serif);font-size:clamp(1.75rem,3vw,2.5rem);color:var(--navy);line-height:1.2;margin:8px 0 20px;}
.cf-about-story__text p{font-size:1.05rem;line-height:1.8;color:var(--gray-text);margin:0 0 18px;}
.cf-about-story__text p:last-child{margin-bottom:0;}
.cf-about-story__img{width:100%;border-radius:10px;overflow:hidden;}
.cf-about-story__img img{width:100%;height:auto;object-fit:cover;display:block;}

/* ---- Values ---- */
.cf-about-values{display:grid;grid-template-columns:1fr;gap:32px;margin-top:56px;}
@media (min-width:768px){.cf-about-values{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.cf-about-values{grid-template-columns:repeat(4,1fr);}}
.cf-about-value{background:var(--white);border:1px solid var(--border-light);border-radius:8px;padding:32px 28px;transition:transform .25s ease,box-shadow .25s ease;}
.cf-about-value:hover{transform:translateY(-4px);box-shadow:0 16px 40px -12px rgba(34,81,255,0.12);}
.cf-about-value__num{font-family:var(--font-serif);font-size:2.5rem;font-weight:600;color:#2251ff;line-height:1;margin:0 0 16px;}
.cf-about-value h3{font-family:var(--font-serif);font-size:20px;color:var(--navy);margin:0 0 10px;letter-spacing:-0.005em;}
.cf-about-value p{font-size:15px;line-height:1.7;color:var(--gray-text);margin:0;}

/* ---- Timeline ---- */
.cf-about-timeline{max-width:800px;margin:56px auto 0;position:relative;padding-left:32px;}
.cf-about-timeline::before{content:'';position:absolute;left:8px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#2251ff 0%,#c8d8f5 100%);}
.cf-about-timeline__item{position:relative;padding-bottom:40px;}
.cf-about-timeline__item:last-child{padding-bottom:0;}
.cf-about-timeline__item::before{content:'';position:absolute;left:-28px;top:6px;width:14px;height:14px;background:#2251ff;border-radius:50%;border:3px solid var(--white);box-shadow:0 0 0 2px #c8d8f5;}
.cf-about-timeline__year{font-family:var(--font-serif);font-size:1.5rem;font-weight:600;color:#2251ff;margin:0 0 4px;}
.cf-about-timeline__text h4{font-family:var(--font-serif);font-size:18px;color:var(--navy);margin:0 0 6px;}
.cf-about-timeline__text p{font-size:15px;line-height:1.6;color:var(--gray-text);margin:0;}

/* ---- Metrics Strip ---- */
.cf-about-metrics{background:var(--navy);padding:64px 0;}
.cf-about-metrics__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px 24px;text-align:center;}
@media (min-width:768px){.cf-about-metrics__grid{grid-template-columns:repeat(4,1fr);gap:24px;}}
.cf-about-metric__num{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);font-weight:600;color:#4d7fff;line-height:1;margin:0 0 8px;}
.cf-about-metric__label{font-size:0.875rem;color:rgba(255,255,255,0.65);}

/* ---- CTA ---- */
.cf-about-cta{background:#f5f8ff;padding:80px 0;text-align:center;}
.cf-about-cta__content{max-width:700px;margin:0 auto;}
.cf-about-cta__content h2{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);color:var(--navy);margin:0 0 20px;line-height:1.2;}
.cf-about-cta__content p{font-size:1.1rem;color:var(--gray-text);margin:0 0 36px;}
.cf-about-cta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.cf-ab-btn-primary{display:inline-flex;align-items:center;padding:14px 32px;background:#2251ff;color:#fff;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;transition:all .3s ease;border:none;cursor:pointer;}
.cf-ab-btn-primary:hover{background:#1a47e0;transform:translateY(-2px);box-shadow:0 8px 24px rgba(34,81,255,0.3);}
.cf-ab-btn-secondary{display:inline-flex;align-items:center;padding:14px 32px;background:transparent;color:var(--navy);text-decoration:none;font-size:15px;font-weight:600;letter-spacing:0.03em;border-radius:4px;border:1px solid var(--border-light);transition:all .3s ease;cursor:pointer;}
.cf-ab-btn-secondary:hover{background:var(--white);border-color:#2251ff;color:#2251ff;}


/* ============================================================
   MOBILE RESPONSIVE STYLES — Comprehensive Smartphone Optimization
   ============================================================ */

/* ---- Base Mobile Typography (<= 767px) ---- */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }
  html { font-size: 16px; }
  body { font-size: 16px; line-height: 1.65; }
  .container { padding: 0 18px; }

  /* Smoother scrolling on iOS */
  html { -webkit-overflow-scrolling: touch; }
}

/* ---- Extra Small Screens (<= 480px) ---- */
@media (max-width: 480px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  .container { padding: 0 16px; }
}

/* ---- Header Mobile Tweaks ---- */
@media (max-width: 767px) {
  .site-header { height: var(--header-height); }
  .site-logo { width: 150px; height: 34px; }
  .header-auth { display: none; }
  .header-search-btn { width: 40px; height: 40px; }
  .header-search-btn svg { width: 20px; height: 20px; }
  .mega-menu__sidebar { width: 100%; }
}

/* ---- Homepage Hero Mobile ---- */
@media (max-width: 767px) {
  .hero { min-height: 100dvh; }
  .hero__inner { padding: 120px 18px 60px; }
  .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .hero__headline {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .hero__subheadline {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
  .hero__subheadline {
    font-size: 1.05rem;
  }
}

/* ---- Podcast Hero Mobile ---- */
@media (max-width: 767px) {
  .podcast-hero:not(.mw-teaser--reuse) { display: none; }
}

/* ---- Capabilities Section Mobile ---- */
@media (max-width: 767px) {
  .capabilities-section { padding: 56px 0; }
  .capabilities-section__header { margin-bottom: 32px; }
  .capabilities-section__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .capabilities-section__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.15;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .capability-card {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
  }
  .capability-card__image { width: 100%; }
  .capability-card__body { padding: 20px 16px 16px; }
  .capability-card__title { font-size: 1.2rem; }
  .capability-card__desc { font-size: 1rem; }
}

/* ---- Careers Section Mobile ---- */
@media (max-width: 767px) {
  .careers-section { padding: 56px 0; }
  .careers-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .careers-section__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .careers-section__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .careers-section__desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .careers-section__cta {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  .careers-section__media { padding: 0 8px; }
  .careers-section__media-accent { width: 60%; height: 85%; }
  .careers-section__play {
    width: 48px;
    height: 48px;
  }
  .careers-section__play svg {
    width: 18px;
    height: 18px;
  }
}

/* ---- Impact Section Mobile ---- */
@media (max-width: 767px) {
  .impact-section { padding: 56px 0; }
  .impact-section__header { margin-bottom: 32px; }
  .impact-section__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .impact-section__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.15;
  }
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .impact-card {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
  }
  .impact-card__image { width: 100%; }
  .impact-card__body { padding: 20px 16px 16px; }
  .impact-card__title { font-size: 1.2rem; }
  .impact-card__desc { font-size: 1rem; }
}

/* ---- Insights Section Mobile ---- */
@media (max-width: 767px) {
  .insights-section { padding: 56px 0; }
  .insights-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .insights-section__text .section__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .insights-section__title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .insights-section__desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .insights-section__desc:last-of-type {
    margin-bottom: 20px;
  }
  .insights-section__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ---- Sticky Subscribe Mobile ---- */
@media (max-width: 767px) {
  .sticky-subscribe { padding: 16px 0; }
  .sticky-subscribe__inner {
    flex-direction: column;
    gap: 12px;
    padding: 0 18px;
  }
  .sticky-subscribe__text {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
  }
  .sticky-subscribe__form {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .sticky-subscribe__form input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }
  .sticky-subscribe__form button {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* ---- Footer Mobile Redesign ---- */
@media (max-width: 767px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-brand__logo {
    width: 160px;
    height: 36px;
    margin: 0 auto 16px;
  }
  .footer-brand__desc {
    font-size: 14px;
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto 20px;
  }
  .footer-social {
    justify-content: center;
    gap: 10px;
  }
  .footer-social a {
    width: 44px;
    height: 44px;
  }
  .footer-social a svg {
    width: 18px;
    height: 18px;
  }

  /* Nav links in 2-column grid */
  .footer-col h4 {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-align: center;
  }
  .footer-col ul {
    gap: 8px;
    text-align: center;
  }
  .footer-col a {
    font-size: 15px;
    padding: 6px 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Two-column nav layout */
  .footer-main > .footer-col:nth-of-type(2),
  .footer-main > .footer-col:nth-of-type(3) {
    display: block;
  }

  .footer-subscribe {
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 28px;
  }
  .footer-subscribe h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  .footer-subscribe p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .footer-subscribe__form {
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
  }
  .footer-subscribe__form input,
  .footer-subscribe__form button {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
  }
  .footer-subscribe__form input {
    border-right: 1px solid var(--border-light);
    padding: 12px 16px;
  }
  .footer-subscribe__form button {
    padding: 12px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .footer-app-text {
    display: none;
  }
  .footer-legal {
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
  }
  .footer-legal a {
    font-size: 14px;
    padding: 4px 0;
  }
  .footer-copyright {
    font-size: 14px;
    text-align: center;
  }
  .footer-bottom__left,
  .footer-bottom__right {
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-main { padding: 32px 16px 24px; gap: 24px; }
  .footer-subscribe { padding-top: 24px; }
  .footer-subscribe__form { max-width: 100%; }
}

/* ============================================================
   SUB-PAGE BANNER MOBILE STYLES
   ============================================================ */

@media (max-width: 767px) {
  /* All banner sections */
  .cf-foundry-banner,
  .cf-vg-banner,
  .cf-lead-banner,
  .cf-insights-banner,
  .cf-about-banner,
  .cf-pp-banner,
  .portfolio-hero {
    min-height: auto;
  }

  /* Banner SVG images - use taller aspect ratio on mobile */
  .cf-foundry-banner__svg,
  .cf-vg-banner__svg,
  .cf-lead-banner__svg,
  .cf-insights-banner__svg,
  .cf-about-banner__svg,
  .cf-pp-banner__bg,
  .portfolio-hero__bg {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }

  /* Banner text sizing */
  .cf-foundry-banner__title,
  .cf-vg-banner__title,
  .cf-lead-banner__title,
  .cf-insights-banner__title,
  .cf-about-banner__title,
  .portfolio-hero__title {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .cf-foundry-banner__sub,
  .cf-vg-banner__sub,
  .cf-lead-banner__sub,
  .cf-insights-banner__sub,
  .cf-about-banner__sub,
  .portfolio-hero__desc {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .cf-foundry-banner__eyebrow,
  .cf-vg-banner__eyebrow,
  .cf-lead-banner__eyebrow,
  .cf-insights-banner__eyebrow,
  .cf-about-banner__eyebrow,
  .portfolio-hero__eyebrow,
  .cf-portfolio-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }

  /* Explicit mobile text colors — prevent inherited color mismatches */
  .cf-foundry-banner__title,
  .cf-vg-banner__title,
  .cf-lead-banner__title {
    color: var(--white);
  }
  .cf-foundry-banner__sub,
  .cf-vg-banner__sub,
  .cf-lead-banner__sub {
    color: rgba(255,255,255,0.75);
  }
  .cf-insights-banner__title,
  .cf-about-banner__title {
    color: var(--white);
  }
  .cf-insights-banner__sub,
  .cf-about-banner__sub {
    color: rgba(255,255,255,0.75);
  }
  .portfolio-hero__title {
    color: var(--white);
  }
  .portfolio-hero__desc {
    color: rgba(255,255,255,0.75);
  }
  .cf-pp-banner-text h1,
  .cf-pp-banner-text .section__title {
    color: var(--white);
  }
  .cf-pp-banner-text p {
    color: rgba(255,255,255,0.92);
  }
  .cf-portfolio-eyebrow {
    color: var(--blue-light);
  }

  /* Keep eyebrows in neon colors on mobile viewports */
  .cf-foundry-banner__eyebrow {
    color: #00d2ff;
  }
  .cf-vg-banner__eyebrow {
    color: #2de2d6;
  }
  .cf-lead-banner__eyebrow {
    color: #00d2ff;
  }
  .cf-insights-banner__eyebrow {
    color: #00d2ff;
  }
  .portfolio-hero__eyebrow {
    color: #a880ff;
  }

  /* Banner container padding */
  .cf-foundry-banner > .container,
  .cf-vg-banner > .container,
  .cf-lead-banner > .container,
  .cf-insights-banner > .container,
  .cf-about-banner > .container {
    padding: 100px 18px 56px;
  }

  .portfolio-hero { padding: 0; }

  /* Portfolio detail banner */
  .cf-pp-banner-grid {
    padding-top: 110px;
    padding-bottom: 48px;
    gap: 36px;
  }
  .cf-pp-circle {
    width: 200px;
    height: 200px;
  }
  .cf-pp-back-top {
    top: 76px;
    left: 16px;
    font-size: 10px;
    padding: 7px 12px;
  }
}

@media (max-width: 480px) {
  .cf-foundry-banner__title,
  .cf-vg-banner__title,
  .cf-lead-banner__title,
  .cf-insights-banner__title,
  .cf-about-banner__title,
  .portfolio-hero__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .cf-foundry-banner > .container,
  .cf-vg-banner > .container,
  .cf-lead-banner > .container,
  .cf-insights-banner > .container,
  .cf-about-banner > .container {
    padding: 90px 16px 48px;
  }

  .cf-pp-banner-grid {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .cf-pp-circle {
    width: 170px;
    height: 170px;
  }
}

/* ============================================================
   SUB-PAGE CONTENT MOBILE STYLES
   ============================================================ */

@media (max-width: 767px) {
  .section { padding: 48px 0; }

  /* Foundry page */
  .cf-foundry-intro { gap: 32px; margin-top: 8px; }
  .cf-foundry-intro__left h2,
  .cf-foundry-feature__text h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .cf-foundry-stat { margin-top: 24px; padding-left: 18px; }
  .cf-foundry-stat__num { font-size: 2.2rem; }
  .cf-foundry-cards { margin-top: 40px; gap: 20px; }
  .cf-foundry-card__img { height: 180px; }
  .cf-foundry-card__body { padding: 20px 18px 24px; }
  .cf-foundry-card__body h3 { font-size: 1.1rem; }
  .cf-foundry-feature { gap: 32px; margin-top: 8px; }
  .cf-foundry-metrics { padding: 48px 0; }
  .cf-foundry-metrics__grid { gap: 32px 20px; }
  .cf-foundry-metric__num { font-size: 2rem; }
  .cf-foundry-insights { margin-top: 36px; }
  .cf-foundry-insight__img { height: 240px; }
  .cf-foundry-cta { padding: 56px 0; }
  .cf-foundry-cta__content h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cf-foundry-cta__content p { font-size: 1rem; margin-bottom: 28px; }
  .cf-btn-primary,
  .cf-btn-secondary { width: 100%; justify-content: center; padding: 13px 24px; }

  /* Venture & Growth page */
  .cf-vg-intro { gap: 32px; margin-top: 8px; }
  .cf-vg-intro__left h2,
  .cf-vg-feature__text h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .cf-vg-stat { margin-top: 24px; padding-left: 18px; }
  .cf-vg-stat__num { font-size: 2.2rem; }
  .cf-vg-cards { margin-top: 40px; gap: 20px; }
  .cf-vg-card__icon { height: 100px; }
  .cf-vg-card__icon svg { width: 40px; height: 40px; }
  .cf-vg-card__body { padding: 20px 18px 24px; }
  .cf-vg-card__body h3 { font-size: 1.1rem; }
  .cf-vg-feature { gap: 32px; margin-top: 8px; }
  .cf-vg-metrics { padding: 48px 0; }
  .cf-vg-metrics__grid { gap: 32px 20px; }
  .cf-vg-metric__num { font-size: 2rem; }
  .cf-vg-stories { margin-top: 36px; }
  .cf-vg-story__img { height: 170px; }
  .cf-vg-cta { padding: 56px 0; }
  .cf-vg-cta__content h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cf-vg-cta__content p { font-size: 1rem; margin-bottom: 28px; }
  .cf-vg-btn-primary,
  .cf-vg-btn-secondary { width: 100%; justify-content: center; padding: 13px 24px; }

  /* Leadership page */
  .cf-lead-cards { margin-top: 40px; gap: 20px; }
  .cf-lead-card__img { height: 190px; }
  .cf-lead-card__body { padding: 20px 18px 24px; }
  .cf-lead-card__body h3 { font-size: 1.1rem; }
  .cf-engage-wrap { gap: 32px; margin-top: 32px; }
  .cf-engage-icon { width: 42px; height: 42px; border-radius: 10px; }
  .cf-engage-icon img { width: 24px; height: 24px; }
  .cf-engage-text h4 { font-size: 1rem; }
  .cf-engage-text p { font-size: 14px; }
  .cf-insight-grid { margin-top: 40px; gap: 20px; }
  .cf-insight-card__img { height: 160px; }
  .cf-insight-card__body { padding: 16px 16px 20px; }
  .cf-insight-card__body h4 { font-size: 15px; }

  /* Insights page */
  .cf-articles-grid { margin-top: 40px; gap: 20px; }
  .cf-article-card__img { height: 170px; }
  .cf-article-card__body { padding: 16px 16px 20px; }
  .cf-article-card__body h4 { font-size: 15px; }

  /* About page */
  .cf-about-story { gap: 32px; margin-top: 8px; }
  .cf-about-story__text h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .cf-about-story__text p { font-size: 1.05rem; }
  .cf-about-values { margin-top: 40px; gap: 20px; }
  .cf-about-value { padding: 24px 20px; }
  .cf-about-value__num { font-size: 2rem; margin-bottom: 12px; }
  .cf-about-value h3 { font-size: 1.1rem; }
  .cf-about-timeline { margin-top: 40px; padding-left: 24px; }
  .cf-about-timeline__item { padding-bottom: 32px; }
  .cf-about-timeline__item::before { left: -22px; width: 12px; height: 12px; }
  .cf-about-timeline__year { font-size: 1.25rem; }
  .cf-about-timeline__text h4 { font-size: 16px; }
  .cf-about-metrics { padding: 48px 0; }
  .cf-about-metrics__grid { gap: 32px 20px; }
  .cf-about-metric__num { font-size: 2rem; }
  .cf-about-cta { padding: 56px 0; }
  .cf-about-cta__content h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cf-about-cta__content p { font-size: 1rem; margin-bottom: 28px; }
  .cf-ab-btn-primary,
  .cf-ab-btn-secondary { width: 100%; justify-content: center; padding: 13px 24px; }

  /* Portfolio page */
  .portfolio-projects { padding: 56px 0 80px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-card__visual { height: 260px; }
  .project-card__logo-wrap { width: 200px; height: 200px; border-radius: 20%; }
  .project-card__body { padding: 20px 18px 24px; }
  .project-card__title { font-size: 1.15rem; }
  .project-card__tagline { font-size: 1rem; }

  /* Portfolio detail pages */
  .cf-pp-stats-rail { gap: 24px; padding: 28px 0; margin-top: 40px; }
  .cf-pp-stat-v { font-size: 32px; }
  .cf-pp-stat-l { font-size: 10px; margin-top: 8px; }
  .cf-pp-pillars { margin-top: 36px; }
  .cf-pp-pillar-cell { padding: 28px 20px 32px; }
  .cf-pp-pillar-t { font-size: 20px; }
  .cf-pp-pillar-b { font-size: 15px; margin-top: 14px; }
  .cf-section-head h2 { font-size: 36px; }
  .cf-section-sub { font-size: 15px; margin-top: 16px; }

  /* Bullshot */
  .cf-bs-layer { grid-template-columns: 50px 1fr; padding: 16px; }
  .cf-bs-layer-n { font-size: 22px; }
  .cf-bs-layer-body h4 { font-size: 18px; }
  .cf-bs-layer-body p { font-size: 14px; }

  /* B.Duck Digital */
  .cf-bd-num { font-size: 72px; }
  .cf-bd-label { font-size: 11px; margin-top: 12px; }
  .cf-bd-note { font-size: 14px; margin-top: 14px; }
  .cf-bd-stat-v { font-size: 40px; }
  .cf-bd-stat-l { font-size: 11px; margin-top: 12px; }
  .cf-bd-phase { padding: 14px 16px; }
  .cf-bd-phase-title { font-size: 16px; }

  /* Happi */
  .cf-zp-step { padding: 22px 18px 26px; }
  .cf-zp-step-name { font-size: 18px; }
  .cf-zp-step-body { font-size: 12px; }
  .cf-hp-vs-col { padding: 24px; }
  .cf-hp-vs-col h4 { font-size: 20px; margin-bottom: 18px; }
  .cf-hp-vs-list li { padding: 10px 0; font-size: 14px; gap: 10px; }

  /* OracleX */
  .cf-ox-vert { padding: 24px 20px; }
  .cf-ox-vert-name { font-size: 22px; margin: 10px 0 12px; }
  .cf-ox-vert-body { font-size: 14px; margin-bottom: 14px; }
  .cf-ox-settlement { padding: 32px 24px; }
  .cf-ox-settlement-h { font-size: 26px; }
  .cf-ox-settlement-b { font-size: 15px; }
}

@media (max-width: 480px) {
  .portfolio-hero__title { font-size: clamp(1.5rem, 7vw, 1.8rem); }
  .project-card__visual { height: 220px; }
  .project-card__logo-wrap { width: 170px; height: 170px; }
  .cf-pp-circle { width: 150px; height: 150px; }
  .cf-section-head h2 { font-size: 30px; }
  .cf-bd-num { font-size: 60px; }
  .cf-pp-stat-v { font-size: 28px; }
}

/* ============================================================
   MOBILE TOUCH & TRANSITION OPTIMIZATIONS
   ============================================================ */

@media (max-width: 767px) {
  /* Disable hover effects that can feel sticky on touch */
  .capability-card:hover,
  .impact-card:hover,
  .project-card:hover,
  .cf-lead-card:hover,
  .cf-insight-card:hover,
  .cf-article-card:hover,
  .cf-foundry-card:hover,
  .cf-vg-card:hover,
  .cf-vg-story:hover,
  .cf-about-value:hover {
    transform: none;
    box-shadow: none;
  }

  /* Active states for touch feedback */
  .capability-card:active,
  .impact-card:active,
  .project-card:active,
  .cf-lead-card:active,
  .cf-insight-card:active,
  .cf-article-card:active,
  .cf-foundry-card:active,
  .cf-vg-card:active,
  .cf-vg-story:active,
  .cf-about-value:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Faster transitions on mobile */
  .reveal {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal {
      opacity: 1;
      transform: none;
    }
  }

  /* Ensure images don't overflow */
  img { max-width: 100%; height: auto; }

  /* Better tap targets */
  a, button { min-height: 44px; min-width: 44px; }
  .footer-col ul li a { min-height: 36px; display: inline-flex; align-items: center; }

  /* Form elements */
  input, button, select, textarea { font-size: 16px; }
}

/* ============================================================
   MOBILE BACK BUTTON — STANDARDIZE ALL TO TOP-LEFT
   ============================================================ */
@media (max-width: 767px) {
  /* Portfolio project pages — already absolute, ensure top-left */
  .cf-pp-back-top {
    position: absolute;
    top: 80px;
    left: 16px;
    right: auto;
    text-align: left;
    font-size: 11px;
    padding: 8px 14px;
    z-index: 10;
  }

  /* Insight article pages — position at top-left */
  .cf-article-banner__back {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 24px;
    font-size: 11px;
    padding: 8px 14px;
  }

  /* Meme World hero back */
  .mw-hero__back {
    display: inline-flex;
    align-self: flex-start;
    text-align: left;
    margin-bottom: 16px;
  }

  /* OracleX hero back */
  .ox-hero__back {
    display: inline-flex;
    align-self: flex-start;
    text-align: left;
    margin-bottom: 16px;
  }

  /* Service pages back buttons (unstyled — add base + mobile positioning) */
  .cm-hero__back,
  .w3-hero__back,
  .ai-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    align-self: flex-start;
    text-align: left;
    margin-bottom: 16px;
  }
  .cm-hero__back:hover,
  .w3-hero__back:hover,
  .ai-hero__back:hover {
    color: var(--white);
  }
}

/* ---- Banner SVG Mobile Picture Support ---- */
.cf-foundry-banner__svg picture,
.cf-vg-banner__svg picture,
.cf-lead-banner__svg picture,
.cf-insights-banner__svg picture,
.cf-about-banner__svg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cf-foundry-banner__svg picture img,
.cf-vg-banner__svg picture img,
.cf-lead-banner__svg picture img,
.cf-insights-banner__svg picture img,
.cf-about-banner__svg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide inline portfolio network graph on mobile */
@media (max-width: 767px) {
  .portfolio-hero__bg > line,
  .portfolio-hero__bg > circle {
    display: none !important;
  }
}


/* ============================================================
   BLOG PAGE — BENTO GRID STYLES
   ============================================================ */
.hero__bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.bento-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.bento-card--featured {
  grid-row: span 2;
  min-height: 584px;
}
.bento-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.bento-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,28,44,0.85) 100%);
}
.bento-card__content {
  position: relative;
  z-index: 1;
}
.bento-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.bento-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.bento-card__title--large {
  font-size: 1.6rem;
}

@media (max-width: 767px) {
  .hero__bento {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .bento-card {
    min-height: 220px;
    padding: 24px;
  }
  .bento-card--featured {
    grid-row: auto;
    min-height: 320px;
  }
  .bento-card__title {
    font-size: 1rem;
  }
  .bento-card__title--large {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .bento-card {
    min-height: 200px;
    padding: 20px;
  }
  .bento-card--featured {
    min-height: 280px;
  }
  .bento-card__title--large {
    font-size: 1.15rem;
  }
}


/* ============================================================
   DARK BACKGROUND FONT WEIGHT OVERRIDES
   Thick on dark, thin on light.
   ============================================================ */

/* Dark sections get bolder body text */
.site-header,
.mega-menu,
.mobile-drawer,
.hero,
.podcast-hero,
.impact-section,
.portfolio-hero,
.cf-lead-banner,
.cf-foundry-cta,
.cf-vg-cta,
.cf-about-metrics,
.cf-bd-section,
.cf-ox-section,
.cf-foundry-metrics,
.cf-vg-metrics {
  font-weight: 500;
}

/* Dark section headings get thick */
.site-header .dropdown__header,
.mega-menu .mega-panel__header,
.hero .hero__headline,
.hero .hero__eyebrow,
.podcast-hero .podcast-hero__title {
  font-weight: 400;
}

.impact-section .impact-section__title {
  font-weight: 300;
}

.impact-section .impact-card__title,
.portfolio-hero .portfolio-hero__title,
.cf-lead-banner .cf-lead-banner__title,
.cf-foundry-cta .cf-foundry-cta__content h2,
.cf-vg-cta .cf-vg-cta__content h2,
.cf-about-metrics .cf-about-metric__num,
.cf-bd-section .cf-section-head h2,
.cf-ox-section .cf-section-head h2,
.cf-ox-section .cf-ox-settlement-h,
.cf-foundry-metrics .cf-foundry-metric__num,
.cf-vg-metrics .cf-vg-metric__num {
  font-weight: 700;
}

/* Dark section subheadings/descriptions stay readable */
.hero .hero__subheadline,
.podcast-hero .podcast-hero__desc,
.impact-section .impact-card__desc,
.portfolio-hero .portfolio-hero__desc,
.cf-lead-banner .cf-lead-banner__sub,
.cf-foundry-cta .cf-foundry-cta__content p,
.cf-vg-cta .cf-vg-cta__content p,
.cf-about-metrics .cf-about-metric__label,
.cf-bd-section .cf-section-sub,
.cf-ox-section .cf-section-sub,
.cf-foundry-metrics .cf-foundry-metric__label,
.cf-vg-metrics .cf-vg-metric__label {
  font-weight: 500;
}

/* Header nav and UI on dark */
.desktop-nav__link,
.dropdown__link,
.header-auth,
.mega-menu__item,
.mega-panel__link,
.mega-panel__desc,
.drawer__trigger,
.drawer__sublinks a,
.drawer__footer a {
  font-weight: 500;
}

/* ============================================================
   FOUNDRY PAGE — BRIGHT THEME
   ============================================================ */
.foundry-page .cf-foundry-banner {
  background: linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%);
}

.foundry-page .cf-foundry-banner__title {
  color: var(--white);
}
.foundry-page .cf-foundry-banner__sub {
  color: rgba(255,255,255,0.75);
}
.foundry-page .cf-foundry-banner__eyebrow {
  color: #00d2ff;
}
/* Removed foundry page banner after override */

/* Dark sections: Capabilities, Methodology, Insights */
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) {
  background: #0451FF;
}
.foundry-page .cf-pp-section--white:has(.cf-foundry-feature),
.foundry-page .cf-pp-section--tint:has(.cf-foundry-insights) {
  background: var(--navy);
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-section-head h2 {
  color: var(--white);
  font-weight: 300;
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-eyebrow {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}
.foundry-page .cf-pp-section--white:has(.cf-foundry-feature) .cf-section-head h2,
.foundry-page .cf-pp-section--tint:has(.cf-foundry-insights) .cf-section-head h2 {
  color: var(--white);
}
.foundry-page .cf-pp-section--white:has(.cf-foundry-feature) .cf-eyebrow,
.foundry-page .cf-pp-section--tint:has(.cf-foundry-insights) .cf-eyebrow {
  color: var(--blue-light);
}

/* Intro section (white bg) */
.foundry-page .cf-pp-section--white:has(.cf-foundry-intro) .cf-foundry-intro__left h2,
.foundry-page .cf-pp-section--white:has(.cf-foundry-intro) .cf-foundry-stat__num {
  color: var(--navy);
}
.foundry-page .cf-pp-section--white:has(.cf-foundry-intro) .cf-foundry-stat__label,
.foundry-page .cf-pp-section--white:has(.cf-foundry-intro) .cf-foundry-intro__right p {
  color: var(--gray-text);
}
.foundry-page .cf-pp-section--white:has(.cf-foundry-intro) .cf-eyebrow {
  color: var(--blue);
}

/* Capability cards — white on blue bg */
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card {
  background: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card__body h3,
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card__link {
  color: var(--navy);
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card__body p {
  color: var(--gray-text);
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card__tag {
  color: #0451FF;
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -16px rgba(0,0,0,0.25);
}
.foundry-page .cf-pp-section--tint:has(.cf-foundry-cards) .cf-foundry-card:hover .cf-foundry-card__link {
  color: #0451FF;
}

/* Feature / Methodology cards — dark theme */
.foundry-page .cf-foundry-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.foundry-page .cf-foundry-card__body h3,
.foundry-page .cf-foundry-card__body p,
.foundry-page .cf-foundry-card__link {
  color: var(--white);
}
.foundry-page .cf-foundry-card__tag {
  color: var(--blue-light);
}
.foundry-page .cf-foundry-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.foundry-page .cf-foundry-card:hover .cf-foundry-card__link {
  color: var(--blue-light);
}

/* Feature / Methodology */
.foundry-page .cf-foundry-feature__text h2,
.foundry-page .cf-foundry-feature__text > p,
.foundry-page .cf-foundry-list li {
  color: var(--white);
}
.foundry-page .cf-foundry-list li {
  border-bottom-color: rgba(255,255,255,0.15);
}
.foundry-page .cf-foundry-list li::before {
  background: var(--blue-light);
}

/* Insights */
.foundry-page .cf-foundry-insight {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.foundry-page .cf-foundry-insight__body h4,
.foundry-page .cf-foundry-insight__date {
  color: var(--white);
}
.foundry-page .cf-foundry-insight__tag {
  color: var(--blue-light);
}
.foundry-page .cf-foundry-insight:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.foundry-page .cf-foundry-insight:hover .cf-foundry-insight__body h4 {
  color: var(--blue-light);
}

/* Metrics & CTA consistency */
.foundry-page .cf-foundry-metrics {
  background: linear-gradient(135deg, #051c2c 0%, #0b1c32 30%, #0d2048 70%, #051c2c 100%);
}
.foundry-page .cf-foundry-cta {
  background: var(--white);
}

/* ============================================================
   LEADERSHIP PAGE — ENGAGE SECTION DARK THEME
   ============================================================ */
.leadership-page .cf-pp-section--tint:has(.cf-engage-wrap) {
  background: var(--navy);
}
.leadership-page .cf-pp-section--tint:has(.cf-engage-wrap) .cf-section-head h2 {
  color: var(--white);
}
.leadership-page .cf-pp-section--tint:has(.cf-engage-wrap) .cf-eyebrow {
  color: var(--blue-light);
}
.leadership-page .cf-engage-text h4 {
  color: var(--white);
}
.leadership-page .cf-engage-text p {
  color: rgba(255,255,255,0.8);
}
.leadership-page .cf-engage-icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================================
   INSIGHTS PAGE — LATEST SECTION DARK THEME
   ============================================================ */
.insights-page .cf-pp-section--white:has(.cf-articles-grid) {
  background: var(--navy);
}
.insights-page .cf-pp-section--white:has(.cf-articles-grid) .cf-section-head h2 {
  color: var(--white);
}
.insights-page .cf-pp-section--white:has(.cf-articles-grid) .cf-eyebrow {
  color: var(--blue-light);
}
.insights-page .cf-article-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.insights-page .cf-article-card__body h4,
.insights-page .cf-article-card__body p {
  color: var(--white);
}
.insights-page .cf-article-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

/* ========== OUR STORY SECTION — Deep navy gradient ========== */
.about-page .cf-pp-section--white:has(.cf-about-story) {
  background: linear-gradient(180deg, #051c2c 0%, #072038 50%, #0a2540 100%);
}
.about-page .cf-pp-section--white:has(.cf-about-story) .cf-section-head h2 {
  color: var(--white);
  font-weight: 300;
}
.about-page .cf-pp-section--white:has(.cf-about-story) .cf-eyebrow {
  color: #c9a96e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.about-page .cf-about-story__text h2 {
  color: var(--white);
}
.about-page .cf-about-story__text p {
  color: rgba(255,255,255,0.78);
}

/* ========== VALUES SECTION — Rich gradient with warm tint ========== */
.about-page .cf-pp-section--tint:has(.cf-about-values) {
  background: linear-gradient(180deg, #0a2540 0%, #061e30 50%, #051c2c 100%);
}
.about-page .cf-pp-section--tint:has(.cf-about-values) .cf-section-head h2 {
  color: var(--white);
  font-weight: 300;
}
.about-page .cf-pp-section--tint:has(.cf-about-values) .cf-eyebrow {
  color: #c9a96e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* Values cards — glassmorphism with gold accent */
.about-page .cf-about-value {
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.about-page .cf-about-value__num {
  color: #c9a96e;
  background: linear-gradient(135deg, #c9a96e 0%, #b87333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-page .cf-about-value h3 {
  color: var(--white);
}
.about-page .cf-about-value p {
  color: rgba(255,255,255,0.72);
}
.about-page .cf-about-value:hover {
  background: linear-gradient(135deg, rgba(201,169,110,0.10) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(201,169,110,0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(0,0,0,0.35);
}

/* ========== TIMELINE SECTION — Gradient descent ========== */
.about-page .cf-pp-section--white:has(.cf-about-timeline) {
  background: linear-gradient(180deg, #051c2c 0%, #061e30 50%, #0d1b2a 100%);
}
.about-page .cf-pp-section--white:has(.cf-about-timeline) .cf-section-head h2 {
  color: var(--white);
  font-weight: 300;
}
.about-page .cf-pp-section--white:has(.cf-about-timeline) .cf-eyebrow {
  color: #c9a96e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* Timeline — gold to copper to teal gradient line */
.about-page .cf-about-timeline::before {
  background: linear-gradient(180deg, #c9a96e 0%, #b87333 40%, #2a9d8f 100%);
}
.about-page .cf-about-timeline__item::before {
  background: #c9a96e;
  border-color: #0a2540;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.25);
}
.about-page .cf-about-timeline__year {
  color: #c9a96e;
  font-weight: 600;
}
.about-page .cf-about-timeline__text h4 {
  color: var(--white);
}
.about-page .cf-about-timeline__text p {
  color: rgba(255,255,255,0.72);
}

/* ========== METRICS SECTION — Bold diagonal gradient ========== */
.cf-about-metrics {
  background: linear-gradient(135deg, #0a2540 0%, #051c2c 50%, #0d1b2a 100%);
  padding: 80px 0;
}
.cf-about-metric__num {
  background: linear-gradient(135deg, #c9a96e 0%, #e8c87a 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.cf-about-metric__label {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ========== CTA SECTION — Dark gradient with warm accent ========== */
.cf-about-cta {
  background: linear-gradient(180deg, #0d1b2a 0%, #051c2c 50%, #061e30 100%);
  padding: 100px 0;
}
.cf-about-cta__content h2 {
  color: var(--white);
  font-weight: 300;
}
.cf-about-cta__content p {
  color: rgba(255,255,255,0.72);
}

/* CTA buttons — gold premium styling */
.cf-ab-btn-primary {
  background: linear-gradient(135deg, #c9a96e 0%, #b8934e 100%);
  color: #0a0a0a;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
  padding: 16px 36px;
  transition: all 0.3s ease;
}
.cf-ab-btn-primary:hover {
  background: linear-gradient(135deg, #d4b47e 0%, #c9a96e 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,169,110,0.25);
}
.cf-ab-btn-secondary {
  background: transparent;
  color: #c9a96e;
  border: 1px solid rgba(201,169,110,0.4);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 16px 36px;
  transition: all 0.3s ease;
}
.cf-ab-btn-secondary:hover {
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.7);
  color: #d4b47e;
  transform: translateY(-2px);
}
.foundry-page .cf-foundry-cta__content h2 {
  color: var(--navy);
}
.foundry-page .cf-foundry-cta__content p {
  color: var(--gray-text);
}

/* Sub-page dark banner text */
.cf-foundry-banner__title,
.cf-vg-banner__title,
.cf-about-banner__title,
.cf-insights-banner__title {
  font-weight: 700;
}
.cf-foundry-banner__sub,
.cf-vg-banner__sub,
.cf-about-banner__sub,
.cf-insights-banner__sub {
  font-weight: 500;
}
.cf-foundry-banner__eyebrow,
.cf-vg-banner__eyebrow,
.cf-about-banner__eyebrow,
.cf-insights-banner__eyebrow {
  font-weight: 500;
}

/* Dark CTA buttons */
.cf-btn-primary,
.cf-btn-secondary,
.cf-vg-btn-primary,
.cf-vg-btn-secondary,
.cf-ab-btn-primary,
.cf-ab-btn-secondary {
  font-weight: 500;
}

/* B.Duck Digital / OracleX / Happi dark sections */
.cf-bd-num,
.cf-section-head h2 {
  font-weight: 700;
}
.cf-bd-label,
.cf-bd-note,
.cf-ox-vert-body,
.cf-ox-settlement-b {
  font-weight: 500;
}
.cf-ox-vert-name {
  font-weight: 700;
}
.cf-ox-vert-tag,
.cf-ox-settlement-tag {
  font-weight: 500;
}


/* ============================================================
   INSIGHT ARTICLE PAGES
   ============================================================ */

/* ---- Article Banner ---- */
.cf-article-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.cf-article-banner__svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.cf-article-banner__svg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cf-article-banner > .container {
  position: relative;
  z-index: 2;
  padding: 120px 40px 80px;
}
.cf-article-banner__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(5,28,44,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: all 0.2s ease;
  margin-bottom: 32px;
}
.cf-article-banner__back:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
  border-color: var(--white);
  transform: translateX(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.32);
}
.cf-article-banner__back .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.cf-article-banner__back:hover .arrow {
  transform: translateX(-2px);
}
.cf-article-banner__eyebrow {
  color: var(--blue-light);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
}
.cf-article-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 20px;
}
.cf-article-banner__sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-width: 720px;
  margin: 0 0 16px;
}
.cf-article-banner__meta {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Article body (centered narrow column for readability) */
.cf-article-body {
  max-width: 900px;
  margin: 0 auto;
}
.cf-article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-text);
  margin: 0 0 20px;
}
.cf-article-body p:last-child {
  margin-bottom: 0;
}
.cf-article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 56px 0 20px;
}
.cf-article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 40px 0 16px;
}
.cf-article-body ul,
.cf-article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.cf-article-body ul li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 8px;
}
.cf-article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 16px 0 16px 28px;
  margin: 40px 0;
}
.cf-article-body blockquote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
  margin: 0;
}
.cf-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--gray-text);
  font-family: var(--font-sans);
}
.cf-article-body figure {
  margin: 48px 0;
}
.cf-article-body figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.cf-article-body figcaption {
  font-size: 13px;
  color: var(--gray-muted);
  margin-top: 10px;
  text-align: center;
}

/* Article cards grid */
.cf-article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cf-article-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.cf-article-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.cf-article-card__n {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}
.cf-article-card__t {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.cf-article-card__b {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-text);
}

/* Article stats */
.cf-article-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(5,28,44,0.12);
  border-left: 1px solid rgba(5,28,44,0.12);
  margin-top: 48px;
}
.cf-article-stat {
  padding: 32px 28px;
  border-right: 1px solid rgba(5,28,44,0.12);
  border-bottom: 1px solid rgba(5,28,44,0.12);
  background: rgba(255,255,255,0.7);
  text-align: center;
}
.cf-article-stat__v {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.cf-article-stat__l {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(5,28,44,0.65);
  margin-top: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Article wide image */
.cf-article-img {
  margin: 48px 0;
  border-radius: 4px;
  overflow: hidden;
}
.cf-article-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Article numbered list */
.cf-article-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.cf-article-list li {
  padding: 14px 0 14px 28px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy);
  border-bottom: 1px solid var(--border-light);
}
.cf-article-list li:last-child {
  border-bottom: none;
}
.cf-article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

/* Article timeline */
.cf-article-timeline {
  max-width: 900px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 32px;
}
.cf-article-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, #c8d8f5 100%);
}
.cf-article-timeline__item {
  position: relative;
  padding-bottom: 40px;
}
.cf-article-timeline__item:last-child {
  padding-bottom: 0;
}
.cf-article-timeline__item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px #c8d8f5;
}
.cf-article-timeline__phase {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 4px;
}
.cf-article-timeline__text h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 6px;
}
.cf-article-timeline__text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
  margin: 0;
}

/* Article CTA (reuses dark CTA pattern) */
.cf-article-cta {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.cf-article-cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cf-article-cta__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin: 0 0 20px;
  line-height: 1.2;
}
.cf-article-cta__content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 36px;
}
.cf-article-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Page-specific accent colours ---- */
.page-web3growth .cf-article-banner__eyebrow { color: #22d3ee; }
.page-web3growth .cf-article-card__n { color: #0891b2; }
.page-web3growth .cf-article-list li::before { background: #0891b2; }
.page-web3growth .cf-article-timeline__phase { color: #0891b2; }
.page-web3growth .cf-article-timeline::before { background: linear-gradient(180deg, #0891b2 0%, #cffafe 100%); }
.page-web3growth .cf-article-timeline__item::before { background: #0891b2; box-shadow: 0 0 0 2px #cffafe; }
.page-web3growth .cf-article-body blockquote { border-left-color: #0891b2; }

.page-community .cf-article-banner__eyebrow { color: #fb7185; }
.page-community .cf-article-card__n { color: #e11d48; }
.page-community .cf-article-list li::before { background: #e11d48; }
.page-community .cf-article-timeline__phase { color: #e11d48; }
.page-community .cf-article-timeline::before { background: linear-gradient(180deg, #e11d48 0%, #ffe4e6 100%); }
.page-community .cf-article-timeline__item::before { background: #e11d48; box-shadow: 0 0 0 2px #ffe4e6; }
.page-community .cf-article-body blockquote { border-left-color: #e11d48; }

.page-sustainable .cf-article-banner__eyebrow { color: #34d399; }
.page-sustainable .cf-article-card__n { color: #059669; }
.page-sustainable .cf-article-list li::before { background: #059669; }
.page-sustainable .cf-article-timeline__phase { color: #059669; }
.page-sustainable .cf-article-timeline::before { background: linear-gradient(180deg, #059669 0%, #d1fae5 100%); }
.page-sustainable .cf-article-timeline__item::before { background: #059669; box-shadow: 0 0 0 2px #d1fae5; }
.page-sustainable .cf-article-body blockquote { border-left-color: #059669; }

.page-framework .cf-article-banner__eyebrow { color: #a78bfa; }
.page-framework .cf-article-card__n { color: #7c3aed; }
.page-framework .cf-article-list li::before { background: #7c3aed; }
.page-framework .cf-article-timeline__phase { color: #7c3aed; }
.page-framework .cf-article-timeline::before { background: linear-gradient(180deg, #7c3aed 0%, #ede9fe 100%); }
.page-framework .cf-article-timeline__item::before { background: #7c3aed; box-shadow: 0 0 0 2px #ede9fe; }
.page-framework .cf-article-body blockquote { border-left-color: #7c3aed; }

.page-vision .cf-article-banner__eyebrow { color: #fbbf24; }
.page-vision .cf-article-card__n { color: #d97706; }
.page-vision .cf-article-list li::before { background: #d97706; }
.page-vision .cf-article-timeline__phase { color: #d97706; }
.page-vision .cf-article-timeline::before { background: linear-gradient(180deg, #d97706 0%, #fef3c7 100%); }
.page-vision .cf-article-timeline__item::before { background: #d97706; box-shadow: 0 0 0 2px #fef3c7; }
.page-vision .cf-article-body blockquote { border-left-color: #d97706; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cf-article-banner > .container {
    padding: 100px 20px 60px;
  }
  .cf-article-banner__back {
    font-size: 11px;
    padding: 8px 14px;
  }
  .cf-article-cards {
    grid-template-columns: 1fr;
  }
  .cf-article-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-article-stat__v {
    font-size: 36px;
  }
  .cf-article-img img {
    height: 280px;
  }
}

/* ============================================================
   FOUNDRY V2 — NEW SECTIONS
   ============================================================ */

/* ---- Shared typography ---- */
.cf-foundry-v2-eyebrow {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
}
.cf-foundry-v2-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 24px;
  font-weight: 500;
}
.cf-foundry-v2-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 20px;
  font-weight: 400;
}
.cf-foundry-v2-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-text);
  margin: 0;
}

/* ---- Intro ---- */
.cf-foundry-v2-intro {
  padding: 100px 0 80px;
  background: #ffffff;
}
.cf-foundry-v2-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .cf-foundry-v2-intro__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
  }
}
.cf-foundry-v2-intro__text {
  max-width: 640px;
}
.cf-foundry-v2-intro__stat {
  display: flex;
  justify-content: center;
}
.cf-foundry-v2-stat-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  max-width: 280px;
  width: 100%;
}
.cf-foundry-v2-stat-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--blue);
  line-height: 1;
  margin: 0 0 12px;
  font-weight: 500;
}
.cf-foundry-v2-stat-card__label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-text);
}

/* ---- Process ---- */
.cf-foundry-v2-process {
  padding: 100px 0 80px;
  background: #f8fafc;
}
.cf-foundry-v2-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .cf-foundry-v2-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
.cf-foundry-v2-step {
  position: relative;
  text-align: center;
}
@media (min-width: 768px) {
  .cf-foundry-v2-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: var(--border-light);
  }
}
.cf-foundry-v2-step__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
  margin: 0 0 16px;
  font-weight: 500;
}
.cf-foundry-v2-step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 500;
}
.cf-foundry-v2-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-text);
  margin: 0;
}

/* ---- Capabilities ---- */
.cf-foundry-v2-capabilities {
  padding: 100px 0 80px;
  background: #ffffff;
}
.cf-foundry-v2-cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cf-foundry-v2-cap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.cf-foundry-v2-cap-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cf-foundry-v2-cap-card:hover {
  box-shadow: 0 12px 40px rgba(5, 28, 44, 0.06);
  transform: translateY(-2px);
}
.cf-foundry-v2-cap-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
}
.cf-foundry-v2-cap-card__icon svg {
  width: 100%;
  height: 100%;
}
.cf-foundry-v2-cap-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 500;
}
.cf-foundry-v2-cap-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-text);
  margin: 0;
}

/* ---- Metrics ---- */
.cf-foundry-v2-metrics {
  padding: 80px 0;
  background: var(--navy);
}
.cf-foundry-v2-metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .cf-foundry-v2-metrics__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.cf-foundry-v2-metric__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 8px;
  font-weight: 500;
}
.cf-foundry-v2-metric__label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Portfolio Preview ---- */
.cf-foundry-v2-portfolio {
  padding: 100px 0 80px;
  background: #f8fafc;
}
.cf-foundry-v2-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cf-foundry-v2-projects {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.cf-foundry-v2-project {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}
.cf-foundry-v2-project:hover {
  box-shadow: 0 12px 40px rgba(5, 28, 44, 0.06);
  transform: translateY(-2px);
}
.cf-foundry-v2-project__visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cf-foundry-v2-project__visual img {
  max-height: 80px;
  max-width: 80%;
  object-fit: contain;
  border-radius: 8px;
}
.cf-foundry-v2-project h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 20px 24px 6px;
  font-weight: 500;
}
.cf-foundry-v2-project p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-text);
  margin: 0 24px 24px;
}

/* ---- CTA ---- */
.cf-foundry-v2-cta {
  padding: 100px 0 80px;
  background: #ffffff;
}
.cf-foundry-v2-cta__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cf-foundry-v2-cta__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
  font-weight: 500;
}
.cf-foundry-v2-cta__content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-text);
  margin: 0 0 36px;
}
.cf-foundry-v2-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.cf-foundry-v2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.cf-foundry-v2-btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}
.cf-foundry-v2-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  border: 1.5px solid var(--border-light);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.cf-foundry-v2-btn-secondary:hover {
  border-color: var(--navy);
  background: rgba(5, 28, 44, 0.02);
  transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cf-foundry-v2-intro,
  .cf-foundry-v2-process,
  .cf-foundry-v2-capabilities,
  .cf-foundry-v2-portfolio,
  .cf-foundry-v2-cta {
    padding: 60px 0 50px;
  }
  .cf-foundry-v2-metrics {
    padding: 60px 0;
  }
  .cf-foundry-v2-stat-card {
    padding: 32px 24px;
  }
  .cf-foundry-v2-cap-card {
    padding: 32px 24px;
  }
}

/* Removed sub-page downward blend transitions */

/* Floating banner uncropped image styling */
.cf-banner-floating-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 96%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 96%);
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* Mobile-specific banner full-bleed background images */
.cf-foundry-banner__mobile-bg,
.cf-vg-banner__mobile-bg,
.cf-lead-banner__mobile-bg,
.portfolio-hero__mobile-bg,
.cf-insights-banner__mobile-bg {
  display: none;
}

@media (max-width: 767px) {
  .cf-foundry-banner__mobile-bg,
  .cf-vg-banner__mobile-bg,
  .cf-lead-banner__mobile-bg,
  .portfolio-hero__mobile-bg,
  .cf-insights-banner__mobile-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .cf-foundry-banner__mobile-bg img,
  .cf-vg-banner__mobile-bg img,
  .cf-lead-banner__mobile-bg img,
  .portfolio-hero__mobile-bg img,
  .cf-insights-banner__mobile-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85; /* Soften the image background on mobile */
  }
}

/* Portfolio Hero Title Adjustments for Readability & Height */
.portfolio-hero__title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}
@media (max-width: 767px) {
  .portfolio-hero__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}
@media (max-width: 480px) {
  .portfolio-hero__title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* Venture & Growth Premium Teal Theme overrides */
.cf-vg-banner {
  background: linear-gradient(135deg, #182b2e 0%, #274045 60%, #2f444f 100%);
}
.cf-vg-banner__eyebrow {
  color: #61c0b3;
}
.cf-vg-banner__title em {
  color: #61c0b3;
}
.cf-vg-banner__title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}
@media (max-width: 767px) {
  .cf-vg-banner__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}
@media (max-width: 480px) {
  .cf-vg-banner__title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* Leadership Premium Violet Theme overrides */
.cf-lead-banner {
  background: linear-gradient(135deg, #0e0d1d 0%, #151528 60%, #1e1e32 100%);
}
.cf-lead-banner__eyebrow {
  color: #b09eff;
}
.cf-lead-banner__title em {
  color: #b09eff;
}
.cf-lead-banner__title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}
@media (max-width: 767px) {
  .cf-lead-banner__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}
@media (max-width: 480px) {
  .cf-lead-banner__title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* Insights Premium Dark Navy Theme overrides */
.cf-insights-banner {
  background: linear-gradient(135deg, #132135 0%, #192942 60%, #0f1722 100%);
}
.cf-insights-banner__eyebrow {
  color: #61b5dd;
}
.cf-insights-banner__title em {
  color: #61b5dd;
}
.cf-insights-banner__title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}
@media (max-width: 767px) {
  .cf-insights-banner__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}
@media (max-width: 480px) {
  .cf-insights-banner__title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* About Page Banner Title Adjustments for Readability & Height */
.cf-about-banner__title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}
@media (max-width: 767px) {
  .cf-about-banner__title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}
@media (max-width: 480px) {
  .cf-about-banner__title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* Custom Header Styling to Match Subpage Banner Backgrounds */
.foundry-page .site-header.header--light,
.portfolio-page .site-header.header--light,
.venture-growth-page .site-header.header--light,
.leadership-page .site-header.header--light,
.insights-page .site-header.header--light,
.about-page .site-header.header--light,
.bullshot-page .site-header.header--light,
.page-bduck .site-header.header--light,
.happi-page .site-header.header--light,
.meme-world-page .site-header.header--light,
.page-vblock .site-header.header--light {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.foundry-page .site-header.header--light {
  background: linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%);
}
.portfolio-page .site-header.header--light {
  background: linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%);
}
.venture-growth-page .site-header.header--light {
  background: linear-gradient(135deg, #182b2e 0%, #274045 60%, #2f444f 100%);
}
.leadership-page .site-header.header--light {
  background: linear-gradient(135deg, #0e0d1d 0%, #151528 60%, #1e1e32 100%);
}
.insights-page .site-header.header--light {
  background: linear-gradient(135deg, #132135 0%, #192942 60%, #0f1722 100%);
}
.about-page .site-header.header--light {
  background: #051c2c;
}
.bullshot-page .site-header.header--light {
  background: linear-gradient(135deg, #120b05 0%, #231408 50%, #0d0702 100%);
}
.page-bduck .site-header.header--light {
  background: linear-gradient(135deg, #181100 0%, #2f2200 50%, #120d00 100%);
}
.happi-page .site-header.header--light {
  background: linear-gradient(135deg, #090e1a 0%, #111e35 50%, #05080f 100%);
}
.meme-world-page .site-header.header--light {
  background: linear-gradient(135deg, #100b00 0%, #241900 50%, #0c0800 100%);
}
.page-vblock .site-header.header--light {
  background: linear-gradient(135deg, #12051d 0%, #20133c 50%, #0c0214 100%);
}

/* Light header elements override to display in light color on dark subpage gradients */
.foundry-page .site-header.header--light .site-logo,
.portfolio-page .site-header.header--light .site-logo,
.venture-growth-page .site-header.header--light .site-logo,
.leadership-page .site-header.header--light .site-logo,
.insights-page .site-header.header--light .site-logo,
.about-page .site-header.header--light .site-logo,
.bullshot-page .site-header.header--light .site-logo,
.page-bduck .site-header.header--light .site-logo,
.happi-page .site-header.header--light .site-logo,
.meme-world-page .site-header.header--light .site-logo,
.page-vblock .site-header.header--light .site-logo {
  filter: invert(1) brightness(2);
}

.foundry-page .site-header.header--light .desktop-nav__link,
.portfolio-page .site-header.header--light .desktop-nav__link,
.venture-growth-page .site-header.header--light .desktop-nav__link,
.leadership-page .site-header.header--light .desktop-nav__link,
.insights-page .site-header.header--light .desktop-nav__link,
.about-page .site-header.header--light .desktop-nav__link,
.bullshot-page .site-header.header--light .desktop-nav__link,
.page-bduck .site-header.header--light .desktop-nav__link,
.happi-page .site-header.header--light .desktop-nav__link,
.meme-world-page .site-header.header--light .desktop-nav__link,
.page-vblock .site-header.header--light .desktop-nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.foundry-page .site-header.header--light .desktop-nav__link:hover,
.portfolio-page .site-header.header--light .desktop-nav__link:hover,
.venture-growth-page .site-header.header--light .desktop-nav__link:hover,
.leadership-page .site-header.header--light .desktop-nav__link:hover,
.insights-page .site-header.header--light .desktop-nav__link:hover,
.about-page .site-header.header--light .desktop-nav__link:hover,
.bullshot-page .site-header.header--light .desktop-nav__link:hover,
.page-bduck .site-header.header--light .desktop-nav__link:hover,
.happi-page .site-header.header--light .desktop-nav__link:hover,
.meme-world-page .site-header.header--light .desktop-nav__link:hover,
.page-vblock .site-header.header--light .desktop-nav__link:hover,
.foundry-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.portfolio-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.venture-growth-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.leadership-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.insights-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.about-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.bullshot-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.page-bduck .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.happi-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.meme-world-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link,
.page-vblock .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  color: var(--white);
}

.foundry-page .site-header.header--light .desktop-nav__link:hover,
.foundry-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #a880ff;
}
.portfolio-page .site-header.header--light .desktop-nav__link:hover,
.portfolio-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #a880ff;
}
.venture-growth-page .site-header.header--light .desktop-nav__link:hover,
.venture-growth-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #61c0b3;
}
.leadership-page .site-header.header--light .desktop-nav__link:hover,
.leadership-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #b09eff;
}
.insights-page .site-header.header--light .desktop-nav__link:hover,
.insights-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #61b5dd;
}
.about-page .site-header.header--light .desktop-nav__link:hover,
.about-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #c9a96e;
}
.bullshot-page .site-header.header--light .desktop-nav__link:hover,
.bullshot-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #ff9f1a;
}
.page-bduck .site-header.header--light .desktop-nav__link:hover,
.page-bduck .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #ffd700;
}
.happi-page .site-header.header--light .desktop-nav__link:hover,
.happi-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #60a5fa;
}
.meme-world-page .site-header.header--light .desktop-nav__link:hover,
.meme-world-page .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #e6c35c;
}
.page-vblock .site-header.header--light .desktop-nav__link:hover,
.page-vblock .site-header.header--light .desktop-nav__item:hover > .desktop-nav__link {
  border-bottom-color: #8a5cf5;
}

.foundry-page .site-header.header--light .header-auth,
.foundry-page .site-header.header--light .header-auth a,
.portfolio-page .site-header.header--light .header-auth,
.portfolio-page .site-header.header--light .header-auth a,
.venture-growth-page .site-header.header--light .header-auth,
.venture-growth-page .site-header.header--light .header-auth a,
.leadership-page .site-header.header--light .header-auth,
.leadership-page .site-header.header--light .header-auth a,
.insights-page .site-header.header--light .header-auth,
.insights-page .site-header.header--light .header-auth a,
.about-page .site-header.header--light .header-auth,
.about-page .site-header.header--light .header-auth a,
.bullshot-page .site-header.header--light .header-auth,
.bullshot-page .site-header.header--light .header-auth a,
.page-bduck .site-header.header--light .header-auth,
.page-bduck .site-header.header--light .header-auth a,
.happi-page .site-header.header--light .header-auth,
.happi-page .site-header.header--light .header-auth a,
.meme-world-page .site-header.header--light .header-auth,
.meme-world-page .site-header.header--light .header-auth a,
.page-vblock .site-header.header--light .header-auth,
.page-vblock .site-header.header--light .header-auth a {
  color: rgba(255, 255, 255, 0.85);
}

.foundry-page .site-header.header--light .header-auth a:hover,
.portfolio-page .site-header.header--light .header-auth a:hover,
.venture-growth-page .site-header.header--light .header-auth a:hover,
.leadership-page .site-header.header--light .header-auth a:hover,
.insights-page .site-header.header--light .header-auth a:hover,
.about-page .site-header.header--light .header-auth a:hover,
.bullshot-page .site-header.header--light .header-auth a:hover,
.page-bduck .site-header.header--light .header-auth a:hover,
.happi-page .site-header.header--light .header-auth a:hover,
.meme-world-page .site-header.header--light .header-auth a:hover,
.page-vblock .site-header.header--light .header-auth a:hover {
  color: var(--white);
}

.foundry-page .site-header.header--light .header-search-btn,
.portfolio-page .site-header.header--light .header-search-btn,
.venture-growth-page .site-header.header--light .header-search-btn,
.leadership-page .site-header.header--light .header-search-btn,
.insights-page .site-header.header--light .header-search-btn,
.about-page .site-header.header--light .header-search-btn,
.bullshot-page .site-header.header--light .header-search-btn,
.page-bduck .site-header.header--light .header-search-btn,
.happi-page .site-header.header--light .header-search-btn,
.meme-world-page .site-header.header--light .header-search-btn,
.page-vblock .site-header.header--light .header-search-btn {
  color: rgba(255, 255, 255, 0.85);
}

.foundry-page .site-header.header--light .hamburger span,
.portfolio-page .site-header.header--light .hamburger span,
.venture-growth-page .site-header.header--light .hamburger span,
.leadership-page .site-header.header--light .hamburger span,
.insights-page .site-header.header--light .hamburger span,
.about-page .site-header.header--light .hamburger span,
.bullshot-page .site-header.header--light .hamburger span,
.page-bduck .site-header.header--light .hamburger span,
.happi-page .site-header.header--light .hamburger span,
.meme-world-page .site-header.header--light .hamburger span,
.page-vblock .site-header.header--light .hamburger span {
  background: var(--white);
}

/* Portfolio Page Dark Theme styling (matching banner) */
.portfolio-page .portfolio-projects {
  background: #0d122e;
}
.portfolio-page .project-card {
  background: #13193e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  overflow: hidden;
}
.portfolio-page .project-card__title {
  color: var(--white);
}
.portfolio-page .project-card__tagline {
  color: rgba(255, 255, 255, 0.7);
}
.portfolio-page .project-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}
.portfolio-page .project-card__logo-wrap {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Portfolio Page Footer overrides */
.portfolio-page .site-footer {
  background: #070a1c;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.portfolio-page .footer-brand__logo {
  filter: invert(1) brightness(2);
}
.portfolio-page .footer-links__col a {
  color: rgba(255, 255, 255, 0.7);
}
.portfolio-page .footer-links__col a:hover {
  color: #a880ff;
}
.portfolio-page .footer-subscribe h4 {
  color: var(--white);
}
.portfolio-page .footer-subscribe p {
  color: rgba(255, 255, 255, 0.6);
}
.portfolio-page .footer-subscribe__form input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.portfolio-page .footer-subscribe__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.portfolio-page .footer-subscribe__form input:focus {
  border-color: #a880ff;
}
.portfolio-page .footer-subscribe__form button {
  background: #a880ff;
  color: var(--navy);
}
.portfolio-page .footer-subscribe__form button:hover {
  background: #bfa5ff;
}
.portfolio-page .footer-divider__line {
  background: rgba(255, 255, 255, 0.08);
}
.portfolio-page .footer-social a {
  color: rgba(255, 255, 255, 0.7);
}
.portfolio-page .footer-social a:hover {
  color: #a880ff;
}
.portfolio-page .footer-app-text {
  color: rgba(255, 255, 255, 0.5);
}
.portfolio-page .footer-legal a {
  color: rgba(255, 255, 255, 0.6);
}
.portfolio-page .footer-legal a:hover {
  color: #a880ff;
}
.portfolio-page .footer-copyright {
  color: rgba(255, 255, 255, 0.45);
}

/* Subpage-specific Dropdown overrides matching their banners */
.foundry-page .desktop-nav__dropdown,
.portfolio-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #101535 0%, #1a235b 50%, #0d122e 100%) !important;
  border-top-color: #a880ff !important;
}
.foundry-page .desktop-nav__dropdown .dropdown__header:hover,
.portfolio-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #a880ff !important;
  border-bottom-color: #a880ff !important;
}
.foundry-page .desktop-nav__dropdown .dropdown__link:hover,
.portfolio-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #a880ff !important;
}

.venture-growth-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #182b2e 0%, #274045 60%, #2f444f 100%) !important;
  border-top-color: #61c0b3 !important;
}
.venture-growth-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #61c0b3 !important;
  border-bottom-color: #61c0b3 !important;
}
.venture-growth-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #61c0b3 !important;
}

.leadership-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #0e0d1d 0%, #151528 60%, #1e1e32 100%) !important;
  border-top-color: #b09eff !important;
}
.leadership-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #b09eff !important;
  border-bottom-color: #b09eff !important;
}
.leadership-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #b09eff !important;
}

.insights-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #132135 0%, #192942 60%, #0f1722 100%) !important;
  border-top-color: #61b5dd !important;
}
.insights-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #61b5dd !important;
  border-bottom-color: #61b5dd !important;
}
.insights-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #61b5dd !important;
}

.about-page .desktop-nav__dropdown {
  background: #051c2c !important;
  border-top-color: #c9a96e !important;
}
.about-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #c9a96e !important;
  border-bottom-color: #c9a96e !important;
}
.about-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #c9a96e !important;
}

.bullshot-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #120b05 0%, #231408 50%, #0d0702 100%) !important;
  border-top-color: #ff9f1a !important;
}
.bullshot-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #ff9f1a !important;
  border-bottom-color: #ff9f1a !important;
}
.bullshot-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #ff9f1a !important;
}

.page-bduck .desktop-nav__dropdown {
  background: linear-gradient(135deg, #181100 0%, #2f2200 50%, #120d00 100%) !important;
  border-top-color: #ffd700 !important;
}
.page-bduck .desktop-nav__dropdown .dropdown__header:hover {
  color: #ffd700 !important;
  border-bottom-color: #ffd700 !important;
}
.page-bduck .desktop-nav__dropdown .dropdown__link:hover {
  color: #ffd700 !important;
}

.happi-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #090e1a 0%, #111e35 50%, #05080f 100%) !important;
  border-top-color: #60a5fa !important;
}
.happi-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #60a5fa !important;
  border-bottom-color: #60a5fa !important;
}
.happi-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #60a5fa !important;
}

.meme-world-page .desktop-nav__dropdown {
  background: linear-gradient(135deg, #100b00 0%, #241900 50%, #0c0800 100%) !important;
  border-top-color: #e6c35c !important;
}
.meme-world-page .desktop-nav__dropdown .dropdown__header:hover {
  color: #e6c35c !important;
  border-bottom-color: #e6c35c !important;
}
.meme-world-page .desktop-nav__dropdown .dropdown__link:hover {
  color: #e6c35c !important;
}

.page-vblock .desktop-nav__dropdown {
  background: linear-gradient(135deg, #12051d 0%, #20133c 50%, #0c0214 100%) !important;
  border-top-color: #8a5cf5 !important;
}
.page-vblock .desktop-nav__dropdown .dropdown__header:hover {
  color: #8a5cf5 !important;
  border-bottom-color: #8a5cf5 !important;
}
.page-vblock .desktop-nav__dropdown .dropdown__link:hover {
  color: #8a5cf5 !important;
}

/* ============================================================
   LEADERSHIP PAGE — Founder Section Dark Violet Theme
   Matches the banner gradient: #0e0d1d → #151528 → #1e1e32
   Accent: #b09eff (soft violet)
   ============================================================ */

/* Section background — deep violet gradient matching banner */
.leadership-page .cf-founder-section {
  background: linear-gradient(180deg, #0e0d1d 0%, #131230 40%, #151528 70%, #1a1840 100%);
}

/* Decorative radial glows — soft violet instead of blue */
.leadership-page .cf-founder-section::before {
  background: radial-gradient(circle, rgba(176, 158, 255, 0.08) 0%, transparent 70%);
}
.leadership-page .cf-founder-section::after {
  background: radial-gradient(circle, rgba(140, 120, 220, 0.06) 0%, transparent 70%);
}

/* Photo frame — deep violet glass with subtle violet glow */
.leadership-page .cf-founder-frame {
  background: linear-gradient(135deg, #1a1840 0%, #201e50 50%, #18163a 100%);
  box-shadow: 0 40px 80px -20px rgba(100, 80, 200, 0.2), 0 0 0 1px rgba(176, 158, 255, 0.1);
}
.leadership-page .cf-founder-frame::before {
  border-color: rgba(176, 158, 255, 0.15);
}
.leadership-page .cf-founder-frame::after {
  background: radial-gradient(circle, rgba(176, 158, 255, 0.12) 0%, transparent 70%);
}

/* Placeholder icon & text — soft violet */
.leadership-page .cf-founder-placeholder {
  color: rgba(176, 158, 255, 0.5);
}

/* Accent ring — violet border with violet/amber decorative dots */
.leadership-page .cf-founder-accent-ring {
  border-color: rgba(176, 158, 255, 0.1);
}
.leadership-page .cf-founder-accent-ring::before {
  background: linear-gradient(135deg, #b09eff, #8b7ad8);
  opacity: 0.4;
  box-shadow: 0 8px 24px rgba(176, 158, 255, 0.25);
}
.leadership-page .cf-founder-accent-ring::after {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  opacity: 0.3;
  box-shadow: 0 6px 18px rgba(176, 158, 255, 0.15);
}

/* Eyebrow label — soft violet */
.leadership-page .cf-founder-eyebrow {
  color: #b09eff;
}
.leadership-page .cf-founder-eyebrow::before {
  background: linear-gradient(90deg, #b09eff, #8b7ad8);
}

/* Founder name — white for contrast */
.leadership-page .cf-founder-name {
  color: var(--white);
}

/* Subtitle — soft lavender */
.leadership-page .cf-founder-title {
  color: #b09eff;
}

/* Quote block — frosted glass on dark background */
.leadership-page .cf-founder-quote {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: #b09eff;
  box-shadow: 0 4px 20px rgba(100, 80, 200, 0.08);
}
.leadership-page .cf-founder-quote::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23b09eff"><path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" opacity="0.2"/></svg>') no-repeat center;
  background-size: contain;
}
.leadership-page .cf-founder-quote p {
  color: rgba(255, 255, 255, 0.85);
}

/* Bio text — soft off-white */
.leadership-page .cf-founder-bio {
  color: rgba(255, 255, 255, 0.6);
}

/* Stats — white numbers, violet labels */
.leadership-page .cf-founder-stat-v {
  color: var(--white);
}
.leadership-page .cf-founder-stat-l {
  color: #b09eff;
}

/* Bottom accent line — violet gradient */
.leadership-page .cf-founder-accent-line {
  background: linear-gradient(90deg, #b09eff, #8b7ad8, #b09eff);
}

/* Move the floating banner image slightly to the left for better visual balance */
.portfolio-hero .cf-banner-floating-img {
  left: -35px;
}

/* ---- Happi Card Showcase Section ---- */
.happi-showcase-section {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.happi-showcase-section .container {
  max-width: 1280px;
}
.happi-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.happi-card-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(5, 28, 44, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 
    0 10px 30px rgba(5, 28, 44, 0.04),
    0 1px 3px rgba(5, 28, 44, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.happi-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 24px 48px rgba(5, 28, 44, 0.1),
    0 2px 6px rgba(5, 28, 44, 0.04);
}
.happi-card-media {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.happi-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35));
}
.happi-card-item:hover .happi-card-media img {
  transform: scale(1.05) translateY(-2px);
}
.happi-card-info {
  margin-top: 24px;
  text-align: center;
}
.happi-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 600;
}
.happi-card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray-text);
  margin: 0;
}

@media (max-width: 991px) {
  .happi-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .happi-card-media {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .happi-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .happi-showcase-section {
    padding: 64px 0;
  }
  .happi-card-media {
    height: 260px;
  }
}
