/* STG Digital Solutions — Core Styles (logo-theme rebuild) */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
}

p { margin: 0 0 var(--space-4); color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section { position: relative; }
.section-pad { padding: var(--space-24) 0; }

.script-accent {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-on-dark);
}
.script-accent .underline {
  display: block;
  width: 70%;
  height: 3px;
  margin-top: var(--space-1);
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.eyebrow.on-dark { color: var(--text-on-dark-secondary); }
.eyebrow.on-light { color: var(--brand-blue); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 680px; margin: 0 auto var(--space-16); text-align: center; }
.section-head .eyebrow { display: flex; align-items: center; justify-content: center; gap: var(--space-2); }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--brand-blue); }
.section-head h2 { font-size: var(--fs-h1); }
.section-head p { font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-8);
  background:
    linear-gradient(120deg, rgba(217, 28, 130, 0.045), rgba(11, 132, 196, 0.06) 45%, rgba(23, 166, 160, 0.045)),
    rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--duration-base), background var(--duration-base), padding var(--duration-base);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.35;
  transition: opacity var(--duration-base);
}
.nav.is-scrolled {
  background:
    linear-gradient(120deg, rgba(217, 28, 130, 0.06), rgba(11, 132, 196, 0.08) 45%, rgba(23, 166, 160, 0.06)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px -28px rgba(16, 26, 44, 0.45);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.nav.is-scrolled::after { opacity: 1; }

.nav-brand { display: flex; align-items: center; transition: transform var(--duration-fast) var(--ease-out); }
.nav-brand:hover { transform: scale(1.04); }
/* Slight negative margin lets the logo use the bar's padding instead of making the bar taller. */
.nav-logo-img { height: 46px; width: auto; display: block; margin: -3px 0; transition: height var(--duration-base); }
.nav.is-scrolled .nav-logo-img { height: 42px; margin: -2px 0; }
@media (max-width: 720px) {
  .nav-logo-img, .nav.is-scrolled .nav-logo-img { height: 38px; margin: 0; }
}
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text-primary); display: none; }
.nav-logo-text span { color: var(--brand-green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-dropdown { padding-bottom: var(--space-4); margin-bottom: calc(-1 * var(--space-4)); }
.nav-links a, .nav-dropdown-toggle {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast);
}
.nav-links a:hover, .nav-dropdown-toggle:hover {
  background: linear-gradient(120deg, rgba(217, 28, 130, 0.08), rgba(11, 132, 196, 0.1), rgba(23, 166, 160, 0.08));
  color: var(--brand-blue);
}
.nav-links a.is-active, .nav-dropdown-toggle.is-active {
  background: linear-gradient(120deg, rgba(217, 28, 130, 0.13), rgba(11, 132, 196, 0.16), rgba(23, 166, 160, 0.13));
  color: var(--brand-blue);
  font-weight: 700;
}
.nav-dropdown-toggle svg { transition: transform var(--duration-fast); width: 12px; height: 12px; }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.98);
  transform-origin: top center;
  min-width: 320px;
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 132, 196, 0.08), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(217, 28, 130, 0.06), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 64px -24px rgba(16, 26, 44, 0.32), 0 8px 24px -14px rgba(16, 26, 44, 0.14);
  padding: var(--space-4);
  display: grid;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  z-index: 10;
  overflow: hidden;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown-menu:not(.nav-dropdown-menu--simple) {
  min-width: 600px;
  grid-template-columns: repeat(2, 1fr);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: background var(--duration-fast), transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.nav-dropdown-item:hover {
  background: #fff;
  border-color: var(--border-subtle);
  box-shadow: 0 14px 28px -18px rgba(16, 26, 44, 0.3);
  transform: translateY(-2px);
}
.nav-dropdown-item .icon-badge { width: 34px; height: 34px; flex-shrink: 0; transition: transform var(--duration-fast); }
.nav-dropdown-item:hover .icon-badge { transform: scale(1.08); }
.nav-dropdown-item strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.nav-dropdown-item span { display: block; font-size: var(--fs-micro); color: var(--text-muted); }

.nav-dropdown-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: var(--space-3) var(--space-3) var(--space-1);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--brand-blue);
}
.nav-dropdown-footer svg { width: 14px; height: 14px; transition: transform var(--duration-fast); }
.nav-dropdown-footer:hover svg { transform: translateX(4px); }

.nav-dropdown-menu--simple { min-width: 220px; }
.nav-dropdown-item--simple {
  padding: var(--space-3) var(--space-4);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background var(--duration-fast), border-color var(--duration-fast), padding-left var(--duration-fast);
}
.nav-dropdown-item--simple:hover {
  background: var(--bg-alt);
  border-color: transparent;
  border-left-color: var(--brand-blue);
  padding-left: calc(var(--space-4) + 4px);
  transform: none;
  box-shadow: none;
}

.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--text-primary);
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--duration-fast);
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: currentColor;
  position: relative; transition: transform var(--duration-fast) var(--ease-out), top var(--duration-fast) var(--ease-out), opacity var(--duration-fast);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: calc(var(--z-nav) - 1);
  background: var(--bg-page);
  overflow-y: auto;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-base) var(--ease-premium), opacity var(--duration-base);
}
.nav-mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile-services-toggle svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--duration-fast); }
.nav-mobile-services-toggle.is-open svg,
.nav-mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-mobile a, .nav-mobile-services-toggle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border-left: none; border-right: none; border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
}
.nav-mobile-services {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.nav-mobile-services.is-open { max-height: 480px; }
.nav-mobile-services a {
  font-size: 1rem;
  font-weight: 500;
  padding-left: var(--space-4);
  border-bottom: none;
  color: var(--text-secondary);
}
.nav-mobile-cta { margin-top: var(--space-6); }

/* With 8 top-level nav items, switch to the mobile menu earlier than the
   rest of the page's 720px breakpoint so the desktop nav never crowds. */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-base), background var(--duration-base), border-color var(--duration-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(217, 28, 130, 0.45);
}
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(11, 132, 196, 0.5); }

.btn-secondary {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.btn-outline-dark {
  background: rgba(6, 10, 19, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(6, 10, 19, 0.72); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: var(--fs-micro); }

/* ---------- Hero banner (shared: every page's first section) ---------- */
.hero-banner {
  --mx: 70%;
  --my: 35%;
  position: relative;
  isolation: isolate;
  background: radial-gradient(120% 120% at 0% 0%, #12203a 0%, var(--bg-dark) 48%, #050912 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  min-height: min(780px, 92vh);
  display: flex;
  align-items: center;
  padding: var(--space-16) 0 var(--space-24);
}
.hero-banner .container { width: 100%; }

/* Drifting brand-colour aurora */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(32% 38% at 18% 28%, rgba(11, 132, 196, 0.38), transparent 70%),
    radial-gradient(28% 34% at 82% 18%, rgba(217, 28, 130, 0.26), transparent 70%),
    radial-gradient(34% 40% at 72% 88%, rgba(23, 166, 160, 0.32), transparent 70%);
  filter: blur(40px);
  animation: heroAurora 22s ease-in-out infinite alternate;
}
/* Faint engineering grid, faded out toward the edges */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 25%, transparent 75%);
}
/* Cursor-following glow (element injected by js/ui/HeroFX.js) */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(23, 166, 160, 0.13), transparent 60%);
}

@keyframes heroAurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-3%, 3%, 0) rotate(-6deg) scale(1.02); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Text-only heroes (no image) center in a single column. */
.hero-banner:not(:has(.hero-visual)) { min-height: 0; padding: var(--space-24) 0; }
.hero-grid:not(:has(.hero-visual)) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero-grid:not(:has(.hero-visual)) .hero-copy { text-align: center; }
.hero-grid:not(:has(.hero-visual)) .hero-copy p.lead { margin-left: auto; margin-right: auto; }

/* The hero is on-screen at load, so it runs its own entrance instead of the scroll reveal. */
.hero-banner [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---- Copy ---- */
.hero-copy { position: relative; max-width: 620px; text-align: left; }
.hero-copy > * { animation: heroRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-copy > :nth-child(n + 6) { animation-delay: 0.4s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cfe9ff;
  padding: 0.5rem 1rem 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: var(--space-6);
}
.hero-copy .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-teal);
  animation: heroPulse 2s ease-out infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 166, 160, 0.65); }
  100% { box-shadow: 0 0 0 10px rgba(23, 166, 160, 0); }
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.hero-copy h1 .gradient-text {
  background: linear-gradient(90deg, #ff4fa8, #2fb4ff, #3fe0cf, #2fb4ff, #ff4fa8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroShimmer 7s linear infinite;
}
@keyframes heroShimmer { to { background-position: 200% 50%; } }

.hero-copy p.lead {
  color: rgba(220, 232, 245, 0.8);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--space-8);
}

.hero-ctas { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-8); }
.hero-ctas .btn { padding: 1rem 1.9rem; font-size: 0.92rem; }
.hero-ctas .btn-primary {
  box-shadow: 0 12px 34px -10px rgba(11, 132, 196, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hero-ctas .btn-primary::after {
  content: "\2192";
  transition: transform var(--duration-fast) var(--ease-out);
}
.hero-ctas .btn-primary:hover::after { transform: translateX(4px); }
.hero-ctas .btn-outline-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}
.hero-ctas .btn-outline-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

.hero-feature-strip { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-feature-strip .item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: #dbe7f3;
  font-weight: 600;
  padding: 0.45rem 0.95rem 0.45rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-feature-strip svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  color: var(--brand-teal);
  background: rgba(23, 166, 160, 0.16);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-script { display: none; }

/* ---- Visual card ---- */
.hero-visual {
  position: relative;
  perspective: 1200px;
  animation: heroCardIn 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  background: var(--gradient-brand);
  filter: blur(70px);
  opacity: 0.45;
  border-radius: 50%;
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.hero-visual-panel {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 1px;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(63, 224, 207, 0.85), rgba(11, 132, 196, 0.35) 45%, rgba(217, 28, 130, 0.8));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.hero-visual-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: 27px;
}
/* Moving glare that tracks the pointer */
.hero-visual-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: radial-gradient(420px circle at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 50%);
  pointer-events: none;
}
.hero-visual-panel.is-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); }
.hero-visual-panel .placeholder-label { font-size: var(--fs-micro); color: var(--text-on-dark-muted); margin: 0; text-align: center; padding: 0 var(--space-6); }

/* ---- Floating proof chips (injected by js/ui/HeroFX.js) ---- */
.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(10, 18, 32, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.85);
  color: #fff;
  font: inherit;
  text-align: left;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-chip strong { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.15; }
.hero-chip small { display: block; font-size: 0.74rem; color: rgba(220, 232, 245, 0.7); }
.hero-chip-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(23, 166, 160, 0.18);
  color: #3fe0cf;
}
.hero-chip-icon svg { width: 18px; height: 18px; }
.hero-chip--projects { left: -28px; bottom: 12%; }
.hero-chip--reply { right: -24px; top: 16%; animation-delay: -2s; }
.hero-chip--reply .hero-chip-icon { background: rgba(217, 28, 130, 0.18); color: #ff6fb8; }
.hero-chip--ai {
  left: 10%;
  top: -22px;
  cursor: pointer;
  animation-delay: -4s;
  transition: border-color var(--duration-base), background var(--duration-base);
}
.hero-chip--ai:hover { border-color: rgba(63, 224, 207, 0.6); background: rgba(10, 18, 32, 0.9); }
.hero-chip--ai strong { font-size: 0.92rem; }
.hero-chip-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3ddc97;
  animation: heroPulseGreen 2s ease-out infinite;
}
@keyframes heroPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-banner { min-height: 0; padding: var(--space-12) 0 var(--space-16); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-16); }
  .hero-copy { max-width: none; }
  .hero-visual { width: 100%; max-width: 560px; margin: 0 auto; }
  .hero-chip--projects { left: -8px; }
  .hero-chip--reply { right: -8px; }
}
@media (max-width: 720px) {
  .hero-copy .eyebrow { letter-spacing: 0.1em; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-chip { padding: 0.55rem 0.75rem; gap: var(--space-2); }
  .hero-chip strong { font-size: 0.95rem; }
  .hero-chip-icon { width: 30px; height: 30px; }
  .hero-chip--ai { left: 4%; top: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner::before,
  .hero-copy > *,
  .hero-copy .eyebrow::before,
  .hero-copy h1 .gradient-text,
  .hero-visual,
  .hero-chip,
  .hero-chip-dot { animation: none !important; }
  .hero-visual-panel { transition: none; }
}

/* ---------- Icon badges (colored, from the campaign icon-grid style) ---------- */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.icon-teal { background: rgba(23, 166, 160, 0.12); color: var(--icon-teal); }
.icon-badge.icon-magenta { background: rgba(224, 53, 127, 0.12); color: var(--icon-magenta); }
.icon-badge.icon-blue { background: rgba(46, 117, 196, 0.12); color: var(--icon-blue); }
.icon-badge.icon-orange { background: rgba(242, 153, 74, 0.14); color: var(--icon-orange); }
.icon-badge.icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--icon-purple); }
.icon-badge.icon-green { background: rgba(34, 181, 115, 0.12); color: var(--icon-green); }
.icon-badge.icon-red { background: rgba(224, 69, 63, 0.12); color: var(--icon-red); }

.icon-badge.on-dark.icon-teal { background: rgba(23, 166, 160, 0.18); }
.icon-badge.on-dark.icon-magenta { background: rgba(224, 53, 127, 0.18); }
.icon-badge.on-dark.icon-blue { background: rgba(46, 117, 196, 0.2); }
.icon-badge.on-dark.icon-orange { background: rgba(242, 153, 74, 0.2); }
.icon-badge.on-dark.icon-purple { background: rgba(139, 92, 246, 0.2); }
.icon-badge.on-dark.icon-green { background: rgba(34, 181, 115, 0.2); }
.icon-badge.on-dark.icon-red { background: rgba(224, 69, 63, 0.2); }

.icon-badge-hero {
  width: 140px; height: 140px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.icon-badge-hero svg { width: 64px; height: 64px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(16, 26, 44, 0.3); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: var(--space-1); }
.feature-card p { font-size: var(--fs-small); margin: 0; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-strip-item { display: flex; align-items: center; gap: var(--space-3); }
.feature-strip-item strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.feature-strip-item span:not(.icon-badge) { display: block; font-size: var(--fs-micro); color: var(--text-muted); }

/* A grid of 4 or 8 items in 3 columns leaves an orphaned last row, so lay those out 4-across. */
@media (min-width: 981px) {
  .feature-grid:has(> :nth-child(4):last-child),
  .feature-grid:has(> :nth-child(8):last-child),
  .feature-strip:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}

.area-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.area-chips li {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Industries ---------- */
.area-chips a { color: inherit; text-decoration: none; }
.area-chips li:has(a) { transition: border-color var(--duration-base), color var(--duration-base); }
.area-chips li:has(a):hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.industry-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  scroll-margin-top: 110px;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base), border-color var(--duration-base);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(16, 26, 44, 0.35); }
.industry-card:target { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(11, 132, 196, 0.15); }
.industry-card-head { display: flex; gap: var(--space-4); align-items: flex-start; }
.industry-card-head .icon-badge { flex-shrink: 0; }
.industry-card h3 { font-size: 1.15rem; margin: 0 0 var(--space-1); }
.industry-who { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.industry-challenge { font-size: var(--fs-small); margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--bg-alt); }
.industry-card h4 { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-blue); margin: 0; }
.industry-builds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.industry-builds li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--fs-small); color: var(--text-primary); }
.industry-builds svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand-teal); }
.industry-note { margin: 0; padding-left: var(--space-3); border-left: 3px solid var(--brand-magenta); font-size: var(--fs-micro); font-style: italic; color: var(--text-muted); }
.industry-services { margin-top: auto; padding-top: var(--space-2); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.industry-services a {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(11, 132, 196, 0.08);
  color: var(--brand-blue);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--duration-base);
}
.industry-services a:hover { background: rgba(11, 132, 196, 0.16); }

/* Compact industry links on service pages */
.industry-mini-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.industry-mini {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  width: min(100%, 280px);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--duration-base), transform var(--duration-fast) var(--ease-out);
}
.industry-mini:hover { border-color: var(--brand-blue); transform: translateY(-3px); }
.industry-mini .icon-badge { flex-shrink: 0; width: 44px; height: 44px; }
.industry-mini strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--text-primary); }
.industry-mini small { display: block; margin-top: 2px; font-size: var(--fs-micro); line-height: 1.5; color: var(--text-muted); }

/* Homepage industry tiles */
.industry-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--duration-base), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-base);
}
.industry-tile:hover { border-color: var(--brand-blue); transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(16, 26, 44, 0.35); }

@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .industry-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Capability tree (about page) ---------- */
.stg-tree { --line: #cfdbe8; --gap: var(--space-8); --drop: var(--space-8); display: flex; flex-direction: column; align-items: center; }
.tree-root { position: relative; padding-bottom: var(--drop); }
.tree-root::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: var(--drop);
  margin-left: -1px;
  background: var(--line);
  transform-origin: top;
}
.tree-node--root {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem 0.85rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px -16px rgba(11, 132, 196, 0.55);
}
.tree-node--root img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 3px; }

.tree-branches {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.tree-branch { position: relative; padding-top: var(--drop); display: flex; flex-direction: column; }
/* Horizontal rail joining the three branches */
.tree-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--gap) / -2);
  right: calc(var(--gap) / -2);
  height: 2px;
  background: var(--line);
}
.tree-branch:first-child::before { left: 50%; }
.tree-branch:last-child::before { right: 50%; }
/* Drop from the rail to each branch */
.tree-branch::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: var(--drop);
  margin-left: -1px;
  background: var(--line);
  transform-origin: top;
  transition: background var(--duration-base);
}

.tree-node--branch {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px -22px rgba(16, 26, 44, 0.35);
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
}
.tree-node--branch .icon-badge { width: 44px; height: 44px; flex-shrink: 0; }
.tree-node--branch strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); }
.tree-node--branch small { display: block; font-size: var(--fs-micro); color: var(--text-muted); }

