/* ============================================
   Umatiq — styles.css
   Palette: #0B2539 · #263C4F · #6B7A87
            #0DEAD2 · #E6FFFB · #D6DEE3
            #F7F9FA · #FFFFFF
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --navy:         #0B2539;
  --navy-2:       #263C4F;
  --muted:        #6B7A87;
  --cyan:         #0DEAD2;
  --cyan-hover:   #0bc4bd;
  --cyan-tint:    #E6FFFB;
  --border:       #D6DEE3;
  --bg-soft:      #F7F9FA;
  --bg-white:     #FFFFFF;

  /* semantic aliases */
  --color-text:        var(--navy);
  --color-text-mid:    var(--navy-2);
  --color-text-muted:  var(--muted);
  --color-accent:      var(--cyan);
  --color-accent-h:    var(--cyan-hover);
  --color-bg:          var(--bg-white);
  --color-bg-alt:      var(--bg-soft);
  --color-bg-dark:     var(--navy);
  --color-bg-dark2:    var(--navy-2);
  --color-border:      var(--border);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-hero: clamp(46px, 4vw, 64px);
  --fs-h2:   clamp(1.8rem, 3vw, 2.8rem);
  --fs-h3:   clamp(1.15rem, 1.8vw, 1.45rem);
  --fs-body: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  --max-w:        1280px;
  --section-pad:  124px;
  --radius-card:  12px;
  --radius-btn:   7px;
  --ease:         0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 114px;
}
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--navy);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   LIVE BANNER
   ============================================ */
.live-banner {
  background: var(--navy);
  text-align: center;
  padding: 10px 32px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 200;
}
.live-banner a {
  color: var(--cyan);
  font-weight: 600;
}
.live-banner a:hover { text-decoration: underline; }
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  animation: pulse 1.6s infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.35); }
}
.close-banner {
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 18px; line-height: 1;
  padding: 4px 8px;
  transition: color var(--ease);
}
.close-banner:hover { color: white; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 114px;
  gap: 0;
}
.nav-logo {
  flex-shrink: 0;
  margin-right: 20px;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 215px;
  width: auto;
  display: block;
  object-fit: contain;
  border: none;
  background: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-2);
  border-radius: var(--radius-btn);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav-link:hover { background: var(--bg-soft); color: var(--navy); }
.nav-link .chevron {
  width: 14px; height: 14px;
  transition: transform var(--ease);
  stroke: currentColor;
}
.nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(11,37,57,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}
.nav-item.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.dropdown-group { padding: 6px 0; }
.dropdown-group + .dropdown-group { border-top: 1px solid var(--border); }
.dropdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 6px 12px 4px;
}
.dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--navy-2);
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}
.dropdown-link:hover {
  background: var(--cyan-tint);
  color: var(--navy);
}

/* Wide 2-col dropdown */
.nav-dropdown.wide {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px;
}
.nav-dropdown.wide .dropdown-group { padding: 8px; }

/* CTA button */
.nav-cta {
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--cyan);
  color: var(--navy) !important;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.nav-cta:hover {
  background: var(--cyan-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,234,210,0.35);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
  transition: border-color var(--ease);
}
.lang-toggle:hover {
  border-color: var(--cyan);
}
.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
  line-height: 1;
}
.lang-toggle[aria-pressed="false"] .lang-option[data-lang-option="en"],
.lang-toggle[aria-pressed="true"] .lang-option[data-lang-option="nl"] {
  background: var(--cyan);
  color: var(--navy);
}
.mobile-lang-toggle {
  margin-top: 18px;
  margin-left: 0;
  width: fit-content;
}
.hero-content,
.services-header-text,
.service-card,
.logos-title,
.ai-content,
.private-ai-node,
.process-header,
.process-step,
.case-gallery-heading,
.case-gallery-content,
.company-content,
.page-hero-content,
.service-copy,
.automation-copy-block,
.automation-cta,
.footer-brand p,
.footer-phones,
.footer-col,
.footer-bottom,
.nav-links,
.nav-cta,
.mobile-menu {
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}
body.is-switching-language .hero-content,
body.is-switching-language .services-header-text,
body.is-switching-language .service-card,
body.is-switching-language .logos-title,
body.is-switching-language .ai-content,
body.is-switching-language .private-ai-node,
body.is-switching-language .process-header,
body.is-switching-language .process-step,
body.is-switching-language .case-gallery-heading,
body.is-switching-language .case-gallery-content,
body.is-switching-language .company-content,
body.is-switching-language .page-hero-content,
body.is-switching-language .service-copy,
body.is-switching-language .automation-copy-block,
body.is-switching-language .automation-cta,
body.is-switching-language .footer-brand p,
body.is-switching-language .footer-phones,
body.is-switching-language .footer-col,
body.is-switching-language .footer-bottom,
body.is-switching-language .nav-links,
body.is-switching-language .nav-cta,
body.is-switching-language .mobile-menu {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(5px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--ease);
}
.mobile-menu {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px 32px 32px;
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-link:hover { color: var(--navy); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  padding: 118px 0 132px;
  overflow: hidden;
  position: relative;
}
/* subtle cyan glow bottom-right */
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,234,210,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(80px, 8vw, 110px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 640px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--cyan);
}
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 46px;
  max-width: 560px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary:hover {
  background: var(--cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,234,210,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-btn);
  transition: border-color var(--ease), background var(--ease);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}

