/* =========================================================
   SYDI AI — Responsive Frame Stylesheet
   Fluid scaling on desktop (fits any viewport, preserves design).
   Natural responsive flow on tablet & mobile.
   ========================================================= */

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0 !important;
  background: #000515 !important;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Stage = full-viewport wrapper. On desktop, holds the design canvas.
   On mobile it becomes a natural block container.               */
.aspect-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000515;
  display: block;
  overflow-x: hidden;
}

/* Page canvas — native 1440px design width, scaled with CSS zoom on
   desktop so proportions are preserved perfectly at any width.    */
.page-scale {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #000515;
  min-height: 100vh;
}

/* Header stays sticky at the top */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

main, section {
  width: 100%;
}

/* =========================================================
   Landing page — desktop refinements
   ========================================================= */
.page-landing .hero {
  padding-top: 96px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 380px);
}
.page-landing .hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 40px;
}
.page-landing .hero-title {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.page-landing .hero-sub {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  margin-bottom: 26px;
  max-width: 460px;
}
.page-landing .hero-image {
  max-width: 100%;
  width: 100%;
  height: auto;
}
.page-landing .engines {
  padding: 16px 0 48px;
}
.page-landing .engines-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-landing .engines-heading { margin-bottom: 28px; }
.page-landing .engine-title { font-size: clamp(14px, 1.2vw, 17px); }
.page-landing .engine-desc  { font-size: clamp(12px, 0.95vw, 13px); }

/* =========================================================
   Enterprise Products
   ========================================================= */
.page-enterprise .hero {
  padding-top: 96px;
  padding-bottom: 24px;
}
.page-enterprise .hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 60px 10px;
  gap: 40px;
}
.page-enterprise .hero-title { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.05; margin-bottom: 20px; }
.page-enterprise .hero-sub   { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.55; margin-bottom: 26px; }
.page-enterprise .hero-image { max-width: 100%; width: 100%; }
.page-enterprise .products   { padding: 16px 0 40px; }
.page-enterprise .products-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-enterprise .products-heading { margin-bottom: 26px; }
.page-enterprise .products-grid    { gap: 18px; }
.page-enterprise .product-title    { font-size: clamp(14px, 1.2vw, 17px); }
.page-enterprise .product-desc     { font-size: clamp(12px, 0.95vw, 13px); line-height: 1.4; }
.page-enterprise .pillars-strip    { margin-top: 22px; }

/* =========================================================
   Business Consulting
   ========================================================= */