/* File-tree style list of services under each branch */
.tree-leaves {
  position: relative;
  list-style: none;
  margin: var(--space-6) 0 0 var(--space-8);
  padding: 0 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tree-leaves::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--space-6) * -1);
  bottom: 1.3rem;
  width: 2px;
  background: var(--line);
  transform-origin: top;
  transition: background var(--duration-base);
}
.tree-leaves li { position: relative; }
.tree-leaves li::before {
  content: "";
  position: absolute;
  left: calc(var(--space-6) * -1);
  top: 50%;
  width: calc(var(--space-6) - 4px);
  height: 2px;
  background: var(--line);
  transition: background var(--duration-base);
}
.tree-leaves a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--duration-base), color var(--duration-base), transform var(--duration-fast) var(--ease-out);
}
.tree-leaves a::after { content: "\2192"; opacity: 0; transform: translateX(-4px); transition: opacity var(--duration-fast), transform var(--duration-fast); }
.tree-leaves a:hover,
.tree-leaves a:focus-visible { border-color: var(--branch); color: var(--branch); transform: translateX(3px); }
.tree-leaves a:hover::after,
.tree-leaves a:focus-visible::after { opacity: 1; transform: none; }

/* Hovering a branch lights up its whole path */
.tree-branch:hover::after,
.tree-branch:focus-within::after,
.tree-branch:hover .tree-leaves::before,
.tree-branch:focus-within .tree-leaves::before,
.tree-branch:hover .tree-leaves li::before,
.tree-branch:focus-within .tree-leaves li::before { background: var(--branch); }
.tree-branch:hover .tree-node--branch,
.tree-branch:focus-within .tree-node--branch { border-color: var(--branch); box-shadow: 0 18px 36px -22px var(--branch); }

/* Draw the tree in when it scrolls into view */
.stg-tree[data-inview="true"] .tree-root::after { animation: treeGrowY 0.35s 0.15s both; }
.stg-tree[data-inview="true"] .tree-branch::before { animation: treeGrowX 0.4s 0.45s both; }
.stg-tree[data-inview="true"] .tree-branch::after { animation: treeGrowY 0.3s 0.8s both; }
.stg-tree[data-inview="true"] .tree-node--branch { animation: treePop 0.45s 1s both; }
.stg-tree[data-inview="true"] .tree-leaves::before { animation: treeGrowY 0.45s 1.3s both; }
.stg-tree[data-inview="true"] .tree-leaves li { animation: treeLeaf 0.4s both; animation-delay: 1.5s; }
.stg-tree[data-inview="true"] .tree-leaves li:nth-child(2) { animation-delay: 1.6s; }
.stg-tree[data-inview="true"] .tree-leaves li:nth-child(3) { animation-delay: 1.7s; }
.stg-tree[data-inview="true"] .tree-leaves li:nth-child(4) { animation-delay: 1.8s; }
@keyframes treeGrowY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes treeGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes treePop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes treeLeaf { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .tree-branches { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .tree-root { padding-bottom: var(--space-8); }
  .tree-root::after,
  .tree-branch::before,
  .tree-branch::after { display: none; }
  .tree-branch { padding-top: 0; }
  .tree-leaves { margin-left: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  .stg-tree [class*="tree-"],
  .stg-tree [class*="tree-"]::before,
  .stg-tree [class*="tree-"]::after,
  .stg-tree .tree-leaves li { animation: none !important; }
}

/* Call-to-action tile that completes a strip of steps */
a.feature-strip-cta {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(11, 132, 196, 0.08), rgba(217, 28, 130, 0.08));
  border: 1px solid rgba(11, 132, 196, 0.28);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--duration-base), transform var(--duration-fast) var(--ease-out);
}
a.feature-strip-cta:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
a.feature-strip-cta strong { color: var(--brand-blue); }

/* ---------- Services overview (home) ---------- */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.service-overview-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base), border-color var(--duration-base);
}
.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -28px rgba(16, 26, 44, 0.35);
  border-color: var(--border-strong);
}
.service-overview-card .icon-badge { margin-bottom: var(--space-6); }
.service-overview-card h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.service-overview-card p { font-size: var(--fs-small); margin-bottom: var(--space-4); }
.service-overview-card .link-arrow { margin-top: auto; font-size: var(--fs-small); font-weight: 700; color: var(--brand-blue); display: inline-flex; align-items: center; gap: 6px; }
.service-overview-card .link-arrow svg { width: 14px; height: 14px; transition: transform var(--duration-fast); }
.service-overview-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- About / trust strip ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.about-stats--strip { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.about-stat { padding: var(--space-4); border-radius: var(--radius-md); background: var(--bg-alt); }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-blue); }
.about-stat span { font-size: var(--fs-micro); color: var(--text-muted); }
.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  max-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-brand);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.85; }

/* ---------- Work / portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1/1;
  display: block;
}
.work-card picture, .work-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform var(--duration-slow) var(--ease-premium);
}
.work-card:hover img { transform: scale(1.04); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,18,32,0.92) 0%, rgba(10,18,32,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--duration-base);
}
.work-card:hover .work-overlay, .work-card:focus-within .work-overlay { opacity: 1; }
.work-overlay .cat { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-teal); margin-bottom: var(--space-1); font-weight: 700; }
.work-overlay h3 { font-size: 1.1rem; margin-bottom: var(--space-1); color: #fff; }
.work-overlay p { font-size: var(--fs-small); margin: 0; color: rgba(255,255,255,0.82); }

.work-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-align: center;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--bg-alt);
  padding: var(--space-6);
}
.work-placeholder strong { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.work-placeholder span { font-size: var(--fs-micro); color: var(--text-muted); }

.blog-card-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border-strong);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.blog-card-thumb span { font-size: var(--fs-micro); color: var(--text-muted); text-align: center; padding: 0 var(--space-4); }
.blog-card-thumb.has-image { border-style: solid; border-color: var(--border-subtle); overflow: hidden; padding: 0; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  aspect-ratio: 21/8;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-strong);
  background: var(--bg-alt);
  padding: var(--space-6);
  text-align: center;
}
.results-placeholder strong { font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.results-placeholder span { font-size: var(--fs-micro); color: var(--text-muted); }

.results-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.results-image img { width: 100%; height: auto; max-height: 360px; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .results-placeholder { aspect-ratio: 4/3; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-2); font-size: var(--fs-h2); }
.cta-banner p { color: rgba(255,255,255,0.88); margin: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--brand-navy); box-shadow: none; }
.cta-banner .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(0,0,0,0.3); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-blue); transition: transform var(--duration-fast); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: var(--space-4) 0 0; font-size: var(--fs-small); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-16); }
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-8); }
.contact-info-item { display: flex; align-items: center; gap: var(--space-4); }
.contact-info-item .icon-badge { width: 44px; height: 44px; }
.contact-info-item .icon-badge svg { width: 20px; height: 20px; }
.contact-info-item span { display: block; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.contact-info-item a, .contact-info-item p { font-family: var(--font-display); font-size: 1.05rem; margin: 0; font-weight: 600; }
.contact-info-item a { transition: color var(--duration-fast); }
.contact-info-item a:hover { color: var(--brand-blue); }
.contact-info-item .icon-badge { transition: transform var(--duration-base) var(--ease-out); }
.contact-info-item:has(a:hover) .icon-badge { transform: scale(1.08); }

/* Links inside running text must read as links (the global reset makes them look like plain text). */
main p a:not([class]) {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 132, 196, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast), text-decoration-color var(--duration-fast);
}
main p a:not([class]):hover { color: #075f8d; text-decoration-color: currentColor; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-blue);
  outline: none;
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-error { font-size: var(--fs-micro); color: #d92d3f; min-height: 1em; }
.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  margin-top: var(--space-4);
  display: none;
}
.form-status.is-success { display: block; background: rgba(34,181,115,0.1); border: 1px solid rgba(34,181,115,0.3); color: #1a8f5c; }
.form-status.is-error { display: block; background: rgba(217,45,63,0.08); border: 1px solid rgba(217,45,63,0.3); color: #d92d3f; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--space-24) 0 0;
  background: radial-gradient(120% 90% at 50% 0%, #101c31 0%, #0a1220 45%, #060a13 100%);
  color: var(--text-on-dark-secondary);
}
/* Brand hairline along the top edge */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.85;
}
/* Soft glows + faint grid */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(32% 40% at 8% 0%, rgba(23, 166, 160, 0.16), transparent 70%),
    radial-gradient(30% 38% at 95% 10%, rgba(217, 28, 130, 0.13), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: var(--space-16);
}

/* Brand column */
.footer-logo-plate {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform var(--duration-fast) var(--ease-out);
}
.footer-logo-plate:hover { transform: translateY(-2px); }
.footer-brand-logo { height: 44px; width: auto; display: block; }
.footer-tagline { max-width: 320px; margin: var(--space-6) 0 var(--space-4); font-size: var(--fs-small); line-height: 1.7; color: rgba(220, 232, 245, 0.72); }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(61, 220, 151, 0.25);
  color: #9be8c4;
  font-size: var(--fs-micro);
  font-weight: 700;
}
.footer-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; animation: heroPulseGreen 2s ease-out infinite; }

.footer-contact { list-style: none; margin: var(--space-8) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-4); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-small); line-height: 1.55; color: rgba(220, 232, 245, 0.85); }
.footer-contact small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(220, 232, 245, 0.45); }
.footer-contact a { color: #fff; font-weight: 600; transition: color var(--duration-fast); }
.footer-contact a:hover { color: #3fe0cf; }
.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(23, 166, 160, 0.12);
  border: 1px solid rgba(23, 166, 160, 0.22);
  color: #3fe0cf;
}
.footer-contact-icon svg { width: 16px; height: 16px; }

.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--gradient-brand); border-color: transparent; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

/* Link columns */
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); }
.footer-col h4 {
  position: relative;
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-3);
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-small);
  color: rgba(220, 232, 245, 0.68);
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}
.footer-col a::before {
  content: "\2192";
  position: absolute;
  left: -1.1em;
  opacity: 0;
  color: #3fe0cf;
  transition: opacity var(--duration-fast), transform var(--duration-fast) var(--ease-out);
  transform: translateX(-4px);
}
.footer-col a:hover { color: #fff; transform: translateX(6px); }
.footer-col a:hover::before { opacity: 1; transform: none; }

/* Right column: links on top, founder quote filling the space below */
.footer-right { display: flex; flex-direction: column; gap: var(--space-12); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 190px var(--space-8) 0; /* right padding keeps clear of the fixed AI launcher */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-micro);
  color: rgba(220, 232, 245, 0.5);
}
.footer-signature { font-family: var(--font-script); font-size: 1.5rem; color: #fff; }
.footer-totop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(220, 232, 245, 0.75);
  font-weight: 700;
  transition: color var(--duration-fast);
}
.footer-totop svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(-90deg);
  transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}
.footer-totop:hover { color: #fff; }
.footer-totop:hover svg { background: var(--gradient-brand); border-color: transparent; transform: rotate(-90deg) translateX(3px); }

@media (max-width: 980px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer { padding-top: var(--space-16); }
  .footer-links { gap: var(--space-8) var(--space-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-status-dot, .footer-quote { animation: none; }
  .footer-col a:hover { transform: none; }
}

/* ---------- AI floating control + panel (re-skinned to light/gradient theme) ---------- */
.ai-launcher {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-ai-panel);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem 1.2rem 0.75rem 0.75rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  box-shadow: 0 20px 40px -16px rgba(16, 26, 44, 0.35);
  transition: transform var(--duration-fast) var(--ease-out);
}
.ai-launcher:hover { transform: translateY(-2px); }
.ai-launcher-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ai-launcher-avatar .pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-teal);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring { 0% { opacity: .6; transform: scale(0.9);} 100% { opacity: 0; transform: scale(1.5);} }
.ai-launcher-label { font-size: var(--fs-small); font-weight: 700; color: var(--text-primary); }
@media (max-width: 720px) {
  .ai-launcher { padding: var(--space-3); bottom: var(--space-4); right: var(--space-4); }
  .ai-launcher-label { display: none; }
}

.ai-panel {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-ai-panel);
  width: min(400px, calc(100vw - 2 * var(--space-6)));
  max-height: min(640px, calc(100vh - 2 * var(--space-6)));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(16, 26, 44, 0.4);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-base) var(--ease-premium), opacity var(--duration-base);
}
.ai-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.ai-panel-header {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}
.ai-panel-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
  position: relative;
}
.ai-panel-avatar .state-ring {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--brand-teal); opacity: 0;
  transition: opacity var(--duration-fast);
}
.ai-panel-avatar.is-active .state-ring { opacity: 1; animation: pulse-ring 1.6s ease-out infinite; }
.ai-panel-title { flex: 1; }
.ai-panel-title strong { display: block; font-size: 0.95rem; color: var(--text-primary); }
.ai-panel-title span { font-size: var(--fs-micro); color: var(--brand-teal); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.ai-panel-close { background: none; border: none; color: var(--text-muted); cursor: pointer; width: 32px; height: 32px; font-size: 1.1rem; }
.ai-panel-close:hover { color: var(--text-primary); }

.ai-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 200px;
}
.ai-msg { max-width: 85%; padding: 0.7rem 1rem; border-radius: var(--radius-md); font-size: 0.9rem; line-height: 1.5; }
.ai-msg.from-user { align-self: flex-end; background: var(--gradient-brand); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.from-agent { align-self: flex-start; background: var(--bg-alt); color: var(--text-primary); border-bottom-left-radius: 4px; }
.ai-msg.is-typing { display: flex; gap: 4px; align-items: center; padding: 0.85rem 1rem; }
.ai-msg.is-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typingDot 1.2s infinite ease-in-out; }
.ai-msg.is-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-msg.is-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.ai-suggestions { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-5) var(--space-3); }
.ai-suggestion {
  font-size: var(--fs-micro);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--duration-fast), color var(--duration-fast);
}
.ai-suggestion:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* Page link offered inside an assistant message */
.ai-msg-link {
  display: flex;
  margin-top: var(--space-2);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 132, 196, 0.35);
  background: #fff;
  color: var(--brand-blue);
  font: inherit;
  font-size: var(--fs-micro);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--duration-base), border-color var(--duration-base);
}
.ai-msg-link:hover { background: rgba(11, 132, 196, 0.08); border-color: var(--brand-blue); }

/* Proactive, page-aware greeting bubble above the launcher */
.ai-nudge {
  position: fixed;
  right: var(--space-6);
  bottom: calc(var(--space-6) + 76px);
  z-index: var(--z-ai-panel);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: min(320px, calc(100vw - 2rem));
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 48px -20px rgba(16, 26, 44, 0.45);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity var(--duration-base), transform var(--duration-base) var(--ease-out);
  pointer-events: none;
}
.ai-nudge.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ai-nudge-text {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-primary);
  cursor: pointer;
}
.ai-nudge-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 720px) {
  .ai-nudge { right: var(--space-4); bottom: calc(var(--space-4) + 68px); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-nudge { transition: none; }
}

.ai-panel-input {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.ai-panel-input input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.ai-panel-input input:focus { outline: none; border-color: var(--brand-blue); }
.ai-mic-btn, .ai-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  color: var(--text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.ai-mic-btn svg, .ai-send-btn svg { width: 16px; height: 16px; }
.ai-mic-btn:hover, .ai-send-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.ai-mic-btn.is-listening { background: var(--brand-magenta); border-color: var(--brand-magenta); color: #fff; animation: pulse-ring 1s ease-out infinite; }
.ai-mic-btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.ai-panel-note { padding: 0 var(--space-5) var(--space-4); font-size: var(--fs-micro); color: var(--text-muted); }

/* ---------- Opening intro (first page of each visit) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 120% at 50% 0%, #12203a 0%, #0a1220 50%, #050912 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.85s;
  /* Failsafe: never trap a visitor if scripts fail to load */
  animation: introFailsafe 0.5s ease 7.5s forwards;
}
.loader::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(30% 35% at 20% 30%, rgba(11, 132, 196, 0.35), transparent 70%),
    radial-gradient(28% 32% at 80% 25%, rgba(217, 28, 130, 0.28), transparent 70%),
    radial-gradient(32% 36% at 60% 85%, rgba(23, 166, 160, 0.3), transparent 70%);
  filter: blur(50px);
  animation: heroAurora 14s ease-in-out infinite alternate;
}
.loader.is-hidden { transform: translateY(-100%); visibility: hidden; pointer-events: none; }
.loader.is-hidden .intro { opacity: 0; transform: translateY(-30px); }
.intro-seen .loader { display: none; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.intro {
  width: min(92vw, 760px);
  text-align: center;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
.intro-brand { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: var(--space-8); animation: introRise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.intro-mark { width: 64px; height: auto; filter: drop-shadow(0 8px 24px rgba(11, 132, 196, 0.45)); }
.intro-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.intro-name span { font-weight: 500; color: rgba(220, 232, 245, 0.7); }

/* Greetings cycle: Hello, Namaste (Hindi), Namaskaram (Telugu), then Welcome stays */
.intro-greet {
  position: relative;
  height: 1.25em;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.intro-greet span { position: absolute; inset: 0; opacity: 0; animation: introWord 0.75s ease-in-out both; }
.intro-greet span:nth-child(1) { animation-delay: 0.4s; }
.intro-greet span:nth-child(2) { animation-delay: 1.15s; }
.intro-greet span:nth-child(3) { animation-delay: 1.9s; }
.intro-greet .intro-greet-final {
  background: linear-gradient(90deg, #ff4fa8, #2fb4ff, #3fe0cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: introFinal 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 2.65s forwards;
}
@keyframes introWord {
  0% { opacity: 0; transform: translateY(55%); }
  28% { opacity: 1; transform: none; }
  72% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-55%); }
}
@keyframes introFinal { from { opacity: 0; transform: translateY(55%); } to { opacity: 1; transform: none; } }

.intro-line { margin: 0 0 var(--space-3); font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 500; color: rgba(235, 242, 250, 0.92); animation: introRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 2.95s both; }
.intro-tag { margin: 0 0 var(--space-8); font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(63, 224, 207, 0.85); animation: introRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 3.15s both; }
.intro-bar { width: min(260px, 60vw); height: 3px; margin: 0 auto; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.intro-bar span { display: block; height: 100%; background: var(--gradient-brand); transform-origin: left; animation: introBar 4.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }
.intro-skip { display: block; margin-top: var(--space-6); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(220, 232, 245, 0.4); animation: introRise 0.5s ease 0.9s both; }
@keyframes introRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hold the hero's own entrance until the curtain lifts, so visitors actually see it */
.intro-playing .hero-copy > *,
.intro-playing .hero-visual { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .loader::before, .intro-brand, .intro-line, .intro-tag, .intro-skip, .intro-bar span { animation: none; }
  .loader { transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
  .loader.is-hidden { transform: none; opacity: 0; }
  .intro-greet span:not(.intro-greet-final) { display: none; }
  .intro-greet .intro-greet-final { animation: none; opacity: 1; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -100px; left: var(--space-4); z-index: 1100;
  background: var(--brand-blue); color: #fff; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm); transition: top var(--duration-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-overview-grid, .feature-grid, .feature-strip, .about-stats--strip { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .services-overview-grid, .feature-grid, .feature-strip, .about-stats, .about-stats--strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .section-pad { padding: var(--space-24) 0; }
}

/* =========================================================================
   Card system: one premium look shared by every card on the site.
   Gradient border + pointer spotlight on hover; --mx/--my are set by
   js/ui/CardTilt.js (falls back to a top-centre glow without JS).
   ========================================================================= */
.feature-card,
.service-overview-card,
.industry-card,
.industry-mini,
.industry-tile,
.tree-node--branch,
.faq-item,
.about-stat {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.04), 0 10px 28px -18px rgba(16, 26, 44, 0.16);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base);
}
.feature-card,
.service-overview-card,
.industry-card { border-radius: var(--radius-lg); }

/* Gradient border, revealed on hover */
.feature-card::before,
.service-overview-card::before,
.industry-card::before,
.industry-mini::before,
.industry-tile::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-base);
  pointer-events: none;
}
/* Soft spotlight that follows the pointer */
.feature-card::after,
.service-overview-card::after,
.industry-card::after,
.industry-mini::after,
.industry-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 132, 196, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity var(--duration-base);
  pointer-events: none;
}

.feature-card:hover,
.service-overview-card:hover,
.industry-card:hover,
.industry-mini:hover,
.industry-tile:hover {
  border-color: transparent;
  box-shadow: 0 2px 4px rgba(16, 26, 44, 0.04), 0 30px 60px -30px rgba(16, 26, 44, 0.38);
}
.feature-card:hover,
.industry-card:hover { transform: translateY(-6px); }
.feature-card:hover::before,
.service-overview-card:hover::before,
.industry-card:hover::before,
.industry-mini:hover::before,
.industry-tile:hover::before,
.faq-item[open]::before,
.feature-card:hover::after,
.service-overview-card:hover::after,
.industry-card:hover::after,
.industry-mini:hover::after,
.industry-tile:hover::after { opacity: 1; }

/* Icons glow in their own colour when their card is hovered */
.icon-badge {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.feature-card:hover .icon-badge,
.service-overview-card:hover .icon-badge,
.industry-card:hover .icon-badge,
.industry-mini:hover .icon-badge,
.industry-tile:hover .icon-badge,
.tree-branch:hover .tree-node--branch .icon-badge {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 24px -10px currentColor;
}

.icon-badge.on-dark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* Icon badges always centre their icon, even inside containers that style
   every <span> as text (doubled class beats rules like ".x span"). */
.icon-badge.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}
.nav-dropdown-item .icon-badge svg { width: 18px; height: 18px; }

/* Clickable cards get a clear keyboard focus ring */
.service-overview-card:focus-visible,
.industry-mini:focus-visible,
.industry-tile:focus-visible,
.work-card:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Cards on dark sections keep their dark surface */
.feature-card[style*="--bg-dark"] { box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.6); }
.feature-card[style*="--bg-dark"]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 224, 207, 0.1), transparent 45%); }