/* ============================================
   HERO BRAND VISUAL  (U icon, no card/box)
   ============================================ */
.hero-brand-panel {
  position: relative;
  /* No background, border, or shadow — U floats on the dark hero */
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* ---- U icon wrapper ---- */
.u-icon-wrap {
  position: relative;
  width: 410px;
  height: 410px;
  flex-shrink: 0;
  z-index: 1;
}

.u-icon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  background: none;
  /* Outline baked into the PNG — no CSS filter needed */
}

.u-anim-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.u-flow-path,
.u-flow-to-bottom,
.u-flow-to-start {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 120;
  stroke-dashoffset: 0;
  opacity: 0;
}

.u-flow-path {
  animation: hero-u-flow 8.4s ease-in-out infinite;
}

.u-flow-to-bottom {
  animation: hero-u-to-bottom 8.4s ease-in-out infinite;
}

.u-flow-to-start {
  animation: hero-u-to-start 8.4s ease-in-out infinite;
}

.u-flow-start {
  fill: var(--cyan);
  stroke: none;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-u-start-pulse 8.4s ease-in-out infinite;
}

.u-flow-arrival,
.u-flow-bottom-arrival {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  opacity: 0;
}

.u-flow-arrival {
  stroke-width: 8;
  animation: hero-u-arrival 8.4s ease-in-out infinite;
}

.u-flow-bottom-arrival {
  stroke-width: 7;
  animation: hero-u-bottom-arrival 8.4s ease-in-out infinite;
}

@keyframes hero-u-flow {
  0%, 13% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  17% {
    opacity: 0.74;
  }
  40% {
    opacity: 0.74;
    stroke-dashoffset: -100;
  }
  46%, 100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@keyframes hero-u-to-bottom {
  0%, 48% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  52% {
    opacity: 0.74;
  }
  69% {
    opacity: 0.74;
    stroke-dashoffset: -100;
  }
  75%, 100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@keyframes hero-u-to-start {
  0%, 77% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  81% {
    opacity: 0.74;
  }
  96% {
    opacity: 0.74;
    stroke-dashoffset: -100;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@keyframes hero-u-start-pulse {
  0%, 88%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  95% {
    opacity: 0.68;
    transform: scale(1);
  }
  99% {
    opacity: 0;
    transform: scale(2.05);
  }
}

@keyframes hero-u-arrival {
  0%, 36%, 50%, 100% { opacity: 0; }
  43% { opacity: 0.46; }
}

@keyframes hero-u-bottom-arrival {
  0%, 65%, 78%, 100% { opacity: 0; }
  71% { opacity: 0.42; }
}

/* ---- Respect user motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  .u-flow-path,
  .u-flow-to-bottom,
  .u-flow-to-start,
  .u-flow-start,
  .u-flow-arrival,
  .u-flow-bottom-arrival {
    animation: none;
    opacity: 0;
  }
}

/* ============================================
   FEATURED CASE STUDY
   ============================================ */
.featured-case {
  background: var(--navy-2);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.featured-case::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(13,234,210,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.featured-case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.case-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.case-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-logo-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.case-logo-icon svg { width: 20px; height: 20px; }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.case-tag {
  padding: 5px 14px;
  border: 1px solid rgba(13,234,210,0.35);
  border-radius: 100px;
  font-size: var(--fs-xs);
  color: var(--cyan);
  font-weight: 500;
  background: rgba(13,234,210,0.07);
}
.case-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: white;
  line-height: 1.45;
  margin-bottom: 20px;
  font-style: italic;
}
.case-attribution {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
}
.case-attribution strong { color: rgba(255,255,255,0.85); font-style: normal; }
.case-video {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid rgba(255,255,255,0.08);
}
.case-video-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f32 100%);
  display: flex; align-items: center; justify-content: center;
}
.play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(13,234,210,0.15);
  border: 2px solid rgba(13,234,210,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), transform var(--ease);
}
.play-btn:hover {
  background: rgba(13,234,210,0.3);
  transform: scale(1.08);
}
.play-btn svg { width: 22px; height: 22px; fill: var(--cyan); margin-left: 4px; }
.case-video-label {
  position: absolute; bottom: 18px; left: 20px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
  background: var(--bg-white);
  padding: 132px 0 var(--section-pad);
}
.services-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 78px;
}
.services-header-text {
  flex: 1;
  max-width: 760px;
}
.services-header-text .section-title,
.services-header-text .section-sub {
  margin-bottom: 0;
}
.services-header-visual {
  flex-shrink: 0;
  width: clamp(180px, 22vw, 280px);
  align-self: flex-start;
  margin-left: 0;
}
.services-header-img {
  width: 100%;
  height: auto;
  display: block;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--cyan);
}
.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 72px;
  line-height: 1.75;
}
.section-sub a {
  color: var(--cyan);
  font-weight: 700;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 34px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(11,37,57,0.08);
  transform: translateY(-4px);
  border-color: rgba(13,234,210,0.4);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy-2);
}
.service-icon-1 { background: var(--cyan-tint); }
.service-icon-2 { background: rgba(13,234,210,0.1); }
.service-icon-3 { background: var(--bg-soft); }
.service-icon-4 { background: var(--cyan-tint); }
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.72;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--cyan);
  margin-top: auto;
  padding-top: 26px;
}
.service-link svg { width: 14px; height: 14px; }