.page-business-consulting .hero {
  padding-top: 96px;
  padding-bottom: 20px;
}
.page-business-consulting .hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr 1.1fr;
}
.page-business-consulting .hero-left    { max-width: 560px; }
.page-business-consulting .hero-eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: 3px; }
.page-business-consulting .hero-title   { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; margin-bottom: 18px; }
.page-business-consulting .hero-sub     { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; margin-bottom: 22px; }
.page-business-consulting .hero-ctas    { margin-bottom: 24px; }
.page-business-consulting .hero-features{ gap: 22px; }
.page-business-consulting .feature-icon-wrap { width: 46px; height: 46px; padding: 6px; }
.page-business-consulting .hero-right-image  { max-width: 100%; width: 100%; height: auto; }
.page-business-consulting .portfolio         { padding: 16px 0 40px; }
.page-business-consulting .portfolio-inner   {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-business-consulting .portfolio-heading { margin-bottom: 22px; }
.page-business-consulting .lifecycle-grid    {
  gap: 6px;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
}
.page-business-consulting .lifecycle-card h3   { font-size: clamp(12px, 1vw, 14px); }
.page-business-consulting .lifecycle-card p    { font-size: clamp(10px, 0.85vw, 12px); line-height: 1.35; }
.page-business-consulting .offerings-wrap      { margin-top: 20px; padding: 22px 22px 18px; }
.page-business-consulting .offerings-grid      { gap: 14px; }
.page-business-consulting .offering-item h4,
.page-business-consulting .offering-item h3,
.page-business-consulting .offering-title-text { font-size: clamp(12px, 1vw, 14px); }
.page-business-consulting .offering-item p     { font-size: clamp(10px, 0.85vw, 12px); line-height: 1.35; }

/* =========================================================
   Agentic Studio
   ========================================================= */
.page-agentic-studio .hero {
  padding-top: 96px;
  padding-bottom: 18px;
}
.page-agentic-studio .hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 40px;
}
.page-agentic-studio .hero-title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; margin-bottom: 18px; }
.page-agentic-studio .hero-sub   { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.55; margin-bottom: 22px; }
.page-agentic-studio .hero-ctas  { margin-bottom: 20px; }
.page-agentic-studio .platform-banner { max-width: 500px; padding: 14px 20px; }
.page-agentic-studio .hero-image { max-width: 100%; width: 100%; }
.page-agentic-studio .offerings  { padding: 16px 0 40px; }
.page-agentic-studio .offerings-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-agentic-studio .offerings-heading { margin-bottom: 22px; }
.page-agentic-studio .offerings-grid    { gap: 16px; margin-bottom: 24px; }
.page-agentic-studio .offering-title    { font-size: clamp(13px, 1.1vw, 16px); }
.page-agentic-studio .offering-desc     { font-size: clamp(11px, 0.9vw, 13px); line-height: 1.4; }
.page-agentic-studio .other-heading     { margin-bottom: 16px; }
.page-agentic-studio .other-grid        { gap: 14px; }
.page-agentic-studio .other-card        {
  min-height: 78px;
  padding: 14px 16px;
}
.page-agentic-studio .other-text        { font-size: clamp(11px, 0.95vw, 13px); }
.page-agentic-studio .other-icon        { width: 30px; height: 30px; }
.page-agentic-studio .other-icon-wrap   { width: 40px; height: 40px; }
.page-agentic-studio .platform-icon-wrap{ width: 54px; height: 54px; }
.page-agentic-studio .platform-icon     { width: 54px; height: 54px; }

/* =========================================================
   Accelerators
   ========================================================= */