/* Stat tiles: gradient numbers */
.about-stat { border-radius: var(--radius-md); background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%); }
.about-stat strong {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

/* FAQ cards: real padding, clear open state */
.faq-item { padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); }
.faq-item summary { min-height: 2.25rem; transition: color var(--duration-base); }
.faq-item summary:hover { color: var(--brand-blue); }
.faq-item[open] { border-color: transparent; box-shadow: 0 2px 4px rgba(16, 26, 44, 0.04), 0 24px 48px -30px rgba(11, 132, 196, 0.45); }
.faq-item[open] summary { color: var(--brand-blue); }
.faq-item p { margin: var(--space-3) 0 var(--space-2); line-height: 1.7; }

/* Project cards: title always visible, description slides up on hover */
.work-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.05), 0 14px 32px -20px rgba(16, 26, 44, 0.3);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.work-card:hover { box-shadow: 0 2px 4px rgba(16, 26, 44, 0.05), 0 32px 64px -30px rgba(16, 26, 44, 0.5); }
.work-overlay {
  opacity: 1;
  background: linear-gradient(0deg, rgba(8, 14, 26, 0.92) 0%, rgba(8, 14, 26, 0.55) 32%, transparent 62%);
}
.work-overlay p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-out), opacity var(--duration-base);
}
.work-card:hover .work-overlay p,
.work-card:focus-visible .work-overlay p { max-height: 5em; opacity: 1; }
@media (hover: none) {
  .work-overlay p { max-height: none; opacity: 1; }
}

/* Image panels get the same depth as cards */
.results-image {
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.05), 0 24px 48px -28px rgba(16, 26, 44, 0.35);
}
.results-image img { transition: transform var(--duration-slow) var(--ease-premium); }
.results-image:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .industry-card:hover,
  .feature-card:hover .icon-badge,
  .service-overview-card:hover .icon-badge,
  .industry-card:hover .icon-badge,
  .industry-mini:hover .icon-badge,
  .industry-tile:hover .icon-badge,
  .results-image:hover img { transform: none; }
}

/* ---------- "We'll turn it into an app" statement ---------- */
.build-statement-section { padding-top: var(--space-16); }
.build-statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #142a4a 0%, #0a1220 55%, #070b14 100%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(10, 18, 32, 0.6);
}
.build-statement::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(30% 35% at 85% 15%, rgba(217, 28, 130, 0.3), transparent 70%),
    radial-gradient(32% 38% at 12% 85%, rgba(23, 166, 160, 0.28), transparent 70%),
    radial-gradient(28% 30% at 55% 50%, rgba(11, 132, 196, 0.16), transparent 70%);
  filter: blur(50px);
  animation: heroAurora 24s ease-in-out infinite alternate;
}
.build-statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
}

/* Left: message */
.build-kicker { margin: 0 0 var(--space-3); font-size: 1rem; font-weight: 500; color: rgba(220, 232, 245, 0.85); }
.word-rotator {
  display: inline-block;
  font-weight: 800;
  color: #3fe0cf;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.word-rotator.is-leaving { opacity: 0; transform: translateY(-45%); }
.word-rotator.is-entering { opacity: 0; transform: translateY(45%); transition: none; }
.build-title {
  margin: 0 0 var(--space-4);
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.build-title .gradient-text {
  display: block;
  background: linear-gradient(90deg, #ff4fa8, #2fb4ff, #3fe0cf, #2fb4ff, #ff4fa8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroShimmer 7s linear infinite;
}
.build-lead { max-width: 520px; margin: 0 0 var(--space-6); font-size: 1rem; line-height: 1.65; color: rgba(220, 232, 245, 0.8); }
.build-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.build-cta .btn { padding: 0.9rem 1.6rem; font-size: 0.9rem; }
.build-cta .btn-primary { box-shadow: 0 12px 34px -10px rgba(11, 132, 196, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.build-cta .btn-primary::after { content: "\2192"; transition: transform var(--duration-fast) var(--ease-out); }
.build-cta .btn-primary:hover::after { transform: translateX(4px); }
.build-cta .btn-outline-dark { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.22); }
.build-note { margin: var(--space-3) 0 0; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.6); }

/* Right: before -> after visual */
.build-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.build-transform { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.build-before { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.build-before li {
  position: relative;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(220, 232, 245, 0.7);
  font-size: var(--fs-micro);
  font-weight: 600;
}
.build-before li::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: #ff5f8f;
  transform-origin: left;
}
.build-statement[data-inview="true"] .build-before li::after { animation: buildStrike 0.45s ease-out both; }
.build-statement[data-inview="true"] .build-before li:nth-child(1)::after { animation-delay: 0.5s; }
.build-statement[data-inview="true"] .build-before li:nth-child(2)::after { animation-delay: 0.7s; }
.build-statement[data-inview="true"] .build-before li:nth-child(3)::after { animation-delay: 0.9s; }
.build-statement[data-inview="true"] .build-before li:nth-child(4)::after { animation-delay: 1.1s; }
@keyframes buildStrike { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.build-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
  animation: buildNudge 1.6s ease-in-out infinite;
}
.build-arrow svg { width: 16px; height: 16px; transform: rotate(90deg); }
@keyframes buildNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.build-after {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  background: linear-gradient(#0d1a2e, #0d1a2e) padding-box, var(--gradient-brand) border-box;
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
  box-shadow: 0 0 28px -6px rgba(63, 224, 207, 0.55);
}
.build-after svg { width: 16px; height: 16px; color: #3fe0cf; }

.build-paths { list-style: none; margin: 0; padding: var(--space-4) 0 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: var(--space-2); }
.build-paths li {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color var(--duration-base), background var(--duration-base);
}
.build-paths li:hover { border-color: rgba(63, 224, 207, 0.45); background: rgba(255, 255, 255, 0.06); }
.build-from { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(220, 232, 245, 0.55); }
.build-paths strong { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: 0.98rem; color: #fff; }
.build-paths strong svg { width: 14px; height: 14px; flex-shrink: 0; color: #3fe0cf; }
.build-paths small { display: block; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.68); }

@media (max-width: 980px) {
  .build-statement { grid-template-columns: minmax(0, 1fr); }
  .build-lead { max-width: none; }
}
@media (max-width: 720px) {
  .build-statement { border-radius: var(--radius-lg); }
  .build-cta .btn { width: 100%; justify-content: center; }
  .build-visual { padding: var(--space-4); }
  .build-paths small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .build-statement::before,
  .build-title .gradient-text,
  .build-arrow,
  .build-statement[data-inview="true"] .build-before li::after { animation: none !important; }
  .word-rotator { transition: none; }
}

/* ---------- Hover for strip items (steps, ecosystems, journeys) and stat tiles ---------- */
/* Each strip item gets an invisible box that appears on hover; the negative margin keeps text aligned. */
.feature-strip-item:not(.feature-strip-cta) {
  margin: calc(var(--space-3) * -1) calc(var(--space-4) * -1);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: inherit;
  transition:
    background var(--duration-base),
    border-color var(--duration-base),
    box-shadow var(--duration-base),
    transform var(--duration-base) var(--ease-out);
}
.feature-strip-item:not(.feature-strip-cta):hover {
  background: #fff;
  border-color: var(--border-subtle);
  box-shadow: 0 16px 32px -22px rgba(16, 26, 44, 0.35);
  transform: translateY(-3px);
}
.feature-strip-item strong { transition: color var(--duration-fast); }
.feature-strip-item:not(.feature-strip-cta):hover strong { color: var(--brand-blue); }
.feature-strip-item:hover .icon-badge {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 22px -10px currentColor;
}
/* Strip items that are links get an arrow cue */
a.feature-strip-item:not(.feature-strip-cta)::after {
  content: "\2192";
  margin-left: auto;
  padding-left: var(--space-2);
  color: #3fe0cf;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}
a.feature-strip-item:not(.feature-strip-cta):hover::after { opacity: 1; transform: none; }
/* Dark sections: glassy hover instead of white */
[style*="--bg-dark"] .feature-strip-item:not(.feature-strip-cta):hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.6);
}
[style*="--bg-dark"] .feature-strip-item:not(.feature-strip-cta):hover strong { color: #fff; }

/* Stat tiles: lift + gradient border, matching the other cards */
.about-stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-base);
  pointer-events: none;
}
.about-stat:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 2px 4px rgba(16, 26, 44, 0.04), 0 22px 40px -24px rgba(16, 26, 44, 0.38);
}
.about-stat:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .feature-strip-item:not(.feature-strip-cta):hover,
  .feature-strip-item:hover .icon-badge,
  .about-stat:hover { transform: none; }
}

/* ---------- Projects page gallery: 8 projects as 4 x 2 instead of big 2-column squares ---------- */
.work-grid--gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.work-grid--gallery .work-overlay h3 { font-size: 1rem; }
.work-grid--gallery .work-overlay { padding: var(--space-4); }
@media (max-width: 980px) {
  .work-grid--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .work-grid--gallery { grid-template-columns: minmax(0, 1fr); }
  .work-grid--gallery .work-card { aspect-ratio: 4 / 3; }
}

/* Homepage "Real apps" row: 3 across on desktop and tablet, 1 per row on phones */
.work-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .work-grid--three { grid-template-columns: minmax(0, 1fr); }
  .work-grid--three .work-card { aspect-ratio: 4 / 3; }
}
.intro-tag span { white-space: nowrap; }
@media (max-width: 480px) { .intro-tag { letter-spacing: 0.12em; } }

/* ---------- Small-screen fixes from the responsive audit ---------- */
/* Long unbreakable text (emails) must wrap instead of pushing the page sideways */
.contact-info-item > div { min-width: 0; }
.contact-info-item a, .contact-info-item p { overflow-wrap: anywhere; }
/* Comfortable tap targets for contact links */
.contact-info-item a { display: inline-flex; align-items: center; min-height: 36px; }
/* Make the whole industry chip tappable, not just its text */
.area-chips li:has(a) { padding: 0; }
.area-chips li a { display: block; padding: 0.55rem 1rem; }
/* Long button labels wrap on very narrow phones instead of overflowing */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; justify-content: center; }
}

/* ---------- About Founder: Background (hard-work story) ---------- */
.founder-bg {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.founder-bg-lead { font-size: 1.05rem; color: var(--text-primary); }
.founder-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-8); }
.founder-proof-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.04), 0 10px 28px -18px rgba(16, 26, 44, 0.16);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base), border-color var(--duration-base);
}
.founder-proof-item:hover { transform: translateY(-4px); border-color: rgba(11, 132, 196, 0.35); box-shadow: 0 2px 4px rgba(16, 26, 44, 0.04), 0 22px 40px -24px rgba(16, 26, 44, 0.38); }
.founder-proof-item:hover .icon-badge { transform: scale(1.08) rotate(-3deg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 22px -10px currentColor; }
.founder-proof-item .icon-badge { width: 44px; height: 44px; }
.founder-proof-item .icon-badge svg { width: 20px; height: 20px; }
.founder-proof-item strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--text-primary); }
.founder-proof-item div span { display: block; margin-top: 2px; font-size: var(--fs-micro); line-height: 1.5; color: var(--text-muted); }

/* Photo fills the full height of the story, with the motto overlaid */
.founder-bg-photo {
  position: relative;
  margin: 0;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.05), 0 30px 60px -32px rgba(16, 26, 44, 0.45);
}
.founder-bg-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slow) var(--ease-premium);
}
.founder-bg-photo:hover img { transform: scale(1.04); }
.founder-bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 10, 19, 0.85) 0%, rgba(6, 10, 19, 0.25) 38%, transparent 60%);
  pointer-events: none;
}
.founder-bg-quote {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: rgba(10, 18, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}
.founder-bg-quote-mark {
  position: absolute;
  top: -0.05em;
  right: 0.3em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.6;
}
.founder-bg-quote p { margin: 0 0 var(--space-2); max-width: 90%; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.35; color: #fff; }
.founder-bg-quote small { font-size: var(--fs-micro); letter-spacing: 0.04em; color: rgba(220, 232, 245, 0.75); }

@media (max-width: 980px) {
  .founder-bg { grid-template-columns: minmax(0, 1fr); }
  .founder-bg-photo { min-height: 420px; }
}
@media (max-width: 600px) {
  .founder-proof { grid-template-columns: minmax(0, 1fr); }
  .founder-bg-photo { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .founder-proof-item:hover, .founder-proof-item:hover .icon-badge, .founder-bg-photo:hover img { transform: none; }
}

/* Founder photo: show the full image (no cropping) with a compact motto card under it */
.founder-bg { align-items: center; }
.founder-bg-photo,
.founder-bg-photo:hover { min-height: 0; overflow: visible; border-radius: 0; box-shadow: none; }
.founder-bg-photo img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16, 26, 44, 0.05), 0 30px 60px -32px rgba(16, 26, 44, 0.45);
}
.founder-bg-photo:hover img { transform: none; }
.founder-bg-photo::after { display: none; }
.founder-bg-quote {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: -1.75rem var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background: rgba(10, 18, 32, 0.9);
  box-shadow: 0 18px 36px -20px rgba(10, 18, 32, 0.6);
}
.founder-bg-quote p { max-width: 88%; margin-bottom: 2px; font-size: 1rem; }
.founder-bg-quote small { font-size: 0.7rem; }
.founder-bg-quote-mark { font-size: 3.2rem; top: 0; }
@media (max-width: 980px) { .founder-bg-photo { min-height: 0; } }
@media (max-width: 600px) { .founder-bg-photo { min-height: 0; } .founder-bg-quote { margin: -1.25rem var(--space-3) 0; } }
.founder-bg-quote { margin: -1.25rem var(--space-8) 0; padding: 0.7rem 1.1rem; border-radius: var(--radius-sm, 10px); }
.founder-bg-quote p { max-width: none; padding-right: 1.6rem; font-size: 0.88rem; line-height: 1.35; }
.founder-bg-quote small { font-size: 0.66rem; opacity: 0.75; }
.founder-bg-quote-mark { font-size: 2.2rem; right: 0.35em; top: 0.05em; }
@media (max-width: 600px) { .founder-bg-quote { margin: -1rem var(--space-4) 0; } }

/* ---------- Founder motto card: floating ---------- */
.founder-bg-quote {
  box-shadow: 0 22px 40px -18px rgba(10, 18, 32, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: founderFloat 5s ease-in-out infinite;
}
.founder-bg-quote::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 18, 32, 0.28), transparent);
  animation: founderFloatShadow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes founderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes founderFloatShadow {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.82); opacity: 0.55; }
}

/* ---------- Founder message: royal note ---------- */
.royal-note-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(217, 28, 130, 0.07), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(23, 166, 160, 0.08), transparent 42%),
    var(--bg-alt);
}
.royal-note {
  --note-ink: #1b2537;
  --note-gold: #b8913f;
  position: relative;
  max-width: 820px;
  margin: 3.5rem auto 0;
  padding: clamp(4.5rem, 8vw, 5.5rem) clamp(1.5rem, 7vw, 4.75rem) clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
    repeating-linear-gradient(0deg, rgba(120, 95, 50, 0.018) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, #fffdf7 0%, #fbf6ea 100%);
  color: var(--note-ink);
  box-shadow:
    0 2px 4px rgba(60, 45, 20, 0.06),
    0 40px 80px -40px rgba(20, 48, 79, 0.45),
    0 0 0 1px rgba(184, 145, 63, 0.25);
}
/* gradient outer frame + fine inner gold hairline */
.royal-note::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.royal-note::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184, 145, 63, 0.45);
  outline: 1px solid rgba(184, 145, 63, 0.2);
  outline-offset: 4px;
  border-radius: 2px;
  pointer-events: none;
}
.royal-note-corner {
  position: absolute;
  width: 54px;
  height: 54px;
  z-index: 1;
  pointer-events: none;
}
.royal-note-corner svg { width: 100%; height: 100%; fill: none; stroke: var(--note-gold); stroke-width: 2; stroke-linecap: round; }
.royal-note-corner svg circle { fill: var(--brand-magenta); stroke: none; }
.royal-note-corner--tl { top: 8px; left: 8px; }
.royal-note-corner--tr { top: 8px; right: 8px; transform: scaleX(-1); }
.royal-note-corner--bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.royal-note-corner--br { bottom: 8px; right: 8px; transform: scale(-1, -1); }