/* ============================================
   CLIENT LOGOS
   ============================================ */
.logos-section {
  background: var(--navy);
  padding: 80px 0;
  overflow: hidden;
}
.logos-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: white;
  text-align: center;
  margin-bottom: 56px;
}
.logos-track-wrapper {
  position: relative;
  overflow: hidden;
}
.logos-track-wrapper::before,
.logos-track-wrapper::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.logos-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}
.logos-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}
.logos-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee 96s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  opacity: 0.4;
  transition: opacity var(--ease);
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.logo-item:hover { opacity: 0.8; }

/* ============================================
   INNER PAGES
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 34px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,234,210,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero h1 {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,0.64);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 660px;
}
.page-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}
.page-section.alt {
  background: var(--bg-soft);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-white);
  padding: 28px;
}
.info-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 10px;
}
.info-card p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.split-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.content-stack {
  display: grid;
  gap: 18px;
}
.content-stack p {
  color: var(--muted);
  line-height: 1.75;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-top: 18px;
}
.text-link:hover {
  color: var(--navy);
}

/* ============================================
   SERVICE DETAIL VISUALS
   ============================================ */
.service-detail {
  overflow: hidden;
}
#automation.service-detail,
#approach.service-detail,
#company.service-detail {
  overflow: visible;
}
.service-detail-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 72px;
  align-items: center;
}
.service-detail-inner.reverse {
  grid-template-columns: minmax(420px, 1.18fr) minmax(300px, 0.82fr);
}
.service-copy {
  max-width: 520px;
}
.service-copy .section-title {
  margin-bottom: 18px;
}
.service-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.service-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.service-points li {
  position: relative;
  padding-left: 22px;
  color: var(--navy-2);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(13,234,210,0.56);
}
.service-visual {
  min-width: 0;
  min-height: clamp(360px, 34vw, 520px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-asset-img {
  width: clamp(360px, 82%, 540px);
  max-width: 100%;
  max-height: clamp(320px, 32vw, 500px);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.service-asset-automation {
  width: clamp(390px, 84%, 560px);
}
.service-asset-data {
  width: clamp(390px, 84%, 550px);
}
.service-asset-agentic {
  width: clamp(320px, 68%, 430px);
}
.automation-intro {
  margin-bottom: 34px;
}
.automation-intro .service-copy {
  max-width: 620px;
}
.automation-body-text {
  color: #6B7A87;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: normal;
}
#automation .automation-editorial p.automation-body-text,
#automation .automation-cta p.automation-body-text,
#approach .automation-editorial p.automation-body-text,
#approach .automation-cta p.automation-body-text,
#company .automation-editorial p.automation-body-text,
#company .automation-cta p.automation-body-text {
  color: #6B7A87;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: normal;
}
.automation-toggle {
  display: inline;
  color: var(--cyan);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 0;
  transition: color var(--ease);
}
.automation-toggle:hover {
  color: var(--navy);
}
.automation-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
  border-radius: 999px;
}
.data-platforms-toggle {
  margin-top: 26px;
}
.automation-editorial {
  width: 100%;
  max-width: none;
  margin-top: 58px;
}
.automation-editorial.is-expanded {
  animation: automationReveal 0.24s ease;
}
.automation-editorial[hidden] {
  display: none;
}
@keyframes automationReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.automation-copy-block {
  width: 100%;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}
.automation-copy-block + .automation-copy-block {
  margin-top: 52px;
}
.automation-copy-block h3,
.automation-cta h3 {
  max-width: 980px;
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--navy);
  margin-bottom: 20px;
}
.automation-copy-block p,
.automation-cta p {
  max-width: 980px;
}
.automation-copy-block p + p,
.automation-cta p + .btn-primary {
  margin-top: 18px;
}
.automation-cta {
  width: 100%;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.about-visual-placeholder {
  min-height: 320px;
}
#founder .about-visual-placeholder {
  min-height: 320px;
}
.founder-photo-wrap {
  min-height: clamp(420px, 38vw, 560px);
  align-items: center;
  justify-content: center;
}
.founder-photo {
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: 0 28px 70px rgba(11,37,57,0.14);
}
.about-asset-img {
  width: clamp(380px, 82%, 540px);
  max-width: 100%;
  max-height: clamp(320px, 32vw, 500px);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.about-asset-approach {
  width: clamp(390px, 82%, 540px);
}
.about-asset-company {
  width: clamp(420px, 88%, 580px);
}
#projects .project-showcase {
  align-items: start;
}
.project-showcase-copy {
  max-width: 650px;
}
.project-visual-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 620px;
  padding-top: 4px;
}
.project-section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 26px;
}
.project-section-header .section-eyebrow {
  margin-bottom: 0;
}
.project-visuals {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
}
.project-visual {
  position: absolute;
  inset: 60% auto auto 50%;
  width: min(540px, 100%);
  max-width: 540px;
  max-height: 490px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.22s ease;
  object-fit: contain;
  pointer-events: none;
}
.project-visual.is-active { opacity: 1; }
.project-stage {
  min-height: 650px;
}
.project-title {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.project-title span {
  display: block;
}
.project-intro {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--navy-2);
  font-size: 1.05rem;
  line-height: 1.72;
}
.project-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.project-block {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(214,222,227,0.92);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.74);
}
.project-block-wide {
  grid-column: 1 / -1;
}
.project-block h3 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.project-block p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.project-more-note {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
}
.project-more-control {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 32px;
}
.project-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-2);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.project-arrow:hover {
  border-color: var(--cyan);
  color: var(--navy);
  background: var(--cyan-tint);
}
.project-arrow:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.project-arrow svg {
  width: 13px;
  height: 13px;
}
.project-panel { animation: projectPanelIn 0.2s ease; }
@keyframes projectPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.iso-visual {
  width: 100%;
  max-width: 660px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.iso-grid path {
  fill: none;
  stroke: rgba(11,37,57,0.12);
  stroke-width: 1;
}
.iso-tile,
.data-card,
.output-card,
.tool-panel {
  fill: rgba(255,255,255,0.94);
  stroke: rgba(214,222,227,0.94);
  stroke-width: 1.2;
}
.muted-tile {
  fill: rgba(247,249,250,0.94);
  stroke: rgba(107,122,135,0.24);
}
.report-tile,
.output-card {
  fill: rgba(230,255,251,0.96);
  stroke: rgba(13,234,210,0.26);
}
.iso-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-main {
  stroke: var(--cyan);
  stroke-width: 3;
  filter: drop-shadow(0 0 7px rgba(13,234,210,0.38));
}
.route-muted {
  stroke: rgba(107,122,135,0.28);
  stroke-width: 2;
  stroke-dasharray: 5 8;
}
.iso-node circle {
  fill: var(--cyan);
  stroke: #ffffff;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(13,234,210,0.45));
}
.iso-node path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iso-node.muted circle {
  fill: #d6dee3;
  filter: none;
}
.visual-label {
  fill: rgba(38,60,79,0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-core-back {
  fill: rgba(230,255,251,0.82);
  stroke: rgba(13,234,210,0.42);
  stroke-width: 1.2;
}
.data-core-front {
  fill: rgba(13,234,210,0.16);
  stroke: rgba(13,234,210,0.34);
  stroke-width: 1.2;
}
.data-core-side {
  fill: rgba(11,37,57,0.13);
  stroke: rgba(13,234,210,0.28);
  stroke-width: 1.2;
}
.core-lines path,
.agent-orbit path,
.agent-orbit circle {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
  filter: drop-shadow(0 0 6px rgba(13,234,210,0.28));
}
.agent-core-top {
  fill: rgba(230,255,251,0.88);
  stroke: rgba(13,234,210,0.42);
  stroke-width: 1.2;
}
.agent-core-left {
  fill: rgba(13,234,210,0.15);
  stroke: rgba(13,234,210,0.3);
  stroke-width: 1.2;
}
.agent-core-right {
  fill: rgba(11,37,57,0.14);
  stroke: rgba(13,234,210,0.26);
  stroke-width: 1.2;
}
.shield-mark path:first-child {
  fill: rgba(11,37,57,0.9);
  stroke: rgba(13,234,210,0.56);
  stroke-width: 1.4;
}
.shield-mark path:last-child {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   PROCESS
   ============================================ */
.process-section {
  background: var(--bg-white);
  padding: var(--section-pad) 0;
}
.process-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
}
.process-header .section-title {
  max-width: 680px;
  margin-bottom: 0;
}
.process-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
}
.process-link:hover {
  color: var(--navy);
}
.process-link svg {
  width: 14px;
  height: 14px;
}
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.process-step {
  position: relative;
  min-height: 178px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-white);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.process-step:hover {
  box-shadow: 0 12px 32px rgba(11,37,57,0.08);
  transform: translateY(-4px);
  border-color: rgba(13,234,210,0.4);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -11px;
  width: 22px;
  height: 22px;
  border-top: 2px solid rgba(13,234,210,0.7);
  border-right: 2px solid rgba(13,234,210,0.7);
  transform: translateY(-50%) rotate(45deg);
  background: var(--bg-soft);
  z-index: 2;
}
.process-number {
  display: block;
  height: 10px;
  margin-bottom: 10px;
  font-size: 0;
  line-height: 0;
}
.process-step h3 {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* ============================================
   AI SECTION
   ============================================ */
.ai-section {
  background: var(--bg-soft);
  padding: var(--section-pad) 0;
}
.ai-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(700px, 1.42fr);
  gap: 112px;
  align-items: center;
}
.ai-illustration {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  overflow: visible;
}
.private-ai-diagram {
  position: relative;
  width: min(124%, 820px);
  min-height: 560px;
  margin: 0 -76px 0 86px;
  display: grid;
  grid-template-columns: 230px 160px 230px;
  grid-template-rows: repeat(3, 108px) 44px;
  column-gap: 60px;
  row-gap: 20px;
  align-items: center;
  padding: 78px 40px 36px;
}
.private-ai-boundary {
  position: absolute;
  inset: 7% 1.5% 13%;
  border: 1.5px dashed rgba(11,37,57,0.42);
  border-radius: 30px;
  pointer-events: none;
}
.private-ai-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.private-ai-path {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.path-cyan { stroke: rgba(13,234,210,0.78); }
.path-blue { stroke: rgba(45,139,239,0.75); }
.path-violet { stroke: rgba(139,103,255,0.72); }
.private-ai-runner {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 7 116;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: private-ai-runner-flow 13.6s ease-in-out infinite;
}
.runner-docs { animation-delay: -0.7s; }
.runner-insights-1 { animation-delay: 1.85s; }
.runner-data { animation-delay: 4.25s; }
.runner-reports { animation-delay: 6.8s; }
.runner-workflows { animation-delay: 9.05s; }
.runner-actions { animation-delay: 11.55s; }
.private-ai-runner.path-cyan {
  filter:
    drop-shadow(0 0 4px rgba(13,234,210,0.6))
    drop-shadow(0 0 10px rgba(13,234,210,0.26));
}
.private-ai-runner.path-blue {
  filter:
    drop-shadow(0 0 4px rgba(45,139,239,0.5))
    drop-shadow(0 0 10px rgba(45,139,239,0.22));
}
.private-ai-runner.path-violet {
  filter:
    drop-shadow(0 0 4px rgba(139,103,255,0.5))
    drop-shadow(0 0 10px rgba(139,103,255,0.22));
}
.connector-node {
  stroke: var(--bg-soft);
  stroke-width: 3;
  filter:
    drop-shadow(0 2px 5px rgba(11,37,57,0.12))
    drop-shadow(0 0 6px rgba(13,234,210,0.12));
}
.node-cyan { fill: var(--cyan); }
.node-blue { fill: #2d8bef; }
.node-violet { fill: #8b67ff; }
.private-ai-node {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 108px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(214,222,227,0.9);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 34px rgba(11,37,57,0.08);
}
.private-ai-node strong {
  display: block;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}
.private-ai-node div > span {
  display: block;
  color: #3568bf;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
}
.node-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(230,255,251,0.9);
  border: 1px solid rgba(13,234,210,0.18);
  box-shadow: inset 0 0 18px rgba(13,234,210,0.12);
}
.node-icon svg {
  width: 28px;
  height: 28px;
}
.node-icon-blue {
  color: #2d8bef;
  background: rgba(236,246,255,0.92);
  border-color: rgba(45,139,239,0.16);
}
.node-icon-violet {
  color: #8b67ff;
  background: rgba(246,242,255,0.92);
  border-color: rgba(139,103,255,0.16);
}
.node-docs { grid-column: 1; grid-row: 1; }
.node-data { grid-column: 1; grid-row: 2; }
.node-workflows { grid-column: 1; grid-row: 3; }
.node-reports { grid-column: 3; grid-row: 1; }
.node-insights { grid-column: 3; grid-row: 2; }
.node-actions { grid-column: 3; grid-row: 3; }
.private-ai-core {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / 4;
  place-self: center;
  width: 160px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.private-ai-diagram-logo-frame {
  position: relative;
  width: 117%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 2px #ffffff)
    drop-shadow(0 0 4px rgba(255,255,255,0.9));
}
.private-ai-diagram-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.private-ai-footer {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 4;
  place-self: end center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5276b5;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(14px);
}

@keyframes private-ai-runner-flow {
  0%, 4% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  10% {
    opacity: 0.9;
  }
  22% {
    opacity: 0.9;
    stroke-dashoffset: -100;
  }
  29%, 100% {
    opacity: 0;
    stroke-dashoffset: -100;
  }
}

@media (prefers-reduced-motion: reduce) {
  .private-ai-runner {
    animation: none;
    opacity: 0;
  }
}
.private-ai-footer::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* ============================================
   CASE STUDY GALLERY
   ============================================ */
.case-studies-section {
  background: var(--bg-soft);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.case-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.case-gallery-heading {
  max-width: 610px;
}
.case-gallery-heading .section-sub {
  margin-bottom: 0;
}
.case-gallery-controls {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.case-gallery-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: transparent;
  transition: background var(--ease), color var(--ease), opacity var(--ease), transform var(--ease);
}
.case-gallery-btn svg {
  width: 21px;
  height: 21px;
}
.case-gallery-btn:hover:not(:disabled) {
  background: white;
  color: var(--navy-2);
  transform: translateY(-1px);
}
.case-gallery-btn:disabled {
  cursor: default;
  opacity: 0.35;
}
.case-gallery-viewport {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 42px, black calc(100% - 190px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 42px, black calc(100% - 190px), transparent 100%);
  cursor: grab;
}
.case-gallery-viewport.is-dragging {
  cursor: grabbing;
}
.case-gallery.is-at-start .case-gallery-viewport {
  mask-image: linear-gradient(to right, black 0, black calc(100% - 190px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0, black calc(100% - 190px), transparent 100%);
}
.case-gallery.is-at-end .case-gallery-viewport {
  mask-image: linear-gradient(to right, transparent 0, black 42px, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 42px, black 100%);
}
.case-gallery.is-at-start.is-at-end .case-gallery-viewport {
  mask-image: none;
  -webkit-mask-image: none;
}
.case-gallery-viewport::-webkit-scrollbar {
  display: none;
}
.case-gallery-track {
  display: flex;
  gap: 34px;
  padding: 24px 72px 48px 0;
  transform: translateX(0);
  transition: transform 0.42s ease;
  will-change: transform;
}
.case-gallery-track.is-resetting {
  transition: none;
}
.case-gallery-item {
  flex: 0 0 clamp(245px, calc((100% - 64px) / 3.8), 310px);
  min-width: 0;
}
.case-gallery-card {
  position: relative;
  display: block;
  min-height: 27rem;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 18px 45px rgba(11,37,57,0.12);
  isolation: isolate;
  transition: box-shadow 0.28s ease;
}
.case-gallery-item.is-active .case-gallery-card {
  box-shadow: 0 24px 58px rgba(11,37,57,0.18);
  z-index: 3;
}
.case-gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(13,234,210,0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 22%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 4;
}
.case-gallery-item.is-active .case-gallery-card::after {
  opacity: 1;
}
.case-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
  z-index: 0;
}
.case-gallery-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,37,57,0.06) 0%, rgba(11,37,57,0.38) 48%, rgba(11,37,57,0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(13,234,210,0.24), transparent 42%);
  mix-blend-mode: multiply;
  z-index: 1;
}
.case-gallery-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  min-height: 48%;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  color: white;
}
.case-gallery-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
.case-gallery-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  line-height: 1.55;
  min-height: calc(1.55em * 2);
  margin-bottom: 30px;
}
.case-gallery-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.case-gallery-link svg {
  width: 19px;
  height: 19px;
  transition: transform var(--ease);
}
.case-gallery-card:hover img {
  transform: scale(1.045);
}
.case-gallery-card:hover .case-gallery-link svg {
  transform: translateX(4px);
}
.case-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.case-gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(11,37,57,0.18);
  transition: background var(--ease), transform var(--ease);
}
.case-gallery-dots button.active,
.case-gallery-dots button[aria-current="true"] {
  background: var(--cyan);
  transform: scale(1.08);
}

/* ============================================
   COMPANY / PURPOSE
   ============================================ */
.company-section {
  background: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.company-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(13,234,210,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.company-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  position: relative; z-index: 1;
}
.company-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.company-panel .btn-secondary { margin-top: auto; }
.company-panel .btn-secondary {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 34px rgba(13,234,210,0.16);
}
.company-panel .btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 42px rgba(13,234,210,0.24);
}
.company-content .section-title { color: white; }
.company-content .section-sub   { color: rgba(255,255,255,0.55); max-width: 520px; }
.company-panel .section-title { min-height: 3.6em; }
.company-panel .section-sub { flex: 1; }
.company-content .section-eyebrow { color: var(--cyan); }
.company-content .section-eyebrow::before,
.company-content .section-eyebrow::after { background: var(--cyan); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .footer-logo { margin-bottom: 20px; display: block; }
.footer-logo-img {
  height: 132px;
  width: auto;
  display: block;
  object-fit: contain;
  border: none;
  background: none;
}
.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-phones { display: flex; flex-direction: column; gap: 6px; }
.footer-phone {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.footer-phone a {
  color: var(--muted);
  transition: color var(--ease);
}
.footer-phone a:hover {
  color: var(--navy);
}
.footer-phone span {
  color: var(--cyan);
  font-weight: 600;
  margin-right: 8px;
}
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--navy-2);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--cyan); }