.page-accelerators .hero {
  padding: 96px 0 24px;
  display: flex;
  align-items: center;
}
.page-accelerators .hero-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 40px;
  align-items: center;
}
.page-accelerators .hero-copy h1 { font-size: clamp(32px, 3.4vw, 56px); margin-bottom: 18px; line-height: 1.05; }
.page-accelerators .hero-text    { font-size: clamp(14px, 1.05vw, 17px); max-width: 540px; margin-bottom: 22px; line-height: 1.5; }
.page-accelerators .eyebrow      { font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
.page-accelerators .accelerator-families {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 60px 40px;
}
.page-accelerators .section-title { margin-bottom: 22px; }
.page-accelerators .section-title h2 { font-size: clamp(12px, 1.05vw, 15px); letter-spacing: 3px; }
.page-accelerators .family-grid   { gap: 16px; }
.page-accelerators .family-card   {
  min-height: 130px;
  padding: 16px 18px;
  gap: 16px;
  align-items: center;
}
.page-accelerators .family-card > img,
.page-accelerators .family-card img {
  width: 72px; height: 72px; padding: 6px;
  border: 2px solid #2eb8ff; border-radius: 50%;
  background: rgba(46,184,255,.12); box-shadow: none;
  transform: none;
}
.page-accelerators .family-card h3 { font-size: clamp(13px, 1.1vw, 16px); margin-bottom: 4px; }
.page-accelerators .family-card p  { font-size: clamp(11px, 0.9vw, 13px); line-height: 1.4; margin-bottom: 6px; }
.page-accelerators .family-card em { font-size: clamp(10px, 0.85vw, 12px); }
.page-accelerators .proof-bar      { margin-top: 20px; }
.page-accelerators .proof-bar div  { min-height: 72px; padding: 12px 10px; gap: 14px; }
.page-accelerators .proof-bar img  { width: 40px; height: 40px; transform: none; }
.page-accelerators .proof-bar span { font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 1.2px; }
.page-accelerators .hero-visual img { max-width: 100%; width: 100%; }
.page-accelerators .main-nav a.active { color: #0fb7ff; border-bottom: 2px solid #0fb7ff; padding-bottom: 8px; }
.page-accelerators .expert-btn { text-decoration: none; display: inline-flex; align-items: center; }
.page-accelerators dialog { z-index: 9999; }

/* =========================================================
   Technology Services
   ========================================================= */
.page-technology-services .hero {
  padding-top: 96px;
  padding-bottom: 18px;
}
.page-technology-services .hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr 1.1fr;
}
.page-technology-services .hero-left    { max-width: 560px; }
.page-technology-services .hero-eyebrow { margin-bottom: 12px; font-size: 13px; letter-spacing: 3px; }
.page-technology-services .hero-title   { font-size: clamp(30px, 3vw, 46px); margin-bottom: 18px; line-height: 1.06; }
.page-technology-services .hero-sub     { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; margin-bottom: 22px; max-width: 480px; }
.page-technology-services .hero-ctas    { margin-bottom: 24px; gap: 14px; }
.page-technology-services .hero-pill    { padding: 6px 18px 6px 6px; }
.page-technology-services .pill-icon-wrap { width: 36px; height: 36px; padding: 4px; }
.page-technology-services .pill-text    { font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 1.4px; gap: 10px; }
.page-technology-services .hero-right-image { max-width: 100%; width: 100%; }
.page-technology-services .portfolio    { padding: 16px 0 40px; }
.page-technology-services .portfolio-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 60px;
}
.page-technology-services .portfolio-heading   { margin-bottom: 22px; }
.page-technology-services .portfolio-heading h2 { font-size: clamp(12px, 1.05vw, 15px); letter-spacing: 3px; }
.page-technology-services .services-grid   { gap: 16px; margin-bottom: 20px; }
.page-technology-services .service-card    {
  min-height: 200px;
  padding: 20px 16px;
  gap: 12px;
}
.page-technology-services .service-icon-wrap { width: 60px; height: 60px; padding: 6px; }
.page-technology-services .service-body h3   { font-size: clamp(13px, 1.05vw, 15px); margin-bottom: 5px; }
.page-technology-services .service-body p    { font-size: clamp(11px, 0.9vw, 13px); line-height: 1.4; }
.page-technology-services .service-arrow     { width: 26px; height: 26px; font-size: 13px; right: 10px; bottom: 10px; }
.page-technology-services .proof-bar         { padding: 12px 18px; gap: 12px; }
.page-technology-services .proof-item        { padding: 8px 6px; gap: 12px; }
.page-technology-services .proof-icon-wrap   { width: 42px; height: 42px; }
.page-technology-services .proof-text        { font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 1.2px; }
.page-technology-services .proof-divider     { height: 40px; }

/* =========================================================
   TABLET breakpoint (max-width: 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  /* Header: keep visible, tighten spacing */
  .header-inner { padding: 0 24px !important; gap: 16px !important; }
  .nav-list { gap: 20px !important; }
  .nav-link, .main-nav a { font-size: 13px !important; }

  /* Hero: stack columns */
  .hero-inner, .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 0 40px !important;
    gap: 32px !important;
  }
  .hero-left, .hero-copy { max-width: 100% !important; margin: 0 auto !important; }
  .hero-sub, .hero-text { margin-left: auto !important; margin-right: auto !important; }
  .hero-ctas, .hero-actions { justify-content: center !important; }
  .hero-features { justify-content: center !important; }

  /* All grids: 2 columns */
  .page-landing .engines-grid,
  .page-enterprise .products-grid,
  .page-agentic-studio .offerings-grid,
  .page-agentic-studio .other-grid,
  .page-accelerators .family-grid,
  .page-technology-services .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Business Consulting lifecycle: 2 columns, drop arrows */
  .page-business-consulting .lifecycle-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .page-business-consulting .conn-arrow { display: none !important; }
  .page-business-consulting .offerings-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Pillars & proof bars: wrap nicely */
  .pillars-strip { flex-wrap: wrap !important; justify-content: center !important; gap: 14px 20px !important; }
  .pillar-sep { display: none !important; }
  .proof-bar { grid-template-columns: repeat(2, 1fr) !important; }
  .page-technology-services .proof-bar { grid-template-columns: 1fr !important; }
  .page-technology-services .proof-divider { display: none !important; }

  /* Inner max-widths */
  .page-landing .engines-inner,
  .page-enterprise .products-inner,
  .page-enterprise .hero-inner,
  .page-business-consulting .hero-inner,
  .page-business-consulting .portfolio-inner,
  .page-agentic-studio .hero-inner,
  .page-agentic-studio .offerings-inner,
  .page-accelerators .hero-grid,
  .page-accelerators .accelerator-families,
  .page-technology-services .hero-inner,
  .page-technology-services .portfolio-inner {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* =========================================================
   MOBILE menu backdrop (visible when nav open)
   ========================================================= */
.mobile-nav-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 5, 21, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 721px) {
  .mobile-nav-backdrop { display: none !important; }
}