.royal-note-seal {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #23426a 0%, #0f2038 60%, #0a1628 100%);
  box-shadow:
    0 0 0 4px #fffdf7,
    0 0 0 6px rgba(184, 145, 63, 0.7),
    0 16px 30px -10px rgba(10, 22, 40, 0.6),
    inset 0 2px 6px rgba(255, 255, 255, 0.18);
}
.royal-note-seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(220, 190, 120, 0.55);
}
.royal-note-seal img { width: 56px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }

.royal-note-head { text-align: center; margin-bottom: var(--space-8); }
.royal-note-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--note-gold);
}
.royal-note-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--brand-navy);
}
.royal-note-rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--space-4); }
.royal-note-rule i { display: block; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--note-gold)); }
.royal-note-rule i:last-child { transform: scaleX(-1); }
.royal-note-rule b { display: block; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gradient-brand); }

.royal-note-body {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.75;
  color: #2a3346;
}
.royal-note-body p { margin: 0 0 1.05em; }
.royal-note-salute { font-style: italic; font-size: 1.15em; color: var(--brand-navy); }
.royal-note-first { font-size: 1.12em; color: var(--brand-navy); }
.royal-note-first + p::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.8;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.royal-note-motto {
  margin: 1.8em 0;
  padding: 1.3em 1em;
  text-align: center;
  border-top: 1px solid rgba(184, 145, 63, 0.45);
  border-bottom: 1px solid rgba(184, 145, 63, 0.45);
  background: linear-gradient(90deg, transparent, rgba(184, 145, 63, 0.07), transparent);
}
.royal-note-motto p {
  margin: 0 0 0.35em;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.royal-note-motto small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--note-gold);
}

.royal-note-sign {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px dashed rgba(184, 145, 63, 0.45);
}
.royal-note-close { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 1.15rem; color: #5a6275; }
.royal-note-signature {
  display: block;
  margin: 2px 0 4px;
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand-navy);
}
.royal-note-role { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--note-gold); }

@media (max-width: 600px) {
  .royal-note { margin-top: 3rem; }
  .royal-note::after { inset: 9px; outline-offset: 3px; }
  .royal-note-corner { width: 38px; height: 38px; top: 4px; }
  .royal-note-corner--tl, .royal-note-corner--bl { left: 4px; }
  .royal-note-corner--tr, .royal-note-corner--br { right: 4px; }
  .royal-note-corner--bl, .royal-note-corner--br { top: auto; bottom: 4px; }
  .royal-note-seal { width: 76px; height: 76px; }
  .royal-note-seal img { width: 46px; }
  .royal-note-sign .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .founder-bg-quote, .founder-bg-quote::before { animation: none; }
}
.royal-note-first { font-style: italic; font-size: 1.2em; }
.royal-note-first + p::after { content: ""; display: table; clear: both; }

/* Royal note: compact layout */
.royal-note { max-width: 1040px; margin-top: 2.75rem; padding: 3.6rem clamp(1.4rem, 5vw, 3.5rem) 2rem; }
.royal-note-seal { width: 76px; height: 76px; }
.royal-note-seal img { width: 46px; }
.royal-note-head { margin-bottom: var(--space-5, 1.25rem); }
.royal-note-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.royal-note-rule { margin-top: var(--space-2); }
.royal-note-body { font-size: clamp(1.02rem, 1.25vw, 1.1rem); line-height: 1.6; }
.royal-note-body p { margin-bottom: 0.75em; }
.royal-note-salute, .royal-note-first { font-size: 1.08em; margin-bottom: 0.4em !important; }
.royal-note-motto { margin: 0.6em 0 0.9em; padding: 0.75em 1em; }
.royal-note-motto p { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 0.15em; }
.royal-note-sign { margin-top: var(--space-4); padding-top: var(--space-4); }
.royal-note-signature { font-size: clamp(1.8rem, 3vw, 2.1rem); }
@media (min-width: 900px) {
  .royal-note-body { column-count: 2; column-gap: 3rem; column-rule: 1px solid rgba(184, 145, 63, 0.3); }
  .royal-note-body p { break-inside: avoid-column; }
  .royal-note-motto { column-span: all; }
}

/* Royal note: alignment pass */
.royal-note-first + p::first-letter { float: none; font-size: inherit; margin: 0; line-height: inherit; background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; }
.royal-note-salute, .royal-note-first { column-span: all; }
.royal-note-first { margin-bottom: 0.9em !important; padding-bottom: 0.6em; border-bottom: 1px solid rgba(184, 145, 63, 0.25); font-size: 1.2em; font-weight: 700; }
.royal-note-body > p:not(.royal-note-salute):not(.royal-note-first):not(:last-child) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.royal-note-body > p:last-child { column-span: all; margin: 0; text-align: center; font-style: italic; color: var(--brand-navy); }
.royal-note-sign { align-items: center; }
@media (min-width: 900px) {
  .royal-note-body { column-fill: balance; }
  .royal-note-body p { break-inside: auto; }
}
.royal-note-body > p:not(.royal-note-salute):not(.royal-note-first):not(:last-child) { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* ---------- Home: Proudly Hyderabad ---------- */
.hyd-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 132, 196, 0.07), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(217, 28, 130, 0.06), transparent 40%),
    var(--bg-alt);
}
.hyd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hyd-services { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); }
.hyd-services a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base), color var(--duration-base);
}
.hyd-services a svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand-blue); }
.hyd-services a:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(11, 132, 196, 0.6); }

.hyd-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.hyd-facts strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; line-height: 1.1; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hyd-facts span { display: block; margin-top: 4px; font-size: var(--fs-micro); color: var(--text-muted); line-height: 1.35; }

.hyd-map {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  color: #e6eef8;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 166, 160, 0.25), transparent 45%),
    radial-gradient(circle at 95% 100%, rgba(217, 28, 130, 0.22), transparent 45%),
    linear-gradient(160deg, #0f2038 0%, #0a1424 100%);
  box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.7);
}
/* faint map grid */
.hyd-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(circle at 20% 15%, #000, transparent 75%);
  mask: radial-gradient(circle at 20% 15%, #000, transparent 75%);
  pointer-events: none;
}
.hyd-map > * { position: relative; }
.hyd-map-head { display: flex; align-items: center; gap: var(--space-4); padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.hyd-map-head small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #3fe0cf; }
.hyd-map-head strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.hyd-pin { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 20px -6px rgba(217, 28, 130, 0.6); }
.hyd-pin svg { position: relative; width: 22px; height: 22px; }
.hyd-pin i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(63, 224, 207, 0.6); animation: hydPulse 2.6s ease-out infinite; }
.hyd-pin i + i { animation-delay: 1.3s; }
@keyframes hydPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }

.hyd-map-title { margin: 1.25rem 0 var(--space-3); font-size: 0.95rem; color: #fff; }
.hyd-zones { display: grid; gap: var(--space-4); }
.hyd-zone-label { display: block; margin-bottom: var(--space-2); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220, 232, 245, 0.55); }
.hyd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hyd-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e6eef8;
  transition: background var(--duration-base), border-color var(--duration-base), transform var(--duration-base);
}
.hyd-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fe0cf; opacity: 0.8; }
.hyd-chips--wide li::before { display: none; }
.hyd-chips li svg { width: 14px; height: 14px; color: #3fe0cf; }
.hyd-chips li:hover { background: rgba(63, 224, 207, 0.14); border-color: rgba(63, 224, 207, 0.5); transform: translateY(-1px); }
.hyd-chips li.is-hq { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.hyd-chips li.is-hq::before { background: #fff; opacity: 1; }

.hyd-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--fs-small); color: rgba(220, 232, 245, 0.75); }

@media (max-width: 980px) { .hyd-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .hyd-services { grid-template-columns: minmax(0, 1fr); }
  .hyd-facts { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .hyd-map-foot .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hyd-pin i { animation: none; opacity: 0; } }
@media (max-width: 520px) { .hyd-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); } .hyd-facts strong { font-size: 1.05rem; } }

/* Proudly Hyderabad: simple reach list */
.hyd-reach { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.hyd-reach li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-premium);
}
.hyd-reach li:hover { background: rgba(63, 224, 207, 0.1); border-color: rgba(63, 224, 207, 0.45); transform: translateX(4px); }
.hyd-reach-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: rgba(63, 224, 207, 0.12); color: #3fe0cf; }
.hyd-reach-icon svg { width: 20px; height: 20px; }
.hyd-reach strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.hyd-reach span:not(.hyd-reach-icon) { display: block; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.65); }

/* ---------- All Services A-Z (solutions.php) + service page block ---------- */
.sol-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.sol-jump-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base);
}
.sol-jump-item:hover { border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(11, 132, 196, 0.55); }
.sol-jump-item strong { display: block; font-family: var(--font-display); font-size: 0.92rem; line-height: 1.25; }
.sol-jump-item small { display: block; margin-top: 2px; font-size: var(--fs-micro); color: var(--text-muted); }
.sol-jump-item .icon-badge { flex: 0 0 auto; }

.sol-group { scroll-margin-top: 90px; }
.sol-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
}
.sol-group-head h2 { margin: 0 0 var(--space-1); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.sol-group-head p { margin: 0; color: var(--text-muted); }

.sol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.sol-item {
  padding: var(--space-4) var(--space-5, 1.25rem);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base);
}
.sol-item:hover { border-color: rgba(11, 132, 196, 0.45); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(16, 26, 44, 0.45); }
.sol-item h3 { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0 0 6px; font-size: 0.98rem; line-height: 1.3; }
.sol-item h3 svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--brand-teal); }
.sol-item p { margin: 0; padding-left: calc(18px + 0.55rem); font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; }
.sol-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sol-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Areas We Serve (locations.php) ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.loc-grid > .loc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.loc-card {
  scroll-margin-top: 90px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px -32px rgba(16, 26, 44, 0.4);
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium);
}
.loc-card:hover { border-color: rgba(11, 132, 196, 0.4); transform: translateY(-3px); }
.loc-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
.loc-card-head h3 { margin: 0; font-size: 1.15rem; }
.loc-mode { padding: 4px 10px; border-radius: var(--radius-full); background: rgba(23, 166, 160, 0.1); color: var(--brand-green); font-size: var(--fs-micro); font-weight: 700; white-space: nowrap; }
.loc-card > p { margin: 0 0 var(--space-4); font-size: var(--fs-small); color: var(--text-muted); }
.loc-places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.loc-places li { padding: 0.32rem 0.75rem; border-radius: var(--radius-full); background: var(--bg-alt); border: 1px solid var(--border-subtle); font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }

a.feature-card { color: inherit; text-decoration: none; }
.hyd-map-link { display: inline-flex; align-items: center; gap: 6px; color: #3fe0cf; font-weight: 600; text-decoration: none; }
.hyd-map-link svg { width: 16px; height: 16px; transition: transform var(--duration-base); }
.hyd-map-link:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) { .sol-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .sol-grid, .sol-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-group-head { grid-template-columns: auto minmax(0, 1fr); }
  .sol-group-head .btn { grid-column: 1 / -1; justify-self: start; }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .sol-jump, .sol-grid, .sol-grid--compact, .sol-why { grid-template-columns: minmax(0, 1fr); }
  .sol-group-head { grid-template-columns: minmax(0, 1fr); }
  .loc-card { padding: var(--space-5, 1.25rem); }
}
@media (max-width: 600px) { .sol-grid { gap: 8px; } .sol-item { padding: 0.75rem 0.9rem; } .sol-item h3 { font-size: 0.92rem; margin-bottom: 3px; } .sol-item p { font-size: 0.8rem; } }

/* ---------- Blog: listing ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-8); }
.blog-filters a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0.4rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-primary); font-size: var(--fs-small); font-weight: 600; text-decoration: none; transition: border-color var(--duration-base), color var(--duration-base); }
.blog-filters a small { color: var(--text-muted); font-weight: 600; }
.blog-filters a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.blog-filters a.is-active { border-color: transparent; background: var(--gradient-brand); color: #fff; }
.blog-filters a.is-active small { color: rgba(255, 255, 255, 0.8); }

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: var(--space-12);
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px -40px rgba(16, 26, 44, 0.45);
}
.blog-featured-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--bg-alt); }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-premium); }
.blog-featured:hover .blog-featured-media img { transform: scale(1.03); }
.blog-featured-body { padding-right: clamp(0rem, 2vw, 1.5rem); }
.blog-featured-label { display: inline-block; margin-bottom: var(--space-3); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-magenta); }
.blog-featured h2 { margin: var(--space-2) 0 var(--space-3); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; }
.blog-featured h2 a, .blog-card h3 a { color: inherit; text-decoration: none; }
.blog-featured h2 a:hover, .blog-card h3 a:hover { color: var(--brand-blue); }
.blog-featured p { color: var(--text-muted); margin-bottom: var(--space-6); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base), border-color var(--duration-base);
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(11, 132, 196, 0.35); box-shadow: 0 24px 48px -30px rgba(16, 26, 44, 0.5); }
.blog-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-premium); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #0f2038, #14304f); }
.blog-card-placeholder img { width: 64px !important; height: auto !important; object-fit: contain !important; opacity: 0.9; }
.blog-card-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(10, 18, 32, 0.7); color: #fff; font-size: 1.1rem; backdrop-filter: blur(6px); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: var(--space-5, 1.25rem) var(--space-6) var(--space-6); }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--fs-micro); color: var(--text-muted); }
.blog-card-cat { padding: 2px 10px; border-radius: var(--radius-full); background: rgba(11, 132, 196, 0.1); color: var(--brand-blue); font-weight: 700; }
.blog-card h3 { margin: var(--space-3) 0 var(--space-2); font-size: 1.12rem; line-height: 1.35; }
.blog-card p { margin: 0 0 var(--space-4); font-size: var(--fs-small); color: var(--text-muted); }
.blog-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: var(--fs-small); font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.blog-card-more svg { width: 16px; height: 16px; transition: transform var(--duration-base); }
.blog-card-more:hover svg { transform: translateX(3px); }
.blog-pager { display: flex; align-items: center; justify-content: center; gap: var(--space-6); margin-top: var(--space-12); font-weight: 600; color: var(--text-muted); }
.blog-pager a { padding: 0.5rem 1.1rem; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-primary); text-decoration: none; }
.blog-pager a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.blog-empty { text-align: center; color: var(--text-muted); }

/* ---------- Blog: single post ---------- */
.post-preview-bar { position: sticky; top: 0; z-index: 50; padding: 10px 16px; background: #fff4d6; color: #7a5300; text-align: center; font-weight: 600; font-size: var(--fs-small); }
.post-container { max-width: 800px; }
.post-hero { padding: clamp(7rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: radial-gradient(circle at 15% 0%, rgba(217, 28, 130, 0.18), transparent 45%), radial-gradient(circle at 90% 100%, rgba(23, 166, 160, 0.2), transparent 45%), linear-gradient(160deg, #0f2038, #0a1424); color: #fff; }
.post-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); font-size: var(--fs-small); color: rgba(220, 232, 245, 0.6); }
.post-crumbs a { color: rgba(220, 232, 245, 0.85); text-decoration: none; }
.post-crumbs a:hover { color: #3fe0cf; }
.post-hero h1 { margin: 0 0 var(--space-6); font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; color: #fff; }
.post-meta { display: flex; align-items: center; gap: var(--space-3); }
.post-meta img { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); object-fit: contain; }
.post-meta strong { display: block; color: #fff; }
.post-meta span { font-size: var(--fs-small); color: rgba(220, 232, 245, 0.7); }

.post-cover { margin: clamp(-2rem, -3vw, -1.5rem) 0 var(--space-8); position: relative; z-index: 1; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -36px rgba(16, 26, 44, 0.6); }
.post-embed { position: relative; aspect-ratio: 16 / 9; margin: var(--space-8) 0; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.post-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-video { display: block; width: 100%; margin: var(--space-8) 0; border-radius: var(--radius-md); background: #000; }

.post-body { padding: var(--space-8) 0 var(--space-4); font-size: clamp(1.04rem, 1.2vw, 1.12rem); line-height: 1.8; color: var(--text-primary); }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.3em; }
.post-body h2 { margin: 1.8em 0 0.6em; font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.25; }
.post-body h3 { margin: 1.5em 0 0.5em; font-size: 1.25rem; }
.post-body h4 { margin: 1.3em 0 0.4em; font-size: 1.08rem; }
.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.post-body li { margin-bottom: 0.45em; }
.post-body li::marker { color: var(--brand-blue); font-weight: 700; }
.post-body a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 4px solid var(--brand-magenta); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--bg-alt); font-size: 1.08em; font-style: italic; }
.post-body blockquote p { margin: 0; }
.post-figure { margin: 2em 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.post-figure figcaption { margin-top: 8px; text-align: center; font-size: var(--fs-small); color: var(--text-muted); }

.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-4) 0 var(--space-8); padding: 0; }
.post-tags li { padding: 4px 12px; border-radius: var(--radius-full); background: var(--bg-alt); border: 1px solid var(--border-subtle); font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: var(--space-5, 1.25rem) 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.post-share > span { margin-right: 6px; font-weight: 700; }
.post-share a, .post-share button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-primary); font: 600 var(--fs-small) var(--font-body); text-decoration: none; cursor: pointer; transition: border-color var(--duration-base), color var(--duration-base); }
.post-share a svg { width: 16px; height: 16px; }
.post-share a:hover, .post-share button:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.post-author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-5, 1.25rem); align-items: center; margin: var(--space-8) 0 var(--space-12); padding: var(--space-5, 1.25rem); border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border-subtle); }
.post-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 45% 30%; }
.post-author small { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-magenta); }
.post-author strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.post-author p { margin: 4px 0 6px; font-size: var(--fs-small); color: var(--text-muted); }
.post-author a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.post-author a svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-featured { grid-template-columns: minmax(0, 1fr); }
  .blog-featured-body { padding: 0 var(--space-2) var(--space-2); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .post-author { grid-template-columns: 64px minmax(0, 1fr); }
  .post-author img { width: 64px; height: 64px; }
  .post-share > span { width: 100%; }
}