.footer-contact-text {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.footer-contact-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--cyan);
  transition: color var(--ease);
}
.footer-contact-link:hover { color: var(--navy); }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.social-link:hover {
  border-color: var(--cyan);
  color: var(--navy);
  background: var(--cyan-tint);
}
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-left { font-size: var(--fs-xs); color: var(--muted); }
.footer-bottom-right { display: flex; gap: 20px; }
.footer-bottom-right a {
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: color var(--ease);
}
.footer-bottom-right a:hover { color: var(--cyan); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .container { padding: 0 40px; }
  .hero {
    padding: 96px 0 110px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 64px;
  }
  .hero-brand-panel {
    max-width: 360px;
  }
  .services-header {
    gap: 48px;
    margin-bottom: 64px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .u-icon-wrap { width: 360px; height: 360px; }
  .service-detail-inner,
  .service-detail-inner.reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .service-detail-inner.reverse .service-visual {
    order: 2;
  }
  .service-detail-inner.reverse .service-copy {
    order: 1;
  }
  .service-copy {
    max-width: 680px;
  }
  .project-showcase-copy {
    max-width: 760px;
  }
  .project-visual-column {
    order: 2;
    min-height: 440px;
  }
  .project-stage {
    min-height: 560px;
  }
  .project-visuals {
    height: 390px;
    min-height: 390px;
  }
  .project-visual {
    inset: 56% auto auto 50%;
    width: min(460px, 82vw);
    max-width: min(460px, 82vw);
    max-height: 360px;
  }
  .automation-intro {
    margin-bottom: 32px;
  }
  .service-asset-img,
  .service-asset-automation,
  .service-asset-data,
  .about-asset-img {
    width: min(460px, 82vw);
    max-width: min(460px, 82vw);
    max-height: 380px;
  }
  .service-asset-agentic {
    width: min(360px, 72vw);
    max-width: min(360px, 72vw);
  }

  .page-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: 1fr; }
  .process-step { min-height: auto; }
  .process-step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 30px;
    bottom: -11px;
    transform: rotate(135deg);
  }
  .ai-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .private-ai-diagram {
    width: min(100%, 820px);
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-content {
    max-width: 680px;
  }
  .hero-brand-panel {
    max-width: 340px;
    margin: 0;
    justify-content: flex-start;
  }
  .u-icon-wrap {
    width: 340px;
    height: 340px;
  }
  .services-header { flex-direction: column; }
  .services-header-visual { display: none; }
  .split-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process-header {
    display: block;
  }
  .process-link {
    margin-top: 18px;
  }
  .company-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .company-content {
    max-width: 640px;
  }
  .project-section-header {
    margin-bottom: 30px;
  }
  .project-title {
    max-width: 620px;
  }
  .private-ai-diagram {
    width: min(100%, 560px);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
    padding: 24px;
  }
  .private-ai-boundary,
  .private-ai-lines { display: none; }
  .private-ai-node {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: auto;
  }
  .private-ai-core,
  .private-ai-footer {
    grid-column: auto;
    grid-row: auto;
  }
  .private-ai-footer {
    place-self: center;
    transform: none;
  }
  .private-ai-core {
    width: 170px;
    margin: 8px auto;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 78px; }
  .container { padding: 0 28px; }
  .nav-links, .nav-cta, .nav-inner > .lang-toggle { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-img { height: 128px; }
  .page-hero { padding: 34px 0 38px; }
  .page-grid { grid-template-columns: 1fr; }

  .hero {
    padding: 78px 0 90px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 56px);
    overflow-wrap: anywhere;
  }
  .hero-sub {
    max-width: 100%;
    margin-bottom: 38px;
  }
  .hero-brand-panel {
    max-width: 300px;
    margin: 0 auto;
    justify-content: center;
  }
  .u-icon-wrap { width: 300px; height: 300px; }
  .services-section {
    padding: 88px 0 78px;
  }
  .services-header {
    margin-bottom: 46px;
  }
  .service-card {
    padding: 32px 28px;
  }
  .project-visual-column {
    min-height: 360px;
    gap: 18px;
  }
  .project-stage {
    min-height: 0;
  }
  .project-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .project-blocks {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-block {
    padding: 20px;
  }
  .project-visuals {
    height: 300px;
    min-height: 300px;
  }
  .project-visual {
    inset: 54% auto auto 50%;
    width: min(340px, 84vw);
    max-width: min(340px, 84vw);
    max-height: 270px;
  }

  .featured-case-inner { grid-template-columns: 1fr; gap: 40px; }
  .ai-inner { grid-template-columns: 1fr; gap: 48px; }
  .private-ai-node {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .private-ai-node strong { font-size: 0.8rem; }
  .private-ai-node div > span { font-size: 0.72rem; }
  .node-icon {
    width: 42px;
    height: 42px;
  }
  .node-icon svg {
    width: 23px;
    height: 23px;
  }
  .private-ai-core {
    width: 170px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-gallery-header {
    display: block;
    margin-bottom: 30px;
  }
  .case-gallery-controls {
    display: none;
  }
  .case-gallery-track {
    padding-right: 42px;
  }
  .case-gallery-viewport {
    padding: 0 24px;
    mask-image: linear-gradient(to right, black 0, black calc(100% - 96px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0, black calc(100% - 96px), transparent 100%);
  }
  .case-gallery-item {
    flex-basis: min(260px, calc(100vw - 110px));
  }
  .case-gallery-card {
    min-height: 26rem;
  }
  .case-gallery-content {
    padding: 24px;
  }
  .automation-intro {
    margin-bottom: 30px;
  }
  .automation-editorial.is-expanded {
    margin-top: 44px;
  }
  .automation-copy-block {
    padding-top: 38px;
  }
  .automation-copy-block + .automation-copy-block {
    margin-top: 38px;
  }
  .automation-cta {
    margin-top: 48px;
    padding-top: 36px;
  }
  #founder .about-visual-placeholder {
    min-height: 0;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 22px; }
  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }
  .hero-eyebrow {
    align-items: flex-start;
    line-height: 1.35;
  }
  .hero-eyebrow::after {
    display: none;
  }
  .service-card {
    padding: 30px 24px;
  }
  .project-title {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }
  .project-intro {
    font-size: 1rem;
  }
  .project-more-note {
    font-size: 0.8rem;
  }
  .project-arrow {
    width: 30px;
    height: 30px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .u-icon-wrap { width: 240px; height: 240px; }
}