/* Lock body scroll when the mobile menu is open */
body.nav-open { overflow: hidden !important; }

/* Hamburger -> X animation when active */
.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.mobile-toggle span {
  transition: transform .28s ease, opacity .2s ease !important;
}

/* =========================================================
   MOBILE breakpoint (max-width: 720px)
   ========================================================= */
@media (max-width: 720px) {
  :root { --header-h: 60px; }

  /* Header: show hamburger, hide nav & CTA */
  .site-header { height: 60px !important; }
  .header-inner {
    padding: 0 18px !important;
    gap: 10px !important;
    height: 60px !important;
    justify-content: space-between !important;
  }
  .brand { font-size: 20px !important; }

  .main-nav {
    display: block !important;
    position: fixed !important;
    top: 60px !important;
    right: 0 !important;
    left: auto !important;
    width: min(84vw, 320px) !important;
    height: calc(100vh - 60px) !important;
    max-height: calc(100vh - 60px) !important;
    background: linear-gradient(180deg, rgba(2, 14, 38, 0.99), rgba(0, 5, 21, 0.99)) !important;
    padding: 24px 22px 32px !important;
    border-left: 1px solid rgba(46, 184, 255, 0.25) !important;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.45) !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1) !important;
    z-index: 999 !important;
    flex: none !important;
    justify-content: flex-start !important;
  }
  .main-nav.open {
    transform: translateX(0) !important;
  }
  .nav-list {
    flex-direction: column !important;
    gap: 4px !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .nav-list li {
    width: 100% !important;
    list-style: none !important;
  }
  .nav-link, .main-nav a {
    display: block !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 14px 12px !important;
    color: #dbe5f7 !important;
    border-bottom: 1px solid rgba(46, 184, 255, 0.10) !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .nav-link::after, .main-nav a::after { display: none !important; }
  .nav-link:hover, .nav-link.active, .main-nav a:hover, .main-nav a.active {
    color: var(--accent-cyan, #2eb8ff) !important;
    background: rgba(46, 184, 255, 0.06) !important;
    padding-left: 16px !important;
  }
  .page-accelerators .main-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
  }
  .mobile-toggle, .menu-btn {
    display: block !important;
    position: relative !important;
    z-index: 1001 !important;
  }
  .btn-cta, .expert-btn { display: none !important; }

  /* Hero: tighten, single column already applied */
  .hero, .page-landing .hero, .page-enterprise .hero,
  .page-business-consulting .hero, .page-agentic-studio .hero,
  .page-accelerators .hero, .page-technology-services .hero {
    padding-top: 80px !important;
    padding-bottom: 20px !important;
    min-height: auto !important;
  }
  .hero-inner, .hero-grid {
    padding: 0 20px !important;
    gap: 24px !important;
  }
  .hero-title, .hero-copy h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.1 !important;
    margin-bottom: 14px !important;
  }
  .hero-sub, .hero-text {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .hero-ctas, .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .btn, .button { justify-content: center !important; width: 100% !important; }

  /* All grids: single column */
  .page-landing .engines-grid,
  .page-enterprise .products-grid,
  .page-agentic-studio .offerings-grid,
  .page-agentic-studio .other-grid,
  .page-accelerators .family-grid,
  .page-technology-services .services-grid,
  .page-business-consulting .lifecycle-grid,
  .page-business-consulting .offerings-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Section headings */
  .engines-heading h2,
  .products-heading h2,
  .offerings-heading h2,
  .portfolio-heading h2,
  .section-title h2,
  .other-heading h2 {
    font-size: 12px !important;
    letter-spacing: 2px !important;
    padding: 0 12px 12px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }
  .heading-dot::before, .heading-dot::after { width: 30px !important; }

  /* Section padding */
  .page-landing .engines-inner,
  .page-enterprise .products-inner,
  .page-business-consulting .portfolio-inner,
  .page-agentic-studio .offerings-inner,
  .page-accelerators .accelerator-families,
  .page-technology-services .portfolio-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Cards: adjust padding & icon sizes */
  .engine-card, .product-card, .offering-card, .family-card,
  .service-card, .lifecycle-card, .other-card {
    padding: 18px 16px !important;
    min-height: auto !important;
  }
  .product-card { padding: 18px 55px 18px 16px !important; }
  .family-card { gap: 14px !important; }
  .family-card > img { width: 56px !important; height: 56px !important; }
  .engine-icon-wrap, .product-icon-wrap { width: 68px !important; height: 68px !important; }
  .engine-icon, .product-icon { width: 68px !important; height: 68px !important; }
  .offering-icon-wrap { width: 50px !important; height: 50px !important; }
  .offering-icon { width: 50px !important; height: 50px !important; }
  .service-icon-wrap { width: 50px !important; height: 50px !important; }
  .lifecycle-icon-wrap { width: 46px !important; height: 46px !important; }

  /* Pillars and proof bar: stack vertically */
  .pillars-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px !important;
  }
  .pillar { justify-content: flex-start !important; }
  .pillar-sep { display: none !important; }
  .proof-bar { grid-template-columns: 1fr !important; }
  .proof-bar div { border-right: 0 !important; border-bottom: 1px solid rgba(78,162,234,.28) !important; }
  .proof-bar div:last-child { border-bottom: 0 !important; }
  .page-business-consulting .conn-arrow { display: none !important; }

  /* Business consulting features */
  .page-business-consulting .hero-features {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .page-business-consulting .feature-pill {
    justify-content: flex-start !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(46, 184, 255, 0.22) !important;
    border-radius: 10px !important;
    background: rgba(2, 14, 38, 0.55) !important;
    gap: 12px !important;
  }
  .page-business-consulting .feature-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    padding: 6px !important;
  }
  .page-business-consulting .feature-label {
    text-align: left !important;
  }
  .page-business-consulting .feature-label strong,
  .page-business-consulting .feature-label span {
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
  .page-business-consulting .offerings-wrap { padding: 40px 14px 16px !important; }
  .page-business-consulting .offerings-title-text {
    font-size: 11px !important;
    letter-spacing: 1.4px !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .page-business-consulting .offerings-title-row {
    padding: 4px 10px !important;
    gap: 8px !important;
  }
  .page-business-consulting .offering-item {
    padding: 12px !important;
    gap: 14px !important;
    border: 1px solid rgba(46, 184, 255, 0.15) !important;
    border-radius: 10px !important;
    background: rgba(2, 14, 38, 0.35) !important;
  }
  .page-business-consulting .offering-icon-wrap {
    width: 56px !important;
    height: 56px !important;
  }
  .page-business-consulting .lifecycle-card {
    padding: 16px !important;
    min-height: auto !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  /* Technology services proof-bar */
  .page-technology-services .proof-bar { grid-template-columns: 1fr !important; }
  .page-technology-services .proof-divider { display: none !important; }

  /* Hero images: cap so they don't dominate */
  .hero-image, .hero-visual img, .hero-right-image {
    max-width: 100% !important;
    max-height: 320px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }
}

/* =========================================================
   Very small phones
   ========================================================= */
@media (max-width: 400px) {
  .hero-title, .hero-copy h1 { font-size: 26px !important; }
  .hero-inner, .hero-grid { padding: 0 16px !important; }
  .page-landing .engines-inner,
  .page-enterprise .products-inner,
  .page-business-consulting .portfolio-inner,
  .page-agentic-studio .offerings-inner,
  .page-accelerators .accelerator-families,
  .page-technology-services .portfolio-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .brand { font-size: 18px !important; }
}