/* Card icons: keep a real gap above the heading, and lift the icon UP on
   hover so it never grows into the text below it. (The generic
   .icon-badge.icon-badge reset zeroes margins, so these are doubled too.) */
.feature-card > .icon-badge.icon-badge,
.service-overview-card > .icon-badge.icon-badge { margin-bottom: var(--space-5, 1.25rem); }
.industry-tile > .icon-badge.icon-badge { margin-bottom: var(--space-2); }
.feature-card:hover > .icon-badge,
.service-overview-card:hover > .icon-badge,
.industry-tile:hover > .icon-badge {
  transform: translateY(-6px) scale(1.06) rotate(-3deg);
  transform-origin: 50% 100%;
}
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover > .icon-badge,
  .service-overview-card:hover > .icon-badge,
  .industry-tile:hover > .icon-badge { transform: none; }
}

/* =====================================================================
   Tree diagrams: a different style per page
   ===================================================================== */
.stree-points { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.stree-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-primary); font-weight: 500; }
.stree-points svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--brand-teal); }

/* ---------- 1. Web Development: sitemap folder tree ---------- */
.stree-section { background: var(--bg-page, #fff); }
.stree-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stree-window { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #0f2038, #0a1424); box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.7); color: #e6eef8; }
.stree-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.stree-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.stree-bar i:nth-child(2) { background: #febc2e; }
.stree-bar i:nth-child(3) { background: #28c840; }
.stree-bar span { margin-left: 10px; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.55); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.stree { padding: clamp(1rem, 3vw, 1.75rem); }
.stree ul { list-style: none; margin: 0; padding: 0 0 0 26px; }
.stree > ul { padding-left: 0; }
.stree li { position: relative; padding: 5px 0 5px 22px; }
.stree > ul > li { padding-left: 0; }
.stree li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1.5px solid rgba(63, 224, 207, 0.35); }
.stree li:last-child::before { bottom: auto; height: 27px; }
.stree li::after { content: ""; position: absolute; left: 0; top: 27px; width: 16px; border-top: 1.5px solid rgba(63, 224, 207, 0.35); }
.stree > ul > li::before, .stree > ul > li::after { display: none; }
.stree-node {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-premium);
}
.stree-node:hover { background: rgba(63, 224, 207, 0.1); border-color: rgba(63, 224, 207, 0.45); transform: translateX(4px); }
.stree-icon svg { display: block; width: 16px; height: 16px; color: #3fe0cf; }
.stree code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.82rem; color: #7fd8ff; }
.stree-label strong { font-size: 0.85rem; color: #fff; }
.stree-label small { margin-left: 8px; font-size: 0.75rem; color: rgba(220, 232, 245, 0.6); }
.stree > ul > li > .stree-node { background: var(--gradient-brand); border-color: transparent; }
.stree > ul > li > .stree-node code, .stree > ul > li > .stree-node .stree-icon svg { color: #fff; }
.stree > ul > li > .stree-node small { color: rgba(255, 255, 255, 0.85); }

/* ---------- 2. ERP: hub and spoke ---------- */
.erp-hub { position: relative; max-width: 980px; height: 620px; margin: 0 auto; }
.erp-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.erp-hub-lines line { stroke: rgba(11, 132, 196, 0.35); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: erpFlow 1.6s linear infinite; }
@keyframes erpFlow { to { stroke-dashoffset: -18; } }
.erp-hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #23426a 0%, #0f2038 60%, #0a1628 100%);
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px rgba(11, 132, 196, 0.25), 0 30px 60px -20px rgba(10, 22, 40, 0.6);
  color: #fff;
  text-align: center;
}
.erp-hub-core img { width: 58px; height: auto; margin-bottom: 6px; }
.erp-hub-core strong { font-family: var(--font-display); font-size: 1.2rem; }
.erp-hub-core small { font-size: 0.72rem; color: rgba(220, 232, 245, 0.7); }
.erp-hub-pulse { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(23, 166, 160, 0.5); animation: hydPulse 2.8s ease-out infinite; }
.erp-hub-ring { list-style: none; margin: 0; padding: 0; }
.erp-hub-node { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 210px; transform: translate(-50%, -50%); }
.erp-hub-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 32px -24px rgba(16, 26, 44, 0.55);
  transition: transform var(--duration-base) var(--ease-premium), border-color var(--duration-base), box-shadow var(--duration-base);
}
.erp-hub-card:hover { transform: translateY(-4px); border-color: rgba(11, 132, 196, 0.5); box-shadow: 0 22px 40px -24px rgba(11, 132, 196, 0.6); }
.erp-hub-card .icon-badge { width: 40px; height: 40px; }
.erp-hub-card .icon-badge svg { width: 20px; height: 20px; }
.erp-hub-card strong { display: block; font-size: 0.92rem; line-height: 1.25; }
.erp-hub-card small { display: block; font-size: 0.74rem; line-height: 1.35; color: var(--text-muted); }

/* ---------- 3. AI: decision flow ---------- */
.aiflow-section { background: var(--bg-alt); }
.aiflow { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.7fr) minmax(0, 2fr); align-items: center; gap: 0; }
.aiflow-start, .aiflow-brain { position: relative; padding: var(--space-5, 1.25rem); border-radius: var(--radius-lg); text-align: center; }
.aiflow-start { background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 20px 40px -32px rgba(16, 26, 44, 0.5); }
.aiflow-chip { display: inline-block; margin-bottom: var(--space-3); padding: 2px 10px; border-radius: var(--radius-full); background: rgba(217, 28, 130, 0.1); color: var(--brand-magenta); font-size: var(--fs-micro); font-weight: 700; }
.aiflow-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--bg-alt); font-size: var(--fs-small); font-weight: 600; text-align: left; }
.aiflow-start small, .aiflow-brain small { display: block; margin-top: 8px; font-size: var(--fs-micro); color: var(--text-muted); }
.aiflow-brain { margin: 0 28px; background: linear-gradient(160deg, #0f2038, #0a1424); color: #fff; box-shadow: 0 24px 48px -24px rgba(10, 20, 36, 0.7); }
.aiflow-brain small { color: rgba(220, 232, 245, 0.65); }
.aiflow-brain strong { display: block; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.3; }
.aiflow-brain-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: var(--gradient-brand); box-shadow: 0 0 0 6px rgba(63, 224, 207, 0.15); }
.aiflow-brain-icon svg { width: 24px; height: 24px; color: #fff; }
/* arrows start -> brain -> branches */
.aiflow-start::after, .aiflow-brain::after { content: ""; position: absolute; top: 50%; right: -28px; width: 28px; border-top: 2px dashed rgba(11, 132, 196, 0.5); }
.aiflow-brain::after { right: -28px; }
.aiflow-branches { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: var(--space-3); }
.aiflow-branches::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; border-left: 2px dashed rgba(11, 132, 196, 0.5); }
.aiflow-branch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--space-4);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--duration-base) var(--ease-premium), border-color var(--duration-base), box-shadow var(--duration-base);
}
.aiflow-branch::before { content: ""; position: absolute; left: -28px; top: 50%; width: 28px; border-top: 2px dashed rgba(11, 132, 196, 0.5); }
.aiflow-branch:hover { transform: translateX(4px); border-color: rgba(11, 132, 196, 0.45); box-shadow: 0 16px 32px -24px rgba(11, 132, 196, 0.6); }
.aiflow-intent { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); color: var(--icon-blue); }
.aiflow-intent.icon-teal { color: var(--icon-teal); }
.aiflow-intent.icon-magenta { color: var(--icon-magenta); }
.aiflow-intent.icon-orange { color: var(--icon-orange); }
.aiflow-intent svg { width: 18px; height: 18px; }
.aiflow-action { font-size: var(--fs-small); color: var(--text-muted); }
.aiflow-result { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-sm); background: rgba(23, 166, 160, 0.09); color: var(--brand-green); font-size: 0.82rem; font-weight: 700; }
.aiflow-result svg { flex: 0 0 auto; width: 16px; height: 16px; }

/* ---------- 4. Digital marketing: growth tree (roots -> trunk -> canopy) ---------- */
.gtree-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gtree { position: relative; height: 470px; border-radius: var(--radius-lg); background: radial-gradient(ellipse at 50% 10%, rgba(217, 28, 130, 0.08), transparent 55%), radial-gradient(ellipse at 50% 100%, rgba(23, 166, 160, 0.12), transparent 55%), var(--bg-alt); border: 1px solid var(--border-subtle); overflow: hidden; }
.gtree-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.gtree-lines path { fill: none; stroke: url(#gtree-grad); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.55; }
.gtree-canopy, .gtree-roots { list-style: none; margin: 0; padding: 0; }
.gtree-canopy li, .gtree-roots li, .gtree-trunk { position: absolute; z-index: 1; transform: translate(-50%, -50%); text-align: center; }
.gtree-canopy li {
  top: 17%;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 26%;
  padding: 10px 8px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 30px -22px rgba(217, 28, 130, 0.6);
  font-weight: 700;
  font-size: var(--fs-small);
  transition: transform var(--duration-base) var(--ease-premium);
}
.gtree-canopy li:hover { transform: translate(-50%, -56%); }
.gtree-canopy li:nth-child(1) { left: 18%; }
.gtree-canopy li:nth-child(2) { left: 50%; }
.gtree-canopy li:nth-child(3) { left: 82%; }
.gtree-canopy span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); color: #fff; }
.gtree-canopy svg { width: 18px; height: 18px; }
.gtree-trunk { left: 50%; top: 52%; display: grid; place-items: center; width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(160deg, #0f2038, #14304f); color: #fff; box-shadow: 0 0 0 6px var(--bg-alt), 0 0 0 8px rgba(11, 132, 196, 0.3), 0 24px 40px -20px rgba(10, 20, 36, 0.7); align-content: center; }
.gtree-trunk strong { font-family: var(--font-display); font-size: 1.05rem; }
.gtree-trunk small { font-size: 0.72rem; color: rgba(220, 232, 245, 0.7); }
.gtree-roots li {
  top: 84%;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 18%;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}
.gtree-roots li:nth-child(1) { left: 10%; }
.gtree-roots li:nth-child(2) { left: 30%; }
.gtree-roots li:nth-child(3) { left: 50%; }
.gtree-roots li:nth-child(4) { left: 70%; }
.gtree-roots li:nth-child(5) { left: 90%; }
.gtree-roots span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--bg-card); border: 1px solid rgba(23, 166, 160, 0.4); color: var(--brand-teal); transition: transform var(--duration-base), background var(--duration-base), color var(--duration-base); }
.gtree-roots li:hover span { transform: translateY(-3px); background: var(--brand-teal); color: #fff; }
.gtree-roots svg { width: 18px; height: 18px; }
.gtree-ground { position: absolute; left: 0; right: 0; top: 70%; border-top: 1px dashed rgba(23, 166, 160, 0.35); }

/* ---------- 5. How it works: spine timeline ---------- */
.spine { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; }
.spine::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; transform: translateX(-50%); border-radius: 3px; background: var(--gradient-brand-vert); opacity: 0.6; }
.spine-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; padding: var(--space-6) 0; }
.spine-dot { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--gradient-brand); color: #fff; font-family: var(--font-display); font-weight: 800; box-shadow: 0 0 0 6px var(--bg-page, #fff), 0 12px 24px -10px rgba(11, 132, 196, 0.6); }
.spine-head { text-align: right; }
.spine-head small { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-magenta); }
.spine-head h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.spine-head p { margin: 0; color: var(--text-muted); }
.spine-leaves { position: relative; list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 18px 36px -28px rgba(16, 26, 44, 0.5); transition: transform var(--duration-base) var(--ease-premium), border-color var(--duration-base); }
.spine-leaves::before { content: ""; position: absolute; top: 50%; right: 100%; width: 40px; border-top: 2px dashed rgba(11, 132, 196, 0.45); }
.spine-step:hover .spine-leaves { transform: translateY(-3px); border-color: rgba(11, 132, 196, 0.4); }
.spine-leaves li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-small); font-weight: 600; }
.spine-leaves svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--brand-teal); }
/* alternate sides */
.spine-step--right .spine-head { order: 2; text-align: left; }
.spine-step--right .spine-leaves { order: 1; }
.spine-step--right .spine-leaves::before { right: auto; left: 100%; }

/* ---------- 6. Collaboration: team orbit ---------- */
.orbit-section { background: var(--bg-page, #fff); }
.orbit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.orbit-ring { position: absolute; border-radius: 50%; }
.orbit-ring--outer { inset: 7%; border: 1.5px dashed rgba(11, 132, 196, 0.35); animation: orbitSpin 60s linear infinite; }
.orbit-ring--inner { inset: 27%; border: 1.5px solid rgba(217, 28, 130, 0.25); background: radial-gradient(circle, rgba(217, 28, 130, 0.05), transparent 70%); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-center { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; align-content: center; width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: linear-gradient(160deg, #0f2038, #14304f); color: #fff; text-align: center; box-shadow: 0 24px 48px -20px rgba(10, 20, 36, 0.7); }
.orbit-center span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 50%; background: var(--gradient-brand); }
.orbit-center svg { width: 18px; height: 18px; }
.orbit-center strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
.orbit-center small { font-size: 0.7rem; color: rgba(220, 232, 245, 0.7); }
.orbit-lead { position: absolute; left: 50%; top: 27%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); transform: translate(-50%, -50%); background: var(--gradient-brand); color: #fff; font-size: 0.78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(217, 28, 130, 0.7); }
.orbit-lead svg { width: 16px; height: 16px; }
.orbit-teams { list-style: none; margin: 0; padding: 0; }
.orbit-teams li { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; justify-items: center; gap: 6px; width: 110px; transform: translate(-50%, -50%); text-align: center; font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
.orbit-teams .icon-badge { width: 46px; height: 46px; background-color: var(--bg-card); box-shadow: 0 12px 24px -14px rgba(16, 26, 44, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.6); transition: transform var(--duration-base) var(--ease-premium); }
.orbit-teams li:hover .icon-badge { transform: translateY(-4px) scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .aiflow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) 0; }
  .aiflow-branches { grid-column: 1 / -1; padding-left: 0; }
  .aiflow-branches::before, .aiflow-branch::before { display: none; }
  .aiflow-brain { margin-right: 0; }
  .aiflow-brain::after { display: none; }
}
@media (max-width: 980px) {
  .stree-grid, .gtree-grid, .orbit-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit-grid > .orbit { order: 2; }
  .erp-hub { height: auto; display: grid; gap: var(--space-6); }
  .erp-hub-lines { display: none; }
  .erp-hub-core { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; width: 170px; height: 170px; }
  .erp-hub-ring { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .erp-hub-node { position: static; width: auto; transform: none; }
  .erp-hub-card { height: 100%; }
}
@media (max-width: 760px) {
  .spine::before { left: 22px; transform: none; }
  .spine-step { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4) 0 var(--space-4) 64px; }
  .spine-dot { left: 0; top: 24px; transform: none; }
  .spine-head, .spine-step--right .spine-head { order: 0; text-align: left; }
  .spine-step--right .spine-leaves { order: 1; }
  .spine-leaves::before, .spine-step--right .spine-leaves::before { display: none; }
}
@media (max-width: 640px) {
  .aiflow { grid-template-columns: minmax(0, 1fr); }
  .aiflow-brain { margin: 0; }
  .aiflow-start::after { top: auto; bottom: -24px; right: 50%; width: 0; height: 24px; border-top: 0; border-left: 2px dashed rgba(11, 132, 196, 0.5); }
  .aiflow-branch { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .aiflow-result { justify-self: start; }
  .erp-hub-ring { grid-template-columns: minmax(0, 1fr); }
  .gtree { height: 560px; }
  .gtree-canopy li { width: 30%; padding: 8px 4px; font-size: 0.78rem; }
  .gtree-canopy li:nth-child(1) { left: 17%; }
  .gtree-canopy li:nth-child(3) { left: 83%; }
  .gtree-roots li { width: 19%; font-size: 0.68rem; }
  .gtree-trunk { width: 110px; height: 110px; }
  .orbit-teams li { width: 84px; font-size: 0.7rem; }
  .orbit-teams .icon-badge { width: 40px; height: 40px; }
  .orbit-lead { font-size: 0.7rem; padding: 5px 10px; }
  .stree-label small { display: block; margin: 2px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .erp-hub-lines line, .erp-hub-pulse, .orbit-ring--outer { animation: none; }
}
.erp-hub-section, .gtree-section { background: radial-gradient(circle at 10% 0%, rgba(11, 132, 196, 0.06), transparent 40%), radial-gradient(circle at 90% 100%, rgba(217, 28, 130, 0.05), transparent 40%), var(--bg-page, #fff); }
.erp-hub-section, .orbit-section, .gtree-section { overflow-x: clip; }

/* ---------- Results sections: points + quick facts beside the photo ---------- */
.results-points { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.results-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base);
}
.results-points li:hover { border-color: rgba(11, 132, 196, 0.4); transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(16, 26, 44, 0.5); }
.results-points svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-teal); }
.results-points strong { display: block; margin-bottom: 2px; font-size: 0.92rem; line-height: 1.3; color: var(--text-primary); }
.results-points span { font-size: var(--fs-micro); line-height: 1.5; color: var(--text-muted); }
.results-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-5, 1.25rem); padding-top: var(--space-5, 1.25rem); border-top: 1px solid var(--border-subtle); }
.results-facts strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.15; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.results-facts span { display: block; margin-top: 3px; font-size: var(--fs-micro); color: var(--text-muted); line-height: 1.35; }
/* dark sections */
[style*="--bg-dark"] .results-points li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
[style*="--bg-dark"] .results-points strong { color: #fff; }
[style*="--bg-dark"] .results-points span, [style*="--bg-dark"] .results-facts span { color: rgba(220, 232, 245, 0.7); }

/* ---------- "Who we build this for": full rows of 4 ---------- */
.industry-mini-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.industry-mini { width: auto; height: 100%; }

@media (max-width: 1100px) { .industry-mini-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .results-points { grid-template-columns: minmax(0, 1fr); }
  .results-facts { gap: var(--space-2); }
  .results-facts strong { font-size: 1rem; }
  .industry-mini-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- STG = Smart Technology Growth ---------- */
.tree-node.tree-node--root img { width: 46px; height: auto; padding: 5px 7px; border-radius: 10px; background: #fff; object-fit: contain; }
.tree-root-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.tree-root-text small { margin-top: 3px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }

.stg-meaning { margin-top: var(--space-6); padding: var(--space-4) var(--space-5, 1.25rem); border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 16px 32px -26px rgba(16, 26, 44, 0.5); }
.stg-meaning-label { display: block; margin-bottom: var(--space-3); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-blue); }
.stg-meaning ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.stg-meaning li { display: flex; align-items: center; gap: 10px; }
.stg-meaning b { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--gradient-brand); color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(217, 28, 130, 0.6); }
.stg-meaning li:nth-child(2) b { background: linear-gradient(135deg, #7b3fb8, var(--brand-blue)); }
.stg-meaning li:nth-child(3) b { background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal)); }
.stg-meaning strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; color: var(--text-primary); }
.stg-meaning small { display: block; font-size: var(--fs-micro); line-height: 1.35; color: var(--text-muted); }
.footer-tagline strong { color: #3fe0cf; font-weight: 700; }
@media (max-width: 600px) {
  .stg-meaning ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer contact rows: whole-row hover + whole-row click ---------- */
.footer-contact { gap: 6px; }
.footer-contact li {
  position: relative;
  margin: 0 -10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-premium);
}
.footer-contact li:hover,
.footer-contact li:focus-within { background: rgba(255, 255, 255, 0.05); border-color: rgba(63, 224, 207, 0.25); transform: translateX(4px); }
.footer-contact-icon { transition: background var(--duration-base), color var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base); }
.footer-contact li:hover .footer-contact-icon,
.footer-contact li:focus-within .footer-contact-icon { background: var(--gradient-brand); border-color: transparent; color: #fff; transform: scale(1.08) rotate(-4deg); box-shadow: 0 8px 18px -8px rgba(217, 28, 130, 0.6); }
.footer-contact small { transition: color var(--duration-base); }
.footer-contact li:hover small { color: #3fe0cf; }
.footer-contact li a { color: #fff; text-decoration: none; }
.footer-contact li:hover a { color: #3fe0cf; }
/* the link covers the whole row, so the row itself is clickable */
.footer-contact li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.footer-contact li a:focus-visible { outline: none; }
.footer-contact li:has(a:focus-visible) { outline: 2px solid #3fe0cf; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .footer-contact li:hover, .footer-contact li:focus-within, .footer-contact li:hover .footer-contact-icon { transform: none; }
}


/* Blog post: long URLs/words never push the page sideways; comfortable tap targets */
.post-body, .post-hero h1, .post-tags li { overflow-wrap: anywhere; }
.post-body a { word-break: break-word; }
.post-crumbs { align-items: center; gap: 2px 6px; }
.post-crumbs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
.post-author a { min-height: 40px; }

/* ---------- Footer founder's note: code-editor card ---------- */
.footer-quote {
  --fq-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  position: relative;
  overflow: hidden;
  margin: auto 0 0;
  padding: 0;
  border-radius: 18px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(11, 132, 196, 0.08), 0 0 60px -20px rgba(217, 28, 130, 0.25);
  font-family: var(--fq-mono);
}
.footer-quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gradient-brand); z-index: 1; }

.fq-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #111a2e; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.fq-dots { display: flex; gap: 6px; }
.fq-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.fq-dots i:nth-child(2) { background: #febc2e; }
.fq-dots i:nth-child(3) { background: #28c840; }
.fq-tab { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 8px 8px 0 0; background: #0b1220; color: #dce8f5; font-size: 0.78rem; margin-bottom: -13px; padding-bottom: 12px; border: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 0; }
.fq-tab svg { width: 14px; height: 14px; fill: none; stroke: #3fe0cf; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fq-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 0.72rem; color: #7ee2a8; letter-spacing: 0.05em; }
.fq-live i { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.6); animation: fqLive 2s ease-out infinite; }
@keyframes fqLive { 70% { box-shadow: 0 0 0 7px rgba(40, 200, 64, 0); } 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0); } }

.fq-code { padding: 18px 20px 8px 0; background: radial-gradient(circle at 100% 0%, rgba(11, 132, 196, 0.12), transparent 50%), radial-gradient(circle at 0% 100%, rgba(217, 28, 130, 0.1), transparent 50%); }
.fq-lines { list-style: none; margin: 0; padding: 0; counter-reset: fq; font-size: clamp(0.82rem, 1.15vw, 0.95rem); line-height: 1.75; color: #dce8f5; }
.fq-lines li { position: relative; display: block; padding-left: 52px; counter-increment: fq; white-space: pre-wrap; overflow-wrap: anywhere; }
.fq-lines li::before { content: counter(fq); position: absolute; left: 0; width: 34px; text-align: right; color: rgba(220, 232, 245, 0.25); font-size: 0.85em; }
.fq-lines li:nth-child(2) { margin: 2px 0; padding-top: 4px; padding-bottom: 4px; background: rgba(11, 132, 196, 0.08); border-left: 2px solid #3fe0cf; padding-left: 50px; }
.c-cmt { color: #6f7f9a; font-style: italic; }
.c-kw { color: #ff6fb1; font-weight: 700; }
.c-var { color: #7fd8ff; }
.c-op { color: #9aa6bf; }
.c-fn { color: #ffd479; }
.c-str { color: #5ff0d8; }
.fq-lines li:nth-child(2) .c-str { font-weight: 700; font-size: 1.12em; }
.fq-caret { display: inline-block; width: 0.55em; height: 1.15em; margin: 0 1px -0.2em; background: #3fe0cf; animation: fqCaret 1s steps(1) infinite; }
.footer-quote.is-typing .fq-caret { animation: none; }
@keyframes fqCaret { 50% { opacity: 0; } }

.fq-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #0e1628; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.fq-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; color: #7ee2a8; }
.fq-status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.footer-quote.is-typing .fq-status { color: #ffd479; }
.fq-run {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font: 700 0.8rem var(--fq-mono);
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(217, 28, 130, 0.8);
  transition: transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base), filter var(--duration-base);
}
.fq-run svg { width: 13px; height: 13px; fill: currentColor; }
.fq-run:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(217, 28, 130, 0.9); }
.fq-run:disabled { filter: saturate(0.6) brightness(0.85); cursor: progress; transform: none; }

@media (max-width: 600px) {
  .fq-lines li { padding-left: 36px; }
  .fq-lines li:nth-child(2) { padding-left: 34px; }
  .fq-lines li::before { width: 22px; }
  .fq-run { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fq-live i, .fq-caret { animation: none; }
}

/* ---------- Services A-Z: "Why one partner" comparison ---------- */
.pc { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); max-width: 1080px; margin: 0 auto; }
.pc-card { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); }
.pc-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-3); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pc-card h3 { margin: 0 0 var(--space-5, 1.25rem); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
.pc-card ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 10px; }
.pc-card li { display: flex; align-items: center; gap: 12px; }
.pc-ico { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; }
.pc-ico svg { width: 19px; height: 19px; }
.pc-card li strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.pc-card li small { display: block; font-size: var(--fs-micro); line-height: 1.4; }
.pc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }

/* before: muted, slightly "messy" */
.pc-before { background: var(--bg-alt); border: 1.5px dashed rgba(100, 112, 138, 0.35); }
.pc-before .pc-label { color: var(--text-muted); }
.pc-before h3 { color: var(--text-muted); }
.pc-before li { padding: 8px 10px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border-subtle); opacity: 0.85; }
.pc-before li:nth-child(odd) { transform: rotate(-0.8deg); }
.pc-before li:nth-child(even) { transform: rotate(0.8deg) translateX(6px); }
.pc-before .pc-ico { background: rgba(100, 112, 138, 0.12); color: #7a8599; }
.pc-before li strong { color: var(--text-primary); }
.pc-before li small { color: #b14a4a; }
.pc-tag--bad { background: rgba(211, 59, 59, 0.1); color: #c23a3a; }

/* after: dark, confident, logo colours */
.pc-after {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 28, 130, 0.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(23, 166, 160, 0.22), transparent 45%),
    linear-gradient(160deg, #13284a, #0a1424);
  box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.8);
}
.pc-after::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: var(--gradient-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pc-after .pc-label { color: #3fe0cf; }
.pc-after .pc-label img { width: 30px; height: auto; padding: 3px 4px; border-radius: 6px; background: #fff; }
.pc-after h3 { color: #fff; }
.pc-after li { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transition: background var(--duration-base), transform var(--duration-base) var(--ease-premium); }
.pc-after li:hover { background: rgba(63, 224, 207, 0.1); transform: translateX(4px); }
.pc-after .pc-ico { background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(217, 28, 130, 0.7); }
.pc-after li small { color: rgba(220, 232, 245, 0.7); }
.pc-tag--good { background: rgba(63, 224, 207, 0.14); color: #5ff0d8; }

.pc-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-brand); color: #fff; box-shadow: 0 0 0 8px rgba(11, 132, 196, 0.1), 0 14px 28px -12px rgba(217, 28, 130, 0.7); }
.pc-arrow svg { width: 22px; height: 22px; }
.pc-note { max-width: 760px; margin: var(--space-10, 2.5rem) auto 0; text-align: center; color: var(--text-muted); }
.pc-note a { font-weight: 700; white-space: nowrap; }

@media (max-width: 900px) {
  .pc { grid-template-columns: minmax(0, 1fr); }
  .pc-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .pc-before li:nth-child(even) { transform: rotate(0.6deg); }
}

/* ---------- "What STG stands for": wave animation ---------- */
.stg-meaning b {
  position: relative;
  background-size: 200% 200%;
  animation: stgWave 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite, stgShimmer 6s ease-in-out infinite;
  will-change: transform;
}
.stg-meaning li:nth-child(2) b { animation-delay: 0.18s, 0.6s; }
.stg-meaning li:nth-child(3) b { animation-delay: 0.36s, 1.2s; }
/* ripple ring that pulses out as each letter peaks */
.stg-meaning b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(63, 224, 207, 0.55);
  animation: stgRipple 2.4s ease-out infinite;
  animation-delay: inherit;
}
.stg-meaning li:nth-child(2) b::after { animation-delay: 0.18s; }
.stg-meaning li:nth-child(3) b::after { animation-delay: 0.36s; }
.stg-meaning li strong { animation: stgWord 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.stg-meaning li:nth-child(2) strong { animation-delay: 0.18s; }
.stg-meaning li:nth-child(3) strong { animation-delay: 0.36s; }
.stg-meaning:hover b, .stg-meaning:hover b::after, .stg-meaning:hover li strong { animation-duration: 1.2s, 6s; }

@keyframes stgWave {
  0%, 45%, 100% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(-9px) rotate(-6deg) scale(1.06); }
  30% { transform: translateY(2px) rotate(3deg); }
}
@keyframes stgRipple {
  0%, 10% { box-shadow: 0 0 0 0 rgba(63, 224, 207, 0.5); }
  40%, 100% { box-shadow: 0 0 0 12px rgba(63, 224, 207, 0); }
}
@keyframes stgWord {
  0%, 45%, 100% { color: var(--text-primary); }
  15% { color: var(--brand-magenta); }
}
@keyframes stgShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .stg-meaning b, .stg-meaning b::after, .stg-meaning li strong { animation: none; }
}

/* =====================================================================
   Schedule a meeting
   ===================================================================== */
/* hero preview card */
.mt-preview { width: min(100%, 420px); margin: 0 auto; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); color: #fff; }
.mt-preview-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mt-preview-head img { width: 46px; padding: 6px 8px; border-radius: 12px; background: #fff; }
.mt-preview-head strong { display: block; font-family: var(--font-display); }
.mt-preview-head small { color: rgba(220, 232, 245, 0.7); }
.mt-preview-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.mt-preview-days span, .mt-preview-slots span { display: grid; place-items: center; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.72rem; color: rgba(220, 232, 245, 0.75); }
.mt-preview-days b { font-size: 1.05rem; color: #fff; }
.mt-preview .is-on { background: var(--gradient-brand); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -10px rgba(217, 28, 130, 0.7); }
.mt-preview-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mt-preview-slots span { font-size: 0.85rem; font-weight: 600; }
.mt-preview-ok { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: rgba(40, 200, 64, 0.12); color: #8ff0b0; font-size: 0.82rem; font-weight: 600; }
.mt-preview-ok svg { width: 18px; height: 18px; }

/* wizard shell */
.mt { max-width: 1080px; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 40px 80px -50px rgba(16, 26, 44, 0.5); }
.mt-steps { list-style: none; display: flex; justify-content: center; gap: clamp(0.5rem, 3vw, 2.5rem); margin: 0 0 var(--space-8); padding: 0 0 var(--space-6); border-bottom: 1px solid var(--border-subtle); }
.mt-steps li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.mt-steps li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border-subtle); font-weight: 800; transition: all var(--duration-base); }
.mt-steps li.is-active { color: var(--text-primary); }
.mt-steps li.is-active span { background: var(--gradient-brand); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(217, 28, 130, 0.7); }
.mt-steps li.is-done span { background: rgba(23, 166, 160, 0.14); border-color: transparent; color: var(--brand-green); }
.mt-title { margin: 0 0 var(--space-5, 1.25rem); font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.mt-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: var(--space-5, 1.25rem); }
.mt-panel-head .mt-title { margin: 0; }
.mt-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-muted); font: 600 var(--fs-small) var(--font-body); cursor: pointer; }
.mt-back svg { width: 15px; height: 15px; transform: rotate(180deg); }
.mt-back:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.mt-panel.is-active { animation: mtIn 0.35s ease both; }
@keyframes mtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* step 1 */
.mt-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.mt-type { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; border-radius: var(--radius-md); border: 1.5px solid var(--border-subtle); background: var(--bg-card); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color var(--duration-base), transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base); }
.mt-type:hover, .mt-type.is-selected { border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11, 132, 196, 0.6); }
.mt-type .icon-badge { margin-bottom: 6px; }
.mt-type-min { position: absolute; top: 18px; right: 18px; padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); font-size: var(--fs-micro); font-weight: 700; color: var(--text-muted); }
.mt-type strong { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.3; }
.mt-type small { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.5; }
.mt-type-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--brand-blue); font-weight: 700; font-size: var(--fs-small); }
.mt-type-pick svg { width: 15px; height: 15px; transition: transform var(--duration-base); }
.mt-type:hover .mt-type-pick svg { transform: translateX(4px); }

/* step 2 */
.mt-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.mt-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mt-cal-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.mt-cal-nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-subtle); background: var(--bg-card); color: var(--text-primary); cursor: pointer; }
.mt-cal-nav[data-cal="-1"] svg { transform: rotate(180deg); }
.mt-cal-nav svg { width: 16px; height: 16px; }
.mt-cal-nav:disabled { opacity: 0.35; cursor: default; }
.mt-cal-week, .mt-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mt-cal-week span { padding: 4px 0; text-align: center; font-size: var(--fs-micro); font-weight: 700; color: var(--text-muted); }
.mt-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--bg-card); font: 600 0.95rem var(--font-body); color: var(--text-primary); cursor: pointer; transition: all var(--duration-fast); }
.mt-day:hover:not(:disabled) { border-color: var(--brand-blue); color: var(--brand-blue); }
.mt-day.is-blank { border: 0; background: none; }
.mt-day.is-off { border-color: transparent; background: var(--bg-alt); color: rgba(100, 112, 138, 0.45); cursor: not-allowed; }
.mt-day.is-today { box-shadow: inset 0 0 0 2px rgba(11, 132, 196, 0.35); }
.mt-day.is-selected { border-color: transparent; background: var(--gradient-brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(217, 28, 130, 0.7); }
.mt-hint { margin: 10px 0 0; font-size: var(--fs-micro); color: var(--text-muted); }
.mt-tz { display: grid; gap: 6px; margin-bottom: 16px; }
.mt-tz span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.mt-tz svg { width: 14px; height: 14px; }
.mt-tz select { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--bg-card); font: 500 var(--fs-small) var(--font-body); color: var(--text-primary); max-width: 100%; }
.mt-times h4 { margin: 0 0 10px; font-size: 1rem; }
.mt-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mt-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 8px; border-radius: 12px; border: 1.5px solid var(--border-subtle); background: var(--bg-card); font: 700 0.95rem var(--font-body); color: var(--text-primary); cursor: pointer; transition: all var(--duration-fast); }
.mt-slot small { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); }
.mt-slot em { font-size: 0.68rem; font-style: normal; color: var(--text-muted); }
.mt-slot:hover:not(:disabled) { border-color: var(--brand-blue); color: var(--brand-blue); }
.mt-slot.is-selected { border-color: transparent; background: var(--gradient-brand); color: #fff; }
.mt-slot.is-selected small { color: rgba(255, 255, 255, 0.85); }
.mt-slot:disabled { background: var(--bg-alt); color: rgba(100, 112, 138, 0.5); text-decoration: line-through; cursor: not-allowed; }
.mt-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border-radius: 12px; background: var(--bg-alt); color: var(--text-muted); font-size: var(--fs-small); text-align: center; }
.mt-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(217, 28, 130, 0.06), rgba(23, 166, 160, 0.08)); border: 1px solid var(--border-subtle); }
.mt-summary small { display: block; font-size: var(--fs-micro); color: var(--text-muted); }
.mt-summary strong { font-size: 0.88rem; }
.mt-continue { width: 100%; justify-content: center; margin-top: 16px; }
.mt-continue:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* step 3 */
.mt-details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.mt-form { display: grid; gap: 14px; }
.mt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt-form .form-field small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.mt-platforms { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mt-platforms legend { margin-bottom: 8px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.mt-platforms label { position: relative; cursor: pointer; }
.mt-platforms input { position: absolute; opacity: 0; pointer-events: none; }
.mt-platforms span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--border-subtle); background: var(--bg-card); font-size: var(--fs-small); font-weight: 600; transition: all var(--duration-fast); }
.mt-platforms input:checked + span { border-color: transparent; background: var(--gradient-brand); color: #fff; }
.mt-platforms input:focus-visible + span { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.mt-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mt-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(211, 59, 59, 0.08); color: #b02a2a; font-size: var(--fs-small); font-weight: 600; }
.mt-submit { justify-content: center; }
.mt-ticket { position: sticky; top: 100px; padding: 22px; border-radius: var(--radius-md); color: #fff; background: radial-gradient(circle at 100% 0%, rgba(217, 28, 130, 0.25), transparent 50%), linear-gradient(160deg, #13284a, #0a1424); box-shadow: 0 30px 60px -30px rgba(10, 20, 36, 0.7); }
.mt-ticket > small { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #3fe0cf; }
.mt-ticket > strong { display: block; margin: 6px 0 14px; font-family: var(--font-display); font-size: 1.1rem; }
.mt-ticket dl { margin: 0; display: grid; gap: 10px; }
.mt-ticket dt { display: flex; align-items: center; gap: 6px; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.65); }
.mt-ticket dt svg { width: 14px; height: 14px; color: #3fe0cf; }
.mt-ticket dd { margin: 2px 0 0; font-weight: 600; font-size: var(--fs-small); }
.mt-link { margin-top: 16px; padding: 0; border: 0; background: none; color: #3fe0cf; font: 600 var(--fs-small) var(--font-body); text-decoration: underline; cursor: pointer; }

/* done */
.mt-done { text-align: center; }
.mt-done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 12px; border-radius: 50%; background: var(--gradient-brand); color: #fff; box-shadow: 0 0 0 10px rgba(23, 166, 160, 0.12), 0 20px 40px -16px rgba(217, 28, 130, 0.7); animation: mtPop 0.5s ease both; }
.mt-done-icon svg { width: 34px; height: 34px; }
@keyframes mtPop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.mt-done > p { max-width: 560px; margin: 0 auto 18px; color: var(--text-muted); }
.mt-done-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; max-width: 820px; margin: 0 auto 20px; padding: 18px; border-radius: var(--radius-md); background: var(--bg-alt); border: 1px solid var(--border-subtle); text-align: left; }
.mt-done-card small { display: block; font-size: var(--fs-micro); color: var(--text-muted); }
.mt-done-card strong { font-size: 0.92rem; }
.mt-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* what happens next */
.mt-next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.mt-next li { position: relative; padding: 22px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); }
.mt-next li span { display: inline-block; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-next li strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.mt-next li p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.mt-next li:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -14px; width: 12px; border-top: 2px dashed rgba(11, 132, 196, 0.4); }

@media (max-width: 980px) {
  .mt-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-pick, .mt-details { grid-template-columns: minmax(0, 1fr); }
  .mt-ticket { position: static; order: -1; }
  .mt-next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-next li::after { display: none; }
}
@media (max-width: 600px) {
  .mt-steps { justify-content: space-between; gap: 6px; }
  .mt-steps li { flex-direction: column; gap: 4px; font-size: 0.7rem; text-align: center; }
  .mt-types, .mt-row, .mt-next { grid-template-columns: minmax(0, 1fr); }
  .mt-day { border-radius: 10px; font-size: 0.85rem; }
  .mt-cal-week, .mt-cal-grid { gap: 4px; }
  .mt-summary { grid-template-columns: minmax(0, 1fr); }
  .mt-done-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-panel.is-active, .mt-done-icon { animation: none; }
}
.mt-times, .mt-cal, .mt-tz { min-width: 0; }
.mt-tz select { width: 100%; min-width: 0; text-overflow: ellipsis; }

/* ---------- Menu bar: Book a Meeting ---------- */
.nav-actions { gap: 10px; }
.nav-book { white-space: nowrap; }
.nav-book svg { width: 15px; height: 15px; }
.nav-book.is-active { border-color: var(--brand-blue); color: var(--brand-blue); }
.nav-mobile .nav-mobile-cta + .nav-mobile-cta { margin-top: 10px; }
/* keep the top bar on one line: drop the meeting button where space runs out (it stays in the menu) */
@media (max-width: 1240px) { .nav-actions .nav-book { padding-left: 12px; padding-right: 12px; } .nav-actions .nav-book svg { display: none; } }
@media (max-width: 1140px) { .nav-actions .nav-book { display: none; } }

/* ---------- Footer legal links ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: rgba(220, 232, 245, 0.6); font-size: var(--fs-micro); text-decoration: none; transition: color var(--duration-fast); }
.footer-legal a:hover { color: #3fe0cf; }

/* ---------- Legal pages ---------- */
.legal-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-4) 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(220, 232, 245, 0.85); font-size: var(--fs-small); }
.legal-updated svg { width: 15px; height: 15px; color: #3fe0cf; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1120px; }
.legal-toc { position: sticky; top: 100px; padding: 20px; border-radius: var(--radius-md); background: var(--bg-alt); border: 1px solid var(--border-subtle); }
.legal-toc > strong { display: block; margin-bottom: 10px; font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.legal-toc li { font-size: var(--fs-small); color: var(--text-muted); }
.legal-toc li a { display: block; padding: 3px 0; color: var(--text-primary); text-decoration: none; }
.legal-toc li a:hover { color: var(--brand-blue); }
.legal-toc-alt { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-subtle); width: 100%; font-size: var(--fs-small); font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.legal-toc-alt svg { width: 14px; height: 14px; }

.legal-body { max-width: 760px; font-size: 1.02rem; line-height: 1.75; color: var(--text-primary); }
.legal-body h2 { scroll-margin-top: 100px; margin: 2.2em 0 0.6em; padding-top: 0.2em; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.legal-body h3 { margin: 1.4em 0 0.4em; font-size: 1.05rem; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.legal-body li { margin-bottom: 0.45em; }
.legal-body li::marker { color: var(--brand-blue); }
.legal-body a { color: var(--brand-blue); }
.legal-body code { padding: 1px 6px; border-radius: 6px; background: var(--bg-alt); font-size: 0.88em; }

.legal-summary { margin-bottom: 1rem; padding: 20px 22px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(217, 28, 130, 0.06), rgba(23, 166, 160, 0.08)); border: 1px solid var(--border-subtle); }
.legal-summary > strong { display: block; margin-bottom: 8px; font-family: var(--font-display); }
.legal-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal-summary li { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.legal-summary svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; color: var(--brand-teal); }

.legal-table { overflow-x: auto; margin: 0 0 1em; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.legal-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-small); }
.legal-table th, .legal-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-subtle); }
.legal-table th { background: var(--bg-alt); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.legal-table tr:last-child td { border-bottom: 0; }

.legal-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1em; padding: 20px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 16px 32px -26px rgba(16, 26, 44, 0.5); }
.legal-contact small { display: block; font-size: var(--fs-micro); color: var(--text-muted); }
.legal-contact a, .legal-contact strong, .legal-contact span { font-size: var(--fs-small); font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5em; }
}
@media (max-width: 600px) {
  .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal-contact { grid-template-columns: minmax(0, 1fr); }
}

/* Menu bar labels never wrap; tighter spacing on mid-size laptops */
.nav-links a, .nav-dropdown-toggle { white-space: nowrap; }
@media (max-width: 1400px) { .nav-links a, .nav-dropdown-toggle { padding-left: 11px; padding-right: 11px; } .nav-links { gap: 0; } }
@media (max-width: 900px) { .legal-toc li a { display: flex; align-items: center; min-height: 40px; padding: 0; } .legal-contact a { display: inline-flex; align-items: center; min-height: 40px; } }

/* Contact page: meeting promo card + scheduler section */
.contact-book { display: flex; align-items: center; gap: 14px; margin-top: var(--space-6); padding: 16px 18px; border-radius: var(--radius-md); color: #fff; text-decoration: none; background: radial-gradient(circle at 100% 0%, rgba(217, 28, 130, 0.3), transparent 55%), linear-gradient(150deg, #13284a, #0a1424); box-shadow: 0 20px 40px -24px rgba(10, 20, 36, 0.7); transition: transform var(--duration-base) var(--ease-premium), box-shadow var(--duration-base); }
.contact-book:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -24px rgba(217, 28, 130, 0.55); }
.contact-book-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-brand); }
.contact-book-icon svg { width: 22px; height: 22px; }
.contact-book strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.contact-book small { display: block; font-size: var(--fs-micro); color: rgba(220, 232, 245, 0.75); }
.contact-book-go { margin-left: auto; display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: transform var(--duration-base); }
.contact-book-go svg { width: 16px; height: 16px; }
.contact-book:hover .contact-book-go { transform: translateX(4px); }
.mt-section--contact { scroll-margin-top: 80px; background: radial-gradient(circle at 0% 0%, rgba(217, 28, 130, 0.06), transparent 40%), radial-gradient(circle at 100% 100%, rgba(23, 166, 160, 0.08), transparent 40%), var(--bg-page, #fff); }
#book { scroll-margin-top: 80px; }

/* Dropdown panels: text inside may wrap again (only top-bar labels stay on one line) */
.nav-dropdown-menu a { white-space: normal; }
.nav-dropdown-menu:not(.nav-dropdown-menu--simple) { width: min(640px, calc(100vw - 48px)); }

/* Site Architecture: deliverables card + CTA fill the copy column */
.stree-grid { align-items: stretch; }
.stree-grid > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.stree-deliver { margin-top: var(--space-6); padding: 18px 20px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 18px 36px -28px rgba(16, 26, 44, 0.5); }
.stree-deliver-label { display: block; margin-bottom: 12px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.stree-deliver ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: sd; }
.stree-deliver li { display: flex; align-items: flex-start; gap: 12px; }
.stree-deliver li > span { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(217, 28, 130, 0.6); }
.stree-deliver li > span svg { width: 18px; height: 18px; }
.stree-deliver strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.stree-deliver small { display: block; font-size: var(--fs-micro); line-height: 1.45; color: var(--text-muted); }
.stree-cta { align-self: flex-start; margin-top: var(--space-6); }
@media (max-width: 600px) { .stree-cta { align-self: stretch; justify-content: center; } }

/* =====================================================================
   AI chat panel: layout, wrapping and spacing fixes
   ===================================================================== */
/* launcher hides while the panel is open (it used to sit over the panel) */
.ai-launcher { transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-base), visibility var(--duration-base); }
.ai-launcher.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(0.9); }
.ai-launcher-avatar img, .ai-panel-avatar img { position: relative; z-index: 1; width: 62%; height: auto; }
.ai-launcher-avatar, .ai-panel-avatar { display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px transparent, 0 0 0 2px rgba(11, 132, 196, 0.18); }
.ai-launcher-avatar { background: #fff; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--gradient-brand); background-origin: border-box; background-clip: padding-box, border-box; }
.ai-panel-avatar { border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--gradient-brand); background-origin: border-box; background-clip: padding-box, border-box; }

/* panel: real visible height on phones (dvh), never wider than the screen */
.ai-panel { max-height: min(640px, calc(100vh - 2 * var(--space-6))); max-height: min(640px, calc(100dvh - 2 * var(--space-6))); overflow: hidden; }
.ai-panel > * { min-width: 0; }
.ai-panel-header { padding: 14px 16px; }
.ai-panel-title { min-width: 0; }
.ai-panel-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-panel-close { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; transition: background var(--duration-fast), color var(--duration-fast); }
.ai-panel-close:hover { background: var(--bg-alt); }

/* messages: wrap long words, emails and links; keep line breaks from replies */
.ai-panel-body { padding: 16px; gap: 10px; overflow-x: hidden; overscroll-behavior: contain; scroll-behavior: smooth; }
.ai-msg { max-width: 86%; min-width: 0; padding: 10px 14px; white-space: pre-line; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
.ai-msg.from-user { max-width: 82%; }
.ai-msg-link { display: inline-flex; max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; }

/* quick replies: one tidy scrollable row instead of a tall stack */
.ai-suggestions { flex-wrap: nowrap; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-suggestions:empty { display: none; }
.ai-suggestion { flex: 0 0 auto; white-space: nowrap; min-height: 34px; }

/* input row: growing message box, buttons always inside the panel */
.ai-panel-input { align-items: flex-end; gap: 8px; padding: 12px 14px; }
.ai-panel-input textarea {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 132px;
  padding: 10px 16px;
  border-radius: 21px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  color: var(--text-primary);
  font: 400 0.92rem/1.4 var(--font-body);
  resize: none;
  overflow-y: auto;
  scrollbar-width: thin;
}
.ai-panel-input textarea:focus { outline: none; border-color: var(--brand-blue); background: #fff; box-shadow: 0 0 0 3px rgba(11, 132, 196, 0.12); }
.ai-panel-input textarea::placeholder { color: var(--text-muted); }
.ai-mic-btn, .ai-send-btn { width: 42px; height: 42px; }
.ai-send-btn { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.ai-send-btn:hover { color: #fff; filter: brightness(1.08); }
.ai-panel-note { padding: 0 16px 12px; line-height: 1.4; }

/* phones: the panel becomes a bottom sheet using the full width */
@media (max-width: 600px) {
  .ai-panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .ai-msg { max-width: 90%; }
  .ai-panel-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-panel-body { scroll-behavior: auto; }
}

/* Phone menu: let it scroll when sections are open (items must not shrink), start below the header */
.nav-mobile { top: 73px; bottom: 0; height: auto; max-height: calc(100dvh - 73px); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(var(--space-12) + env(safe-area-inset-bottom, 0px)); }
.nav-mobile > * { flex-shrink: 0; }
.nav-mobile-services.is-open { max-height: 1200px; }
.nav-mobile a.nav-mobile-cta { justify-content: center; gap: 8px; margin-top: var(--space-6); padding: 14px 20px; border: 0; border-radius: var(--radius-full); background: var(--gradient-brand); color: #fff; font-size: 1.05rem; box-shadow: 0 14px 28px -14px rgba(217, 28, 130, 0.7); }
body:has(.nav-mobile.is-open) .ai-launcher, body:has(.nav-mobile.is-open) .ai-nudge { opacity: 0; visibility: hidden; pointer-events: none; }

/* =====================================================================
   Blog post v2: light hero, article + sticky sidebar, readable body
   ===================================================================== */
.post-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 3px; pointer-events: none; }
.post-progress span { display: block; height: 100%; background: var(--gradient-brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.1s linear; }

.post--v2 .post-wrap { max-width: 1160px; }
.post-hero2 {
  padding: clamp(7rem, 11vw, 8.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 28, 130, 0.08), transparent 40%),
    radial-gradient(circle at 100% 30%, rgba(23, 166, 160, 0.1), transparent 45%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
}
.post-hero2 .post-crumbs { color: var(--text-muted); }
.post-hero2 .post-crumbs a { color: var(--text-muted); }
.post-hero2 .post-crumbs a:hover { color: var(--brand-blue); }
.post-cat { display: inline-block; margin: 6px 0 14px; padding: 5px 14px; border-radius: var(--radius-full); background: var(--gradient-brand); color: #fff; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.post-hero2 h1 { max-width: 860px; margin: 0 0 14px; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
.post-lead { max-width: 760px; margin: 0 0 24px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--text-secondary, #4a5568); }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.post-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(11, 132, 196, 0.25), 0 6px 14px -8px rgba(16, 26, 44, 0.5); }
.post-avatar img { width: 30px; height: auto; }
.post-byline strong { display: block; font-size: 0.98rem; color: var(--text-primary); }
.post-byline > div > span { font-size: var(--fs-small); color: var(--text-muted); }
.post-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; padding: 0; }
.post-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); background: var(--bg-card); border: 1px solid var(--border-subtle); font-size: var(--fs-small); font-weight: 600; color: var(--text-primary); }
.post-facts svg { width: 15px; height: 15px; color: var(--brand-blue); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-top: clamp(2rem, 4vw, 2.75rem); }
.post-main { min-width: 0; max-width: 760px; }
.post--v2 .post-cover { margin: 0 0 var(--space-8); }
.post--v2 .post-cover img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }

/* readable body */
.post--v2 .post-body { padding-top: 0; font-size: clamp(1.05rem, 1.25vw, 1.13rem); line-height: 1.85; color: #263142; }
.post--v2 .post-body p { margin: 0 0 1.35em; }
.post--v2 .post-body > p:first-child { font-size: 1.12em; color: var(--text-primary); }
.post--v2 .post-body h2 { position: relative; scroll-margin-top: 96px; margin: 2.2em 0 0.7em; padding-top: 0.9em; border-top: 1px solid var(--border-subtle); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--text-primary); }
.post--v2 .post-body h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--gradient-brand); }
.post--v2 .post-body h3 { margin: 1.6em 0 0.5em; font-size: 1.2rem; color: var(--text-primary); }
.post--v2 .post-body ul { list-style: none; padding-left: 0; }
.post--v2 .post-body ul li { position: relative; padding-left: 1.7em; margin-bottom: 0.55em; }
.post--v2 .post-body ul li::before { content: ""; position: absolute; left: 0.25em; top: 0.62em; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--gradient-brand); }
.post--v2 .post-body ol { padding-left: 0; list-style: none; counter-reset: pol; }
.post--v2 .post-body ol li { position: relative; padding-left: 2.3em; margin-bottom: 0.7em; counter-increment: pol; }
.post--v2 .post-body ol li::before { content: counter(pol); position: absolute; left: 0; top: 0.15em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(11, 132, 196, 0.1); color: var(--brand-blue); font-size: 0.85em; font-weight: 700; }
.post--v2 .post-body strong { color: var(--text-primary); }
.post--v2 .post-body blockquote { margin: 2em 0; padding: 1.3em 1.5em; border: 0; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(217, 28, 130, 0.07), rgba(23, 166, 160, 0.09)); font-size: 1.12em; font-style: normal; font-weight: 600; color: var(--text-primary); }
.post--v2 .post-body blockquote::before { content: "\201C"; display: block; height: 0.6em; margin-bottom: 4px; font-family: Georgia, serif; font-size: 3em; line-height: 1; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* mobile "On this page" */
.post-toc-mobile { display: none; margin: 0 0 var(--space-8); border-radius: var(--radius-md); background: var(--bg-alt); border: 1px solid var(--border-subtle); }
.post-toc-mobile summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-weight: 700; cursor: pointer; list-style: none; }
.post-toc-mobile summary::-webkit-details-marker { display: none; }
.post-toc-mobile summary svg { width: 18px; height: 18px; color: var(--brand-blue); }
.post-toc-mobile summary span { margin-left: auto; font-size: var(--fs-micro); font-weight: 600; color: var(--text-muted); }
.post-toc-mobile ol, .post-toc ol { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 2px; }
.post-toc-mobile a, .post-toc a { display: block; padding: 6px 0; color: var(--text-secondary, #4a5568); font-size: var(--fs-small); line-height: 1.4; text-decoration: none; }

/* sidebar */
.post-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.post-toc { padding: 18px 0 6px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-subtle); max-height: calc(100vh - 380px); overflow-y: auto; }
.post-toc > strong { display: block; padding: 0 18px 8px; font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.post-toc ol { padding: 0 18px 12px 36px; }
.post-toc li::marker { color: var(--text-muted); font-size: 0.85em; }
.post-toc a { border-left: 2px solid transparent; margin-left: -12px; padding-left: 10px; transition: color var(--duration-fast), border-color var(--duration-fast); }
.post-toc a:hover { color: var(--brand-blue); }
.post-toc a.is-active { color: var(--text-primary); font-weight: 700; border-left-color: var(--brand-magenta); }
.post-cta-card { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius-md); color: #fff; background: radial-gradient(circle at 100% 0%, rgba(217, 28, 130, 0.35), transparent 55%), linear-gradient(160deg, #13284a, #0a1424); box-shadow: 0 24px 48px -28px rgba(10, 20, 36, 0.7); }
.post-cta-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gradient-brand); }
.post-cta-icon svg { width: 20px; height: 20px; }
.post-cta-card strong { font-family: var(--font-display); font-size: 1.1rem; }
.post-cta-card p { margin: 0 0 6px; font-size: var(--fs-small); color: rgba(220, 232, 245, 0.78); line-height: 1.5; }
.post-cta-card .btn { justify-content: center; }
.post-cta-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding-top: 4px; color: #3fe0cf; font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.post-cta-call svg { width: 15px; height: 15px; }

.post--v2 .post-share { margin-top: var(--space-6); }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-main { max-width: 760px; margin: 0 auto; width: 100%; }
  .post-side { position: static; max-width: 760px; margin: 0 auto; width: 100%; }
  .post-side .post-toc { display: none; }
  .post-toc-mobile { display: block; }
}
@media (max-width: 600px) {
  .post-facts { margin-left: 0; width: 100%; }
  .post--v2 .post-body blockquote { padding: 1.1em 1.2em; }
  body[data-page="post"] .ai-launcher { bottom: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-progress span { transition: none; }
}
.post-toc ol, .post-toc-mobile ol { list-style: none; padding-left: 18px; }
.post-toc ol { padding-left: 18px; }
.post--v2 .post-cover img { aspect-ratio: auto; height: auto; }
.post--v2 .post-body p, .post--v2 .post-body li { color: #263142; }
.post--v2 .post-body > p:first-child { color: var(--text-primary); }
@media (max-width: 1024px) { .post-cat { padding: 10px 16px; } .post-toc-mobile a { padding: 10px 0; } .post-cta-call { min-height: 40px; } }

/* ---------- Cookie consent banner ---------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: calc(var(--z-ai-panel) + 1); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; width: min(560px, calc(100vw - 32px)); padding: 18px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border-subtle); box-shadow: 0 30px 60px -24px rgba(16, 26, 44, 0.45); opacity: 0; transform: translateY(16px); transition: opacity var(--duration-base), transform var(--duration-base) var(--ease-premium); }
.cookie-banner.is-visible { opacity: 1; transform: none; pointer-events: auto; }
/* display:flex above would override the hidden attribute and leave an invisible banner over the footer links */
.cookie-banner[hidden] { display: none; }
.cookie-banner:not(.is-visible) { pointer-events: none; }
.cookie-banner::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--gradient-brand); }
.cookie-banner-text { flex: 1 1 280px; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1rem; color: var(--text-primary); }
.cookie-banner-text p { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted); }
.cookie-banner-text a { color: var(--brand-blue); }
.cookie-banner-actions { display: flex; gap: 8px; }
.footer-cookie-btn { padding: 0; border: 0; background: none; color: rgba(220, 232, 245, 0.6); font: inherit; font-size: var(--fs-micro); cursor: pointer; }
.footer-cookie-btn:hover { color: #3fe0cf; }
@media (max-width: 600px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* =====================================================================
   Extra-large screens (big monitors, QHD, ultrawide, 4K, TVs):
   scale the whole design proportionally instead of leaving a narrow
   column in the middle. Spacing, text and the content width are rem-based,
   so raising the root size grows everything together.
   ===================================================================== */
@media (min-width: 1680px) { html { font-size: 106.25%; } }  /* 17px */
@media (min-width: 1920px) { html { font-size: 112.5%; } }   /* 18px  -> content ~1395px */
@media (min-width: 2240px) { html { font-size: 125%; } }     /* 20px  -> ~1550px */
@media (min-width: 2560px) { html { font-size: 137.5%; } }   /* 22px  -> ~1705px (QHD) */
@media (min-width: 3200px) { html { font-size: 162.5%; } }   /* 26px  -> ~2015px (ultrawide) */
@media (min-width: 3800px) { html { font-size: 187.5%; } }   /* 30px  -> ~2325px (4K) */

@media (min-width: 1680px) {
  /* menu bar lines up with the page content instead of hugging the screen edges */
  .nav { padding-left: max(var(--space-8), calc((100% - var(--content-max)) / 2 + var(--space-6))); padding-right: max(var(--space-8), calc((100% - var(--content-max)) / 2 + var(--space-6))); }
  /* px-sized components that should grow with the design */
  .nav-dropdown-menu:not(.nav-dropdown-menu--simple) { width: min(40rem, calc(100vw - 48px)); min-width: 0; }
  .nav-logo-img { height: 2.9rem; width: auto; }
  .ai-panel { width: min(25rem, calc(100vw - 48px)); max-height: min(40rem, calc(100dvh - 48px)); }
  .erp-hub { max-width: 61rem; height: 38.75rem; }
  .erp-hub-node { width: 13rem; }
  .erp-hub-core { width: 12rem; height: 12rem; }
  .mt, .pc { max-width: 67.5rem; }
  .post--v2 .post-wrap { max-width: 72.5rem; }
  .post-layout { grid-template-columns: minmax(0, 1fr) 18.75rem; }
  .post-main { max-width: 47.5rem; }
  .royal-note { max-width: 65rem; }
  .legal-layout { max-width: 70rem; grid-template-columns: 15.5rem minmax(0, 1fr); }
  .cookie-banner { width: min(35rem, calc(100vw - 32px)); }
  .orbit { max-width: 32.5rem; }
}
@media (min-width: 1680px) { .nav.is-scrolled .nav-logo-img { height: 2.65rem; } }
@media (min-width: 1680px) {
  /* text columns and panels sized in rem so they grow with the design */
  .section-head { max-width: 42.5rem; }
  .hero-copy { max-width: 38.75rem; }
  .hero-copy p.lead { max-width: 33.75rem; }
  .footer-tagline { max-width: 20rem; }
  .build-lead { max-width: 32.5rem; }
  .spine { max-width: 62.5rem; }
  .pc-note, .legal-body, .post-lead { max-width: 47.5rem; }
  .post-hero2 h1 { max-width: 53.75rem; }
  .mt-done > p { max-width: 35rem; }
  .mt-done-card { max-width: 51.25rem; }
  .ai-nudge { max-width: min(20rem, calc(100vw - 2rem)); }
}

/* =====================================================================
   Ecosystem application forms
   ===================================================================== */
.ef-section { scroll-margin-top: 80px; background: radial-gradient(circle at 0% 0%, rgba(217, 28, 130, 0.07), transparent 40%), radial-gradient(circle at 100% 100%, rgba(23, 166, 160, 0.09), transparent 45%), var(--bg-alt); }
.ef-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; max-width: 1120px; margin: 0 auto; }

/* left: dark info panel */
.ef-aside { position: sticky; top: 100px; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); color: #e6eef8; background: radial-gradient(circle at 100% 0%, rgba(217, 28, 130, 0.28), transparent 50%), radial-gradient(circle at 0% 100%, rgba(23, 166, 160, 0.25), transparent 50%), linear-gradient(160deg, #13284a, #0a1424); box-shadow: 0 40px 80px -40px rgba(10, 20, 36, 0.75); }
.ef-aside h2 { margin: 10px 0 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: #fff; }
.ef-aside > p { margin: 0 0 22px; color: rgba(220, 232, 245, 0.8); }
.ef-aside-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ef-aside-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: rgba(220, 232, 245, 0.7); transition: color var(--duration-base); }
.ef-aside-steps li span { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.25); font-size: 0.85rem; font-weight: 800; transition: all var(--duration-base); }
.ef-aside-steps li.is-active { color: #fff; }
.ef-aside-steps li.is-active span { border-color: transparent; background: var(--gradient-brand); color: #fff; box-shadow: 0 0 0 5px rgba(217, 28, 130, 0.18); }
.ef-aside-steps li.is-done span { border-color: transparent; background: rgba(63, 224, 207, 0.2); color: #3fe0cf; }
.ef-aside-facts { list-style: none; margin: 0 0 18px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 8px; font-size: var(--fs-small); color: rgba(220, 232, 245, 0.8); }
.ef-aside-facts li { display: flex; align-items: center; gap: 10px; }
.ef-aside-facts svg { width: 17px; height: 17px; color: #3fe0cf; }
.ef-aside-call { display: inline-flex; align-items: center; gap: 8px; color: #3fe0cf; font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.ef-aside-call svg { width: 16px; height: 16px; }

/* right: the form card */
.ef-card { position: relative; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: 0 40px 80px -50px rgba(16, 26, 44, 0.5); }
.ef-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ef-head strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); }
.ef-head small { color: var(--text-muted); font-size: var(--fs-small); }
.ef-progress { height: 6px; margin-bottom: 26px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.ef-progress span { display: block; height: 100%; border-radius: inherit; background: var(--gradient-brand); transition: width 0.4s var(--ease-premium); }
.ef-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.ef-step.is-active { animation: efIn 0.35s ease both; }
@keyframes efIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.ef-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.ef-field { min-width: 0; display: grid; gap: 8px; align-content: start; }
.ef-field--wide { grid-column: 1 / -1; }
.ef-label { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.ef-label b { color: var(--brand-magenta); }
.ef-label i { font-style: normal; font-weight: 500; color: var(--text-muted); font-size: 0.82rem; }
.ef-label em { margin-left: 6px; font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--brand-blue); }
.ef-field input[type=text], .ef-field input[type=email], .ef-field input[type=tel], .ef-field input[type=url], .ef-field select, .ef-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border-subtle); background: #f8fafc; color: var(--text-primary); font: 500 0.98rem var(--font-body);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}
.ef-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.ef-field input:focus, .ef-field select:focus, .ef-field textarea:focus { outline: none; border-color: var(--brand-blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 132, 196, 0.12); }
.ef-field.has-error input, .ef-field.has-error select, .ef-field.has-error textarea { border-color: #d33b3b; background: #fff8f8; }
.ef-error { min-height: 0; font-size: 0.82rem; font-weight: 600; color: #c23a3a; }
.ef-error:empty { display: none; }

/* chips (multi-select) */
.ef-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ef-chip input, .ef-option input { position: absolute; opacity: 0; pointer-events: none; }
.ef-chip { position: relative; cursor: pointer; }
.ef-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--border-subtle); background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); transition: all var(--duration-fast); }
.ef-chip span::before { content: "+"; font-weight: 800; color: var(--brand-blue); }
.ef-chip:hover span { border-color: var(--brand-blue); }
.ef-chip input:checked + span { border-color: transparent; background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(217, 28, 130, 0.7); }
.ef-chip input:checked + span::before { content: "\2713"; color: #fff; }
.ef-chip input:focus-visible + span, .ef-option input:focus-visible + span { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* option cards (single choice) */
.ef-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ef-option { position: relative; cursor: pointer; }
.ef-option span { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--border-subtle); background: #fff; font-size: 0.92rem; font-weight: 600; color: var(--text-primary); transition: all var(--duration-fast); }
.ef-option span i { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3ccd9; transition: all var(--duration-fast); }
.ef-option:hover span { border-color: var(--brand-blue); }
.ef-option input:checked + span { border-color: var(--brand-blue); background: #f2f8fd; box-shadow: 0 0 0 3px rgba(11, 132, 196, 0.12); }
.ef-option input:checked + span i { border: 5px solid var(--brand-blue); }
.ef-field.has-error .ef-chip span, .ef-field.has-error .ef-option span { border-color: rgba(211, 59, 59, 0.5); }

.ef-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 0.86rem; color: var(--text-muted); cursor: pointer; }
.ef-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-blue); }
.ef-consent a { color: var(--brand-blue); }
.ef-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ef-form-error { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(211, 59, 59, 0.08); color: #b02a2a; font-size: var(--fs-small); font-weight: 600; }
.ef-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.ef-nav [data-ef-next], .ef-nav [data-ef-submit] { margin-left: auto; }
.ef-nav [data-ef-back] svg { transform: rotate(180deg); }
.ef-nav .btn[hidden] { display: none; }

/* success */
.ef-done { padding: 12px 0 4px; text-align: center; }
.ef-done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 12px; border-radius: 50%; background: var(--gradient-brand); color: #fff; box-shadow: 0 0 0 10px rgba(23, 166, 160, 0.12); animation: efPop 0.5s ease both; }
.ef-done-icon svg { width: 34px; height: 34px; }
@keyframes efPop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ef-done h3 { margin: 0 0 8px; font-size: 1.5rem; }
.ef-done p { max-width: 480px; margin: 0 auto 10px; color: var(--text-muted); }
.ef-ref strong { color: var(--text-primary); }
.ef-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

@media (max-width: 980px) {
  .ef-layout { grid-template-columns: minmax(0, 1fr); }
  .ef-aside { position: static; }
  .ef-aside-facts, .ef-aside-call { display: none; }
}
@media (max-width: 600px) {
  .ef-grid { grid-template-columns: minmax(0, 1fr); }
  .ef-options { grid-template-columns: minmax(0, 1fr); }
  .ef-nav .btn { flex: 1; justify-content: center; }
  .ef-aside-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 0.78rem; }
  .ef-aside-steps li { flex-direction: column; text-align: center; gap: 6px; }
}
@media (min-width: 1680px) { .ef-layout { max-width: 70rem; } }
@media (prefers-reduced-motion: reduce) {
  .ef-step.is-active, .ef-done-icon { animation: none; }
  .ef-progress span { transition: none; }
}
.ef-card [hidden] { display: none !important; }
.ef-chip input, .ef-option input { inset: 0; width: 100%; height: 100%; margin: 0; }

/* Ecosystem forms: both panels always the same height */
@media (min-width: 981px) {
  .ef-layout { align-items: stretch; }
  .ef-aside { position: relative; top: auto; display: flex; flex-direction: column; }
  .ef-aside-call { margin-top: auto; padding-top: 16px; }
  .ef-card { display: flex; flex-direction: column; }
  .ef-card > .ef-step.is-active { flex: 1 1 auto; }
  .ef-card > .ef-nav { margin-top: auto; }
  .ef-card > .ef-done:not([hidden]) { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
}
.ef-next { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(217, 28, 130, 0.05), rgba(23, 166, 160, 0.08)); border: 1px solid var(--border-subtle); }
.ef-next-title { display: block; margin-bottom: 12px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.ef-next ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ef-next li { display: flex; align-items: flex-start; gap: 10px; }
.ef-next b { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: 0.8rem; }
.ef-next strong { display: block; font-size: 0.9rem; line-height: 1.3; color: var(--text-primary); }
.ef-next small { display: block; font-size: 0.78rem; line-height: 1.35; color: var(--text-muted); }
@media (min-width: 981px) {
  .ef-card > .ef-step.is-active { display: flex; flex-direction: column; }
  .ef-card > .ef-step.is-active > .ef-next { margin-top: auto; }
}
@media (max-width: 600px) { .ef-next ol { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 981px) { .ef-card > .ef-step.is-active > .ef-grid { margin-bottom: 22px; } }
@media (min-width: 981px) { .ef-card > .ef-nav { margin-top: 20px; } }

/* ---------- Homepage: international clients band ---------- */
.hero-global-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-6); padding: 0.55rem 1rem; border-radius: var(--radius-full); background: rgba(63, 224, 207, 0.12); border: 1px solid rgba(63, 224, 207, 0.35); color: #3fe0cf; font-size: var(--fs-small); font-weight: 600; text-decoration: none; transition: background var(--duration-base); }
.hero-global-link:hover { background: rgba(63, 224, 207, 0.2); }
.hero-global-link svg { width: 16px; height: 16px; flex: 0 0 auto; }

.global-band { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(11, 132, 196, 0.28), transparent 45%), radial-gradient(circle at 10% 90%, rgba(217, 28, 130, 0.22), transparent 45%), var(--bg-dark); color: #fff; }
.global-band h2 { color: #fff; margin: var(--space-4) 0; }
.global-band p { color: var(--text-on-dark-secondary); max-width: 560px; }
.global-band .hero-ctas { margin-top: var(--space-6); }
.global-band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.global-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0.4rem 0.9rem; border-radius: var(--radius-full); background: var(--gradient-brand); color: #fff; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.global-badge svg { width: 16px; height: 16px; }
.global-chips { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.global-chips a { display: inline-block; padding: 0.35rem 0.8rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: background var(--duration-base), border-color var(--duration-base); }
.global-chips a:hover { background: rgba(63, 224, 207, 0.15); border-color: rgba(63, 224, 207, 0.5); }
.global-points { display: grid; gap: var(--space-4); }
.global-point { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5, 1.25rem); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.global-point strong { display: block; color: #fff; margin-bottom: 2px; }
.global-point span:not(.icon-badge) { color: var(--text-on-dark-secondary); font-size: var(--fs-small); }
@media (max-width: 980px) { .global-band-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }

/* ---------- Location landing pages (Hyderabad hubs, Indian states, countries) ---------- */
.hyd-services > li > span { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-primary); font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.hyd-services > li > span svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand-blue); }
.global-chips--light { justify-content: center; margin-top: 0; }
.global-chips--light a { background: var(--bg-card); border-color: var(--border-subtle); color: var(--text-primary); }
.global-chips--light a:hover { background: var(--bg-card); border-color: var(--brand-blue); color: var(--brand-blue); }
.geo-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.geo-index a { display: block; height: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-primary); text-decoration: none; transition: border-color var(--duration-base), transform var(--duration-base); }
.geo-index a:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.geo-index strong { display: block; font-size: 0.95rem; }
.geo-index span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.78rem; }
.geo-group-title { margin: var(--space-10, 2.5rem) 0 var(--space-4); font-size: 1.1rem; }
.geo-group-title:first-child { margin-top: 0; }

/* ---------- Client logo strip ---------- */
.client-logos { padding: var(--space-10, 2.5rem) 0; border-bottom: 1px solid var(--border-subtle); background: var(--bg-card); }
.client-logos-title { margin: 0 0 var(--space-6); text-align: center; color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.client-logos-viewport { overflow: hidden; padding: 8px 0; margin: -8px 0; }
.client-logos-viewport.is-scrolling { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.client-logos-track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-4); }
.is-scrolling .client-logos-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: clientScroll 40s linear infinite; }
.is-scrolling:hover .client-logos-track { animation-play-state: paused; }
.client-logos-track li { flex: 0 0 auto; }
.client-logo { display: flex; align-items: center; justify-content: center; width: 180px; height: 96px; padding: 12px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border-subtle); transition: border-color var(--duration-base), transform var(--duration-base); }
.client-logo:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.client-logo--dark { background: #0a1220; border-color: #0a1220; }
.client-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.client-logos-track img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
@keyframes clientScroll { to { transform: translateX(calc(-50% - var(--space-4) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .is-scrolling .client-logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .is-scrolling .client-logos-track li[aria-hidden="true"] { display: none; }
  .client-logos-viewport.is-scrolling { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 600px) { .client-logo { width: 140px; height: 80px; padding: 10px 14px; } .client-logos-track img { max-height: 58px; } }
